Changeset 27006 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm
- Timestamp:
- Mar 3, 2010 10:54:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r26976 r27006 2839 2839 } 2840 2840 2841 NTSTATUS APIENTRY CALLBACK DxgkDdiRestartFromTimeout(IN_CONST_HANDLE hAdapter) 2842 { 2843 dfprintf(("==> "__FUNCTION__ ", hAdapter(0x%x)\n", hAdapter)); 2844 AssertBreakpoint(); 2845 dfprintf(("<== "__FUNCTION__ ", hAdapter(0x%x)\n", hAdapter)); 2846 return STATUS_SUCCESS; 2847 } 2848 2841 2849 NTSTATUS 2842 2850 DriverEntry( … … 2860 2868 2861 2869 // Fill in the DriverInitializationData structure and call DxgkInitialize() 2862 DriverInitializationData.Version = DXGKDDI_INTERFACE_VERSION; 2863 2864 DriverInitializationData.DxgkDdiAddDevice = DxgkDdiAddDevice; 2865 DriverInitializationData.DxgkDdiStartDevice = DxgkDdiStartDevice; 2866 DriverInitializationData.DxgkDdiStopDevice = DxgkDdiStopDevice; 2867 DriverInitializationData.DxgkDdiRemoveDevice = DxgkDdiRemoveDevice; 2868 DriverInitializationData.DxgkDdiDispatchIoRequest = DxgkDdiDispatchIoRequest; 2869 DriverInitializationData.DxgkDdiInterruptRoutine = DxgkDdiInterruptRoutine; 2870 DriverInitializationData.DxgkDdiDpcRoutine = DxgkDdiDpcRoutine; 2871 DriverInitializationData.DxgkDdiQueryChildRelations = DxgkDdiQueryChildRelations; 2872 DriverInitializationData.DxgkDdiQueryChildStatus = DxgkDdiQueryChildStatus; 2873 DriverInitializationData.DxgkDdiQueryDeviceDescriptor = DxgkDdiQueryDeviceDescriptor; 2874 DriverInitializationData.DxgkDdiSetPowerState = DxgkDdiSetPowerState; 2875 DriverInitializationData.DxgkDdiNotifyAcpiEvent = DxgkDdiNotifyAcpiEvent; 2876 DriverInitializationData.DxgkDdiResetDevice = DxgkDdiResetDevice; 2877 DriverInitializationData.DxgkDdiUnload = DxgkDdiUnload; 2878 DriverInitializationData.DxgkDdiQueryInterface = DxgkDdiQueryInterface; 2879 DriverInitializationData.DxgkDdiControlEtwLogging = DxgkDdiControlEtwLogging; 2880 2881 DriverInitializationData.DxgkDdiQueryAdapterInfo = DxgkDdiQueryAdapterInfo; 2882 DriverInitializationData.DxgkDdiCreateDevice = DxgkDdiCreateDevice; 2883 DriverInitializationData.DxgkDdiCreateAllocation = DxgkDdiCreateAllocation; 2884 DriverInitializationData.DxgkDdiDestroyAllocation = DxgkDdiDestroyAllocation ; 2885 2886 DriverInitializationData.DxgkDdiDescribeAllocation = DxgkDdiDescribeAllocation; 2870 DriverInitializationData.Version = DXGKDDI_INTERFACE_VERSION; 2871 2872 DriverInitializationData.DxgkDdiAddDevice = DxgkDdiAddDevice; 2873 DriverInitializationData.DxgkDdiStartDevice = DxgkDdiStartDevice; 2874 DriverInitializationData.DxgkDdiStopDevice = DxgkDdiStopDevice; 2875 DriverInitializationData.DxgkDdiRemoveDevice = DxgkDdiRemoveDevice; 2876 DriverInitializationData.DxgkDdiDispatchIoRequest = DxgkDdiDispatchIoRequest; 2877 DriverInitializationData.DxgkDdiInterruptRoutine = DxgkDdiInterruptRoutine; 2878 DriverInitializationData.DxgkDdiDpcRoutine = DxgkDdiDpcRoutine; 2879 DriverInitializationData.DxgkDdiQueryChildRelations = DxgkDdiQueryChildRelations; 2880 DriverInitializationData.DxgkDdiQueryChildStatus = DxgkDdiQueryChildStatus; 2881 DriverInitializationData.DxgkDdiQueryDeviceDescriptor = DxgkDdiQueryDeviceDescriptor; 2882 DriverInitializationData.DxgkDdiSetPowerState = DxgkDdiSetPowerState; 2883 DriverInitializationData.DxgkDdiNotifyAcpiEvent = DxgkDdiNotifyAcpiEvent; 2884 DriverInitializationData.DxgkDdiResetDevice = DxgkDdiResetDevice; 2885 DriverInitializationData.DxgkDdiUnload = DxgkDdiUnload; 2886 DriverInitializationData.DxgkDdiQueryInterface = DxgkDdiQueryInterface; 2887 DriverInitializationData.DxgkDdiControlEtwLogging = DxgkDdiControlEtwLogging; 2888 2889 DriverInitializationData.DxgkDdiQueryAdapterInfo = DxgkDdiQueryAdapterInfo; 2890 DriverInitializationData.DxgkDdiCreateDevice = DxgkDdiCreateDevice; 2891 DriverInitializationData.DxgkDdiCreateAllocation = DxgkDdiCreateAllocation; 2892 DriverInitializationData.DxgkDdiDestroyAllocation = DxgkDdiDestroyAllocation; 2893 DriverInitializationData.DxgkDdiDescribeAllocation = DxgkDdiDescribeAllocation; 2887 2894 DriverInitializationData.DxgkDdiGetStandardAllocationDriverData = DxgkDdiGetStandardAllocationDriverData; 2888 2889 DriverInitializationData.DxgkDdiAcquireSwizzlingRange = DxgkDdiAcquireSwizzlingRange; 2890 DriverInitializationData.DxgkDdiReleaseSwizzlingRange = DxgkDdiReleaseSwizzlingRange; 2891 2892 DriverInitializationData.DxgkDdiPatch = DxgkDdiPatch; 2893 2894 DriverInitializationData.DxgkDdiSubmitCommand = DxgkDdiSubmitCommand; 2895 DriverInitializationData.DxgkDdiPreemptCommand = DxgkDdiPreemptCommand; 2896 DriverInitializationData.DxgkDdiBuildPagingBuffer = DxgkDdiBuildPagingBuffer; 2897 2898 DriverInitializationData.DxgkDdiSetPalette = DxgkDdiSetPalette; 2899 DriverInitializationData.DxgkDdiSetPointerPosition = DxgkDdiSetPointerPosition; 2900 DriverInitializationData.DxgkDdiSetPointerShape = DxgkDdiSetPointerShape; 2901 2902 DriverInitializationData.DxgkDdiResetFromTimeout = DxgkDdiResetFromTimeout; 2903 2904 DriverInitializationData.DxgkDdiEscape = DxgkDdiEscape; 2905 2906 DriverInitializationData.DxgkDdiCollectDbgInfo = DxgkDdiCollectDbgInfo; 2907 2908 DriverInitializationData.DxgkDdiQueryCurrentFence = DxgkDdiQueryCurrentFence; 2909 2910 DriverInitializationData.DxgkDdiIsSupportedVidPn = DxgkDdiIsSupportedVidPn; 2911 DriverInitializationData.DxgkDdiRecommendFunctionalVidPn = DxgkDdiRecommendFunctionalVidPn; 2912 DriverInitializationData.DxgkDdiEnumVidPnCofuncModality = DxgkDdiEnumVidPnCofuncModality; 2913 DriverInitializationData.DxgkDdiSetVidPnSourceAddress = DxgkDdiSetVidPnSourceAddress; 2914 DriverInitializationData.DxgkDdiSetVidPnSourceVisibility = DxgkDdiSetVidPnSourceVisibility; 2915 DriverInitializationData.DxgkDdiCommitVidPn = DxgkDdiCommitVidPn; 2916 DriverInitializationData.DxgkDdiUpdateActiveVidPnPresentPath = DxgkDdiUpdateActiveVidPnPresentPath; 2917 2918 DriverInitializationData.DxgkDdiRecommendMonitorModes = DxgkDdiRecommendMonitorModes; 2919 DriverInitializationData.DxgkDdiRecommendVidPnTopology = DxgkDdiRecommendVidPnTopology; 2920 2921 DriverInitializationData.DxgkDdiGetScanLine = DxgkDdiGetScanLine; 2922 2923 DriverInitializationData.DxgkDdiStopCapture = DxgkDdiStopCapture; 2924 2925 DriverInitializationData.DxgkDdiControlInterrupt = DxgkDdiControlInterrupt; 2926 2927 DriverInitializationData.DxgkDdiCreateOverlay = DxgkDdiCreateOverlay; 2928 2929 DriverInitializationData.DxgkDdiDestroyDevice = DxgkDdiDestroyDevice; 2930 2931 DriverInitializationData.DxgkDdiOpenAllocation = DxgkDdiOpenAllocation; 2932 DriverInitializationData.DxgkDdiCloseAllocation = DxgkDdiCloseAllocation; 2933 2934 DriverInitializationData.DxgkDdiRender = DxgkDdiRender; 2935 DriverInitializationData.DxgkDdiPresent = DxgkDdiPresent; 2936 2937 DriverInitializationData.DxgkDdiUpdateOverlay = DxgkDdiUpdateOverlay; 2938 DriverInitializationData.DxgkDdiFlipOverlay = DxgkDdiFlipOverlay; 2939 DriverInitializationData.DxgkDdiDestroyOverlay = DxgkDdiDestroyOverlay; 2940 2941 DriverInitializationData.DxgkDdiCreateContext = DxgkDdiCreateContext; 2942 DriverInitializationData.DxgkDdiDestroyContext = DxgkDdiDestroyContext; 2943 2944 // DriverInitializationData.DxgkDdiLinkDevice = DxgkDdiLinkDevice; 2945 DriverInitializationData.DxgkDdiLinkDevice = NULL; /* not needed */ 2946 DriverInitializationData.DxgkDdiSetDisplayPrivateDriverFormat = DxgkDdiSetDisplayPrivateDriverFormat; 2947 2895 DriverInitializationData.DxgkDdiAcquireSwizzlingRange = DxgkDdiAcquireSwizzlingRange; 2896 DriverInitializationData.DxgkDdiReleaseSwizzlingRange = DxgkDdiReleaseSwizzlingRange; 2897 DriverInitializationData.DxgkDdiPatch = DxgkDdiPatch; 2898 DriverInitializationData.DxgkDdiSubmitCommand = DxgkDdiSubmitCommand; 2899 DriverInitializationData.DxgkDdiPreemptCommand = DxgkDdiPreemptCommand; 2900 DriverInitializationData.DxgkDdiBuildPagingBuffer = DxgkDdiBuildPagingBuffer; 2901 DriverInitializationData.DxgkDdiSetPalette = DxgkDdiSetPalette; 2902 DriverInitializationData.DxgkDdiSetPointerPosition = DxgkDdiSetPointerPosition; 2903 DriverInitializationData.DxgkDdiSetPointerShape = DxgkDdiSetPointerShape; 2904 DriverInitializationData.DxgkDdiResetFromTimeout = DxgkDdiResetFromTimeout; 2905 DriverInitializationData.DxgkDdiRestartFromTimeout = DxgkDdiRestartFromTimeout; 2906 DriverInitializationData.DxgkDdiEscape = DxgkDdiEscape; 2907 DriverInitializationData.DxgkDdiCollectDbgInfo = DxgkDdiCollectDbgInfo; 2908 DriverInitializationData.DxgkDdiQueryCurrentFence = DxgkDdiQueryCurrentFence; 2909 DriverInitializationData.DxgkDdiIsSupportedVidPn = DxgkDdiIsSupportedVidPn; 2910 DriverInitializationData.DxgkDdiRecommendFunctionalVidPn = DxgkDdiRecommendFunctionalVidPn; 2911 DriverInitializationData.DxgkDdiEnumVidPnCofuncModality = DxgkDdiEnumVidPnCofuncModality; 2912 DriverInitializationData.DxgkDdiSetVidPnSourceAddress = DxgkDdiSetVidPnSourceAddress; 2913 DriverInitializationData.DxgkDdiSetVidPnSourceVisibility = DxgkDdiSetVidPnSourceVisibility; 2914 DriverInitializationData.DxgkDdiCommitVidPn = DxgkDdiCommitVidPn; 2915 DriverInitializationData.DxgkDdiUpdateActiveVidPnPresentPath = DxgkDdiUpdateActiveVidPnPresentPath; 2916 DriverInitializationData.DxgkDdiRecommendMonitorModes = DxgkDdiRecommendMonitorModes; 2917 DriverInitializationData.DxgkDdiRecommendVidPnTopology = DxgkDdiRecommendVidPnTopology; 2918 DriverInitializationData.DxgkDdiGetScanLine = DxgkDdiGetScanLine; 2919 DriverInitializationData.DxgkDdiStopCapture = DxgkDdiStopCapture; 2920 DriverInitializationData.DxgkDdiControlInterrupt = DxgkDdiControlInterrupt; 2921 DriverInitializationData.DxgkDdiCreateOverlay = DxgkDdiCreateOverlay; 2922 2923 DriverInitializationData.DxgkDdiDestroyDevice = DxgkDdiDestroyDevice; 2924 DriverInitializationData.DxgkDdiOpenAllocation = DxgkDdiOpenAllocation; 2925 DriverInitializationData.DxgkDdiCloseAllocation = DxgkDdiCloseAllocation; 2926 DriverInitializationData.DxgkDdiRender = DxgkDdiRender; 2927 DriverInitializationData.DxgkDdiPresent = DxgkDdiPresent; 2928 2929 DriverInitializationData.DxgkDdiUpdateOverlay = DxgkDdiUpdateOverlay; 2930 DriverInitializationData.DxgkDdiFlipOverlay = DxgkDdiFlipOverlay; 2931 DriverInitializationData.DxgkDdiDestroyOverlay = DxgkDdiDestroyOverlay; 2932 2933 DriverInitializationData.DxgkDdiCreateContext = DxgkDdiCreateContext; 2934 DriverInitializationData.DxgkDdiDestroyContext = DxgkDdiDestroyContext; 2935 2936 DriverInitializationData.DxgkDdiLinkDevice = NULL; //DxgkDdiLinkDevice; 2937 DriverInitializationData.DxgkDdiSetDisplayPrivateDriverFormat = DxgkDdiSetDisplayPrivateDriverFormat; 2948 2938 //#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN7) 2949 2939 //# error port to Win7 DDI
Note:
See TracChangeset
for help on using the changeset viewer.