Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
688 B

/******************************Module*Header*******************************\
* Module Name: ugdiport.h
*
* Macros to ease UGDI porting
*
* Copyright (c) 1998-1999 Microsoft Corporation
\**************************************************************************/
#if defined(_GDIPLUS_)
#define DEREFERENCE_FONTVIEW_SECTION DeleteMemoryMappedSection
#define ZwCreateKey NtCreateKey
#define ZwQueryKey NtQueryKey
#define ZwQueryValueKey NtQueryValueKey
#define ZwSetValueKey NtSetValueKey
#define ZwCloseKey NtClose
#else // !_GDIPLUS_
#define DEREFERENCE_FONTVIEW_SECTION Win32DestroySection
#define ZwCloseKey ZwClose
#endif // !_GDIPLUS_