Difference between revisions of "Techwiki:NtGdiDxgGenericThunk"

From ReactOS Wiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 23:07, 19 November 2009

NtGdiDxgGenericThunk(
    ULONG_PTR ulIndex,
    ULONG_PTR ulHandle,
    SIZE_T *pdwSizeOfPtr1,
    PVOID pvPtr1,
    SIZE_T *pdwSizeOfPtr2,
    PVOID pvPtr2)


The function NtGdiDxgGenericThunk redirects DirectX calls to another function. Redirection is done in dxg.sys in XP or higher. If dxg.sys does not exist, redirection takes place in win32k.sys

Parameters

  • ULONG_PTR ulIndex

The functions we want to redirect

  • ULONG_PTR ulHandle

Unknown

  • SIZE_T *pdwSizeOfPtr1

Unknown

  • PVOID pvPtr1

Unknown

  • SIZE_T *pdwSizeOfPtr2

Unknown

  • PVOID pvPtr2

Unknown

return

  • Always returns DDHAL_DRIVER_NOTHANDLED

remarks

  • dxg.sys NtGdiDxgGenericThunk calls are redirected to dxg.sys

This function is no longer used but is still present in Windows NT 2000/XP/2003.