mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:12:58 +00:00
Set svn:eol-style "native" for all apitest stuff
svn path=/trunk/; revision=33818
This commit is contained in:
parent
5367e27e3a
commit
d55028d26f
48 changed files with 3748 additions and 3748 deletions
|
@ -1,36 +1,36 @@
|
|||
#include "gdi32api.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
PGDI_TABLE_ENTRY GdiHandleTable;
|
||||
|
||||
BOOL
|
||||
IsFunctionPresent(LPWSTR lpszFunction)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static
|
||||
PGDI_TABLE_ENTRY
|
||||
MyGdiQueryTable()
|
||||
{
|
||||
PTEB pTeb = NtCurrentTeb();
|
||||
PPEB pPeb = pTeb->ProcessEnvironmentBlock;
|
||||
return pPeb->GdiSharedHandleTable;
|
||||
}
|
||||
|
||||
int APIENTRY
|
||||
WinMain(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
g_hInstance = hInstance;
|
||||
|
||||
GdiHandleTable = MyGdiQueryTable();
|
||||
if(!GdiHandleTable)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
return TestMain(L"gdi32api", L"gdi32.dll");
|
||||
}
|
||||
#include "gdi32api.h"
|
||||
|
||||
HINSTANCE g_hInstance;
|
||||
PGDI_TABLE_ENTRY GdiHandleTable;
|
||||
|
||||
BOOL
|
||||
IsFunctionPresent(LPWSTR lpszFunction)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static
|
||||
PGDI_TABLE_ENTRY
|
||||
MyGdiQueryTable()
|
||||
{
|
||||
PTEB pTeb = NtCurrentTeb();
|
||||
PPEB pPeb = pTeb->ProcessEnvironmentBlock;
|
||||
return pPeb->GdiSharedHandleTable;
|
||||
}
|
||||
|
||||
int APIENTRY
|
||||
WinMain(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
g_hInstance = hInstance;
|
||||
|
||||
GdiHandleTable = MyGdiQueryTable();
|
||||
if(!GdiHandleTable)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
return TestMain(L"gdi32api", L"gdi32.dll");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue