Techwiki:Win32k/apfnDispatch

From ReactOS Wiki
Jump to: navigation, search

Table

Table of Peb callback functions. NtCurrentPeb()->KernelCallbackTable points there.

Function WinXP Win2k3
fnCOPYDATA 0x00 0x00
fnCOPYGLOBALDATA 0x01 0x01
fnDWORD 0x02 0x02
fnNCDESTROY 0x03 0x03
fnDWORDOPTINLPMSG 0x04 0x04
fnINOUTDRAG 0x05 0x05
fnGETTEXTLENGTHS 0x06 0x06
fnINCNTOUTSTRING 0x07 0x07
fnPOUTLPINT 0x08 0x08
fnINLPCOMPAREITEMSTRUCT 0x09 0x09
fnINLPCREATESTRUCT 0x0A 0x0A
fnINLPDELETEITEMSTRUCT 0x0B 0x0C
fnINLPDRAWITEMSTRUCT 0x0C 0c0C
fnINLPHLPSTRUCT 0x0D 0c0D
fnINLPHLPSTRUCT 0x0E 0x0E
fnINLPMDICREATESTRUCT 0x0F 0x0F
fnINOUTLPMEASUREITEMSTRUCT 0x10
fnINLPWINDOWPOS 0x11
fnINOUTLPPOINT5 0x12
fnINOUTLPSCROLLINFO 0x13
fnINOUTLPRECT 0x14
fnINOUTNCCALCSIZE 0x15
fnINOUTLPSCROLLINFO 0x16
fnINPAINTCLIPBRD 0x17
fnINSIZECLIPBRD 0x18
fnINDESTROYCLIPBRD 0x19
fnINSTRINGNULL 0x1A
fnINSTRINGNULL 0x1B
fnINDEVICECHANGE 0x1C
fnINOUTNEXTMENU 0x1D
fnLOGONNOTIFY 0x1E
fnOPTOUTLPDWORDOPTOUTLPDWORD 0x1F
fnOPTOUTLPDWORDOPTOUTLPDWORD 0x20
fnOUTDWORDINDWORD 0x21
fnOUTLPRECT 0x22
fnPOUTLPINT 0x23
fnINLPHLPSTRUCT 0x24
fnPOUTLPINT 0x25
fnSENTDDEMSG 0x26
fnINOUTSTYLECHANGE 0x27
fnHkINDWORD 0x28
fnHkINLPCBTACTIVATESTRUCT 0x29
fnHkINLPCBTCREATESTRUCT 0x2A
fnHkINLPDEBUGHOOKSTRUCT 0x2B
fnHkINLPMOUSEHOOKSTRUCTEX 0x2C
fnHkINLPKBDLLHOOKSTRUCT 0x2D
fnHkINLPMSLLHOOKSTRUCT 0x2E
fnHkINLPMSG 0x2F
fnHkINLPRECT 0x30
fnHkOPTINLPEVENTMSG 0x31
ClientCopyDDEIn1 0x32
ClientCopyDDEIn2 0x33
ClientCopyDDEOut1 0x34
ClientCopyDDEOut2 0x35
ClientCopyImage 0x36
ClientEventCallback 0x37
ClientFindMnemChar 0x38
ClientFontSweep 0x39
ClientFreeDDEHandle 0x3A
ClientFreeLibrary 0x3B
ClientGetCharsetInfo 0x3C
ClientGetDDEFlags 0x3D
ClientGetDDEHookData 0x3E
ClientGetListboxString 0x3F
ClientGetMessageMPH 0x40
ClientLoadImage 0x41
ClientLoadLibrary 0x42
ClientLoadMenu 0x43
ClientLoadLocalT1Fonts 0x44
ClientLoadRemoteT1Fonts 0x45
ClientPSMTextOut 0x46
ClientLpkDrawTextEx 0x47
ClientExtTextOutW 0x48
ClientGetTextExtentPointW 0x49
ClientCharToWchar 0x4A
ClientAddFontResourceW 0x4B
ClientThreadSetup 0x4C
ClientDeliverUserApc 0x4D
ClientNoMemoryPopup 0x4E
ClientMonitorEnumProc 0x4F
ClientCallWinEventProc 0x50
ClientWaitMessageExMPH 0x51
ClientWOWGetProcModule 0x52
ClientWOWTask16SchedNotify 0x53
ClientImmLoadLayout 0x54
ClientImmProcessKey 0x55
fnIMECONTROL 0x56
fnINWPARAMDBCSCHAR 0x57
fnGETTEXTLENGTHS 0x58
fnINLPKDRAWSWITCHWND 0x59
ClientLoadStringW 0x5A
ClientLoadOLE 0x5B
ClientRegisterDragDrop 0x5C
ClientRevokeDragDrop 0x5D
fnINOUTMENUGETOBJECT 0x5E
ClientPrinterThunk 0x5F
fnOUTLPCOMBOBOXINFO 0x60
fnOUTLPSCROLLBARINFO 0x61
typedef struct _XPROCESS_LIST
{
    LIST_ENTRY Entry;
    ULONG      ProcessId;
    ULONG      ParentProcessId;
    PEPROCESS  Process;
    PEPROCESS  ParentProcess;
    BOOLEAN    IsProt;
    BOOLEAN    unknow4;
    BOOLEAN    UseOrgKernelCallbackTable;
} XPROCESS_LIST, *PXPROCESS_LIST;
typedef struct _PARAMS
{
    ULONG      SelfSettings;
    ULONG      GlobalSettings;
    ULONG      CallIndex;
    PVOID      InputBuffer;
    ULONG      InputBufferLength;
    PVOID      OutputBuffer;
    ULONG      OutputBufferLength;
} PARAMS, *PPARAMS;

References