1 2 /* 3 * COPYRIGHT: See COPYING in the top level directory 4 * PROJECT: ReactOS kernel 5 * PURPOSE: Native driver for dxg implementation 6 * FILE: win32ss/reactx/dxg/historic.c 7 * PROGRAMER: Magnus olsen (magnus@greatlord.com) 8 * REVISION HISTORY: 9 * 15/10-2007 Magnus Olsen 10 */ 11 12 #include <dxg_int.h> 13 14 /*++ 15 * @name DxDxgGenericThunk 16 * @implemented 17 * 18 * The function DxDxgGenericThunk redirects DirectX calls to other functions. 19 * 20 * @param ULONG_PTR ulIndex 21 * The functions we want to redirect 22 * 23 * @param ULONG_PTR ulHandle 24 * Unknown 25 * 26 * @param SIZE_T *pdwSizeOfPtr1 27 * Unknown 28 * 29 * @param PVOID pvPtr1 30 * Unknown 31 * 32 * @param SIZE_T *pdwSizeOfPtr2 33 * Unknown 34 * 35 * @param PVOID pvPtr2 36 * Unknown 37 * 38 * @return 39 * Always returns DDHAL_DRIVER_NOTHANDLED 40 * 41 * @remarks. 42 * This function is no longer used in Windows NT 2000/XP/2003 43 * 44 *--*/ 45 DWORD 46 NTAPI 47 DxDxgGenericThunk(ULONG_PTR ulIndex, 48 ULONG_PTR ulHandle, 49 SIZE_T *pdwSizeOfPtr1, 50 PVOID pvPtr1, 51 SIZE_T *pdwSizeOfPtr2, 52 PVOID pvPtr2) 53 { 54 return DDHAL_DRIVER_NOTHANDLED; 55 } 56 57 58 /*++ 59 * @name DxDdIoctl 60 * @implemented 61 * 62 * The function DxDdIoctl is the ioctl call to different DirectX functions 63 * 64 * @param ULONG ulIoctl 65 * The ioctl code that we want call to 66 * 67 * @param PVOID pBuffer 68 * Our in or out buffer with data to the ioctl code we are using 69 * 70 * @param ULONG ulBufferSize 71 * The buffer size in bytes 72 * 73 * @return 74 * Always returns DDERR_UNSUPPORTED 75 * 76 * @remarks. 77 * This function is no longer used in Windows NT 2000/XP/2003 78 * 79 *--*/ 80 DWORD 81 NTAPI 82 DxDdIoctl(ULONG ulIoctl, 83 PVOID pBuffer, 84 ULONG ulBufferSize) 85 { 86 return DDERR_UNSUPPORTED; 87 } 88 89