67 :
"S" (pFirstParam),
"c" (cParams),
"d"(
proc)
95 sprintf(szFunctionName,
"%ls", pszFunction);
99 printf(
"Couldn't find proc: %s\n", szFunctionName);
110 sprintf(szFunctionName,
"%ls", lpszFunction);
122 printf(
"Win32k native API test\n");
133 printf(
"win32u.dll not found!\n");
141 printf(
"GdiHandleTable not found!\n");
147 return TestMain(
L"w32knapi",
L"win32k.sys Nt-Api");
#define GetProcAddress(x, y)
#define sprintf(buf, format,...)
PVOID GdiSharedHandleTable
PPEB ProcessEnvironmentBlock
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl edx movl TEMP incl eax andl eax ecx incl ebx testl eax jnz xchgl ecx incl TEMP esp ecx subl ebx pushl ecx ecx edx ecx shrl ecx mm0 mm4 mm0 mm4 mm1 mm5 mm1 mm5 mm2 mm6 mm2 mm6 mm3 mm7 mm3 mm7 paddd mm0 paddd mm4 paddd mm0 paddd mm4 paddd mm0 paddd mm4 movq mm1 movq mm5 psrlq mm1 psrlq mm5 paddd mm0 paddd mm4 psrad mm0 psrad mm4 packssdw mm0 packssdw mm4 mm1 punpckldq mm0 pand mm1 pand mm0 por mm1 movq edi esi edx edi decl ecx jnz popl ecx andl ecx jecxz mm0 mm0 mm1 mm1 mm2 mm2 mm3 mm3 paddd mm0 paddd mm0 paddd mm0 movq mm1 psrlq mm1 paddd mm0 psrad mm0 packssdw mm0 movd eax movw edi esi edx edi
ecx edi movl ebx edx edi decl ecx esi eax jecxz decl eax andl eax esi movl eax
PGDI_TABLE_ENTRY GdiHandleTable
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
BOOL IsFunctionPresent(LPWSTR lpszFunction)
static DWORD WINAPI IntSyscall(FARPROC proc, UINT cParams, PVOID pFirstParam)
PVOID GetHandleUserData(HGDIOBJ hobj)
BOOL IsHandleValid(HGDIOBJ hobj)
DWORD Syscall(LPWSTR pszFunction, int cParams, void *pParams)
static PGDI_TABLE_ENTRY MyGdiQueryTable()
_In_ WDFCOLLECTION _In_ ULONG Index