2007-10-24 08:13:39 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS kernel
|
|
|
|
* PURPOSE: Native driver for dxg implementation
|
2015-11-10 17:41:55 +00:00
|
|
|
* FILE: win32ss/reactx/dxg/historic.c
|
2007-10-24 08:13:39 +00:00
|
|
|
* PROGRAMER: Magnus olsen (magnus@greatlord.com)
|
|
|
|
* REVISION HISTORY:
|
|
|
|
* 15/10-2007 Magnus Olsen
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dxg_int.h>
|
|
|
|
|
|
|
|
/*++
|
|
|
|
* @name DxDxgGenericThunk
|
|
|
|
* @implemented
|
|
|
|
*
|
2008-01-02 05:44:59 +00:00
|
|
|
* The function DxDxgGenericThunk redirects DirectX calls to other functions.
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
* @param ULONG_PTR ulIndex
|
2023-08-22 13:20:29 +00:00
|
|
|
* The functions we want to redirect
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
* @param ULONG_PTR ulHandle
|
|
|
|
* Unknown
|
|
|
|
*
|
|
|
|
* @param SIZE_T *pdwSizeOfPtr1
|
|
|
|
* Unknown
|
|
|
|
*
|
|
|
|
* @param PVOID pvPtr1
|
|
|
|
* Unknown
|
|
|
|
*
|
|
|
|
* @param SIZE_T *pdwSizeOfPtr2
|
|
|
|
* Unknown
|
|
|
|
*
|
|
|
|
* @param PVOID pvPtr2
|
|
|
|
* Unknown
|
|
|
|
*
|
|
|
|
* @return
|
2008-01-02 05:44:59 +00:00
|
|
|
* Always returns DDHAL_DRIVER_NOTHANDLED
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
* @remarks.
|
2008-01-02 05:44:59 +00:00
|
|
|
* This function is no longer used in Windows NT 2000/XP/2003
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
*--*/
|
|
|
|
DWORD
|
2008-11-30 11:16:55 +00:00
|
|
|
NTAPI
|
2007-10-24 08:13:39 +00:00
|
|
|
DxDxgGenericThunk(ULONG_PTR ulIndex,
|
|
|
|
ULONG_PTR ulHandle,
|
|
|
|
SIZE_T *pdwSizeOfPtr1,
|
|
|
|
PVOID pvPtr1,
|
|
|
|
SIZE_T *pdwSizeOfPtr2,
|
|
|
|
PVOID pvPtr2)
|
|
|
|
{
|
|
|
|
return DDHAL_DRIVER_NOTHANDLED;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*++
|
|
|
|
* @name DxDdIoctl
|
|
|
|
* @implemented
|
|
|
|
*
|
2014-02-13 19:10:28 +00:00
|
|
|
* The function DxDdIoctl is the ioctl call to different DirectX functions
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
* @param ULONG ulIoctl
|
|
|
|
* The ioctl code that we want call to
|
|
|
|
*
|
|
|
|
* @param PVOID pBuffer
|
|
|
|
* Our in or out buffer with data to the ioctl code we are using
|
|
|
|
*
|
|
|
|
* @param ULONG ulBufferSize
|
|
|
|
* The buffer size in bytes
|
|
|
|
*
|
|
|
|
* @return
|
2008-01-02 05:44:59 +00:00
|
|
|
* Always returns DDERR_UNSUPPORTED
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
* @remarks.
|
2008-01-02 05:44:59 +00:00
|
|
|
* This function is no longer used in Windows NT 2000/XP/2003
|
2007-10-24 08:13:39 +00:00
|
|
|
*
|
|
|
|
*--*/
|
|
|
|
DWORD
|
2008-11-30 11:16:55 +00:00
|
|
|
NTAPI
|
2007-10-24 08:13:39 +00:00
|
|
|
DxDdIoctl(ULONG ulIoctl,
|
|
|
|
PVOID pBuffer,
|
|
|
|
ULONG ulBufferSize)
|
|
|
|
{
|
|
|
|
return DDERR_UNSUPPORTED;
|
|
|
|
}
|
|
|
|
|