ReactOS 0.4.15-dev-7131-ge4d03f4
gdihv.c File Reference
#include "gdihv.h"
Include dependency graph for gdihv.c:

Go to the source code of this file.

Functions

static PGDI_TABLE_ENTRY MyGdiQueryTable ()
 
int WINAPI _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument, int nStyle)
 

Variables

HINSTANCE g_hInstance
 
PGDI_TABLE_ENTRY GdiHandleTable = 0
 

Function Documentation

◆ _tWinMain()

int WINAPI _tWinMain ( HINSTANCE  hThisInstance,
HINSTANCE  hPrevInstance,
LPTSTR  lpszArgument,
int  nStyle 
)

Definition at line 37 of file gdihv.c.

42{
43 g_hInstance = hThisInstance;
44
46
48
50
51 /* The program return value is 0 */
52 return 0;
53}
VOID WINAPI InitCommonControls(void)
Definition: commctrl.c:863
PGDI_TABLE_ENTRY GdiHandleTable
Definition: gdihv.c:26
static PGDI_TABLE_ENTRY MyGdiQueryTable()
Definition: gdihv.c:30
HINSTANCE g_hInstance
Definition: gdihv.c:25
INT_PTR CALLBACK MainWindow_WndProc(HWND hMainWnd, UINT message, WPARAM wParam, LPARAM lParam)
Definition: mainwnd.c:81
#define IDD_MAINWND
Definition: resource.h:2
#define DialogBoxParam
Definition: winuser.h:5763
#define HWND_DESKTOP
Definition: winuser.h:1208
#define MAKEINTRESOURCE
Definition: winuser.h:591

◆ MyGdiQueryTable()

static PGDI_TABLE_ENTRY MyGdiQueryTable ( )
static

Definition at line 30 of file gdihv.c.

31{
32 PTEB pTeb = NtCurrentTeb();
33 PPEB pPeb = pTeb->ProcessEnvironmentBlock;
34 return pPeb->GdiSharedHandleTable;
35}
#define NtCurrentTeb
PVOID GdiSharedHandleTable
Definition: ntddk_ex.h:292
Definition: compat.h:836
PPEB ProcessEnvironmentBlock
Definition: ntddk_ex.h:337

Referenced by _tWinMain().

Variable Documentation

◆ g_hInstance

HINSTANCE g_hInstance

Definition at line 25 of file gdihv.c.

Referenced by _tWinMain().

◆ GdiHandleTable

PGDI_TABLE_ENTRY GdiHandleTable = 0

Definition at line 26 of file gdihv.c.

Referenced by _tWinMain().