#include <limits.h>
#include <stdarg.h>
/* Base.h Base definitions */
#define FALSE 0
#define TRUE 1
#ifdef __LCC__
#pragma pack(1)
#define DECLSPEC_IMPORT
#define WINBASEAPI DECLSPEC_IMPORT
typedef int BOOL;
#define FAR
#define NEAR
#ifndef NULL
#define NULL (void *)0
#endif
#endif
#define DECLARE_HANDLE(n) typedef HANDLE n
#ifndef RC_INVOKED
typedef int WINBOOL;
typedef unsigned short ATOM;
typedef unsigned char BOOLEAN;
typedef unsigned char BYTE;
typedef unsigned long CALTYPE;
typedef unsigned long CALID;
typedef char CCHAR;
typedef char CHAR;
typedef unsigned long COLORREF;
#define CONST const
typedef unsigned long DWORD;
typedef double DWORDLONG,*PDWORDLONG;
typedef float FLOAT;
typedef void *HANDLE;
typedef HANDLE LOCALHANDLE;
typedef HANDLE HTASK;
typedef HANDLE HACCEL;
typedef HANDLE HBITMAP;
typedef HANDLE HBRUSH;
typedef HANDLE HCOLORSPACE;
typedef HANDLE HCONV;
typedef HANDLE HCONVLIST;
typedef HANDLE HCURSOR;
typedef HANDLE HDC;
typedef HANDLE HDDEDATA;
typedef HANDLE HDESK;
typedef HANDLE HDWP;
typedef HANDLE HENHMETAFILE;
typedef int HFILE;
typedef HANDLE HFONT;
typedef HANDLE HGDIOBJ;
typedef HANDLE HGLOBAL;
typedef HANDLE HGLRC;
typedef HANDLE HHOOK;
typedef HANDLE HICON;
typedef HANDLE HIMAGELIST;
typedef HANDLE HINSTANCE;
typedef HANDLE HKEY,*PHKEY;
typedef HANDLE HKL;
typedef HANDLE HLOCAL;
typedef HANDLE HMENU;
typedef HANDLE HMETAFILE;
typedef HANDLE HMODULE;
typedef HANDLE HPALETTE;
typedef HANDLE HPEN;
typedef HANDLE HRASCONN;
typedef long HRESULT;
typedef HANDLE HRGN;
typedef HANDLE HRSRC;
typedef HANDLE HSZ;
typedef HANDLE HWINSTA;
typedef HANDLE HWND;
typedef int INT;
typedef unsigned short LANGID;
typedef DWORD LCID;
typedef DWORD LCTYPE;
typedef long LONG;
typedef long LPARAM;
typedef BOOL *LPBOOL;
typedef BYTE *LPBYTE;
typedef CONST CHAR *LPCCH;
typedef CHAR *LPCH;
typedef COLORREF *LPCOLORREF;
typedef const char *LPCSTR;
#endif /* rc_invoked */
#ifdef UNICODE
typedef const unsigned short *LPCTSTR;
typedef unsigned short *LPTCH;
typedef unsigned short *LPTSTR;
typedef unsigned short *PTBYTE;
typedef unsigned short *PTCH;
typedef unsigned short *PTCHAR;
typedef unsigned short *PTSTR;
typedef unsigned short TBYTE;
typedef unsigned short TCHAR;
typedef unsigned short BCHAR;
#define TEXT(quote) L##quote
#define SERVICES_ACTIVE_DATABASE	SERVICES_ACTIVE_DATABASEW
#define SERVICES_FAILED_DATABASE	SERVICES_FAILED_DATABASEW
#define SC_GROUP_IDENTIFIER	SC_GROUP_IDENTIFIERW
#define HDM_GETITEM HDM_GETITEMW
#define HDM_INSERTITEM HDM_INSERTITEMW
#define HDM_SETITEM HDM_SETITEMW
#define ACM_OPEN ACM_OPENW
#define HDN_BEGINTRACK HDN_BEGINTRACKW
#define HDN_DIVIDERDBLCLICK HDN_DIVIDERDBLCLICKW
#define HDN_ENDTRACK HDN_ENDTRACKW
#define HDN_ITEMCHANGED HDN_ITEMCHANGEDW
#define HDN_ITEMCHANGING HDN_ITEMCHANGINGW
#define HDN_ITEMCLICK HDN_ITEMCLICKW
#define HDN_ITEMDBLCLICK HDN_ITEMDBLCLICKW
#define HDN_TRACK HDN_TRACKW
#define LVM_EDITLABEL LVM_EDITLABELW
#define LVM_FINDITEM LVM_FINDITEMW
#define LVM_GETCOLUMN LVM_GETCOLUMNW
#define LVM_GETISEARCHSTRING LVM_GETISEARCHSTRINGW
#define LVM_GETITEM LVM_GETITEMW
#define LVM_GETITEMTEXT LVM_GETITEMTEXTW
#define LVM_GETSTRINGWIDTH LVM_GETSTRINGWIDTHW
#define LVM_INSERTCOLUMN LVM_INSERTCOLUMNW
#define LVM_INSERTITEM LVM_INSERTITEMW
#define LVM_SETCOLUMN LVM_SETCOLUMNW
#define LVM_SETITEM LVM_SETITEMW
#define LVM_SETITEMTEXT LVM_SETITEMTEXTW
#define LVN_BEGINLABELEDIT LVN_BEGINLABELEDITW
#define LVN_ENDLABELEDIT LVN_ENDLABELEDITW
#define LVN_GETDISPINFO LVN_GETDISPINFOW
#define LVN_SETDISPINFO LVN_SETDISPINFOW
#define PSM_SETFINISHTEXT PSM_SETFINISHTEXTW
#define PSM_SETTITLE PSM_SETTITLEW
#define SB_GETTEXT SB_GETTEXTW
#define SB_GETTEXTLENGTH SB_GETTEXTLENGTHW
#define SB_SETTEXT SB_SETTEXTW
#define TB_ADDSTRING TB_ADDSTRINGW
#define TB_GETBUTTONTEXT TB_GETBUTTONTEXTW
#define TB_SAVERESTORE TB_SAVERESTOREW
#define DESKTOPENUMPROC DESKTOPENUMPROCW
#define TBN_GETBUTTONINFO TBN_GETBUTTONINFOW
#define TCM_GETITEM TCM_GETITEM
#define TCM_INSERTITEM TCM_INSERTITEMW
#define TCM_SETITEM TCM_SETITEMW
#define TTM_ADDTOOL TTM_ADDTOOLW
#define TTM_DELTOOL TTM_DELTOOLW
#define TTM_ENUMTOOLS TTM_ENUMTOOLSW
#define TTM_GETCURRENTTOOL TTM_GETCURRENTTOOLW
#define TTM_GETTEXT TTM_GETTEXTW
#define TTM_GETTOOLINFO TTM_GETTOOLINFOW
#define TTM_HITTEST TTM_HITTESTW
#define TTM_NEWTOOLRECT TTM_NEWTOOLRECTW
#define TTM_SETTOOLINFO TTM_SETTOOLINFOW
#define TTM_UPDATETIPTEXT TTM_UPDATETIPTEXTW
#define TTN_NEEDTEXT TTN_NEEDTEXTW
#define TVM_EDITLABEL TVM_EDITLABELW
#define TVM_GETISEARCHSTRING TVM_GETISEARCHSTRINGW
#define TVM_GETITEM TVM_GETITEMW
#define TVM_INSERTITEM TVM_INSERTITEMW
#define TVM_SETITEM TVM_SETITEMW
#define TVN_BEGINDRAG TVN_BEGINDRAGW
#define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITW
#define TVN_BEGINRDRAG TVN_BEGINRDRAGW
#define TVN_DELETEITEM TVN_DELETEITEMW
#define TVN_ENDLABELEDIT TVN_ENDLABELEDITW
#define TVN_GETDISPINFO TVN_GETDISPINFOW
#define TVN_ITEMEXPANDED TVN_ITEMEXPANDEDW
#define TVN_ITEMEXPANDING TVN_ITEMEXPANDINGW
#define TVN_SELCHANGED TVN_SELCHANGEDW
#define TVN_SELCHANGING TVN_SELCHANGINGW
#define TVN_SETDISPINFO TVN_SETDISPINFOW
#define ANIMATE_CLASS ANIMATE_CLASSW
#define HOTKEY_CLASS HOTKEY_CLASSW
#define PROGRESS_CLASS PROGRESS_CLASSW
#define STATUSCLASSNAME STATUSCLASSNAMEW
#define TOOLBARCLASSNAME TOOLBARCLASSNAMEW
#define TOOLTIPS_CLASS TOOLTIPS_CLASSW
#define TRACKBAR_CLASS TRACKBAR_CLASSW
#define UPDOWN_CLASS UPDOWN_CLASSW
#define WC_HEADER WC_HEADERW
#define WC_LISTVIEW WC_LISTVIEWW
#define WC_TABCONTROL WC_TABCONTROLW
#define WC_TREEVIEW WC_TREEVIEWW
#define LPSTR_TEXTCALLBACK LPSTR_TEXTCALLBACKW
#else
typedef const char *LPCTSTR;
typedef char *LPTCH;
typedef char *LPTSTR;
typedef unsigned char *PTBYTE;
typedef char *PTCH;
typedef char *PTCHAR;
typedef char *PTSTR;
typedef unsigned char TBYTE;
typedef char TCHAR;
typedef BYTE BCHAR;
#define TEXT(quote) quote
#define SERVICES_ACTIVE_DATABASE	SERVICES_ACTIVE_DATABASEA
#define SERVICES_FAILED_DATABASE	SERVICES_FAILED_DATABASEA
#define SC_GROUP_IDENTIFIER	SC_GROUP_IDENTIFIERA
#define HDM_GETITEM HDM_GETITEMA
#define HDM_INSERTITEM HDM_INSERTITEMA
#define HDM_SETITEM HDM_SETITEMA
#define ACM_OPEN ACM_OPENA
#define HDN_BEGINTRACK HDN_BEGINTRACKA
#define HDN_DIVIDERDBLCLICK HDN_DIVIDERDBLCLICKA
#define HDN_ENDTRACK HDN_ENDTRACKA
#define HDN_ITEMCHANGED HDN_ITEMCHANGEDA
#define HDN_ITEMCHANGING HDN_ITEMCHANGINGA
#define HDN_ITEMCLICK HDN_ITEMCLICKA
#define HDN_ITEMDBLCLICK HDN_ITEMDBLCLICKA
#define HDN_TRACK HDN_TRACKA
#define LVM_EDITLABEL LVM_EDITLABELA
#define LVM_FINDITEM LVM_FINDITEMA
#define LVM_GETCOLUMN LVM_GETCOLUMNA
#define LVM_GETISEARCHSTRING LVM_GETISEARCHSTRINGA
#define LVM_GETITEM LVM_GETITEMA
#define LVM_GETITEMTEXT LVM_GETITEMTEXTA
#define LVM_GETSTRINGWIDTH LVM_GETSTRINGWIDTHA
#define LVM_INSERTCOLUMN LVM_INSERTCOLUMNA
#define LVM_INSERTITEM LVM_INSERTITEMA
#define LVM_SETCOLUMN LVM_SETCOLUMNA
#define LVM_SETITEM LVM_SETITEMA
#define LVM_SETITEMTEXT LVM_SETITEMTEXTA
#define LVN_BEGINLABELEDIT LVN_BEGINLABELEDITA
#define LVN_ENDLABELEDIT LVN_ENDLABELEDITA
#define LVN_GETDISPINFO LVN_GETDISPINFOA
#define LVN_SETDISPINFO LVN_SETDISPINFOA
#define PSM_SETFINISHTEXT PSM_SETFINISHTEXTA
#define PSM_SETTITLE PSM_SETTITLEA
#define SB_GETTEXT SB_GETTEXTA
#define SB_GETTEXTLENGTH SB_GETTEXTLENGTHA
#define SB_SETTEXT SB_SETTEXTA
#define TB_ADDSTRING TB_ADDSTRINGA
#define TB_GETBUTTONTEXT TB_GETBUTTONTEXTA
#define TB_SAVERESTORE TB_SAVERESTOREA
#define DESKTOPENUMPROC DESKTOPENUMPROCA
#define TBN_GETBUTTONINFO TBN_GETBUTTONINFOA
#define TCM_GETITEM TCM_GETITEMA
#define TCM_INSERTITEM TCM_INSERTITEMA
#define TCM_SETITEM TCM_SETITEMA
#define TTM_ADDTOOL TTM_ADDTOOLA
#define TTM_DELTOOL TTM_DELTOOLA
#define TTM_ENUMTOOLS TTM_ENUMTOOLSA
#define TTM_GETCURRENTTOOL TTM_GETCURRENTTOOLA
#define TTM_GETTEXT TTM_GETTEXTA
#define TTM_GETTOOLINFO TTM_GETTOOLINFOA
#define TTM_HITTEST TTM_HITTESTA
#define TTM_NEWTOOLRECT TTM_NEWTOOLRECTA
#define TTM_SETTOOLINFO TTM_SETTOOLINFOA
#define TTM_UPDATETIPTEXT TTM_UPDATETIPTEXTA
#define TTN_NEEDTEXT TTN_NEEDTEXTA
#define TVM_EDITLABEL TVM_EDITLABELA
#define TVM_GETISEARCHSTRING TVM_GETISEARCHSTRINGA
#define TVM_GETITEM TVM_GETITEMA
#define TVM_INSERTITEM TVM_INSERTITEMA
#define TVM_SETITEM TVM_SETITEMA
#define TVN_BEGINDRAG TVN_BEGINDRAGA
#define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITA
#define TVN_BEGINRDRAG TVN_BEGINRDRAGA
#define TVN_DELETEITEM TVN_DELETEITEMA
#define TVN_ENDLABELEDIT TVN_ENDLABELEDITA
#define TVN_GETDISPINFO TVN_GETDISPINFOA
#define TVN_ITEMEXPANDED TVN_ITEMEXPANDEDA
#define TVN_ITEMEXPANDING TVN_ITEMEXPANDINGA
#define TVN_SELCHANGED TVN_SELCHANGEDA
#define TVN_SELCHANGING TVN_SELCHANGINGA
#define TVN_SETDISPINFO TVN_SETDISPINFOA
#define ANIMATE_CLASS ANIMATE_CLASSA
#define HOTKEY_CLASS HOTKEY_CLASSA
#define PROGRESS_CLASS PROGRESS_CLASSA
#define STATUSCLASSNAME STATUSCLASSNAMEA
#define TOOLBARCLASSNAME TOOLBARCLASSNAMEA
#define TOOLTIPS_CLASS TOOLTIPS_CLASSA
#define TRACKBAR_CLASS TRACKBAR_CLASSA
#define UPDOWN_CLASS UPDOWN_CLASSA
#define WC_HEADER WC_HEADERA
#define WC_LISTVIEW WC_LISTVIEWA
#define WC_TABCONTROL WC_TABCONTROLA
#define WC_TREEVIEW WC_TREEVIEWA
#define LPSTR_TEXTCALLBACK LPSTR_TEXTCALLBACKA
#endif
#ifndef RC_INVOKED
typedef const unsigned short *LPCWCH;
typedef const unsigned short *LPCWSTR;
typedef DWORD *LPDWORD;
typedef HANDLE *LPHANDLE;
typedef int *LPINT;
typedef long *LPLONG;
typedef char *LPSTR;
typedef long LRESULT;
typedef void *LPVOID;
typedef const void *LPCVOID;
typedef unsigned short *LPWCH;
typedef unsigned short *LPWORD;
typedef unsigned short *LPWSTR;
typedef unsigned short *NWPSTR;
typedef BOOL *PWINBOOL;
typedef BYTE *PBOOLEAN;
typedef BYTE *PBYTE;
typedef const CHAR *PCCH;
typedef CHAR *PCH;
typedef CHAR *PCHAR;
typedef const char *PCSTR;
typedef const unsigned short *PCWCH;
typedef const unsigned short *PCWSTR;
typedef DWORD *PDWORD;
typedef float *PFLOAT;
typedef HANDLE *PHANDLE;
typedef int *PINT;
typedef long *PLONG;
typedef short *PSHORT;
typedef char *PSTR;
typedef char *PSZ;
typedef unsigned char *PUCHAR;
typedef unsigned int *PUINT;
typedef unsigned long *PULONG;
typedef unsigned short *PUSHORT;
typedef void *PVOID;
typedef unsigned short *PWCH;
typedef unsigned short *PWCHAR;
typedef unsigned short *PWORD;
typedef HANDLE SC_HANDLE;
typedef LPVOID SC_LOCK;
typedef SC_HANDLE *LPSC_HANDLE;
typedef DWORD SERVICE_STATUS_HANDLE;
typedef short SHORT;
typedef unsigned char UCHAR;
typedef unsigned int UINT;
typedef unsigned long ULONG;
typedef unsigned short USHORT;
#define VOID void
typedef unsigned short WCHAR;
typedef unsigned short WORD;
typedef unsigned int WPARAM;
#define STDCALL	__stdcall
#define CDECL
#define CALLBACK	__stdcall
#define PASCAL	__stdcall
#define WINAPI	STDCALL
#define WINGDIAPI STDCALL
#define WINAPIV
#define APIENTRY	STDCALL
typedef enum _ACL_INFORMATION_CLASS {
	AclRevisionInformation = 1, AclSizeInformation
} ACL_INFORMATION_CLASS;
typedef enum _MEDIA_TYPE {
	Unknown, F5_1Pt2_512, F3_1Pt44_512, F3_2Pt88_512, F3_20Pt8_512,
	F3_720_512, F5_360_512, F5_320_512, F5_320_1024, F5_180_512,
	F5_160_512, RemovableMedia, FixedMedia
} MEDIA_TYPE;
#define RASCS_DONE 0x2000
#define RASCS_PAUSED 0x1000
typedef enum _RASCONNSTATE {
	RASCS_OpenPort = 0, RASCS_PortOpened, RASCS_ConnectDevice,
	RASCS_DeviceConnected, RASCS_AllDevicesConnected, RASCS_Authenticate,
	RASCS_AuthNotify, RASCS_AuthRetry, RASCS_AuthCallback,
	RASCS_AuthChangePassword, RASCS_AuthProject, RASCS_AuthLinkSpeed,
	RASCS_AuthAck, RASCS_ReAuthenticate, RASCS_Authenticated,
	RASCS_PrepareForCallback, RASCS_WaitForModemReset, RASCS_WaitForCallback,
	RASCS_Projected, RASCS_StartAuthentication, RASCS_CallbackComplete,
	RASCS_LogonNetwork, RASCS_Interactive = RASCS_PAUSED, RASCS_RetryAuthentication,
	RASCS_CallbackSetByCaller, RASCS_PasswordExpired, RASCS_Connected = RASCS_DONE,
	RASCS_Disconnected
} RASCONNSTATE ;
typedef enum _RASPROJECTION {
	RASP_Amb = 0x10000, RASP_PppNbf = 0x803F, RASP_PppIpx = 0x802B, RASP_PppIp = 0x8021
} RASPROJECTION ;

typedef enum _SECURITY_IMPERSONATION_LEVEL {
	SecurityAnonymous, SecurityIdentification, SecurityImpersonation,
	SecurityDelegation
} SECURITY_IMPERSONATION_LEVEL;
typedef enum _SID_NAME_USE {
	SidTypeUser = 1, SidTypeGroup, SidTypeDomain, SidTypeAlias,
	SidTypeWellKnownGroup, SidTypeDeletedAccount, SidTypeInvalid,
	SidTypeUnknown
} SID_NAME_USE,*PSID_NAME_USE;
typedef enum _TOKEN_INFORMATION_CLASS {
	TokenUser = 1, TokenGroups, TokenPrivileges, TokenOwner,
	TokenPrimaryGroup, TokenDefaultDacl, TokenSource, TokenType,
	TokenImpersonationLevel, TokenStatistics
} TOKEN_INFORMATION_CLASS;
typedef enum tagTOKEN_TYPE {
	TokenPrimary = 1, TokenImpersonation
} TOKEN_TYPE;
#endif
#define FORWARD_WM_NOTIFY(h,id,hdr,fn) (void)(fn)((h),WM_NOTIFY,(WPARAM)(id),(LPARAM)(hdr))
#define GetBValue(rgb) ((BYTE) ((rgb) >> 16))
#define GetGValue(rgb) ((BYTE) (((WORD) (rgb)) >> 8))
#define GetRValue(rgb) ((BYTE) (rgb))
#define RGB(r,g,b) ((DWORD)(((BYTE)(r)|((WORD)(g) << 8))|(((DWORD)(BYTE)(b)) << 16)))
#define HANDLE_WM_NOTIFY(h,wP,lP,fn) (fn)((h),(int)(wP),(NMHDR *)(lP))
#define HIBYTE(w) ((BYTE) (((WORD) (w) >> 8) & 0xFF))
#define HIWORD(l) ((WORD) (((DWORD) (l) >> 16) & 0xFFFF))
#define LOBYTE(w) ((BYTE) (w))
#define LOWORD(l) ((WORD) (l))
#define MAKELONG(a,b) ((LONG) (((WORD) (a)) | ((DWORD) ((WORD) (b))) << 16))
#define MAKEWORD(a,b) ((WORD) (((BYTE) (a)) | ((WORD) ((BYTE) (b))) << 8))
#define INDEXTOOVERLAYMASK(i) ((i) << 8)
#define INDEXTOSTATEIMAGEMASK(i) ((i) << 12)
#define MAKEINTATOM(i) (LPTSTR) ((DWORD) ((WORD) (i)))
#define MAKEINTRESOURCE(i) (LPTSTR) ((DWORD) ((WORD) (i)))
#define MAKELANGID(p,s) ((((WORD) (s)) << 10) | (WORD) (p))
#define PRIMARYLANGID(lgid) ((WORD )(lgid) & 0x3ff)
#define SUBLANGID(lgid) ((WORD )(lgid) >> 10)
#define LANGIDFROMLCID(lcid) ((WORD) (lcid))
#define SORTIDFROMLCID(lcid) ((WORD )((((DWORD)(lcid)) & 0x000FFFFF) >> 16))
#define MAKELCID(lgid,srtid) ((DWORD)((((DWORD)((WORD)(srtid))) << 16)|((DWORD)((WORD)(lgid)))))
#define MAKELPARAM(l,h) ((LPARAM) MAKELONG(l,h))
#define MAKELRESULT(l,h) ((LRESULT) MAKELONG(l,h))
#define MAKEPOINTS(l) (*((POINTS *) & (l)))
#define MAKEROP4(fore,back) (DWORD)((((back) << 8) & 0xFF000000) | (fore))
#define MAKEWPARAM(l,h)	((WPARAM) MAKELONG(l,h))
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#define PALETTEINDEX(i) ((COLORREF) (0x01000000 | (DWORD) (WORD) (i)))
#define PALETTERGB(r,g,b) (0x02000000 | RGB(r,g,b))
#define POINTSTOPOINT(pt,pts) {(pt).x = (SHORT) LOWORD(pts); (pt).y = (SHORT) HIWORD(pts);}
#define POINTTOPOINTS(pt) (MAKELONG((short) ((pt).x),(short) ((pt).y)))
#define INDEXTOOVERLAYMASK(i) ((i) << 8)
#define INDEXTOSTATEIMAGEMASK(i) ((i) << 12)
#ifndef RC_INVOKED
typedef int (CALLBACK *BFFCALLBACK) (HWND,UINT,LPARAM,LPARAM);
typedef UINT (CALLBACK *LPCCHOOKPROC) (HWND,UINT,WPARAM,LPARAM);
typedef UINT (CALLBACK *LPCFHOOKPROC) (HWND,UINT,WPARAM,LPARAM);
typedef DWORD (CALLBACK *PTHREAD_START_ROUTINE) (LPVOID);
typedef PTHREAD_START_ROUTINE LPTHREAD_START_ROUTINE;
typedef DWORD (CALLBACK *EDITSTREAMCALLBACK) (DWORD,LPBYTE,LONG,LONG);
typedef UINT (CALLBACK *LPFRHOOKPROC) (HWND,UINT,WPARAM,LPARAM);
typedef UINT (CALLBACK *LPOFNHOOKPROC) (HWND,UINT,WPARAM,LPARAM);
typedef UINT (CALLBACK *LPPRINTHOOKPROC) (HWND,UINT,WPARAM,LPARAM);
typedef UINT (CALLBACK *LPSETUPHOOKPROC) (HWND,UINT,WPARAM,LPARAM);
typedef BOOL (CALLBACK *DLGPROC) (HWND,UINT,WPARAM,LPARAM);
typedef int (CALLBACK *PFNPROPSHEETCALLBACK) (HWND,UINT,LPARAM);
typedef VOID (CALLBACK *LPSERVICE_MAIN_FUNCTION) (DWORD,LPTSTR);
typedef int (CALLBACK *PFNTVCOMPARE) (LPARAM,LPARAM,LPARAM);
typedef LRESULT (CALLBACK *WNDPROC) (HWND,UINT,WPARAM,LPARAM);
typedef int (CALLBACK *FARPROC)();
typedef BOOL (CALLBACK *WNDENUMPROC)(HWND,LPARAM);
typedef BOOL (CALLBACK *ENUMRESTYPEPROC) (HANDLE,LPTSTR,LONG);
typedef BOOL (CALLBACK *ENUMRESNAMEPROC) (HANDLE,LPCTSTR,LPTSTR,LONG);
typedef BOOL (CALLBACK *ENUMRESLANGPROC) (HANDLE,LPCTSTR,LPCTSTR,WORD,LONG);
typedef BOOL (CALLBACK *ENUMWINDOWSPROC) (HWND,LPARAM);
typedef BOOL (CALLBACK *ENUMWINDOWSTATIONPROC) (LPTSTR,LPARAM);
typedef VOID (CALLBACK *SENDASYNCPROC) (HWND,UINT,DWORD,LRESULT);
typedef VOID (CALLBACK *TIMERPROC) (HWND,UINT,UINT,DWORD);
typedef BOOL (CALLBACK *GRAYSTRINGPROC)(HDC,LPARAM,int);
typedef BOOL (CALLBACK *DRAWSTATEPROC) (HDC,LPARAM,WPARAM,int,int);
typedef BOOL (CALLBACK *PROPENUMPROCEX) (HWND,LPCTSTR,HANDLE,DWORD);
typedef BOOL (CALLBACK *PROPENUMPROC) (HWND,LPCTSTR,HANDLE);
typedef LRESULT (CALLBACK *HOOKPROC) (int,WPARAM,LPARAM);
typedef VOID (CALLBACK *ENUMOBJECTSPROC) (LPVOID,LPARAM);
typedef VOID (CALLBACK *LINEDDAPROC) (int,int,LPARAM);
typedef BOOL (CALLBACK *ABORTPROC) (HDC,int);
typedef UINT (CALLBACK *LPPAGEPAINTHOOK) (HWND,UINT,WPARAM,LPARAM);
typedef UINT (CALLBACK *LPPAGESETUPHOOK) (HWND,UINT,WPARAM,LPARAM);
typedef int (CALLBACK *ICMENUMPROC) (LPTSTR,LPARAM);
typedef LONG (*EDITWORDBREAKPROCEX) (char *,LONG,BYTE,INT);
typedef int (CALLBACK *PFNLVCOMPARE) (LPARAM,LPARAM,LPARAM);
typedef BOOL (CALLBACK *LOCALE_ENUMPROC) (LPTSTR);
typedef BOOL (CALLBACK *CODEPAGE_ENUMPROC) (LPTSTR);
typedef BOOL (CALLBACK *DATEFMT_ENUMPROC) (LPTSTR);
typedef BOOL (CALLBACK *TIMEFMT_ENUMPROC) (LPTSTR);
typedef BOOL (CALLBACK *CALINFO_ENUMPROC) (LPTSTR);
typedef BOOL (CALLBACK *PHANDLER_ROUTINE) (DWORD);
typedef BOOL (CALLBACK *LPHANDLER_FUNCTION) (DWORD);
typedef UINT (CALLBACK *PFNGETPROFILEPATH) (LPCTSTR,LPSTR,UINT);
typedef UINT (CALLBACK *PFNRECONCILEPROFILE) (LPCTSTR,LPCTSTR,DWORD);
typedef BOOL (CALLBACK *PFNPROCESSPOLICIES) (HWND,LPCTSTR,LPCTSTR,LPCTSTR,DWORD);
typedef BOOL (CALLBACK* NAMEENUMPROCA)(LPSTR, LPARAM);
typedef BOOL (CALLBACK* NAMEENUMPROCW)(LPWSTR, LPARAM);
typedef NAMEENUMPROCA   WINSTAENUMPROCA;
typedef NAMEENUMPROCA   DESKTOPENUMPROCA;
typedef NAMEENUMPROCW   WINSTAENUMPROCW;
typedef NAMEENUMPROCW   DESKTOPENUMPROCW;
#endif
#define SECURITY_NULL_SID_AUTHORITY	{0,0,0,0,0,0}
#define SECURITY_WORLD_SID_AUTHORITY	{0,0,0,0,0,1}
#define SECURITY_LOCAL_SID_AUTHORITY	{0,0,0,0,0,2}
#define SECURITY_CREATOR_SID_AUTHORITY	{0,0,0,0,0,3}
#define SECURITY_NON_UNIQUE_AUTHORITY	{0,0,0,0,0,4}
#define SECURITY_NT_AUTHORITY	{0,0,0,0,0,5}
#define SE_CREATE_TOKEN_NAME	TEXT("SeCreateTokenPrivilege")
#define SE_ASSIGNPRIMARYTOKEN_NAME	TEXT("SeAssignPrimaryTokenPrivilege")
#define SE_LOCK_MEMORY_NAME	TEXT("SeLockMemoryPrivilege")
#define SE_INCREASE_QUOTA_NAME	TEXT("SeIncreaseQuotaPrivilege")
#define SE_UNSOLICITED_INPUT_NAME	TEXT("SeUnsolicitedInputPrivilege")
#define SE_MACHINE_ACCOUNT_NAME	TEXT("SeMachineAccountPrivilege")
#define SE_TCB_NAME	TEXT("SeTcbPrivilege")
#define SE_SECURITY_NAME	TEXT("SeSecurityPrivilege")
#define SE_TAKE_OWNERSHIP_NAME	TEXT("SeTakeOwnershipPrivilege")
#define SE_LOAD_DRIVER_NAME	TEXT("SeLoadDriverPrivilege")
#define SE_SYSTEM_PROFILE_NAME	TEXT("SeSystemProfilePrivilege")
#define SE_SYSTEMTIME_NAME	TEXT("SeSystemtimePrivilege")
#define SE_PROF_SINGLE_PROCESS_NAME	TEXT("SeProfileSingleProcessPrivilege")
#define SE_INC_BASE_PRIORITY_NAME	TEXT("SeIncreaseBasePriorityPrivilege")
#define SE_CREATE_PAGEFILE_NAME	TEXT("SeCreatePagefilePrivilege")
#define SE_CREATE_PERMANENT_NAME	TEXT("SeCreatePermanentPrivilege")
#define SE_BACKUP_NAME	TEXT("SeBackupPrivilege")
#define SE_RESTORE_NAME	TEXT("SeRestorePrivilege")
#define SE_SHUTDOWN_NAME	TEXT("SeShutdownPrivilege")
#define SE_DEBUG_NAME	TEXT("SeDebugPrivilege")
#define SE_AUDIT_NAME	TEXT("SeAuditPrivilege")
#define SE_SYSTEM_ENVIRONMENT_NAME	TEXT("SeSystemEnvironmentPrivilege")
#define SE_CHANGE_NOTIFY_NAME	TEXT("SeChangeNotifyPrivilege")
#define SE_REMOTE_SHUTDOWN_NAME	TEXT("SeRemoteShutdownPrivilege")
#define SERVICES_ACTIVE_DATABASEW 	L"ServicesActive"
#define SERVICES_FAILED_DATABASEW	L"ServicesFailed"
#define SERVICES_ACTIVE_DATABASEA	"ServicesActive"
#define SERVICES_FAILED_DATABASEA	"ServicesFailed"
#define SC_GROUP_IDENTIFIERW	L'+'
#define SC_GROUP_IDENTIFIERA	'+'
/* Messages.h WIN32 message definitions */
#define ACM_OPENW	1127
#define ACM_OPENA	1124
#define ACM_PLAY	1125
#define ACM_STOP	1126
#define ACN_START	1
#define ACN_STOP	2
#define BM_CLICK	245
#define BM_GETCHECK	240
#define BM_GETIMAGE	246
#define BM_GETSTATE	242
#define BM_SETCHECK	241
#define BM_SETIMAGE	247
#define BM_SETSTATE	243
#define BM_SETSTYLE	244
#define BN_CLICKED	0
#define BN_DBLCLK	5
#define BN_DISABLE	4
#define BN_DOUBLECLICKED	5
#define BN_HILITE	2
#define BN_KILLFOCUS	7
#define BN_PAINT	1
#define BN_PUSHED	2
#define BN_SETFOCUS	6
#define BN_UNHILITE	3
#define BN_UNPUSHED	3
#define CB_ADDSTRING	323
#define CB_DELETESTRING	324
#define CB_DIR	325
#define CB_FINDSTRING	332
#define CB_FINDSTRINGEXACT	344
#define CB_GETCOUNT	326
#define CB_GETCURSEL	327
#define CB_GETDROPPEDCONTROLRECT	338
#define CB_GETDROPPEDSTATE	343
#define CB_GETDROPPEDWIDTH	351
#define CB_GETEDITSEL	320
#define CB_GETEXTENDEDUI	342
#define CB_GETHORIZONTALEXTENT	349
#define CB_GETITEMDATA	336
#define CB_GETITEMHEIGHT	340
#define CB_GETLBTEXT	328
#define CB_GETLBTEXTLEN	329
#define CB_GETLOCALE	346
#define CB_GETTOPINDEX	347
#define CB_INITSTORAGE	353
#define CB_INSERTSTRING	330
#define CB_LIMITTEXT	321
#define CB_RESETCONTENT	331
#define CB_SELECTSTRING	333
#define CB_SETCURSEL	334
#define CB_SETDROPPEDWIDTH	352
#define CB_SETEDITSEL	322
#define CB_SETEXTENDEDUI	341
#define CB_SETHORIZONTALEXTENT	350
#define CB_SETITEMDATA	337
#define CB_SETITEMHEIGHT	339
#define CB_SETLOCALE	345
#define CB_SETTOPINDEX	348
#define CB_SHOWDROPDOWN	335
#define CBN_CLOSEUP	8
#define CBN_DBLCLK	2
#define CBN_DROPDOWN	7
#define CBN_EDITCHANGE	5
#define CBN_EDITUPDATE	6
#define CBN_ERRSPACE	(-1)
#define CBN_KILLFOCUS	4
#define CBN_SELCHANGE	1
#define CBN_SELENDCANCEL	10
#define CBN_SELENDOK	9
#define CBN_SETFOCUS	3
#define DL_BEGINDRAG	1157
#define DL_CANCELDRAG	1160
#define DL_DRAGGING	1158
#define DL_DROPPED	1159
#define DRAGLISTMSGSTRING	TEXT("commctrl_DragListMsg")
#define DM_GETDEFID	1024
#define DM_REPOSITION	1026
#define DM_SETDEFID	1025
#define EM_CANPASTE	1074
#define EM_CANUNDO	198
#define EM_CHARFROMPOS	215
#define EM_DISPLAYBAND	1075
#define EM_EMPTYUNDOBUFFER	205
#define EM_EXGETSEL	1076
#define EM_EXLIMITTEXT	1077
#define EM_EXLINEFROMCHAR	1078
#define EM_EXSETSEL	1079
#define EM_FINDTEXT	1080
#define EM_FINDTEXTEX	1103
#define EM_FINDWORDBREAK	1100
#define EM_FMTLINES	200
#define EM_FORMATRANGE	1081
#define EM_GETCHARFORMAT	1082
#define EM_GETEVENTMASK	1083
#define EM_GETFIRSTVISIBLELINE	206
#define EM_GETHANDLE	189
#define EM_GETLIMITTEXT	213
#define EM_GETLINE	196
#define EM_GETLINECOUNT	186
#define EM_GETMARGINS	212
#define EM_GETMODIFY	184
#define EM_GETIMECOLOR	1129
#define EM_GETIMEOPTIONS	1131
#define EM_GETOPTIONS	1102
#define EM_GETOLEINTERFACE	1084
#define EM_GETPARAFORMAT	1085
#define EM_GETPASSWORDCHAR	210
#define EM_GETPUNCTUATION	1125
#define EM_GETRECT	178
#define EM_GETSEL	176
#define EM_GETSELTEXT	1086
#define EM_GETTEXTRANGE	1099
#define EM_GETTHUMB	190
#define EM_GETWORDBREAKPROC	209
#define EM_GETWORDBREAKPROCEX	1104
#define EM_GETWORDWRAPMODE	1127
#define EM_HIDESELECTION	1087
#define EM_LIMITTEXT	197
#define EM_LINEFROMCHAR	201
#define EM_LINEINDEX	187
#define EM_LINELENGTH	193
#define EM_LINESCROLL	182
#define EM_PASTESPECIAL	1088
#define EM_POSFROMCHAR	214
#define EM_REPLACESEL	194
#define EM_REQUESTRESIZE	1089
#define EM_SCROLL	181
#define EM_SCROLLCARET	183
#define EM_SELECTIONTYPE	1090
#define EM_SETBKGNDCOLOR	1091
#define EM_SETCHARFORMAT	1092
#define EM_SETEVENTMASK	1093
#define EM_SETHANDLE	188
#define EM_SETIMECOLOR	1128
#define EM_SETIMEOPTIONS	1130
#define EM_SETLIMITTEXT	197
#define EM_SETMARGINS	211
#define EM_SETMODIFY	185
#define EM_SETOLECALLBACK	1094
#define EM_SETOPTIONS	1101
#define EM_SETPARAFORMAT	1095
#define EM_SETPASSWORDCHAR	204
#define EM_SETPUNCTUATION	1124
#define EM_SETREADONLY	207
#define EM_SETRECT	179
#define EM_SETRECTNP	180
#define EM_SETSEL	177
#define EM_SETTABSTOPS	203
#define EM_SETTARGETDEVICE	1096
#define EM_SETWORDBREAKPROC	208
#define EM_SETWORDBREAKPROCEX	1105
#define EM_SETWORDWRAPMODE	1126
#define EM_STREAMIN	1097
#define EM_STREAMOUT	1098
#define EM_UNDO	199
#define EN_CHANGE	768
#define EN_CORRECTTEXT	1797
#define EN_DROPFILES	1795
#define EN_ERRSPACE	1280
#define EN_HSCROLL	1537
#define EN_IMECHANGE	1799
#define EN_KILLFOCUS	512
#define EN_MAXTEXT	1281
#define EN_MSGFILTER	1792
#define EN_OLEOPFAILED	1801
#define EN_PROTECTED	1796
#define EN_REQUESTRESIZE	1793
#define EN_SAVECLIPBOARD	1800
#define EN_SELCHANGE	1794
#define EN_SETFOCUS	256
#define EN_STOPNOUNDO	1798
#define EN_UPDATE	1024
#define EN_VSCROLL	1538
#define HDM_DELETEITEM	4610
#define HDM_GETITEMW	4619
#define HDM_INSERTITEMW	4618
#define HDM_SETITEMW	4620
#define HDM_GETITEMA	4611
#define HDM_INSERTITEMA	4609
#define HDM_SETITEMA	4612
#define HDM_GETITEMCOUNT	4608
#define HDM_HITTEST	4614
#define HDM_LAYOUT	4613
#define HDN_BEGINTRACKW	(-326)
#define HDN_DIVIDERDBLCLICKW	(-325)
#define HDN_ENDTRACKW	(-327)
#define HDN_ITEMCHANGEDW	(-321)
#define HDN_ITEMCHANGINGW	(-320)
#define HDN_ITEMCLICKW	(-322)
#define HDN_ITEMDBLCLICKW	(-323)
#define HDN_TRACKW	(-328)
#define HDN_BEGINTRACKA	(-306)
#define HDN_DIVIDERDBLCLICKA	(-305)
#define HDN_ENDTRACKA	(-307)
#define HDN_ITEMCHANGEDA	(-301)
#define HDN_ITEMCHANGINGA	(-300)
#define HDN_ITEMCLICKA	(-302)
#define HDN_ITEMDBLCLICKA	(-303)
#define HDN_TRACKA	(-308)
#define HKM_GETHOTKEY	1026
#define HKM_SETHOTKEY	1025
#define HKM_SETRULES	1027
#define LB_ADDFILE	406
#define LB_ADDSTRING	384
#define LB_DELETESTRING	386
#define LB_DIR	397
#define LB_FINDSTRING	399
#define LB_FINDSTRINGEXACT	418
#define LB_GETANCHORINDEX	413
#define LB_GETCARETINDEX	415
#define LB_GETCOUNT	395
#define LB_GETCURSEL	392
#define LB_GETHORIZONTALEXTENT	403
#define LB_GETITEMDATA	409
#define LB_GETITEMHEIGHT	417
#define LB_GETITEMRECT	408
#define LB_GETLOCALE	422
#define LB_GETSEL	391
#define LB_GETSELCOUNT	400
#define LB_GETSELITEMS	401
#define LB_GETTEXT	393
#define LB_GETTEXTLEN	394
#define LB_GETTOPINDEX	398
#define LB_INITSTORAGE	424
#define LB_INSERTSTRING	385
#define LB_ITEMFROMPOINT	425
#define LB_RESETCONTENT	388
#define LB_SELECTSTRING	396
#define LB_SELITEMRANGE	411
#define LB_SELITEMRANGEEX	387
#define LB_SETANCHORINDEX	412
#define LB_SETCARETINDEX	414
#define LB_SETCOLUMNWIDTH	405
#define LB_SETCOUNT	423
#define LB_SETCURSEL	390
#define LB_SETHORIZONTALEXTENT	404
#define LB_SETITEMDATA	410
#define LB_SETITEMHEIGHT	416
#define LB_SETLOCALE	421
#define LB_SETSEL	389
#define LB_SETTABSTOPS	402
#define LB_SETTOPINDEX	407
#define LBN_DBLCLK	2
#define LBN_ERRSPACE	(-2)
#define LBN_KILLFOCUS	5
#define LBN_SELCANCEL	3
#define LBN_SELCHANGE	1
#define LBN_SETFOCUS	4
#define LVM_ARRANGE	4118
#define LVM_CREATEDRAGIMAGE	4129
#define LVM_DELETEALLITEMS	4105
#define LVM_DELETECOLUMN	4124
#define LVM_DELETEITEM	4104
#define LVM_ENSUREVISIBLE	4115
#define LVM_GETBKCOLOR	4096
#define LVM_GETCALLBACKMASK	4106
#define LVM_GETCOLUMNWIDTH	4125
#define LVM_GETCOUNTPERPAGE	4136
#define LVM_GETEDITCONTROL	4120
#define LVM_GETIMAGELIST	4098
#define LVM_EDITLABELW	4214
#define LVM_FINDITEMW	4179
#define LVM_GETCOLUMNW	4191
#define LVM_GETISEARCHSTRINGW	4213
#define LVM_GETITEMW	4171
#define LVM_GETITEMTEXTW	4211
#define LVM_GETSTRINGWIDTHW	4183
#define LVM_INSERTCOLUMNW	4193
#define LVM_INSERTITEMW	4173
#define LVM_SETCOLUMNW	4192
#define LVM_SETITEMW	4172
#define LVM_SETITEMTEXTW	4212
#define LVM_EDITLABELA	4119
#define LVM_FINDITEMA	4109
#define LVM_GETCOLUMNA	4121
#define LVM_GETISEARCHSTRINGA	4148
#define LVM_GETITEMA	4101
#define LVM_GETITEMTEXTA	4141
#define LVM_GETSTRINGWIDTHA	4113
#define LVM_INSERTCOLUMNA	4123
#define LVM_INSERTITEMA	4103
#define LVM_SETCOLUMNA	4122
#define LVM_SETITEMA	4102
#define LVM_SETITEMTEXTA	4142
#define LVM_GETITEMCOUNT	4100
#define LVM_GETITEMPOSITION	4112
#define LVM_GETITEMRECT	4110
#define LVM_GETITEMSPACING	4147
#define LVM_GETITEMSTATE	4140
#define LVM_GETNEXTITEM	4108
#define LVM_GETORIGIN	4137
#define LVM_GETSELECTEDCOUNT	4146
#define LVM_GETTEXTBKCOLOR	4133
#define LVM_GETTEXTCOLOR	4131
#define LVM_GETTOPINDEX	4135
#define LVM_GETVIEWRECT	4130
#define LVM_HITTEST	4114
#define LVM_REDRAWITEMS	4117
#define LVM_SCROLL	4116
#define LVM_SETBKCOLOR	4097
#define LVM_SETCALLBACKMASK	4107
#define LVM_SETCOLUMNWIDTH	4126
#define LVM_SETIMAGELIST	4099
#define LVM_SETITEMCOUNT	4143
#define LVM_SETITEMPOSITION	4111
#define LVM_SETITEMPOSITION32	4145
#define LVM_SETITEMSTATE	4139
#define LVM_SETTEXTBKCOLOR	4134
#define LVM_SETTEXTCOLOR	4132
#define LVM_SORTITEMS	4144
#define LVM_UPDATE	4138
#define LVN_BEGINDRAG	(-109)
#define LVN_BEGINRDRAG	(-111)
#define LVN_COLUMNCLICK	(-108)
#define LVN_DELETEALLITEMS	(-104)
#define LVN_DELETEITEM	(-103)
#define LVN_BEGINLABELEDITW	(-175)
#define LVN_ENDLABELEDITW	(-176)
#define LVN_GETDISPINFOW	(-177)
#define LVN_SETDISPINFOW	(-178)
#define LVN_BEGINLABELEDITA	(-105)
#define LVN_ENDLABELEDITA	(-106)
#define LVN_GETDISPINFOA	(-150)
#define LVN_SETDISPINFOA	(-151)
#define LVN_INSERTITEM	(-102)
#define LVN_ITEMCHANGED	(-101)
#define LVN_ITEMCHANGING	(-100)
#define LVN_KEYDOWN	(-155)
#define NM_CLICK	(-2)
#define NM_DBLCLK	(-3)
#define NM_KILLFOCUS	(-8)
#define NM_OUTOFMEMORY	(-1)
#define NM_RCLICK	(-5)
#define NM_RDBLCLK	(-6)
#define NM_RETURN	(-4)
#define NM_SETFOCUS	(-7)
#define PBM_DELTAPOS	1027
#define PBM_SETPOS	1026
#define PBM_SETRANGE	1025
#define PBM_SETSTEP	1028
#define PBM_STEPIT	1029
#define PSM_ADDPAGE	1127
#define PSM_APPLY	1134
#define PSM_CANCELTOCLOSE	1131
#define PSM_CHANGED	1128
#define PSM_GETTABCONTROL	1140
#define PSM_GETCURRENTPAGEHWND	1142
#define PSM_ISDIALOGMESSAGE	1141
#define PSM_PRESSBUTTON	1137
#define PSM_QUERYSIBLINGS	1132
#define PSM_REBOOTSYSTEM	1130
#define PSM_REMOVEPAGE	1126
#define PSM_RESTARTWINDOWS	1129
#define PSM_SETCURSEL	1125
#define PSM_SETCURSELID	1138
#define PSM_SETFINISHTEXTW	1145
#define PSM_SETTITLEW	1144
#define PSM_SETFINISHTEXTA	1139
#define PSM_SETTITLEA	1135
#define PSM_SETWIZBUTTONS	1136
#define PSM_UNCHANGED	1133
#define PSN_APPLY	(-202)
#define PSN_HELP	(-205)
#define PSN_KILLACTIVE	(-201)
#define PSN_QUERYCANCEL	(-209)
#define PSN_RESET	(-203)
#define PSN_SETACTIVE	(-200)
#define PSN_WIZBACK	(-206)
#define PSN_WIZFINISH	(-208)
#define PSN_WIZNEXT	(-207)
#define SB_GETBORDERS	1031
#define SB_GETPARTS	1030
#define SB_GETRECT	1034
#define SB_GETTEXTW	1037
#define SB_GETTEXTLENGTHW	1036
#define SB_SETTEXTW	1035
#define SB_GETTEXTA	1026
#define SB_GETTEXTLENGTHA	1027
#define SB_SETTEXTA	1025
#define SB_SETMINHEIGHT	1032
#define SB_SETPARTS	1028
#define SB_SIMPLE	1033
#define SBM_ENABLE_ARROWS	228
#define SBM_GETPOS	225
#define SBM_GETRANGE	227
#define SBM_GETSCROLLINFO	234
#define SBM_SETPOS	224
#define SBM_SETRANGE	226
#define SBM_SETRANGEREDRAW	230
#define SBM_SETSCROLLINFO	233
#define STM_GETICON	369
#define STM_GETIMAGE	371
#define STM_SETICON	368
#define STM_SETIMAGE	370
#define STN_CLICKED	0
#define STN_DBLCLK	1
#define STN_DISABLE	3
#define STN_ENABLE	2
#define TB_ADDBITMAP	1043
#define TB_ADDBUTTONS	1044
#define TB_AUTOSIZE	1057
#define TB_BUTTONCOUNT	1048
#define TB_BUTTONSTRUCTSIZE	1054
#define TB_CHANGEBITMAP	1067
#define TB_CHECKBUTTON	1026
#define TB_COMMANDTOINDEX	1049
#define TB_CUSTOMIZE	1051
#define TB_DELETEBUTTON	1046
#define TB_ENABLEBUTTON	1025
#define TB_GETBITMAP	1068
#define TB_GETBITMAPFLAGS	1065
#define TB_GETBUTTON	1047
#define TB_ADDSTRINGW	1101
#define TB_GETBUTTONTEXTW	1099
#define TB_SAVERESTOREW	1100
#define TB_ADDSTRINGA	1052
#define TB_GETBUTTONTEXTA	1069
#define TB_SAVERESTOREA	1050
#define TB_GETITEMRECT	1053
#define TB_GETROWS	1064
#define TB_GETSTATE	1042
#define TB_GETTOOLTIPS	1059
#define TB_HIDEBUTTON	1028
#define TB_INDETERMINATE	1029
#define TB_INSERTBUTTON	1045
#define TB_ISBUTTONCHECKED	1034
#define TB_ISBUTTONENABLED	1033
#define TB_ISBUTTONHIDDEN	1036
#define TB_ISBUTTONINDETERMINATE	1037
#define TB_ISBUTTONPRESSED	1035
#define TB_PRESSBUTTON	1027
#define TB_SETBITMAPSIZE	1056
#define TB_SETBUTTONSIZE	1055
#define TB_SETCMDID	1066
#define TB_SETPARENT	1061
#define TB_SETROWS	1063
#define TB_SETSTATE	1041
#define TB_SETTOOLTIPS	1060
#define TBM_CLEARSEL	1043
#define TBM_CLEARTICS	1033
#define TBM_GETCHANNELRECT	1050
#define TBM_GETLINESIZE	1048
#define TBM_GETNUMTICS	1040
#define TBM_GETPAGESIZE	1046
#define TBM_GETPOS	1024
#define TBM_GETPTICS	1038
#define TBM_GETRANGEMAX	1026
#define TBM_GETRANGEMIN	1025
#define TBM_GETSELEND	1042
#define TBM_GETSELSTART	1041
#define TBM_GETTHUMBLENGTH	1052
#define TBM_GETTHUMBRECT	1049
#define TBM_GETTIC	1027
#define TBM_GETTICPOS	1039
#define TBM_SETLINESIZE	1047
#define TBM_SETPAGESIZE	1045
#define TBM_SETPOS	1029
#define TBM_SETRANGE	1030
#define TBM_SETRANGEMAX	1032
#define TBM_SETRANGEMIN	1031
#define TBM_SETSEL	1034
#define TBM_SETSELEND	1036
#define TBM_SETSELSTART	1035
#define TBM_SETTHUMBLENGTH	1051
#define TBM_SETTIC	1028
#define TBM_SETTICFREQ	1044
#define	TBN_FIRST	(-700U)
#define TBN_BEGINADJUST	(-703U)
#define TBN_BEGINDRAG	(-701U)
#define TBN_CUSTHELP	(-709U)
#define TBN_ENDADJUST	(-704U)
#define TBN_ENDDRAG	(-702U)
#define TBN_GETBUTTONINFOW	(-720U)
#define TBN_GETBUTTONINFOA	(-700U)
#define TBN_QUERYDELETE	(-707U)
#define TBN_QUERYINSERT	(-706U)
#define TBN_RESET	(-705U)
#define TBN_TOOLBARCHANGE	(-708U)
#define TBN_LAST	(-720U)
#define TCM_ADJUSTRECT	4904
#define TCM_DELETEALLITEMS	4873
#define TCM_DELETEITEM	4872
#define TCM_GETCURFOCUS	4911
#define TCM_GETCURSEL	4875
#define TCM_GETIMAGELIST	4866
#define TCM_GETITEMW	4924
#define TCM_INSERTITEMW	4926
#define TCM_SETITEMW	4925
#define TCM_GETITEMA	4869
#define TCM_INSERTITEMA	4871
#define TCM_SETITEMA	4870
#define TCM_GETITEMCOUNT	4868
#define TCM_GETITEMRECT	4874
#define TCM_GETROWCOUNT	4908
#define TCM_GETTOOLTIPS	4909
#define TCM_HITTEST	4877
#define TCM_REMOVEIMAGE	4906
#define TCM_SETCURFOCUS	4912
#define TCM_SETCURSEL	4876
#define TCM_SETIMAGELIST	4867
#define TCM_SETITEMEXTRA	4878
#define TCM_SETITEMSIZE	4905
#define TCM_SETPADDING	4907
#define TCM_SETTOOLTIPS	4910
#define TCN_KEYDOWN	(-550)
#define TCN_SELCHANGE	(-551)
#define TCN_SELCHANGING	(-552)
#define TTM_ACTIVATE	1025
#define TTM_ADDTOOLW	1074
#define TTM_DELTOOLW	1075
#define TTM_ENUMTOOLSW	1082
#define TTM_GETCURRENTTOOLW	1083
#define TTM_GETTEXTW	1080
#define TTM_GETTOOLINFOW	1077
#define TTM_HITTESTW	1079
#define TTM_NEWTOOLRECTW	1076
#define TTM_SETTOOLINFOW	1078
#define TTM_UPDATETIPTEXTW	1081
#define TTM_ADDTOOLA	1028
#define TTM_DELTOOLA	1029
#define TTM_ENUMTOOLSA	1038
#define TTM_GETCURRENTTOOLA	1039
#define TTM_GETTEXTA	1035
#define TTM_GETTOOLINFOA	1032
#define TTM_HITTESTA	1034
#define TTM_NEWTOOLRECTA	1030
#define TTM_SETTOOLINFOA	1033
#define TTM_UPDATETIPTEXTA	1036
#define TTM_GETTOOLCOUNT	1037
#define TTM_RELAYEVENT	1031
#define TTM_SETDELAYTIME	1027
#define TTM_WINDOWFROMPOINT	1040
#define TTN_NEEDTEXTW	(-530)
#define TTN_NEEDTEXTA	(-520)
#define TTN_POP	(-522)
#define TTN_SHOW	(-521)
#define TVM_CREATEDRAGIMAGE	4370
#define TVM_DELETEITEM	4353
#define TVM_ENDEDITLABELNOW	4374
#define TVM_ENSUREVISIBLE	4372
#define TVM_EXPAND	4354
#define TVM_GETCOUNT	4357
#define TVM_GETEDITCONTROL	4367
#define TVM_GETIMAGELIST	4360
#define TVM_GETINDENT	4358
#define TVM_GETITEMRECT	4356
#define TVM_GETNEXTITEM	4362
#define TVM_GETVISIBLECOUNT	4368
#define TVM_HITTEST	4369
#define TVM_EDITLABELW	4417
#define TVM_GETISEARCHSTRINGW	4416
#define TVM_GETITEMW	4414
#define TVM_INSERTITEMW	4402
#define TVM_SETITEMW	4415
#define TVM_EDITLABELA	4366
#define TVM_GETISEARCHSTRINGA	4375
#define TVM_GETITEMA	4364
#define TVM_INSERTITEMA	4352
#define TVM_SETITEMA	4365
#define TVM_SELECTITEM	4363
#define TVM_SETIMAGELIST	4361
#define TVM_SETINDENT	4359
#define TVM_SORTCHILDREN	4371
#define TVM_SORTCHILDRENCB	4373
#define TVN_KEYDOWN	(-412)
#define TVN_BEGINDRAGW	(-456)
#define TVN_BEGINLABELEDITW	(-459)
#define TVN_BEGINRDRAGW	(-457)
#define TVN_DELETEITEMW	(-458)
#define TVN_ENDLABELEDITW	(-460)
#define TVN_GETDISPINFOW	(-452)
#define TVN_ITEMEXPANDEDW	(-455)
#define TVN_ITEMEXPANDINGW	(-454)
#define TVN_SELCHANGEDW	(-451)
#define TVN_SELCHANGINGW	(-450)
#define TVN_SETDISPINFOW	(-453)
#define TVN_BEGINDRAGA	(-407)
#define TVN_BEGINLABELEDITA	(-410)
#define TVN_BEGINRDRAGA	(-408)
#define TVN_DELETEITEMA	(-409)
#define TVN_ENDLABELEDITA	(-411)
#define TVN_GETDISPINFOA	(-403)
#define TVN_ITEMEXPANDEDA	(-406)
#define TVN_ITEMEXPANDINGA	(-405)
#define TVN_SELCHANGEDA	(-402)
#define TVN_SELCHANGINGA	(-401)
#define TVN_SETDISPINFOA	(-404)
#define UDM_GETACCEL	1132
#define UDM_GETBASE	1134
#define UDM_GETBUDDY	1130
#define UDM_GETPOS	1128
#define UDM_GETRANGE	1126
#define UDM_SETACCEL	1131
#define UDM_SETBASE	1133
#define UDM_SETBUDDY	1129
#define UDM_SETPOS	1127
#define UDM_SETRANGE	1125
#define UDN_DELTAPOS	(-722)
#define WM_APP	0x8000
#define WM_ACTIVATE	6
#define WM_ACTIVATEAPP	28
#define WM_ASKCBFORMATNAME	780
#define WM_CANCELJOURNAL	75
#define WM_CANCELMODE	31
#define WM_CAPTURECHANGED	533
#define WM_CHANGECBCHAIN	781
#define WM_CHAR	258
#define WM_CHARTOITEM	47
#define WM_CHILDACTIVATE	34
#define WM_CHOOSEFONT_GETLOGFONT	1025
#define WM_CHOOSEFONT_SETLOGFONT	1125
#define WM_CHOOSEFONT_SETFLAGS	1126
#define WM_CLEAR	771
#define WM_CLOSE	16
#define WM_COMMAND	273
#define WM_COMPACTING	65
#define WM_COMPAREITEM	57
#define WM_CONTEXTMENU	123
#define WM_COPY	769
#define WM_COPYDATA	74
#define WM_CREATE	1
#define WM_CTLCOLORBTN	309
#define WM_CTLCOLORDLG	310
#define WM_CTLCOLOREDIT	307
#define WM_CTLCOLORLISTBOX	308
#define WM_CTLCOLORMSGBOX	306
#define WM_CTLCOLORSCROLLBAR	311
#define WM_CTLCOLORSTATIC	312
#define WM_CUT	768
#define WM_DEADCHAR	259
#define WM_DELETEITEM	45
#define WM_DESTROY	2
#define WM_DESTROYCLIPBOARD	775
#define WM_DEVICECHANGE	537
#define WM_DEVMODECHANGE	27
#define WM_DISPLAYCHANGE	126
#define WM_DRAWCLIPBOARD	776
#define WM_DRAWITEM	43
#define WM_DROPFILES	563
#define WM_ENABLE	10
#define WM_ENDSESSION	22
#define WM_ENTERIDLE	289
#define WM_ENTERMENULOOP	529
#define WM_ENTERSIZEMOVE	561
#define WM_ERASEBKGND	20
#define WM_EXITMENULOOP	530
#define WM_EXITSIZEMOVE	562
#define WM_FONTCHANGE	29
#define WM_GETDLGCODE	135
#define WM_GETFONT	49
#define WM_GETHOTKEY	51
#define WM_GETICON	127
#define WM_GETMINMAXINFO	36
#define WM_GETTEXT	13
#define WM_GETTEXTLENGTH	14
#define WM_HELP	83
#define WM_HOTKEY	786
#define WM_HSCROLL	276
#define WM_HSCROLLCLIPBOARD	782
#define WM_ICONERASEBKGND	39
#define WM_IME_CHAR	646
#define WM_IME_COMPOSITION	271
#define WM_IME_COMPOSITIONFULL	644
#define WM_IME_CONTROL	643
#define WM_IME_ENDCOMPOSITION	270
#define WM_IME_KEYDOWN	656
#define WM_IME_KEYUP	657
#define WM_IME_NOTIFY	642
#define WM_IME_SELECT	645
#define WM_IME_SETCONTEXT	641
#define WM_IME_STARTCOMPOSITION	269
#define WM_INITDIALOG	272
#define WM_INITMENU	278
#define WM_INITMENUPOPUP	279
#define WM_INPUTLANGCHANGE	81
#define WM_INPUTLANGCHANGEREQUEST	80
#define WM_KEYDOWN	256
#define WM_KEYUP	257
#define WM_KILLFOCUS	8
#define WM_LBUTTONDBLCLK	515
#define WM_LBUTTONDOWN	513
#define WM_LBUTTONUP	514
#define WM_MBUTTONDBLCLK	521
#define WM_MBUTTONDOWN	519
#define WM_MBUTTONUP	520
#define WM_MDIACTIVATE	546
#define WM_MDICASCADE	551
#define WM_MDICREATE	544
#define WM_MDIDESTROY	545
#define WM_MDIGETACTIVE	553
#define WM_MDIICONARRANGE	552
#define WM_MDIMAXIMIZE	549
#define WM_MDINEXT	548
#define WM_MDIREFRESHMENU	564
#define WM_MDIRESTORE	547
#define WM_MDISETMENU	560
#define WM_MDITILE	550
#define WM_MEASUREITEM	44
#define WM_MENUCHAR	288
#define WM_MENUSELECT	287
#define WM_MOUSEACTIVATE	33
#define WM_MOUSEMOVE	512
#define WM_MOVE	3
#define WM_MOVING	534
#define WM_NCACTIVATE	134
#define WM_NCCALCSIZE	131
#define WM_NCCREATE	129
#define WM_NCDESTROY	130
#define WM_NCHITTEST	132
#define WM_NCLBUTTONDBLCLK	163
#define WM_NCLBUTTONDOWN	161
#define WM_NCLBUTTONUP	162
#define WM_NCMBUTTONDBLCLK	169
#define WM_NCMBUTTONDOWN	167
#define WM_NCMBUTTONUP	168
#define WM_NCMOUSEMOVE	160
#define WM_NCPAINT	133
#define WM_NCRBUTTONDBLCLK	166
#define WM_NCRBUTTONDOWN	164
#define WM_NCRBUTTONUP	165
#define WM_NEXTDLGCTL	40
#define WM_NOTIFY	78
#define WM_NOTIFYFORMAT	85
#define WM_PAINT	15
#define WM_PAINTCLIPBOARD	777
#define WM_PAINTICON	38
#define WM_PALETTECHANGED	785
#define WM_PALETTEISCHANGING	784
#define WM_PARENTNOTIFY	528
#define WM_PASTE	770
#define WM_POWER	72
#define WM_POWERBROADCAST	536
#define WM_PRINT	791
#define WM_PRINTCLIENT	792
#define WM_PSD_ENVSTAMPRECT	1029
#define WM_PSD_FULLPAGERECT	1025
#define WM_PSD_GREEKTEXTRECT	1028
#define WM_PSD_MARGINRECT	1027
#define WM_PSD_MINMARGINRECT	1026
#define WM_PSD_PAGESETUPDLG	1024
#define WM_PSD_YAFULLPAGERECT	1030
#define WM_QUERYDRAGICON	55
#define WM_QUERYENDSESSION	17
#define WM_QUERYNEWPALETTE	783
#define WM_QUERYOPEN	19
#define WM_QUEUESYNC	35
#define WM_QUIT	18
#define WM_RBUTTONDBLCLK	518
#define WM_RBUTTONDOWN	516
#define WM_RBUTTONUP	517
#define WM_RENDERALLFORMATS	774
#define WM_RENDERFORMAT	773
#define WM_SETCURSOR	32
#define WM_SETFOCUS	7
#define WM_SETFONT	48
#define WM_SETHOTKEY	50
#define WM_SETICON	128
#define WM_SETREDRAW	11
#define WM_SETTEXT	12
#define WM_SETTINGCHANGE	26
#define WM_SHOWWINDOW	24
#define WM_SIZE	5
#define WM_SIZECLIPBOARD	779
#define WM_SIZING	532
#define WM_SPOOLERSTATUS	42
#define WM_STYLECHANGED	125
#define WM_STYLECHANGING	124
#define WM_SYSCHAR	262
#define WM_SYSCOLORCHANGE	21
#define WM_SYSCOMMAND	274
#define WM_SYSDEADCHAR	263
#define WM_SYSKEYDOWN	260
#define WM_SYSKEYUP	261
#define WM_TCARD	82
#define WM_TIMECHANGE	30
#define WM_TIMER	275
#define WM_UNDO	772
#define WM_USER	1024
#define WM_USERCHANGED	84
#define WM_VKEYTOITEM	46
#define WM_VSCROLL	277
#define WM_VSCROLLCLIPBOARD	778
#define WM_WINDOWPOSCHANGED	71
#define WM_WINDOWPOSCHANGING	70
#define WM_WININICHANGE	26
#define WM_KEYFIRST	256
#define WM_KEYLAST	264
#define WM_MOUSEFIRST	512
#define WM_MOUSELAST	521
/* Defines.h WIN32 definitions */
#define MAX_PATH	260
#define UNICODE_NULL ((WCHAR)0)
#define LF_FACESIZE	32
#define LF_FULLFACESIZE	64
#define ELF_VENDOR_SIZE	4
#define SECURITY_STATIC_TRACKING	0
#define SECURITY_DYNAMIC_TRACKING	1
#define MAX_DEFAULTCHAR	2
#define MAX_LEADBYTES	12
#define EXCEPTION_MAXIMUM_PARAMETERS	15
#define CCHDEVICENAME	32
#define CCHFORMNAME	32
#define MENU_TEXT_LEN	40
#define MAX_LANA	254
#define NCBNAMSZ	16
#define NETBIOS_NAME_LEN	16
#define OFS_MAXPATHNAME	128
#define MAX_TAB_STOPS	32
#define ANYSIZE_ARRAY	1
#define RAS_MaxCallbackNumber	128
#define RAS_MaxDeviceName	128
#define RAS_MaxDeviceType	16
#define RAS_MaxEntryName	256
#define RAS_MaxIpAddress	15
#define RAS_MaxIpxAddress	21
#define RAS_MaxPhoneNumber	128
#define UNLEN	256
#define PWLEN	256
#define CNLEN	15
#define DNLEN	15
#define FILE_BEGIN	0
#define FILE_CURRENT	1
#define FILE_END	2
#define OF_READ	0
#define OF_READWRITE	2
#define OF_WRITE	1
#define OF_SHARE_COMPAT	0
#define OF_SHARE_DENY_NONE	64
#define OF_SHARE_DENY_READ	48
#define OF_SHARE_DENY_WRITE	32
#define OF_SHARE_EXCLUSIVE	16
#define OF_CANCEL	2048
#define OF_CREATE	4096
#define OF_DELETE	512
#define OF_EXIST	16384
#define OF_PARSE	256
#define OF_PROMPT	8192
#define OF_REOPEN	32768
#define OF_VERIFY	1024
#define HKL_NEXT	1
#define HKL_PREV	0
#define KLF_REORDER	8
#define KLF_UNLOADPREVIOUS	4
#define KLF_ACTIVATE	1
#define KLF_NOTELLSHELL	128
#define KLF_REPLACELANG	16
#define KLF_SUBSTITUTE_OK	2
#define MF_BITMAP	4
#define MF_CHECKED	8
#define MF_DISABLED	2
#define MF_ENABLED	0
#define MF_GRAYED	1
#define MF_MENUBARBREAK	32
#define MF_MENUBREAK	64
#define MF_OWNERDRAW	256
#define MF_POPUP	16
#define MF_SEPARATOR	0x800
#define MF_STRING	0
#define MF_UNCHECKED	0
#define MF_DEFAULT	4096
#define MF_SYSMENU	0x2000
#define MF_HELP		0x4000
#define MF_END	128
#define MF_RIGHTJUSTIFY 0x4000
#define MF_MOUSESELECT 0x8000
#define BLACKNESS	0x42
#define NOTSRCERASE	0x1100A6
#define NOTSRCCOPY	0x330008
#define SRCERASE	0x440328
#define DSTINVERT	0x550009
#define PATINVERT	0x5A0049
#define SRCINVERT	0x660046
#define SRCAND	0x8800C6
#define MERGEPAINT	0xBB0226
#define MERGECOPY	0xC000CA
#define SRCCOPY	0xCC0020
#define SRCPAINT	0xEE0086
#define PATCOPY	0xF00021
#define PATPAINT	0xFB0A09
#define WHITENESS	0xFF0062
#define R2_BLACK	1
#define R2_COPYPEN	13
#define R2_MASKNOTPEN	3
#define R2_MASKPEN	9
#define R2_MASKPENNOT	5
#define R2_MERGENOTPEN	12
#define R2_MERGEPEN	15
#define R2_MERGEPENNOT	14
#define R2_NOP	11
#define R2_NOT	6
#define R2_NOTCOPYPEN	4
#define R2_NOTMASKPEN	8
#define R2_NOTMERGEPEN	2
#define R2_NOTXORPEN	10
#define R2_WHITE	16
#define R2_XORPEN	7
#define BSF_FLUSHDISK	4
#define BSF_FORCEIFHUNG	32
#define BSF_IGNORECURRENTTASK	2
#define BSF_NOHANG	8
#define BSF_POSTMESSAGE	16
#define BSF_QUERY	1
#define BSM_ALLCOMPONENTS	0
#define BSM_APPLICATIONS	8
#define BSM_INSTALLABLEDRIVERS	4
#define BSM_NETDRIVER	2
#define BSM_VXDS	1
#define BROADCAST_QUERY_DENY	1112363332
#define NMPWAIT_NOWAIT	1
#define NMPWAIT_WAIT_FOREVER	(-1)
#define NMPWAIT_USE_DEFAULT_WAIT	0
#define MDITILE_SKIPDISABLED	2
#define MDITILE_HORIZONTAL	1
#define MDITILE_VERTICAL	0
#define HCBT_ACTIVATE	5
#define HCBT_CLICKSKIPPED	6
#define HCBT_CREATEWND	3
#define HCBT_DESTROYWND	4
#define HCBT_KEYSKIPPED	7
#define HCBT_MINMAX	1
#define HCBT_MOVESIZE	0
#define HCBT_QS	2
#define HCBT_SETFOCUS	9
#define HCBT_SYSCOMMAND	8
#define DM_BITSPERPEL	0x40000
#define DM_PELSWIDTH	0x80000
#define DM_PELSHEIGHT	0x100000
#define DM_DISPLAYFLAGS	0x200000
#define DM_DISPLAYFREQUENCY 0x400000
#define CDS_UPDATEREGISTRY	1
#define CDS_TEST	2
#define DISP_CHANGE_SUCCESSFUL	0
#define DISP_CHANGE_RESTART	1
#define DISP_CHANGE_BADFLAGS	(-4)
#define DISP_CHANGE_FAILED	(-1)
#define DISP_CHANGE_BADMODE	(-2)
#define DISP_CHANGE_NOTUPDATED	(-3)
#define SERVICE_NO_CHANGE	(-1)
#define SERVICE_WIN32_OWN_PROCESS	16
#define SERVICE_WIN32_SHARE_PROCESS	32
#define SERVICE_KERNEL_DRIVER	1
#define SERVICE_FILE_SYSTEM_DRIVER	2
#define SERVICE_INTERACTIVE_PROCESS	256
#define SERVICE_BOOT_START	0
#define SERVICE_SYSTEM_START	1
#define SERVICE_AUTO_START	2
#define SERVICE_DEMAND_START	3
#define SERVICE_DISABLED	4
#define SERVICE_STOPPED	1
#define SERVICE_START_PENDING	2
#define SERVICE_STOP_PENDING	3
#define SERVICE_RUNNING	4
#define SERVICE_CONTINUE_PENDING	5
#define SERVICE_PAUSE_PENDING	6
#define SERVICE_PAUSED	7
#define SERVICE_ACCEPT_STOP	1
#define SERVICE_ACCEPT_PAUSE_CONTINUE	2
#define SERVICE_ACCEPT_SHUTDOWN	4
#define BST_CHECKED	1
#define BST_INDETERMINATE	2
#define BST_UNCHECKED	0
#define BST_FOCUS	8
#define BST_PUSHED	4
#define MF_BYCOMMAND	0
#define MF_BYPOSITION	0x400
#define MF_UNCHECKED	0
#define MF_HILITE	128
#define MF_UNHILITE	0
#define CWP_ALL	0
#define CWP_SKIPINVISIBLE	1
#define CWP_SKIPDISABLED	2
#define CWP_SKIPTRANSPARENT	4
#define CE_BREAK	16
#define CE_DNS	2048
#define CE_FRAME	8
#define CE_IOE	1024
#define CE_MODE	32768
#define CE_OOP	4096
#define CE_OVERRUN	2
#define CE_PTO	512
#define CE_RXOVER	1
#define CE_RXPARITY	4
#define CE_TXFULL	256
#define RGN_AND	1
#define RGN_COPY	5
#define RGN_DIFF	4
#define RGN_OR	2
#define RGN_XOR	3
#define NULLREGION	1
#define SIMPLEREGION	2
#define COMPLEXREGION	3
#define ERROR	0
#define LOCALE_SYSTEM_DEFAULT	0x800
#define LOCALE_USER_DEFAULT	0x400
#define NORM_IGNORECASE	1
#define NORM_IGNOREKANATYPE	65536
#define NORM_IGNORENONSPACE	2
#define NORM_IGNORESYMBOLS	4
#define NORM_IGNOREWIDTH	131072
#define SORT_STRINGSORT	4096
#define LCMAP_BYTEREV	2048
#define LCMAP_FULLWIDTH	8388608
#define LCMAP_HALFWIDTH	4194304
#define LCMAP_HIRAGANA	1048576
#define LCMAP_KATAKANA	2097152
#define LCMAP_LOWERCASE	256
#define LCMAP_SORTKEY	1024
#define LCMAP_UPPERCASE	512
#define DBG_CONTINUE ((DWORD)0x10002)
#define DBG_TERMINATE_THREAD ((DWORD)0x40010003)
#define DBG_TERMINATE_PROCESS ((DWORD)0x40010004)
#define DBG_CONTROL_C ((DWORD)0x40010005)
#define DBG_CONTROL_BREAK ((DWORD)0x40010008)
#define DBG_EXCEPTION_NOT_HANDLED ((DWORD)0x80010001)
#define SERVICE_CONTROL_STOP	1
#define SERVICE_CONTROL_PAUSE	2
#define SERVICE_CONTROL_CONTINUE	3
#define SERVICE_CONTROL_INTERROGATE	4
#define SERVICE_CONTROL_SHUTDOWN	5
#define IMAGE_BITMAP	0
#define IMAGE_CURSOR	2
#define IMAGE_ENHMETAFILE	1
#define IMAGE_ICON	1
#define LR_COPYDELETEORG	8
#define LR_COPYRETURNORG	4
#define LR_MONOCHROME	1
#define LR_CREATEDIBSECTION	8192
#define LR_DEFAULTSIZE	64
#define DF_ALLOWOTHERACCOUNTHOOK	1
#define DESKTOP_CREATEMENU	4
#define DESKTOP_CREATEWINDOW	2
#define DESKTOP_ENUMERATE	64
#define DESKTOP_HOOKCONTROL	8
#define DESKTOP_JOURNALPLAYBACK	32
#define DESKTOP_JOURNALRECORD	16
#define DESKTOP_READOBJECTS	1
#define DESKTOP_SWITCHDESKTOP	256
#define DESKTOP_WRITEOBJECTS	128
#define WSF_VISIBLE	1
#define CBM_INIT	4
#define DIB_PAL_COLORS	1
#define DIB_RGB_COLORS	0
#define GENERIC_READ	0x80000000
#define GENERIC_WRITE	0x40000000
#define FILE_SHARE_READ	1
#define FILE_SHARE_WRITE	2
#define CONSOLE_TEXTMODE_BUFFER	1
#define CREATE_NEW	1
#define CREATE_ALWAYS	2
#define OPEN_EXISTING	3
#define OPEN_ALWAYS	4
#define TRUNCATE_EXISTING	5
#define FILE_ATTRIBUTE_ARCHIVE	32
#define FILE_ATTRIBUTE_COMPRESSED	2048
#define FILE_ATTRIBUTE_NORMAL	128
#define FILE_ATTRIBUTE_DIRECTORY	16
#define FILE_ATTRIBUTE_HIDDEN	2
#define FILE_ATTRIBUTE_READONLY	1
#define FILE_ATTRIBUTE_SYSTEM	4
#define FILE_ATTRIBUTE_TEMPORARY	256
#define FILE_FLAG_WRITE_THROUGH	0x80000000
#define FILE_FLAG_OVERLAPPED	1073741824
#define FILE_FLAG_NO_BUFFERING	536870912
#define FILE_FLAG_RANDOM_ACCESS	268435456
#define FILE_FLAG_SEQUENTIAL_SCAN	134217728
#define FILE_FLAG_DELETE_ON_CLOSE	67108864
#define FILE_FLAG_BACKUP_SEMANTICS	33554432
#define FILE_FLAG_POSIX_SEMANTICS	16777216
#define SECURITY_ANONYMOUS	0
#define SECURITY_IDENTIFICATION	65536
#define SECURITY_IMPERSONATION	131072
#define SECURITY_DELEGATION	196608
#define SECURITY_CONTEXT_TRACKING	262144
#define SECURITY_EFFECTIVE_ONLY	524288
#define SECURITY_SQOS_PRESENT	1048576
#define PAGE_READONLY	2
#define PAGE_READWRITE	4
#define PAGE_WRITECOPY	8
#define SEC_COMMIT	134217728
#define SEC_IMAGE	16777216
#define SEC_NOCACHE	268435456
#define SEC_RESERVE	67108864
#define MEM_COMMIT	4096
#define MEM_RESERVE	8192
#define MEM_TOP_DOWN	1048576
#define PAGE_EXECUTE	16
#define PAGE_EXECUTE_READ	32
#define PAGE_EXECUTE_READWRITE	64
#define PAGE_GUARD	256
#define PAGE_NOACCESS	1
#define PAGE_NOCACHE	512
#define MEM_COMMIT	4096
#define MEM_FREE	65536
#define MEM_RESERVE	8192
#define MEM_IMAGE	16777216
#define MEM_MAPPED	262144
#define MEM_PRIVATE	131072
#define MEM_DECOMMIT	16384
#define MEM_RELEASE	32768
#define PAGE_EXECUTE_WRITECOPY	128
#define EXCEPTION_GUARD_PAGE	0x80000001
#define SECTION_EXTEND_SIZE	16
#define SECTION_MAP_READ	4
#define SECTION_MAP_WRITE	2
#define SECTION_QUERY	1
#define SECTION_ALL_ACCESS	0xf001f
#define FW_DONTCARE	0
#define FW_THIN	100
#define FW_EXTRALIGHT	200
#define FW_LIGHT	300
#define FW_NORMAL	400
#define FW_MEDIUM	500
#define FW_SEMIBOLD	600
#define FW_BOLD	700
#define FW_EXTRABOLD	800
#define FW_HEAVY	900
#define ANSI_CHARSET	0
#define DEFAULT_CHARSET	1
#define SYMBOL_CHARSET	2
#define SHIFTJIS_CHARSET	128
#define HANGEUL_CHARSET	129
#define GB2312_CHARSET	134
#define CHINESEBIG5_CHARSET	136
#define GREEK_CHARSET	161
#define TURKISH_CHARSET	162
#define HEBREW_CHARSET	177
#define ARABIC_CHARSET	178
#define BALTIC_CHARSET	186
#define RUSSIAN_CHARSET	204
#define THAI_CHARSET	222
#define EASTEUROPE_CHARSET	238
#define OEM_CHARSET	255
#define OUT_DEFAULT_PRECIS	0
#define OUT_STRING_PRECIS	1
#define OUT_CHARACTER_PRECIS	2
#define OUT_STROKE_PRECIS	3
#define OUT_TT_PRECIS	4
#define OUT_DEVICE_PRECIS	5
#define OUT_RASTER_PRECIS	6
#define OUT_TT_ONLY_PRECIS	7
#define OUT_OUTLINE_PRECIS	8
#define CLIP_DEFAULT_PRECIS	0
#define CLIP_CHARACTER_PRECIS	1
#define CLIP_STROKE_PRECIS	2
#define CLIP_MASK	15
#define CLIP_LH_ANGLES	16
#define CLIP_TT_ALWAYS	32
#define CLIP_EMBEDDED	128
#define DEFAULT_QUALITY	0
#define DRAFT_QUALITY	1
#define PROOF_QUALITY	2
#define DEFAULT_PITCH	0
#define FIXED_PITCH	1
#define VARIABLE_PITCH	2
#define FF_DECORATIVE	80
#define FF_DONTCARE	0
#define FF_MODERN	48
#define FF_ROMAN	16
#define FF_SCRIPT	64
#define FF_SWISS	32
#define HS_BDIAGONAL	3
#define HS_CROSS	4
#define HS_DIAGCROSS	5
#define HS_FDIAGONAL	2
#define HS_HORIZONTAL	0
#define HS_VERTICAL	1
#define LR_DEFAULTCOLOR	0
#define LR_LOADREALSIZE	128
#define LR_MONOCHROME	1
#define MAILSLOT_WAIT_FOREVER	0xffffffff
#define MAILSLOT_NO_MESSAGE	0xffffffff
#define CMB_MASKED	2
#define PIPE_ACCESS_DUPLEX	3
#define PIPE_ACCESS_INBOUND	1
#define PIPE_ACCESS_OUTBOUND	2
#define WRITE_DAC	0x40000
#define WRITE_OWNER	0x80000
#define ACCESS_SYSTEM_SECURITY	0x1000000
#define PIPE_TYPE_BYTE	0
#define PIPE_TYPE_MESSAGE	4
#define PIPE_READMODE_BYTE	0
#define PIPE_READMODE_MESSAGE	2
#define PIPE_WAIT	0
#define PIPE_NOWAIT	1
#define PS_GEOMETRIC	65536
#define PS_COSMETIC	0
#define PS_ALTERNATE	8
#define PS_SOLID	0
#define PS_DASH	1
#define PS_DOT	2
#define PS_DASHDOT	3
#define PS_DASHDOTDOT	4
#define PS_NULL	5
#define PS_USERSTYLE	7
#define PS_INSIDEFRAME	6
#define PS_ENDCAP_ROUND	0
#define PS_ENDCAP_SQUARE	256
#define PS_ENDCAP_FLAT	512
#define PS_JOIN_BEVEL	4096
#define PS_JOIN_MITER	8192
#define PS_JOIN_ROUND	0
#define PS_STYLE_MASK	15
#define PS_ENDCAP_MASK	3840
#define PS_TYPE_MASK	983040
#define ALTERNATE	1
#define WINDING	2
#define CREATE_DEFAULT_ERROR_MODE	67108864
#define CREATE_NEW_CONSOLE	16
#define CREATE_NEW_PROCESS_GROUP	512
#define CREATE_SEPARATE_WOW_VDM	2048
#define CREATE_SUSPENDED	4
#define CREATE_UNICODE_ENVIRONMENT	1024
#define DEBUG_PROCESS	1
#define DEBUG_ONLY_THIS_PROCESS	2
#define DETACHED_PROCESS	8
#define HIGH_PRIORITY_CLASS	128
#define IDLE_PRIORITY_CLASS	64
#define NORMAL_PRIORITY_CLASS	32
#define REALTIME_PRIORITY_CLASS	256
#define SERVICE_ALL_ACCESS	0xf01ff
#define SERVICE_CHANGE_CONFIG	2
#define SERVICE_ENUMERATE_DEPENDENTS	8
#define SERVICE_INTERROGATE	128
#define SERVICE_PAUSE_CONTINUE	64
#define SERVICE_QUERY_CONFIG	1
#define SERVICE_QUERY_STATUS	4
#define SERVICE_START	16
#define SERVICE_STOP	32
#define SERVICE_USER_DEFINED_CONTROL	256
#define DELETE	0x10000
#define READ_CONTROL	0x20000
#define GENERIC_EXECUTE	0x20000000
#define SERVICE_WIN32_OWN_PROCESS	16
#define SERVICE_WIN32_SHARE_PROCESS	32
#define SERVICE_KERNEL_DRIVER	1
#define SERVICE_FILE_SYSTEM_DRIVER	2
#define SERVICE_INTERACTIVE_PROCESS	256
#define SERVICE_BOOT_START	0
#define SERVICE_SYSTEM_START	1
#define SERVICE_AUTO_START	2
#define SERVICE_DEMAND_START	3
#define SERVICE_DISABLED	4
#define SERVICE_ERROR_IGNORE	0
#define SERVICE_ERROR_NORMAL	1
#define SERVICE_ERROR_SEVERE	2
#define SERVICE_ERROR_CRITICAL	3
#define TAPE_FIXED_PARTITIONS	0
#define TAPE_INITIATOR_PARTITIONS	2
#define TAPE_SELECT_PARTITIONS	1
#define TAPE_FILEMARKS	1
#define TAPE_LONG_FILEMARKS	3
#define TAPE_SETMARKS	0
#define TAPE_SHORT_FILEMARKS	2
#define CW_USEDEFAULT	0x80000000
#define WS_BORDER	0x800000
#define WS_CAPTION	0xc00000
#define WS_CHILD	0x40000000
#define WS_CHILDWINDOW	0x40000000
#define WS_CLIPCHILDREN	0x2000000
#define WS_CLIPSIBLINGS	0x4000000
#define WS_DISABLED	0x8000000
#define WS_DLGFRAME	0x400000
#define WS_GROUP	0x20000
#define WS_HSCROLL	0x100000
#define WS_ICONIC	0x20000000
#define WS_MAXIMIZE	0x1000000
#define WS_MAXIMIZEBOX	0x10000
#define WS_MINIMIZE	0x20000000
#define WS_MINIMIZEBOX	0x20000
#define WS_OVERLAPPED	0
#define WS_OVERLAPPEDWINDOW	0xcf0000
#define WS_POPUP	0x80000000
#define WS_POPUPWINDOW	0x80880000
#define WS_SIZEBOX	0x40000
#define WS_SYSMENU	0x80000
#define WS_TABSTOP	0x10000
#define WS_THICKFRAME	0x40000
#define WS_TILED	0
#define WS_TILEDWINDOW	0xcf0000
#define WS_VISIBLE	0x10000000
#define WS_VSCROLL	0x200000
#define MDIS_ALLCHILDSTYLES	1
#define BS_3STATE	5
#define BS_AUTO3STATE	6
#define BS_AUTOCHECKBOX	3
#define BS_AUTORADIOBUTTON	9
#define BS_BITMAP	128
#define BS_BOTTOM	0x800
#define BS_CENTER	0x300
#define BS_CHECKBOX	2
#define BS_DEFPUSHBUTTON	1
#define BS_GROUPBOX	7
#define BS_ICON	64
#define BS_LEFT	256
#define BS_LEFTTEXT	32
#define BS_MULTILINE	0x2000
#define BS_NOTIFY	0x4000
#define BS_OWNERDRAW	0xb
#define BS_PUSHBUTTON	0
#define BS_PUSHLIKE	4096
#define BS_RADIOBUTTON	4
#define BS_RIGHT	512
#define BS_RIGHTBUTTON	32
#define BS_TEXT	0
#define BS_TOP	0x400
#define BS_USERBUTTON	8
#define BS_VCENTER	0xc00
#define BS_FLAT	0x8000
#define CBS_AUTOHSCROLL	64
#define CBS_DISABLENOSCROLL	0x800
#define CBS_DROPDOWN	2
#define CBS_DROPDOWNLIST	3
#define CBS_HASSTRINGS	512
#define CBS_LOWERCASE	0x4000
#define CBS_NOINTEGRALHEIGHT	0x400
#define CBS_OEMCONVERT	128
#define CBS_OWNERDRAWFIXED	16
#define CBS_OWNERDRAWVARIABLE	32
#define CBS_SIMPLE	1
#define CBS_SORT	256
#define CBS_UPPERCASE	0x2000
#define ES_AUTOHSCROLL	128
#define ES_AUTOVSCROLL	64
#define ES_CENTER	1
#define ES_LEFT	0
#define ES_LOWERCASE	16
#define ES_MULTILINE	4
#define ES_NOHIDESEL	256
#define ES_NUMBER	0x2000
#define ES_OEMCONVERT	0x400
#define ES_PASSWORD	32
#define ES_READONLY	0x800
#define ES_RIGHT	2
#define ES_UPPERCASE	8
#define ES_WANTRETURN	4096
#define LBS_DISABLENOSCROLL	4096
#define LBS_EXTENDEDSEL	0x800
#define LBS_HASSTRINGS	64
#define LBS_MULTICOLUMN	512
#define LBS_MULTIPLESEL	8
#define LBS_NODATA	0x2000
#define LBS_NOINTEGRALHEIGHT	256
#define LBS_NOREDRAW	4
#define LBS_NOSEL	0x4000
#define LBS_NOTIFY	1
#define LBS_OWNERDRAWFIXED	16
#define LBS_OWNERDRAWVARIABLE	32
#define LBS_SORT	2
#define LBS_STANDARD	0xa00003
#define LBS_USETABSTOPS	128
#define LBS_WANTKEYBOARDINPUT	0x400
#define SBS_BOTTOMALIGN	4
#define SBS_HORZ	0
#define SBS_LEFTALIGN	2
#define SBS_RIGHTALIGN	4
#define SBS_SIZEBOX	8
#define SBS_SIZEBOXBOTTOMRIGHTALIGN	4
#define SBS_SIZEBOXTOPLEFTALIGN	2
#define SBS_SIZEGRIP	16
#define SBS_TOPALIGN	2
#define SBS_VERT	1
#define SS_BITMAP	0xe
#define SS_BLACKFRAME	7
#define SS_BLACKRECT	4
#define SS_CENTER	1
#define SS_CENTERIMAGE	512
#define SS_ENHMETAFILE	0xf
#define SS_ETCHEDFRAME	0x12
#define SS_ETCHEDHORZ	16
#define SS_ETCHEDVERT	0x11
#define SS_GRAYFRAME	8
#define SS_GRAYRECT	5
#define SS_ICON	3
#define SS_LEFT	0
#define SS_LEFTNOWORDWRAP	0xc
#define SS_NOPREFIX	128
#define SS_NOTIFY	256
#define SS_OWNERDRAW	0xd
#define SS_REALSIZEIMAGE	0x800
#define SS_RIGHT	2
#define SS_RIGHTJUST	0x400
#define SS_SIMPLE	11
#define SS_SUNKEN	4096
#define SS_WHITEFRAME	9
#define SS_WHITERECT	6
#define SS_USERITEM 10
#define DS_3DLOOK	4
#define DS_ABSALIGN	1
#define DS_CENTER	0x800
#define DS_CENTERMOUSE	4096
#define DS_CONTEXTHELP	0x2000
#define DS_CONTROL	0x400
#define DS_FIXEDSYS	8
#define DS_LOCALEDIT	32
#define DS_MODALFRAME	128
#define DS_NOFAILCREATE	16
#define DS_NOIDLEMSG	256
#define DS_SETFONT	64
#define DS_SETFOREGROUND	512
#define DS_SYSMODAL	2
#define WS_EX_ACCEPTFILES	16
#define WS_EX_APPWINDOW	0x40000
#define WS_EX_CLIENTEDGE	512
#define WS_EX_CONTEXTHELP	0x400
#define WS_EX_CONTROLPARENT	0x10000
#define WS_EX_DLGMODALFRAME	1
#define WS_EX_LEFT	0
#define WS_EX_LEFTSCROLLBAR	0x4000
#define WS_EX_LTRREADING	0
#define WS_EX_MDICHILD	64
#define WS_EX_NOPARENTNOTIFY	4
#define WS_EX_OVERLAPPEDWINDOW	0x300
#define WS_EX_PALETTEWINDOW	0x188
#define WS_EX_RIGHT	0x1000
#define WS_EX_RIGHTSCROLLBAR	0
#define WS_EX_RTLREADING	0x2000
#define WS_EX_STATICEDGE	0x20000
#define WS_EX_TOOLWINDOW	128
#define WS_EX_TOPMOST	8
#define WS_EX_TRANSPARENT	32
#define WS_EX_WINDOWEDGE	256
#define WINSTA_ACCESSCLIPBOARD	4
#define WINSTA_ACCESSGLOBALATOMS	32
#define WINSTA_CREATEDESKTOP	8
#define WINSTA_ENUMDESKTOPS	1
#define WINSTA_ENUMERATE	256
#define WINSTA_EXITWINDOWS	64
#define WINSTA_READATTRIBUTES	2
#define WINSTA_READSCREEN	512
#define WINSTA_WRITEATTRIBUTES	16
#define WH_CALLWNDPROC	4
#define WH_CALLWNDPROCRET	12
#define WH_CBT	5
#define WH_DEBUG	9
#define WH_GETMESSAGE	3
#define WH_JOURNALPLAYBACK	1
#define WH_JOURNALRECORD	0
#define WH_KEYBOARD	2
#define WH_MOUSE	7
#define WH_MSGFILTER	(-1)
#define WH_SHELL	10
#define WH_SYSMSGFILTER	6
#define WH_MIN (-1)
#define WH_FOREGROUNDIDLE	11
#define DDD_RAW_TARGET_PATH	1
#define DDD_REMOVE_DEFINITION	2
#define DDD_EXACT_MATCH_ON_REMOVE	4
#define DC_BINNAMES	12
#define DC_BINS	6
#define DC_COPIES	18
#define DC_DRIVER	11
#define DC_DATATYPE_PRODUCED	21
#define DC_DUPLEX	7
#define DC_EMF_COMPLIANT	20
#define DC_ENUMRESOLUTIONS	13
#define DC_EXTRA	9
#define DC_FIELDS	1
#define DC_FILEDEPENDENCIES	14
#define DC_MAXEXTENT	5
#define DC_MINEXTENT	4
#define DC_ORIENTATION	17
#define DC_PAPERNAMES	16
#define DC_PAPERS	2
#define DC_PAPERSIZE	3
#define DC_SIZE	8
#define DC_TRUETYPE	15
#define DCTT_BITMAP	1
#define DCTT_DOWNLOAD	2
#define DCTT_SUBDEV	4
#define DC_VERSION	10
#define DC_BINADJUST	19
#define DC_EMF_COMPLIANT	20
#define DC_DATATYPE_PRODUCED	21
#define DDL_ARCHIVE	32
#define DDL_DIRECTORY	16
#define DDL_DRIVES	16384
#define DDL_EXCLUSIVE	32768
#define DDL_HIDDEN	2
#define DDL_READONLY	1
#define DDL_READWRITE	0
#define DDL_SYSTEM	4
#define DDL_POSTMSGS	8192
#define DLL_PROCESS_ATTACH	1
#define DLL_THREAD_ATTACH	2
#define DLL_PROCESS_DETACH	0
#define DLL_THREAD_DETACH	3
#define DM_IN_BUFFER	8
#define DM_MODIFY	8
#define DM_IN_PROMPT	4
#define DM_PROMPT	4
#define DM_OUT_BUFFER	2
#define DM_COPY	2
#define DM_UPDATE	1
#define IDANI_OPEN	1
#define IDANI_CLOSE	2
#define DC_ACTIVE	1
#define DC_SMALLCAP	2
#define BDR_RAISEDINNER	4
#define BDR_SUNKENINNER	8
#define BDR_RAISEDOUTER	1
#define BDR_SUNKENOUTER	1
#define EDGE_BUMP	9
#define EDGE_ETCHED	6
#define EDGE_RAISED	5
#define EDGE_SUNKEN	10
#define BF_ADJUST	8192
#define BF_BOTTOM	8
#define BF_BOTTOMLEFT	9
#define BF_BOTTOMRIGHT	12
#define BF_DIAGONAL	16
#define BF_DIAGONAL_ENDBOTTOMLEFT	25
#define BF_DIAGONAL_ENDBOTTOMRIGHT	28
#define BF_DIAGONAL_ENDTOPLEFT	19
#define BF_DIAGONAL_ENDTOPRIGHT	22
#define BF_FLAT	16384
#define BF_LEFT	1
#define BF_MIDDLE	2048
#define BF_MONO	32768
#define BF_RECT	15
#define BF_RIGHT	4
#define BF_SOFT	4096
#define BF_TOP	2
#define BF_TOPLEFT	3
#define BF_TOPRIGHT	6
#define DFC_BUTTON	4
#define DFC_CAPTION	1
#define DFC_MENU	2
#define DFC_SCROLL	3
#define DFCS_BUTTON3STATE	8
#define DFCS_BUTTONCHECK	0
#define DFCS_BUTTONPUSH	16
#define DFCS_BUTTONRADIO	4
#define DFCS_BUTTONRADIOIMAGE	1
#define DFCS_BUTTONRADIOMASK	2
#define DFCS_CAPTIONCLOSE	0
#define DFCS_CAPTIONHELP	4
#define DFCS_CAPTIONMAX	2
#define DFCS_CAPTIONMIN	1
#define DFCS_CAPTIONRESTORE	3
#define DFCS_MENUARROW	0
#define DFCS_MENUBULLET	2
#define DFCS_MENUCHECK	1
#define DFCS_SCROLLCOMBOBOX	5
#define DFCS_SCROLLDOWN	1
#define DFCS_SCROLLLEFT	2
#define DFCS_SCROLLRIGHT	3
#define DFCS_SCROLLSIZEGRIP	8
#define DFCS_SCROLLUP	0
#define DFCS_ADJUSTRECT	8192
#define DFCS_CHECKED	1024
#define DFCS_FLAT	16384
#define DFCS_INACTIVE	256
#define DFCS_MONO	32768
#define DFCS_PUSHED	512
#define DI_COMPAT	4
#define DI_DEFAULTSIZE	8
#define DI_IMAGE	2
#define DI_MASK	1
#define DI_NORMAL	3
#define DST_BITMAP	4
#define DST_COMPLEX	0
#define DST_ICON	3
#define DST_PREFIXTEXT	2
#define DST_TEXT	1
#define DSS_NORMAL	0
#define DSS_UNION	16
#define DSS_DISABLED	32
#define DSS_MONO	128
#define SBT_NOBORDERS	256
#define SBT_OWNERDRAW	4096
#define SBT_POPOUT	512
#define SBT_RTLREADING	1024
#define DT_BOTTOM	8
#define DT_CALCRECT	1024
#define DT_CENTER	1
#define DT_EDITCONTROL	8192
#define DT_END_ELLIPSIS	32768
#define DT_PATH_ELLIPSIS	16384
#define DT_EXPANDTABS	64
#define DT_EXTERNALLEADING	512
#define DT_LEFT	0
#define DT_MODIFYSTRING	65536
#define DT_NOCLIP	256
#define DT_NOPREFIX	2048
#define DT_RIGHT	2
#define DT_RTLREADING	131072
#define DT_SINGLELINE	32
#define DT_TABSTOP	128
#define DT_TOP	0
#define DT_VCENTER	4
#define DT_WORDBREAK	16
#define DT_INTERNAL	4096
#define DUPLICATE_CLOSE_SOURCE	1
#define DUPLICATE_SAME_ACCESS	2
#define FILE_MAP_ALL_ACCESS	0xf001f
#define FILE_MAP_READ	4
#define FILE_MAP_WRITE	2
#define FILE_MAP_COPY	1
#define MUTEX_ALL_ACCESS	0x1f0001
#define MUTEX_MODIFY_STATE	1
#define SYNCHRONIZE	0x100000
#define SEMAPHORE_ALL_ACCESS	0x1f0003
#define SEMAPHORE_MODIFY_STATE	2
#define EVENT_ALL_ACCESS	0x1f0003
#define EVENT_MODIFY_STATE	2
#define KEY_ALL_ACCESS	0xf003f
#define KEY_CREATE_LINK	32
#define KEY_CREATE_SUB_KEY	4
#define KEY_ENUMERATE_SUB_KEYS	8
#define KEY_EXECUTE	0x20019
#define KEY_NOTIFY	16
#define KEY_QUERY_VALUE	1
#define KEY_READ	0x20019
#define KEY_SET_VALUE	2
#define KEY_WRITE	0x20006
#define PROCESS_ALL_ACCESS	0x1f0fff
#define PROCESS_CREATE_PROCESS	128
#define PROCESS_CREATE_THREAD	2
#define PROCESS_DUP_HANDLE	64
#define PROCESS_QUERY_INFORMATION	1024
#define PROCESS_SET_INFORMATION	512
#define PROCESS_TERMINATE	1
#define PROCESS_VM_OPERATION	8
#define PROCESS_VM_READ	16
#define PROCESS_VM_WRITE	32
#define THREAD_ALL_ACCESS	0x1f03ff
#define THREAD_DIRECT_IMPERSONATION	512
#define THREAD_GET_CONTEXT	8
#define THREAD_IMPERSONATE	256
#define THREAD_QUERY_INFORMATION	64
#define THREAD_SET_CONTEXT	16
#define THREAD_SET_INFORMATION	32
#define THREAD_SET_THREAD_TOKEN	128
#define THREAD_SUSPEND_RESUME	2
#define THREAD_TERMINATE	1
#define WB_ISDELIMITER	2
#define WB_LEFT	0
#define WB_RIGHT	1
#define SB_BOTH	3
#define SB_CTL	2
#define SB_HORZ	0
#define SB_VERT	1
#define ESB_DISABLE_BOTH	3
#define ESB_DISABLE_DOWN	2
#define ESB_DISABLE_LEFT	1
#define ESB_DISABLE_LTUP	1
#define ESB_DISABLE_RIGHT	2
#define ESB_DISABLE_RTDN	2
#define ESB_DISABLE_UP	1
#define ESB_ENABLE_BOTH	0
#define SB_LINEUP	0
#define SB_LINEDOWN	1
#define SB_LINELEFT	0
#define SB_LINERIGHT	1
#define SB_PAGEUP	2
#define SB_PAGEDOWN	3
#define SB_PAGELEFT	2
#define SB_PAGERIGHT	3
#define SB_THUMBPOSITION	4
#define SB_THUMBTRACK	5
#define SB_ENDSCROLL	8
#define SB_LEFT	6
#define SB_RIGHT	7
#define SB_BOTTOM	7
#define SB_TOP	6
#define ENUM_ALL_CALENDARS	(-1)
#define DATE_SHORTDATE	1
#define DATE_LONGDATE	2
#define SERVICE_ACTIVE	1
#define SERVICE_INACTIVE	2
#define DEVICE_FONTTYPE	2
#define RASTER_FONTTYPE	1
#define TRUETYPE_FONTTYPE	4
#define OBJ_BRUSH	2
#define OBJ_PEN	1
#define OBJ_PAL	5
#define OBJ_FONT	6
#define OBJ_BITMAP	7
#define OBJ_EXTPEN	11
#define OBJ_REGION	8
#define OBJ_DC	3
#define OBJ_MEMDC	10
#define OBJ_METAFILE	9
#define OBJ_METADC	4
#define OBJ_ENHMETAFILE	13
#define OBJ_ENHMETADC	12
#define IPPROTO_TCP	6
#define IPPROTO_UDP	17
#define RT_ACCELERATOR	MAKEINTRESOURCE(9)
#define RT_BITMAP	MAKEINTRESOURCE(2)
#define RT_DIALOG	MAKEINTRESOURCE(5)
#define RT_FONT	MAKEINTRESOURCE(8)
#define RT_FONTDIR	MAKEINTRESOURCE(7)
#define RT_MENU	MAKEINTRESOURCE(4)
#define RT_RCDATA	MAKEINTRESOURCE(0xa)
#define RT_STRING	MAKEINTRESOURCE(0x6)
#define RT_MESSAGETABLE	MAKEINTRESOURCE(0xb)
#define RT_CURSOR	MAKEINTRESOURCE(1)
#define RT_GROUP_CURSOR	MAKEINTRESOURCE(0xc)
#define RT_ICON	MAKEINTRESOURCE(3)
#define RT_GROUP_ICON	MAKEINTRESOURCE(0xe)
#define RT_VERSION	MAKEINTRESOURCE(16)
#define RT_VXD		MAKEINTRESOURCE(20)
#define RT_DLGINCLUDE MAKEINTRESOURCE(0x11)
#define RT_PLUGPLAY	MAKEINTRESOURCE(19)
#define SERVICE_WIN32	48
#define SERVICE_DRIVER	11
#define CP_INSTALLED	1
#define CP_SUPPORTED	2
#define LCID_INSTALLED	1
#define LCID_SUPPORTED	2
#define TAPE_ERASE_LONG	1
#define TAPE_ERASE_SHORT	0
#define SP_ERROR	(-1)
#define SP_OUTOFDISK	(-4)
#define SP_OUTOFMEMORY	(-5)
#define SP_USERABORT	(-3)
#define SP_APPABORT	(-2)
#define PHYSICALWIDTH	110
#define PHYSICALHEIGHT	111
#define PHYSICALOFFSETX	112
#define PHYSICALOFFSETY	113
#define SCALINGFACTORX	114
#define SCALINGFACTORY	115
#define QUERYESCSUPPORT	8
#define ABORTDOC	2
#define ENDDOC	11
#define GETPHYSPAGESIZE	12
#define GETPRINTINGOFFSET	13
#define GETSCALINGFACTOR	14
#define NEWFRAME	1
#define NEXTBAND	3
#define PASSTHROUGH	19
#define SETABORTPROC	9
#define STARTDOC	10
#define SETCOLORTABLE	4
#define GETCOLORTABLE	5
#define FLUSHOUTPUT	6
#define DRAFTMODE	7
#define MFCOMMENT	15
#define GETPENWIDTH	16
#define SETCOPYCOUNT	17
#define SELECTPAPERSOURCE	18
#define DEVICEDATA	19
#define GETTECHNOLGY	20
#define GETTECHNOLOGY	20
#define SETLINECAP	21
#define SETLINEJOIN	22
#define SETMITERLIMIT	23
#define BANDINFO	24
#define DRAWPATTERNRECT	25
#define GETVECTORPENSIZE	26
#define GETVECTORBRUSHSIZE	27
#define ENABLEDUPLEX	28
#define GETSETPAPERBINS	29
#define GETSETPRINTORIENT	30
#define ENUMPAPERBINS	31
#define SETDIBSCALING	32
#define EPSPRINTING	33
#define ENUMPAPERMETRICS	34
#define GETSETPAPERMETRICS	35
#define POSTSCRIPT_DATA	37
#define POSTSCRIPT_IGNORE	38
#define MOUSETRAILS	39
#define GETDEVICEUNITS	42
#define GETEXTENDEDTEXTMETRICS	256
#define GETEXTENTTABLE	257
#define GETPAIRKERNTABLE	258
#define GETTRACKKERNTABLE	259
#define EXTTEXTOUT	512
#define GETFACENAME	513
#define DOWNLOADFACE	514
#define ENABLERELATIVEWIDTHS	768
#define ENABLEPAIRKERNING	769
#define SETKERNTRACK	770
#define SETALLJUSTVALUES	771
#define SETCHARSET	772
#define STRETCHBLT	2048
#define GETSETSCREENPARAMS	3072
#define QUERYDIBSUPPORT	3073
#define BEGIN_PATH	4096
#define CLIP_TO_PATH	4097
#define END_PATH	4098
#define EXT_DEVICE_CAPS	4099
#define RESTORE_CTM	4100
#define SAVE_CTM	4101
#define SET_ARC_DIRECTION	4102
#define SET_BACKGROUND_COLOR	4103
#define SET_POLY_MODE	4104
#define SET_SCREEN_ANGLE	4105
#define SET_SPREAD	4106
#define TRANSFORM_CTM	4107
#define SET_CLIP_BOX	4108
#define SET_BOUNDS	4109
#define SET_MIRROR_MODE	4110
#define OPENCHANNEL	4110
#define DOWNLOADHEADER	4111
#define CLOSECHANNEL	4112
#define POSTSCRIPT_PASSTHROUGH	4115
#define ENCAPSULATED_POSTSCRIPT	4116
#define CLRDTR	6
#define CLRRTS	4
#define SETDTR	5
#define SETRTS	3
#define SETXOFF	1
#define SETXON	2
#define SETBREAK	8
#define CLRBREAK	9
#define EWX_FORCE	4
#define EWX_LOGOFF	0
#define EWX_POWEROFF	8
#define EWX_REBOOT	2
#define EWX_SHUTDOWN	1
#define FLOODFILLBORDER	0
#define FLOODFILLSURFACE	1
#define ETO_CLIPPED	4
#define ETO_GLYPH_INDEX	16
#define ETO_OPAQUE	2
#define ETO_RTLREADING	128
#define FOREGROUND_BLUE	1
#define FOREGROUND_GREEN	2
#define FOREGROUND_RED	4
#define FOREGROUND_INTENSITY	8
#define BACKGROUND_BLUE	16
#define BACKGROUND_GREEN	32
#define BACKGROUND_RED	64
#define BACKGROUND_INTENSITY	128
#define FILE_NOTIFY_CHANGE_FILE_NAME	1
#define FILE_NOTIFY_CHANGE_DIR_NAME	2
#define FILE_NOTIFY_CHANGE_ATTRIBUTES	4
#define FILE_NOTIFY_CHANGE_SIZE	8
#define FILE_NOTIFY_CHANGE_LAST_WRITE	16
#define FILE_NOTIFY_CHANGE_SECURITY	256
#define MAP_FOLDCZONE	16
#define MAP_FOLDDIGITS	128
#define MAP_PRECOMPOSED	32
#define MAP_COMPOSITE	64
#define HC_ACTION	0
#define FORMAT_MESSAGE_ALLOCATE_BUFFER	256
#define FORMAT_MESSAGE_IGNORE_INSERTS	512
#define FORMAT_MESSAGE_FROM_STRING	1024
#define FORMAT_MESSAGE_FROM_HMODULE	2048
#define FORMAT_MESSAGE_FROM_SYSTEM	4096
#define FORMAT_MESSAGE_ARGUMENT_ARRAY	8192
#define FORMAT_MESSAGE_MAX_WIDTH_MASK	255
#define GDICOMMENT_WINDOWS_METAFILE	(-2147483647)
#define GDICOMMENT_BEGINGROUP	2
#define GDICOMMENT_ENDGROUP	3
#define GDICOMMENT_MULTIFORMATS	1073741828
#define GDICOMMENT_IDENTIFIER	1128875079
#define CTRL_C_EVENT	0
#define CTRL_BREAK_EVENT	1
#define CTRL_CLOSE_EVENT	2
#define CTRL_LOGOFF_EVENT	5
#define CTRL_SHUTDOWN_EVENT	6
#define AD_COUNTERCLOCKWISE	1
#define AD_CLOCKWISE	2
#define SCS_32BIT_BINARY	0
#define SCS_DOS_BINARY	1
#define SCS_OS216_BINARY	5
#define SCS_PIF_BINARY	3
#define SCS_POSIX_BINARY	4
#define SCS_WOW_BINARY	2
#define DCB_DISABLE	8
#define DCB_ENABLE	4
#define DCB_RESET	1
#define DCB_SET	3
#define DCB_ACCUMULATE	2
#define GCP_DBCS	1
#define GCP_ERROR	0x8000
#define GCP_CLASSIN	0x80000
#define GCP_DIACRITIC	256
#define GCP_DISPLAYZWG	0x400000
#define GCP_GLYPHSHAPE	16
#define GCP_JUSTIFY	0x10000
#define GCP_JUSTIFYIN	0x200000
#define GCP_KASHIDA	1024
#define GCP_LIGATE	32
#define GCP_MAXEXTENT	0x100000
#define GCP_NEUTRALOVERRIDE	0x2000000
#define GCP_NUMERICOVERRIDE	0x1000000
#define GCP_NUMERICSLATIN	0x4000000
#define GCP_NUMERICSLOCAL	0x8000000
#define GCP_REORDER	2
#define GCP_SYMSWAPOFF	0x800000
#define GCP_USEKERNING	8
#define FLI_GLYPHS	0x40000
#define FLI_MASK	0x103b
#define GCW_ATOM	(-32)
#define GCL_CBCLSEXTRA	(-20)
#define GCL_CBWNDEXTRA	(-18)
#define GCL_HBRBACKGROUND	(-10)
#define GCL_HCURSOR	(-12)
#define GCL_HICON	(-14)
#define GCL_HICONSM	(-34)
#define GCL_HMODULE	(-16)
#define GCL_MENUNAME	(-8)
#define GCL_STYLE	(-26)
#define GCL_WNDPROC	(-24)
#define CF_BITMAP	2
#define CF_DIB	8
#define CF_PALETTE	9
#define CF_ENHMETAFILE	14
#define CF_METAFILEPICT	3
#define CF_OEMTEXT	7
#define CF_TEXT	1
#define CF_UNICODETEXT	13
#define CF_DIF	5
#define CF_DSPBITMAP	130
#define CF_DSPENHMETAFILE	142
#define CF_DSPMETAFILEPICT	131
#define CF_DSPTEXT	129
#define CF_GDIOBJFIRST	768
#define CF_GDIOBJLAST	1023
#define CF_HDROP	15
#define CF_LOCALE	16
#define CF_OWNERDISPLAY	128
#define CF_PENDATA	10
#define CF_PRIVATEFIRST	512
#define CF_PRIVATELAST	767
#define CF_RIFF	11
#define CF_SYLK	4
#define CF_WAVE	12
#define CF_TIFF	6
#define EV_BREAK	64
#define EV_CTS	8
#define EV_DSR	16
#define EV_ERR	128
#define EV_EVENT1	2048
#define EV_EVENT2	4096
#define EV_PERR	512
#define EV_RING	256
#define EV_RLSD	32
#define EV_RX80FULL	1024
#define EV_RXCHAR	1
#define EV_RXFLAG	2
#define EV_TXEMPTY	4
#define MS_CTS_ON	16
#define MS_DSR_ON	32
#define MS_RING_ON	64
#define MS_RLSD_ON	128
#define MAX_COMPUTERNAME_LENGTH	15
#define ENABLE_LINE_INPUT	2
#define ENABLE_ECHO_INPUT	4
#define ENABLE_PROCESSED_INPUT	1
#define ENABLE_WINDOW_INPUT	8
#define ENABLE_MOUSE_INPUT	16
#define ENABLE_PROCESSED_OUTPUT	1
#define ENABLE_WRAP_AT_EOL_OUTPUT	2
#define CP_ACP	0
#define CP_MACCP	2
#define CP_OEMCP	1
#define DATE_SHORTDATE	1
#define DATE_LONGDATE	2
#define DATE_USE_ALT_CALENDAR	4
#define DCX_WINDOW	1
#define DCX_CACHE	2
#define DCX_PARENTCLIP	32
#define DCX_CLIPSIBLINGS	16
#define DCX_CLIPCHILDREN	8
#define DCX_NORESETATTRS	4
#define DCX_LOCKWINDOWUPDATE	0x400
#define DCX_EXCLUDERGN	64
#define DCX_INTERSECTRGN	128
#define DCX_VALIDATE	0x200000
#define DRIVERVERSION	0
#define TECHNOLOGY	2
#define DT_PLOTTER	0
#define DT_RASDISPLAY	1
#define DT_RASPRINTER	2
#define DT_RASCAMERA	3
#define DT_CHARSTREAM	4
#define DT_METAFILE	5
#define DT_DISPFILE	6
#define HORZSIZE	4
#define VERTSIZE	6
#define HORZRES	8
#define VERTRES	10
#define LOGPIXELSX	88
#define LOGPIXELSY	90
#define BITSPIXEL	12
#define PLANES	14
#define NUMBRUSHES	16
#define NUMPENS	18
#define NUMFONTS	22
#define NUMCOLORS	24
#define	NUMMARKERS	20
#define ASPECTX	40
#define ASPECTY	42
#define ASPECTXY	44
#define PDEVICESIZE	26
#define CLIPCAPS	36
#define SIZEPALETTE	104
#define NUMRESERVED	106
#define COLORRES	108
#define VREFRESH	116
#define DESKTOPHORZRES	118
#define DESKTOPVERTRES	117
#define BLTALIGNMENT	119
#define RASTERCAPS	38
#define RC_BANDING	2
#define RC_BITBLT	1
#define RC_BITMAP64	8
#define RC_DI_BITMAP	128
#define RC_DIBTODEV	512
#define RC_FLOODFILL	4096
#define RC_GDI20_OUTPUT	16
#define RC_PALETTE	256
#define RC_SCALING	4
#define RC_STRETCHBLT	2048
#define RC_STRETCHDIB	8192
#define RC_DEVBITS	0x8000
#define RC_OP_DX_OUTPUT	0x4000
#define CURVECAPS	28
#define CC_NONE	0
#define CC_CIRCLES	1
#define CC_PIE	2
#define CC_CHORD	4
#define CC_ELLIPSES	8
#define CC_WIDE	16
#define CC_STYLED	32
#define CC_WIDESTYLED	64
#define CC_INTERIORS	128
#define CC_ROUNDRECT	256
#define LINECAPS	30
#define LC_NONE	0
#define LC_POLYLINE	2
#define LC_MARKER	4
#define LC_POLYMARKER	8
#define LC_WIDE	16
#define LC_STYLED	32
#define LC_WIDESTYLED	64
#define LC_INTERIORS	128
#define POLYGONALCAPS	32
#define RC_BANDING	2
#define RC_BIGFONT	1024
#define RC_BITBLT	1
#define RC_BITMAP64	8
#define RC_DEVBITS	0x8000
#define RC_DI_BITMAP	128
#define RC_GDI20_OUTPUT	16
#define RC_GDI20_STATE	32
#define RC_NONE	0
#define RC_OP_DX_OUTPUT	0x4000
#define RC_PALETTE	256
#define RC_SAVEBITMAP	64
#define RC_SCALING	4
#define PC_NONE	0
#define PC_POLYGON	1
#define PC_POLYPOLYGON	256
#define PC_PATHS	512
#define PC_RECTANGLE	2
#define PC_WINDPOLYGON	4
#define PC_SCANLINE	8
#define PC_TRAPEZOID	4
#define PC_WIDE	16
#define PC_STYLED	32
#define PC_WIDESTYLED	64
#define PC_INTERIORS	128
#define TEXTCAPS	34
#define TC_OP_CHARACTER	1
#define TC_OP_STROKE	2
#define TC_CP_STROKE	4
#define TC_CR_90	8
#define TC_CR_ANY	16
#define TC_SF_X_YINDEP	32
#define TC_SA_DOUBLE	64
#define TC_SA_INTEGER	128
#define TC_SA_CONTIN	256
#define TC_EA_DOUBLE	512
#define TC_IA_ABLE	1024
#define TC_UA_ABLE	2048
#define TC_SO_ABLE	4096
#define TC_RA_ABLE	8192
#define TC_VA_ABLE	16384
#define TC_RESERVED	32768
#define TC_SCROLLBLT	65536
#define PC_PATHS	512
#define CP_NONE	0
#define CP_RECTANGLE	1
#define CP_REGION	2
#define DRIVE_REMOVABLE	2
#define DRIVE_FIXED	3
#define DRIVE_REMOTE	4
#define DRIVE_CDROM	5
#define DRIVE_RAMDISK	6
#define DRIVE_UNKNOWN	0
#define DRIVE_NO_ROOT_DIR	1
#define EXCEPTION_ACCESS_VIOLATION	0xc0000005
#define EXCEPTION_BREAKPOINT	0x80000003
#define EXCEPTION_DATATYPE_MISALIGNMENT	0x80000002
#define EXCEPTION_SINGLE_STEP	0x80000004
#define EXCEPTION_ARRAY_BOUNDS_EXCEEDED	0xc000008c
#define EXCEPTION_FLT_DENORMAL_OPERAND	0xc000008d
#define EXCEPTION_FLT_DIVIDE_BY_ZERO	0xc000008e
#define EXCEPTION_FLT_INEXACT_RESULT	0xc000008f
#define EXCEPTION_FLT_INVALID_OPERATION	0xc0000090
#define EXCEPTION_FLT_OVERFLOW	0xc0000091
#define EXCEPTION_FLT_STACK_CHECK	0xc0000092
#define EXCEPTION_FLT_UNDERFLOW	0xc0000093
#define EXCEPTION_INT_DIVIDE_BY_ZERO	0xc0000094
#define EXCEPTION_INT_OVERFLOW	0xc0000095
#define EXCEPTION_PRIV_INSTRUCTION	0xc0000096
#define EXCEPTION_IN_PAGE_ERROR		0xC0000025
#define EXCEPTION_NONCONTINUABLE_EXCEPTION	0xc0000025
#define EXCEPTION_NONCONTINUABLE	1
#define EXCEPTION_STACK_OVERFLOW	0xc00000fd
#define EXCEPTION_INVALID_DISPOSITION	0xc0000026
#define LCS_CALIBRATED_RGB	0
#define LCS_DEVICE_RGB	1
#define LCS_DEVICE_CMYK	2
#define LCS_GM_BUSINESS	1
#define LCS_GM_GRAPHICS	2
#define LCS_GM_IMAGES	4
#define CM_OUT_OF_GAMUT	255
#define CM_IN_GAMUT	0
#define FILE_TYPE_UNKNOWN	0
#define FILE_TYPE_DISK	1
#define FILE_TYPE_CHAR	2
#define FILE_TYPE_PIPE	3
#define GGO_BITMAP	1
#define GGO_NATIVE	2
#define GGO_METRICS	0
#define GGO_GRAY2_BITMAP	4
#define GGO_GRAY4_BITMAP	5
#define GGO_GRAY8_BITMAP	6
#define GDI_ERROR	0xffffffff
#define GM_COMPATIBLE	1
#define GM_ADVANCED	2
#define HANDLE_FLAG_INHERIT	1
#define HANDLE_FLAG_PROTECT_FROM_CLOSE	2
#define IDC_ARROW	MAKEINTRESOURCE(32512)
#define IDC_IBEAM	MAKEINTRESOURCE(32513)
#define IDC_WAIT	MAKEINTRESOURCE(32514)
#define IDC_CROSS	MAKEINTRESOURCE(32515)
#define IDC_UPARROW	MAKEINTRESOURCE(32516)
#define IDC_SIZENWSE	MAKEINTRESOURCE(32642)
#define IDC_SIZENESW	MAKEINTRESOURCE(32643)
#define IDC_SIZEWE	MAKEINTRESOURCE(32644)
#define IDC_SIZENS	MAKEINTRESOURCE(32645)
#define IDC_SIZEALL	MAKEINTRESOURCE(32646)
#define IDC_NO	MAKEINTRESOURCE(32648)
#define IDC_APPSTARTING	MAKEINTRESOURCE(32650)
#define IDC_HELP	MAKEINTRESOURCE(32651)
#define IDI_APPLICATION	MAKEINTRESOURCE(32512)
#define IDI_HAND	MAKEINTRESOURCE(32513)
#define IDI_QUESTION	MAKEINTRESOURCE(32514)
#define IDI_EXCLAMATION	MAKEINTRESOURCE(32515)
#define IDI_ASTERISK	MAKEINTRESOURCE(32516)
#define IDI_WINLOGO	MAKEINTRESOURCE(32517)
#define MM_ANISOTROPIC	8
#define MM_HIENGLISH	5
#define MM_HIMETRIC	3
#define MM_ISOTROPIC	7
#define MM_LOENGLISH	4
#define MM_LOMETRIC	2
#define MM_TEXT	1
#define MM_TWIPS	6
#define GMDI_GOINTOPOPUPS	2
#define GMDI_USEDISABLED	1
#define PM_NOREMOVE	0
#define PM_REMOVE	1
#define PM_NOYIELD	2
#define PIPE_NOWAIT	1
#define PIPE_READMODE_MESSAGE	2
#define PIPE_CLIENT_END	0
#define PIPE_SERVER_END	1
#define PIPE_TYPE_MESSAGE	4
#define GW_HWNDNEXT	2
#define GW_HWNDPREV	3
#define GW_CHILD	5
#define GW_HWNDFIRST	0
#define GW_HWNDLAST	1
#define GW_OWNER	4
#define GetNextWindow(HWND,cmd) GetWindow(HWND,cmd)
#define PT_MOVETO	6
#define PT_LINETO	2
#define PT_BEZIERTO	4
#define PT_CLOSEFIGURE	1
#define SHUTDOWN_NORETRY	1
#define QS_ALLEVENTS	191
#define QS_ALLINPUT	255
#define QS_HOTKEY	128
#define QS_INPUT	7
#define QS_KEY	1
#define QS_MOUSE	6
#define QS_MOUSEBUTTON	4
#define QS_MOUSEMOVE	2
#define QS_PAINT	32
#define QS_POSTMESSAGE	8
#define QS_SENDMESSAGE	64
#define QS_TIMER	16
#define SIF_ALL	23
#define SIF_PAGE	2
#define SIF_POS	4
#define SIF_RANGE	1
#define SIF_DISABLENOSCROLL	8
#ifndef _INC_STDIO
#define STD_INPUT_HANDLE	(HANDLE)(0xfffffff6)
#define STD_OUTPUT_HANDLE	(HANDLE)(0xfffffff5)
#define STD_ERROR_HANDLE	(HANDLE)(0xfffffff4)
#endif
#define INVALID_HANDLE_VALUE	(HANDLE)(0xffffffff)
#define BLACK_BRUSH	4
#define DKGRAY_BRUSH	3
#define GRAY_BRUSH	2
#define HOLLOW_BRUSH	5
#define LTGRAY_BRUSH	1
#define NULL_BRUSH	5
#define WHITE_BRUSH	0
#define BLACK_PEN	7
#define NULL_PEN	8
#define WHITE_PEN	6
#define ANSI_FIXED_FONT	11
#define ANSI_VAR_FONT	12
#define DEVICE_DEFAULT_FONT	14
#define DEFAULT_GUI_FONT	17
#define OEM_FIXED_FONT	10
#define SYSTEM_FONT	13
#define SYSTEM_FIXED_FONT	16
#define DEFAULT_PALETTE	15
#define CT_CTYPE1	1
#define CT_CTYPE2	2
#define CT_CTYPE3	4
#define C1_UPPER	1
#define C1_LOWER	2
#define C1_DIGIT	4
#define C1_SPACE	8
#define C1_PUNCT	16
#define C1_CNTRL	32
#define C1_BLANK	64
#define C1_XDIGIT	128
#define C1_ALPHA	256
#define C2_LEFTTORIGHT	1
#define C2_RIGHTTOLEFT	2
#define C2_EUROPENUMBER	3
#define C2_EUROPESEPARATOR	4
#define C2_EUROPETERMINATOR	5
#define C2_ARABICNUMBER	6
#define C2_COMMONSEPARATOR	7
#define C2_BLOCKSEPARATOR	8
#define C2_SEGMENTSEPARATOR	9
#define C2_WHITESPACE	10
#define C2_OTHERNEUTRAL	11
#define C2_NOTAPPLICABLE	0
#define C3_NONSPACING	1
#define C3_DIACRITIC	2
#define C3_VOWELMARK	4
#define C3_SYMBOL	8
#define C3_KATAKANA	16
#define C3_HIRAGANA	32
#define C3_HALFWIDTH	64
#define C3_FULLWIDTH	128
#define C3_IDEOGRAPH	256
#define C3_KASHIDA	512
#define C3_ALPHA	32768
#define C3_NOTAPPLICABLE	0
#define COLOR_3DDKSHADOW	21
#define COLOR_3DFACE	15
#define COLOR_3DHILIGHT	20
#define COLOR_3DLIGHT	22
#define COLOR_BTNHILIGHT	20
#define COLOR_3DSHADOW	16
#define COLOR_ACTIVEBORDER	10
#define COLOR_ACTIVECAPTION	2
#define COLOR_APPWORKSPACE	12
#define COLOR_BACKGROUND	1
#define COLOR_DESKTOP	1
#define COLOR_BTNFACE	15
#define COLOR_BTNHIGHLIGHT	20
#define COLOR_BTNSHADOW	16
#define COLOR_BTNTEXT	18
#define COLOR_CAPTIONTEXT	9
#define COLOR_GRAYTEXT	17
#define COLOR_HIGHLIGHT	13
#define COLOR_HIGHLIGHTTEXT	14
#define COLOR_INACTIVEBORDER	11
#define COLOR_INACTIVECAPTION	3
#define COLOR_INACTIVECAPTIONTEXT	19
#define COLOR_INFOBK	24
#define COLOR_INFOTEXT	23
#define COLOR_MENU	4
#define COLOR_MENUTEXT	7
#define COLOR_SCROLLBAR	0
#define COLOR_WINDOW	5
#define COLOR_WINDOWFRAME	6
#define COLOR_WINDOWTEXT	8
#define CTLCOLOR_MSGBOX 0
#define CTLCOLOR_EDIT 1
#define CTLCOLOR_LISTBOX 2
#define CTLCOLOR_BTN 3
#define CTLCOLOR_DLG 4
#define CTLCOLOR_SCROLLBAR 5
#define CTLCOLOR_STATIC 6
#define CTLCOLOR_MAX 7
#define SM_CYMIN	29
#define SM_CXMIN	28
#define SM_ARRANGE	56
#define SM_CLEANBOOT	67
#define SM_CMETRICS	75
#define SM_CMOUSEBUTTONS	43
#define SM_CXBORDER	5
#define SM_CYBORDER	6
#define SM_CXCURSOR	13
#define SM_CYCURSOR	14
#define SM_CXDLGFRAME	7
#define SM_CYDLGFRAME	8
#define SM_CXDOUBLECLK	36
#define SM_CYDOUBLECLK	37
#define SM_CXDRAG	32
#define SM_CYDRAG	33
#define SM_CXEDGE	32
#define SM_CYEDGE	33
#define SM_CXFIXEDFRAME	32
#define SM_CYFIXEDFRAME	33
#define SM_CXFRAME	32
#define SM_CYFRAME	33
#define SM_CXFULLSCREEN	16
#define SM_CYFULLSCREEN	17
#define SM_CXHSCROLL	21
#define SM_CYHSCROLL	3
#define SM_CXHTHUMB	10
#define SM_CXICON	11
#define SM_CYICON	12
#define SM_CXICONSPACING	38
#define SM_CYICONSPACING	39
#define SM_CXMAXIMIZED	61
#define SM_CYMAXIMIZED	62
#define SM_CXMAXTRACK	59
#define SM_CYMAXTRACK	60
#define SM_CXMENUCHECK	71
#define SM_CYMENUCHECK	72
#define SM_CXMENUSIZE	54
#define SM_CYMENUSIZE	55
#define SM_CXMINIMIZED	57
#define SM_CYMINIMIZED	58
#define SM_CXMINSPACING	47
#define SM_CYMINSPACING	48
#define SM_CXMINTRACK	34
#define SM_CYMINTRACK	35
#define SM_CXSCREEN	0
#define SM_CYSCREEN	1
#define SM_CXSIZE	30
#define SM_CYSIZE	31
#define SM_CXSIZEFRAME	32
#define SM_CYSIZEFRAME	33
#define SM_CXSMICON	49
#define SM_CYSMICON	50
#define SM_CXSMSIZE	52
#define SM_CYSMSIZE	53
#define SM_CXVSCROLL	2
#define SM_CYHSCROLL	3
#define SM_CXHSCROLL	21
#define SM_CYVSCROLL	20
#define SM_CYVTHUMB	9
#define SM_CYCAPTION	4
#define SM_CYKANJIWINDOW	18
#define SM_CYMENU	15
#define SM_CYSMCAPTION	51
#define SM_DBCSENABLED	42
#define SM_DEBUG	22
#define SM_MENUDROPALIGNMENT	40
#define SM_MIDEASTENABLED	74
#define SM_MOUSEPRESENT	19
#define SM_NETWORK	63
#define SM_PENWINDOWS	41
#define SM_SECURE	44
#define SM_SHOWSOUNDS	70
#define SM_SLOWMACHINE	73
#define SM_SWAPBUTTON	23
#define	SM_RESERVED1	24
#define	SM_RESERVED2	25
#define	SM_RESERVED3	26
#define	SM_RESERVED4	27
#define ARW_BOTTOMLEFT	0
#define ARW_BOTTOMRIGHT	1
#define ARW_HIDE	8
#define ARW_TOPLEFT	2
#define ARW_TOPRIGHT	3
#define ARW_DOWN	4
#define ARW_LEFT	0
#define ARW_RIGHT	0
#define ARW_UP	4
#define SYSPAL_NOSTATIC	2
#define SYSPAL_STATIC	1
#define SYSPAL_ERROR	0
#define GET_TAPE_MEDIA_INFORMATION	0
#define GET_TAPE_DRIVE_INFORMATION	1
#define SET_TAPE_MEDIA_INFORMATION	0
#define SET_TAPE_DRIVE_INFORMATION	1
#define TAPE_ABSOLUTE_POSITION	0
#define TAPE_LOGICAL_POSITION	1
#define TA_BASELINE	24
#define TA_BOTTOM	8
#define TA_TOP	0
#define TA_CENTER	6
#define TA_LEFT	0
#define TA_RIGHT	2
#define TA_RTLREADING	256
#define TA_NOUPDATECP	0
#define TA_UPDATECP	1
#define VTA_BASELINE	24
#define VTA_CENTER	6
#define THREAD_PRIORITY_ABOVE_NORMAL	1
#define THREAD_PRIORITY_BELOW_NORMAL	(-1)
#define THREAD_PRIORITY_HIGHEST	2
#define THREAD_PRIORITY_IDLE	(-15)
#define THREAD_PRIORITY_LOWEST	(-2)
#define THREAD_PRIORITY_NORMAL	0
#define THREAD_PRIORITY_TIME_CRITICAL	15
#define THREAD_PRIORITY_ERROR_RETURN	2147483647
#define TLS_MINIMUM_AVAILABLE	64
#define TIME_NOMINUTESORSECONDS	1
#define TIME_NOSECONDS	2
#define TIME_NOTIMEMARKER	4
#define TIME_FORCE24HOURFORMAT	8
#define TIME_ZONE_ID_UNKNOWN	0
#define TIME_ZONE_ID_STANDARD	1
#define TIME_ZONE_ID_DAYLIGHT	2
#define UOI_FLAGS	1
#define UOI_NAME	2
#define UOI_TYPE	3
#define FS_CASE_IS_PRESERVED	2
#define FS_CASE_SENSITIVE	1
#define FS_UNICODE_STORED_ON_DISK	4
#define FS_PERSISTENT_ACLS	8
#define FS_FILE_COMPRESSION	16
#define FS_VOL_IS_COMPRESSED	32768
#define GWL_EXSTYLE	(-20)
#define GWL_STYLE	(-16)
#define GWL_WNDPROC	(-4)
#define GWL_HINSTANCE	(-6)
#define GWL_HWNDPARENT	(-8)
#define GWL_ID	(-12)
#define GWL_USERDATA	(-21)
#define DWL_DLGPROC	4
#define DWL_MSGRESULT	0
#define DWL_USER	8
#define GMEM_FIXED	0
#define GMEM_MOVEABLE	2
#define GMEM_MODIFY 128
#define GPTR	64
#define GHND	66
#define GMEM_DDESHARE	8192
#define GMEM_DISCARDABLE	256
#define GMEM_LOWER	4096
#define GMEM_NOCOMPACT	16
#define GMEM_NODISCARD	32
#define GMEM_NOT_BANKED	4096
#define GMEM_NOTIFY	16384
#define GMEM_SHARE	8192
#define GMEM_ZEROINIT	64
#define GMEM_DISCARDED	16384
#define GMEM_INVALID_HANDLE	32768
#define GMEM_LOCKCOUNT	255
#define HEAP_GENERATE_EXCEPTIONS	4
#define HEAP_NO_SERIALIZE	1
#define HEAP_ZERO_MEMORY	8
#define STATUS_NO_MEMORY	0xc0000017
#define STATUS_ACCESS_VIOLATION	0xc0000005
#define HEAP_REALLOC_IN_PLACE_ONLY	16
#define ILC_COLOR	0
#define ILC_COLOR4	4
#define ILC_COLOR8	8
#define ILC_COLOR16	16
#define ILC_COLOR24	24
#define ILC_COLOR32	32
#define ILC_COLORDDB	254
#define ILC_MASK	1
#define ILC_PALETTE	2048
#define ILD_BLEND25	2
#define ILD_BLEND50	4
#define ILD_SELECTED	4
#define ILD_BLEND	4
#define ILD_FOCUS	2
#define ILD_MASK	16
#define ILD_NORMAL	0
#define ILD_TRANSPARENT	1
#define CLR_NONE	0xffffffff
#define CLR_DEFAULT	0xff000000
#define LR_DEFAULTCOLOR	0
#define LR_LOADFROMFILE	16
#define LR_LOADMAP3DCOLORS	4096
#define LR_LOADTRANSPARENT	32
#define LR_MONOCHROME	1
#define IME_CONFIG_GENERAL	1
#define IME_CONFIG_REGISTERWORD	2
#define IME_CONFIG_SELECTDICTIONARY	3
#define GCL_CONVERSION	1
#define GCL_REVERSECONVERSION	2
#define GCL_REVERSE_LENGTH	3
#define GGL_LEVEL	1
#define GGL_INDEX	2
#define GGL_STRING	3
#define GGL_PRIVATE	4
#define GL_LEVEL_ERROR	2
#define GL_LEVEL_FATAL	1
#define GL_LEVEL_INFORMATION	4
#define GL_LEVEL_NOGUIDELINE	0
#define GL_LEVEL_WARNING	3
#define GL_ID_CANNOTSAVE	17
#define GL_ID_NOCONVERT	32
#define GL_ID_NODICTIONARY	16
#define GL_ID_NOMODULE	1
#define GL_ID_READINGCONFLICT	35
#define GL_ID_TOOMANYSTROKE	34
#define GL_ID_TYPINGERROR	33
#define GL_ID_UNKNOWN	0
#define GL_ID_INPUTREADING	36
#define GL_ID_INPUTRADICAL	37
#define GL_ID_INPUTCODE	38
#define GL_ID_CHOOSECANDIDATE	40
#define GL_ID_REVERSECONVERSION	41
#define IGP_PROPERTY	4
#define IGP_CONVERSION	8
#define IGP_SENTENCE	12
#define IGP_UI	16
#define IGP_SETCOMPSTR	20
#define IGP_SELECT	24
#define IME_PROP_AT_CARET	65536
#define IME_PROP_SPECIAL_UI	131072
#define IME_PROP_CANDLIST_START_FROM_1	262144
#define IME_PROP_UNICODE	524288
#define UI_CAP_2700	1
#define UI_CAP_ROT90	2
#define UI_CAP_ROTANY	4
#define SCS_CAP_COMPSTR	1
#define SCS_CAP_MAKEREAD	2
#define SELECT_CAP_CONVERSION	1
#define SELECT_CAP_SENTENCE	2
#define NI_CHANGECANDIDATELIST	19
#define NI_CLOSECANDIDATE	17
#define NI_COMPOSITIONSTR	21
#define NI_OPENCANDIDATE	16
#define NI_SELECTCANDIDATESTR	18
#define NI_SETCANDIDATE_PAGESIZE	23
#define NI_SETCANDIDATE_PAGESTART	22
#define CPS_CANCEL	4
#define CPS_COMPLETE	1
#define CPS_CONVERT	2
#define CPS_REVERT	3
#define SCS_SETSTR	9
#define SCS_CHANGEATTR	18
#define SCS_CHANGECLAUSE	36
#define IME_REGWORD_STYLE_EUDC	1
#define IME_REGWORD_STYLE_USER_FIRST	0x80000000
#define IME_REGWORD_STYLE_USER_LAST	(-1)
#define SECURITY_DESCRIPTOR_REVISION	1
#define IS_TEXT_UNICODE_ASCII16	1
#define IS_TEXT_UNICODE_REVERSE_ASCII16	16
#define IS_TEXT_UNICODE_STATISTICS	2
#define IS_TEXT_UNICODE_REVERSE_STATISTICS	32
#define IS_TEXT_UNICODE_CONTROLS	4
#define IS_TEXT_UNICODE_REVERSE_CONTROLS	64
#define IS_TEXT_UNICODE_SIGNATURE	8
#define IS_TEXT_UNICODE_REVERSE_SIGNATURE	128
#define IS_TEXT_UNICODE_ILLEGAL_CHARS	256
#define IS_TEXT_UNICODE_ODD_LENGTH	512
#define IS_TEXT_UNICODE_NULL_BYTES	4096
#define IS_TEXT_UNICODE_UNICODE_MASK	15
#define IS_TEXT_UNICODE_REVERSE_MASK	240
#define IS_TEXT_UNICODE_NOT_UNICODE_MASK	3840
#define IS_TEXT_UNICODE_NOT_ASCII_MASK	61440
#define HC_GETNEXT	1
#define HC_SKIP	2
#define HC_SYSMODALOFF	5
#define HC_SYSMODALON	4
#define HC_NOREMOVE	3
#define KEYEVENTF_EXTENDEDKEY	1
#define KEYEVENTF_KEYUP	2
#define OBM_BTNCORNERS	32758
#define OBM_BTSIZE	32761
#define OBM_CHECK	32760
#define OBM_CHECKBOXES	32759
#define OBM_CLOSE	32754
#define OBM_COMBO	32738
#define OBM_DNARROW	32752
#define OBM_DNARROWD	32742
#define OBM_DNARROWI	32736
#define OBM_LFARROW	32750
#define OBM_LFARROWI	32734
#define OBM_LFARROWD	32740
#define OBM_MNARROW	32739
#define OBM_OLD_CLOSE	32767
#define OBM_OLD_DNARROW	32764
#define OBM_OLD_LFARROW	32762
#define OBM_OLD_REDUCE	32757
#define OBM_OLD_RESTORE	32755
#define OBM_OLD_RGARROW	32763
#define OBM_OLD_UPARROW	32765
#define OBM_OLD_ZOOM	32756
#define OBM_REDUCE	32749
#define OBM_REDUCED	32746
#define OBM_RESTORE	32747
#define OBM_RESTORED	32744
#define OBM_RGARROW	32751
#define OBM_RGARROWD	32741
#define OBM_RGARROWI	32735
#define OBM_SIZE	32766
#define OBM_UPARROW	32753
#define OBM_UPARROWD	32743
#define OBM_UPARROWI	32737
#define OBM_ZOOM	32748
#define OBM_ZOOMD	32745
#define DONT_RESOLVE_DLL_REFERENCES	1
#define LOAD_LIBRARY_AS_DATAFILE	2
#define LOAD_WITH_ALTERED_SEARCH_PATH	8
#define LMEM_FIXED	0
#define LMEM_MOVEABLE	2
#define LPTR	64
#define LHND	66
#define NONZEROLHND	2
#define NONZEROLPTR	0
#define LMEM_NONZEROLHND	2
#define LMEM_NONZEROLPTR	0
#define LMEM_DISCARDABLE	3840
#define LMEM_NOCOMPACT	16
#define LMEM_NODISCARD	32
#define LMEM_ZEROINIT	64
#define LMEM_DISCARDED	16384
#define LMEM_MODIFY	128
#define LMEM_INVALID_HANDLE	32768
#define LMEM_LOCKCOUNT	255
#define LOCKFILE_FAIL_IMMEDIATELY	1
#define LOCKFILE_EXCLUSIVE_LOCK	2
#define MB_USERICON	128
#define MB_ICONASTERISK	64
#define MB_ICONEXCLAMATION	0x30
#define MB_ICONWARNING	0x30
#define MB_ICONERROR	16
#define MB_ICONHAND	16
#define MB_ICONQUESTION	32
#define MB_OK	0
#define MB_ABORTRETRYIGNORE	2
#define MB_APPLMODAL	0
#define MB_DEFAULT_DESKTOP_ONLY	0x20000
#define MB_HELP	0x4000
#define MB_RIGHT	0x80000
#define MB_RTLREADING	0x100000
#define MB_TOPMOST	0x40000
#define MB_DEFBUTTON1	0
#define MB_DEFBUTTON2	256
#define MB_DEFBUTTON3	512
#define MB_DEFBUTTON4	0x300
#define MB_ICONINFORMATION	64
#define MB_ICONSTOP	16
#define MB_OKCANCEL	1
#define MB_RETRYCANCEL	0x5
#define MB_SERVICE_NOTIFICATION	0x40000
#define MB_SETFOREGROUND	0x10000
#define MB_SYSTEMMODAL	4096
#define MB_TASKMODAL	0x2000
#define MB_YESNO	4
#define MB_YESNOCANCEL	3
#define IDABORT	3
#define IDCANCEL	2
#define IDCLOSE	8
#define IDHELP	9
#define IDIGNORE	5
#define IDNO	7
#define IDOK	1
#define IDRETRY	4
#define IDYES	6
#define MSGF_DIALOGBOX	0
#define MSGF_MENU	2
#define MSGF_NEXTWINDOW	6
#define MSGF_SCROLLBAR	5
#define MSGF_MAINLOOP	8
#define MSGF_USER	4096
#define MWT_IDENTITY	1
#define MWT_LEFTMULTIPLY	2
#define MWT_RIGHTMULTIPLY	3
#define MOUSEEVENTF_ABSOLUTE	32768
#define MOUSEEVENTF_MOVE	1
#define MOUSEEVENTF_LEFTDOWN	2
#define MOUSEEVENTF_LEFTUP	4
#define MOUSEEVENTF_RIGHTDOWN	8
#define MOUSEEVENTF_RIGHTUP	16
#define MOUSEEVENTF_MIDDLEDOWN	32
#define MOUSEEVENTF_MIDDLEUP	64
#define MOVEFILE_REPLACE_EXISTING	1
#define MOVEFILE_COPY_ALLOWED	2
#define MOVEFILE_DELAY_UNTIL_REBOOT	4
#define WAIT_OBJECT_0	0
#define WAIT_ABANDONED_0	128
#define WAIT_TIMEOUT	0x102
#define WAIT_IO_COMPLETION	0xc0
#define WAIT_ABANDONED	128
#define WAIT_FAILED	0xffffffff
#define MAXIMUM_WAIT_OBJECTS	64
#define MAXIMUM_SUSPEND_COUNT	0x7f
#define MB_PRECOMPOSED	1
#define MB_COMPOSITE	2
#define MB_ERR_INVALID_CHARS	8
#define MB_USEGLYPHCHARS	4
#define TOKEN_ADJUST_DEFAULT	128
#define TOKEN_ADJUST_GROUPS	64
#define TOKEN_ADJUST_PRIVILEGES	32
#define TOKEN_ALL_ACCESS	0xf00ff
#define TOKEN_ASSIGN_PRIMARY	1
#define TOKEN_DUPLICATE	2
#define TOKEN_EXECUTE	0x20000
#define TOKEN_IMPERSONATE	4
#define TOKEN_QUERY	8
#define TOKEN_QUERY_SOURCE	16
#define TOKEN_READ	0x20008
#define TOKEN_WRITE	0x200e0
#define SC_MANAGER_ALL_ACCESS	0xf003f
#define SC_MANAGER_CONNECT	1
#define SC_MANAGER_CREATE_SERVICE	2
#define SC_MANAGER_ENUMERATE_SERVICE	4
#define SC_MANAGER_LOCK	8
#define SC_MANAGER_QUERY_LOCK_STATUS	16
#define SC_MANAGER_MODIFY_BOOT_CONFIG	32
#define HWND_BROADCAST	(HWND)65535
#define CopyMemory	RtlCopyMemory
#define RtlCopyMemory	memcpy
#define TAPE_FORMAT	5
#define TAPE_LOAD	0
#define TAPE_LOCK	3
#define TAPE_TENSION	2
#define TAPE_UNLOAD	1
#define TAPE_UNLOCK	4
#define IS_PSREBOOTSYSTEM	3
#define IS_PSRESTARTWINDOWS	2
#define PSPCB_CREATE	2
#define PSPCB_RELEASE	1
#define PURGE_TXABORT	1
#define PURGE_RXABORT	2
#define PURGE_TXCLEAR	4
#define PURGE_RXCLEAR	8
#define OWNER_SECURITY_INFORMATION	1
#define GROUP_SECURITY_INFORMATION	2
#define DACL_SECURITY_INFORMATION	4
#define SACL_SECURITY_INFORMATION	8
#define EVENTLOG_FORWARDS_READ	4
#define EVENTLOG_BACKWARDS_READ	8
#define EVENTLOG_SEEK_READ	2
#define EVENTLOG_SEQUENTIAL_READ	1
#define EVENTLOG_ERROR_TYPE	1
#define EVENTLOG_WARNING_TYPE	2
#define EVENTLOG_INFORMATION_TYPE	4
#define EVENTLOG_AUDIT_SUCCESS	8
#define EVENTLOG_AUDIT_FAILURE	16
#define RDW_ERASE	4
#define RDW_FRAME	1024
#define RDW_INTERNALPAINT	2
#define RDW_INVALIDATE	1
#define RDW_NOERASE	32
#define RDW_NOFRAME	2048
#define RDW_NOINTERNALPAINT	16
#define RDW_VALIDATE	8
#define RDW_ERASENOW	512
#define RDW_UPDATENOW	256
#define RDW_ALLCHILDREN	128
#define RDW_NOCHILDREN	64
#define HKEY_CLASSES_ROOT	(HKEY)0x80000000
#define HKEY_CURRENT_USER	(HKEY)0x80000001
#define HKEY_LOCAL_MACHINE	(HKEY)0x80000002
#define HKEY_USERS	(HKEY)(-2147483645)
#define HKEY_PERFORMANCE_DATA	(HKEY)(-2147483644)
#define HKEY_CURRENT_CONFIG	(HKEY)(-2147483643)
#define REG_OPTION_VOLATILE	1
#define REG_OPTION_NON_VOLATILE	0
#define REG_CREATED_NEW_KEY	1
#define REG_OPENED_EXISTING_KEY	2
#define REG_BINARY	3
#define REG_DWORD	4
#define REG_DWORD_LITTLE_ENDIAN	4
#define REG_DWORD_BIG_ENDIAN	5
#define REG_EXPAND_SZ	2
#define REG_LINK	6
#define REG_MULTI_SZ	7
#define REG_NONE	0
#define REG_RESOURCE_LIST	8
#define REG_SZ	1
#define MOD_ALT	1
#define MOD_CONTROL	2
#define MOD_SHIFT	4
#define MOD_WIN	8
#define IDHOT_SNAPDESKTOP	(-2)
#define IDHOT_SNAPWINDOW	(-1)
#define REG_NOTIFY_CHANGE_NAME	1
#define REG_NOTIFY_CHANGE_ATTRIBUTES	2
#define REG_NOTIFY_CHANGE_LAST_SET	4
#define REG_NOTIFY_CHANGE_SECURITY	8
#define SW_ERASE	4
#define SW_INVALIDATE	2
#define SW_SCROLLCHILDREN	1
#define SMTO_ABORTIFHUNG	2
#define SMTO_BLOCK	1
#define SMTO_NORMAL	0
#define OPAQUE	2
#define TRANSPARENT	1
#define SLE_ERROR	1
#define SLE_MINORERROR	2
#define SLE_WARNING	3
#define SEM_FAILCRITICALERRORS	1
#define SEM_NOALIGNMENTFAULTEXCEPT	4
#define SEM_NOGPFAULTERRORBOX	2
#define SEM_NOOPENFILEERRORBOX	32768
#define ICM_ON	2
#define ICM_OFF	1
#define ICM_QUERY	3
#define LOCALE_ILANGUAGE	1
#define LOCALE_SLANGUAGE	2
#define LOCALE_SENGLANGUAGE	4097
#define LOCALE_SABBREVLANGNAME	3
#define LOCALE_SNATIVELANGNAME	4
#define LOCALE_ICOUNTRY	5
#define LOCALE_SCOUNTRY	6
#define LOCALE_SENGCOUNTRY	4098
#define LOCALE_SABBREVCTRYNAME	7
#define LOCALE_SNATIVECTRYNAME	8
#define LOCALE_IDEFAULTLANGUAGE	9
#define LOCALE_IDEFAULTCOUNTRY	10
#define LOCALE_IDEFAULTANSICODEPAGE	4100
#define LOCALE_IDEFAULTCODEPAGE	11
#define LOCALE_SLIST	12
#define LOCALE_IMEASURE	13
#define LOCALE_SDECIMAL	14
#define LOCALE_STHOUSAND	15
#define LOCALE_SGROUPING	16
#define LOCALE_IDIGITS	17
#define LOCALE_ILZERO	18
#define LOCALE_INEGNUMBER	4112
#define LOCALE_SCURRENCY	20
#define LOCALE_SMONDECIMALSEP	22
#define LOCALE_SMONTHOUSANDSEP	23
#define LOCALE_SMONGROUPING	24
#define LOCALE_ICURRDIGITS	25
#define LOCALE_ICURRENCY	27
#define LOCALE_INEGCURR	28
#define LOCALE_SDATE	29
#define LOCALE_STIME	30
#define LOCALE_STIMEFORMAT	4099
#define LOCALE_SSHORTDATE	31
#define LOCALE_SLONGDATE	32
#define LOCALE_IDATE	33
#define LOCALE_ILDATE	34
#define LOCALE_ITIME	35
#define LOCALE_ITLZERO	37
#define LOCALE_IDAYLZERO	38
#define LOCALE_IMONLZERO	39
#define LOCALE_S1159	40
#define LOCALE_S2359	41
#define LOCALE_ICALENDARTYPE	4105
#define LOCALE_IOPTIONALCALENDAR	4107
#define LOCALE_IFIRSTDAYOFWEEK	4108
#define LOCALE_IFIRSTWEEKOFYEAR	4109
#define LOCALE_SDAYNAME1	42
#define LOCALE_SDAYNAME2	43
#define LOCALE_SDAYNAME3	44
#define LOCALE_SDAYNAME4	45
#define LOCALE_SDAYNAME5	46
#define LOCALE_SDAYNAME6	47
#define LOCALE_SDAYNAME7	48
#define LOCALE_SABBREVDAYNAME1	49
#define LOCALE_SABBREVDAYNAME2	50
#define LOCALE_SABBREVDAYNAME3	51
#define LOCALE_SABBREVDAYNAME4	52
#define LOCALE_SABBREVDAYNAME5	53
#define LOCALE_SABBREVDAYNAME6	54
#define LOCALE_SABBREVDAYNAME7	55
#define LOCALE_SMONTHNAME1	56
#define LOCALE_SMONTHNAME2	57
#define LOCALE_SMONTHNAME3	58
#define LOCALE_SMONTHNAME4	59
#define LOCALE_SMONTHNAME5	60
#define LOCALE_SMONTHNAME6	61
#define LOCALE_SMONTHNAME7	62
#define LOCALE_SMONTHNAME8	63
#define LOCALE_SMONTHNAME9	64
#define LOCALE_SMONTHNAME10	65
#define LOCALE_SMONTHNAME11	66
#define LOCALE_SMONTHNAME12	67
#define LOCALE_SMONTHNAME13	4110
#define LOCALE_SABBREVMONTHNAME1	68
#define LOCALE_SABBREVMONTHNAME2	69
#define LOCALE_SABBREVMONTHNAME3	70
#define LOCALE_SABBREVMONTHNAME4	71
#define LOCALE_SABBREVMONTHNAME5	72
#define LOCALE_SABBREVMONTHNAME6	73
#define LOCALE_SABBREVMONTHNAME7	74
#define LOCALE_SABBREVMONTHNAME8	75
#define LOCALE_SABBREVMONTHNAME9	76
#define LOCALE_SABBREVMONTHNAME10	77
#define LOCALE_SABBREVMONTHNAME11	78
#define LOCALE_SABBREVMONTHNAME12	79
#define LOCALE_SABBREVMONTHNAME13	4111
#define LOCALE_SPOSITIVESIGN	80
#define LOCALE_SNEGATIVESIGN	81
#define LOCALE_IPOSSIGNPOSN	82
#define LOCALE_INEGSIGNPOSN	83
#define LOCALE_IPOSSYMPRECEDES	84
#define LOCALE_IPOSSEPBYSPACE	85
#define LOCALE_INEGSYMPRECEDES	86
#define LOCALE_INEGSEPBYSPACE	87
#define LOCALE_NOUSEROVERRIDE	0x80000000
#define CAL_ICALINTVALUE	1
#define CAL_IYEAROFFSETRANGE	3
#define CAL_SABBREVDAYNAME1	14
#define CAL_SABBREVDAYNAME2	15
#define CAL_SABBREVDAYNAME3	16
#define CAL_SABBREVDAYNAME4	17
#define CAL_SABBREVDAYNAME5	18
#define CAL_SABBREVDAYNAME6	19
#define CAL_SABBREVDAYNAME7	20
#define CAL_SABBREVMONTHNAME1	34
#define CAL_SABBREVMONTHNAME2	35
#define CAL_SABBREVMONTHNAME3	36
#define CAL_SABBREVMONTHNAME4	37
#define CAL_SABBREVMONTHNAME5	38
#define CAL_SABBREVMONTHNAME6	39
#define CAL_SABBREVMONTHNAME7	40
#define CAL_SABBREVMONTHNAME8	41
#define CAL_SABBREVMONTHNAME9	42
#define CAL_SABBREVMONTHNAME10	43
#define CAL_SABBREVMONTHNAME11	44
#define CAL_SABBREVMONTHNAME12	45
#define CAL_SABBREVMONTHNAME13	46
#define CAL_SCALNAME	2
#define CAL_SDAYNAME1	7
#define CAL_SDAYNAME2	8
#define CAL_SDAYNAME3	9
#define CAL_SDAYNAME4	10
#define CAL_SDAYNAME5	11
#define CAL_SDAYNAME6	12
#define CAL_SDAYNAME7	13
#define CAL_SERASTRING	4
#define CAL_SLONGDATE	6
#define CAL_SMONTHNAME1	21
#define CAL_SMONTHNAME2	22
#define CAL_SMONTHNAME3	23
#define CAL_SMONTHNAME4	24
#define CAL_SMONTHNAME5	25
#define CAL_SMONTHNAME6	26
#define CAL_SMONTHNAME7	27
#define CAL_SMONTHNAME8	28
#define CAL_SMONTHNAME9	29
#define CAL_SMONTHNAME10	30
#define CAL_SMONTHNAME11	31
#define CAL_SMONTHNAME12	32
#define CAL_SMONTHNAME13	33
#define CAL_SSHORTDATE	5
#define PROCESS_SET_QUOTA	256
#define BLACKONWHITE	1
#define COLORONCOLOR	3
#define HALFTONE	4
#define STRETCH_ANDSCANS	1
#define STRETCH_DELETESCANS	3
#define STRETCH_HALFTONE	4
#define STRETCH_ORSCANS	2
#define WHITEONBLACK	2
#define OCR_NORMAL	32512
#define OCR_IBEAM	32513
#define OCR_WAIT	32514
#define OCR_CROSS	32515
#define OCR_UP	32516
#define OCR_SIZE	32640
#define OCR_ICON	32641
#define OCR_SIZENWSE	32642
#define OCR_SIZENESW	32643
#define OCR_SIZEWE	32644
#define OCR_SIZENS	32645
#define OCR_SIZEALL	32646
#define OCR_NO	32648
#define OCR_APPSTARTING	32650
#define TAPE_ABSOLUTE_BLOCK	1
#define TAPE_LOGICAL_BLOCK	2
#define TAPE_REWIND	0
#define TAPE_SPACE_END_OF_DATA	4
#define TAPE_SPACE_FILEMARKS	6
#define TAPE_SPACE_RELATIVE_BLOCKS	5
#define TAPE_SPACE_SEQUENTIAL_FMKS	7
#define TAPE_SPACE_SEQUENTIAL_SMKS	9
#define TAPE_SPACE_SETMARKS	8
#define EXCEPTION_EXECUTE_HANDLER	1
#define EXCEPTION_CONTINUE_EXECUTION	-1
#define EXCEPTION_CONTINUE_SEARCH	0
#define HWND_BOTTOM	(HWND)1
#define HWND_NOTOPMOST	(HWND)(-2)
#define HWND_TOP	(HWND)0
#define HWND_TOPMOST	(HWND)(-1)
#define SWP_DRAWFRAME	32
#define SWP_FRAMECHANGED	32
#define SWP_HIDEWINDOW	128
#define SWP_NOACTIVATE	16
#define SWP_NOCOPYBITS	256
#define SWP_NOMOVE	2
#define SWP_NOSIZE	1
#define SWP_NOREDRAW	8
#define SWP_NOZORDER	4
#define SWP_SHOWWINDOW	64
#define SWP_NOOWNERZORDER	512
#define SWP_NOREPOSITION	512
#define SWP_NOSENDCHANGING	1024
#define HSHELL_ACTIVATESHELLWINDOW	3
#define HSHELL_GETMINRECT	5
#define HSHELL_LANGUAGE	8
#define HSHELL_REDRAW	6
#define HSHELL_TASKMAN	7
#define HSHELL_WINDOWACTIVATED	4
#define HSHELL_WINDOWCREATED	1
#define HSHELL_WINDOWDESTROYED	2
#define SW_HIDE	0
#define SW_NORMAL 1
#define SW_MAXIMIZE	3
#define SW_MINIMIZE	6
#define SW_RESTORE	9
#define SW_SHOW	5
#define SW_SHOWDEFAULT	10
#define SW_SHOWMAXIMIZED	3
#define SW_SHOWMINIMIZED	2
#define SW_SHOWMINNOACTIVE	7
#define SW_SHOWNA	8
#define SW_SHOWNOACTIVATE	4
#define SW_SHOWNORMAL	1
#define WPF_RESTORETOMAXIMIZED	2
#define WPF_SETMINPOSITION	1
#define INFINITE	(-1)
#define SPI_GETACCESSTIMEOUT	60
#define SPI_GETANIMATION	72
#define SPI_GETBEEP	1
#define SPI_GETBORDER	5
#define SPI_GETDEFAULTINPUTLANG	89
#define SPI_GETDRAGFULLWINDOWS	38
#define SPI_GETFASTTASKSWITCH	35
#define SPI_GETFILTERKEYS	50
#define SPI_GETFONTSMOOTHING	74
#define SPI_GETGRIDGRANULARITY	18
#define SPI_GETHIGHCONTRAST	66
#define SPI_GETICONMETRICS	45
#define SPI_GETICONTITLELOGFONT	31
#define SPI_GETICONTITLEWRAP	25
#define SPI_GETKEYBOARDDELAY	22
#define SPI_GETKEYBOARDPREF	68
#define SPI_GETKEYBOARDSPEED	10
#define SPI_GETLOWPOWERACTIVE	83
#define SPI_GETLOWPOWERTIMEOUT	79
#define SPI_GETMENUDROPALIGNMENT	27
#define SPI_GETMINIMIZEDMETRICS	43
#define SPI_GETMOUSE	3
#define SPI_GETMOUSEKEYS	54
#define SPI_GETMOUSETRAILS	94
#define SPI_GETNONCLIENTMETRICS	41
#define SPI_GETPOWEROFFACTIVE	84
#define SPI_GETPOWEROFFTIMEOUT	80
#define SPI_GETSCREENREADER	70
#define SPI_GETSCREENSAVEACTIVE	16
#define SPI_GETSCREENSAVETIMEOUT	14
#define SPI_GETSERIALKEYS	62
#define SPI_GETSHOWSOUNDS	56
#define SPI_GETSOUNDSENTRY	64
#define SPI_GETSTICKYKEYS	58
#define SPI_GETTOGGLEKEYS	52
#define SPI_GETWINDOWSEXTENSION	92
#define SPI_GETWORKAREA	48
#define SPI_ICONHORIZONTALSPACING	13
#define SPI_ICONVERTICALSPACING	24
#define SPI_LANGDRIVER	12
#define SPI_SCREENSAVERRUNNING	97
#define SPI_SETACCESSTIMEOUT	61
#define SPI_SETANIMATION	73
#define SPI_SETBEEP	2
#define SPI_SETBORDER	6
#define SPI_SETDEFAULTINPUTLANG	90
#define SPI_SETDESKPATTERN	21
#define SPI_SETDESKWALLPAPER	20
#define SPI_SETDOUBLECLICKTIME	32
#define SPI_SETDOUBLECLKHEIGHT	30
#define SPI_SETDOUBLECLKWIDTH	29
#define SPI_SETDRAGFULLWINDOWS	37
#define SPI_SETDRAGHEIGHT	77
#define SPI_SETDRAGWIDTH	76
#define SPI_SETFASTTASKSWITCH	36
#define SPI_SETFILTERKEYS	51
#define SPI_SETFONTSMOOTHING	75
#define SPI_SETGRIDGRANULARITY	19
#define SPI_SETHANDHELD	78
#define SPI_SETHIGHCONTRAST	67
#define SPI_SETICONMETRICS	46
#define SPI_SETICONTITLELOGFONT	34
#define SPI_SETICONTITLEWRAP	26
#define SPI_SETKEYBOARDDELAY	23
#define SPI_SETKEYBOARDPREF	69
#define SPI_SETKEYBOARDSPEED	11
#define SPI_SETLANGTOGGLE	91
#define SPI_SETLOWPOWERACTIVE	85
#define SPI_SETLOWPOWERTIMEOUT	81
#define SPI_SETMENUDROPALIGNMENT	28
#define SPI_SETMINIMIZEDMETRICS	44
#define SPI_SETMOUSE	4
#define SPI_SETMOUSEBUTTONSWAP	33
#define SPI_SETMOUSEKEYS	55
#define SPI_SETMOUSETRAILS	93
#define SPI_SETNONCLIENTMETRICS	42
#define SPI_SETPENWINDOWS	49
#define SPI_SETPOWEROFFACTIVE	86
#define SPI_SETPOWEROFFTIMEOUT	82
#define SPI_SETSCREENREADER	71
#define SPI_SETSCREENSAVEACTIVE	17
#define SPI_SETSCREENSAVETIMEOUT	15
#define SPI_SETSERIALKEYS	63
#define SPI_SETSHOWSOUNDS	57
#define SPI_SETSOUNDSENTRY	65
#define SPI_SETSTICKYKEYS	59
#define SPI_SETTOGGLEKEYS	53
#define SPI_SETWORKAREA	47
#define SPIF_UPDATEINIFILE	1
#define SPIF_SENDWININICHANGE	2
#define SPIF_SENDCHANGE	2
#define TPM_CENTERALIGN	4
#define TPM_LEFTALIGN	0
#define TPM_RIGHTALIGN	8
#define TPM_LEFTBUTTON	0
#define TPM_RIGHTBUTTON	2
#define TPM_HORIZONTAL	0
#define TPM_VERTICAL	64
#define TPM_TOPALIGN 0
#define TPM_VCENTERALIGN 16
#define TPM_BOTTOMALIGN 32
#define TPM TPM_NONOTIFY 128
#define TPM_RETURNCMD 256
#define TCI_SRCCHARSET	1
#define TCI_SRCCODEPAGE	2
#define TCI_SRCFONTSIG	3
#define WC_COMPOSITECHECK	512
#define WC_DISCARDNS	16
#define WC_SEPCHARS	32
#define WC_DEFAULTCHAR	64
#define HELP_COMMAND	0x102
#define HELP_CONTENTS	3
#define HELP_CONTEXT	1
#define HELP_CONTEXTPOPUP	8
#define HELP_FORCEFILE	9
#define HELP_HELPONHELP	4
#define HELP_INDEX	3
#define HELP_KEY	0x101
#define HELP_MULTIKEY	0x201
#define HELP_PARTIALKEY	0x105
#define HELP_QUIT	2
#define HELP_SETCONTENTS	5
#define HELP_SETINDEX	5
#define HELP_CONTEXTMENU	0xa
#define HELP_FINDER	0xb
#define HELP_WM_HELP	0xc
#define HELP_TCARD	0x8000
#define HELP_TCARD_DATA	16
#define HELP_TCARD_OTHER_CALLER	0x11
#define CONNECT_UPDATE_PROFILE	1
#define RESOURCETYPE_DISK	1
#define RESOURCETYPE_PRINT	2
#define RESOURCETYPE_ANY	0
#define RESOURCE_CONNECTED	1
#define RESOURCE_GLOBALNET	2
#define RESOURCE_REMEMBERED	3
#define RESOURCEUSAGE_CONNECTABLE	1
#define RESOURCEUSAGE_CONTAINER	2
#define WN_BAD_NETNAME	0x43
#define WN_EXTENDED_ERROR	0x4b8
#define WN_MORE_DATA	0xea
#define WN_NO_NETWORK	0x4c6
#define WN_SUCCESS	0
#define WN_ACCESS_DENIED	5
#define WN_BAD_PROVIDER	0x4b4
#define WN_NOT_AUTHENTICATED	0x4dc
#define UNIVERSAL_NAME_INFO_LEVEL	1
#define REMOTE_NAME_INFO_LEVEL	2
#define STILL_ACTIVE	0x103
#define SP_SERIALCOMM	1
#define BAUD_075	1
#define BAUD_110	2
#define BAUD_134_5	4
#define BAUD_150	8
#define BAUD_300	16
#define BAUD_600	32
#define BAUD_1200	64
#define BAUD_1800	128
#define BAUD_2400	256
#define BAUD_4800	512
#define BAUD_7200	0x400
#define BAUD_9600	0x800
#define BAUD_14400	4096
#define BAUD_19200	0x2000
#define BAUD_38400	0x4000
#define BAUD_56K	0x8000
#define BAUD_57600	0x40000
#define BAUD_115200	0x20000
#define BAUD_128K	0x10000
#define BAUD_USER	0x10000000
#define PST_FAX	0x21
#define PST_LAT	0x101
#define PST_MODEM	6
#define PST_NETWORK_BRIDGE	256
#define PST_PARALLELPORT	2
#define PST_RS232	1
#define PST_RS422	3
#define PST_RS423	4
#define PST_RS449	5
#define PST_SCANNER	0x22
#define PST_TCPIP_TELNET	0x102
#define PST_UNSPECIFIED	0
#define PST_X25	0x103
#define PCF_16BITMODE	512
#define PCF_DTRDSR	1
#define PCF_INTTIMEOUTS	128
#define PCF_PARITY_CHECK	8
#define PCF_RLSD	4
#define PCF_RTSCTS	2
#define PCF_SETXCHAR	32
#define PCF_SPECIALCHARS	256
#define PCF_TOTALTIMEOUTS	64
#define PCF_XONXOFF	16
#define SP_BAUD	2
#define SP_DATABITS	4
#define SP_HANDSHAKING	0x10
#define SP_PARITY	1
#define SP_PARITY_CHECK	32
#define SP_RLSD	64
#define SP_STOPBITS	8
#define DATABITS_5	1
#define DATABITS_6	2
#define DATABITS_7	4
#define DATABITS_8	8
#define DATABITS_16	16
#define DATABITS_16X	32
#define STOPBITS_10	1
#define STOPBITS_15	2
#define STOPBITS_20	4
#define PARITY_NONE	256
#define PARITY_ODD	512
#define PARITY_EVEN	1024
#define PARITY_MARK	2048
#define PARITY_SPACE	4096
#define COMMPROP_INITIALIZED	0xe73cf52e
#define CBR_110	110
#define CBR_300	300
#define CBR_600	600
#define CBR_1200	1200
#define CBR_2400	2400
#define CBR_4800	4800
#define CBR_9600	9600
#define CBR_14400	14400
#define CBR_19200	19200
#define CBR_38400	38400
#define CBR_56000	56000
#define CBR_57600	57600
#define CBR_115200	115200
#define CBR_128000	128000
#define CBR_256000	256000
#define DTR_CONTROL_DISABLE	0
#define DTR_CONTROL_ENABLE	1
#define DTR_CONTROL_HANDSHAKE	2
#define RTS_CONTROL_DISABLE	0
#define RTS_CONTROL_ENABLE	1
#define RTS_CONTROL_HANDSHAKE	2
#define RTS_CONTROL_TOGGLE	3
#define EVENPARITY	2
#define MARKPARITY	3
#define NOPARITY	0
#define ODDPARITY	1
#define ONESTOPBIT	0
#define ONE5STOPBITS	1
#define TWOSTOPBITS	2
#define CREATE_PROCESS_DEBUG_EVENT	3
#define CREATE_THREAD_DEBUG_EVENT	2
#define EXCEPTION_DEBUG_EVENT	1
#define EXIT_PROCESS_DEBUG_EVENT	5
#define EXIT_THREAD_DEBUG_EVENT	4
#define LOAD_DLL_DEBUG_EVENT	6
#define OUTPUT_DEBUG_STRING_EVENT	8
#define UNLOAD_DLL_DEBUG_EVENT	7
#define RIP_EVENT	9
#define PROCESS_HEAP_REGION	1
#define PROCESS_HEAP_UNCOMMITTED_RANGE	2
#define PROCESS_HEAP_ENTRY_BUSY	4
#define PROCESS_HEAP_ENTRY_MOVEABLE	16
#define PROCESS_HEAP_ENTRY_DDESHARE	32
#define HINSTANCE_ERROR	32
#define BACKUP_DATA	1
#define BACKUP_EA_DATA	2
#define BACKUP_SECURITY_DATA	3
#define BACKUP_ALTERNATE_DATA	4
#define BACKUP_LINK	5
#define STREAM_MODIFIED_WHEN_READ	1
#define STREAM_CONTAINS_SECURITY	2
#define STARTF_USESHOWWINDOW	1
#define STARTF_USEPOSITION	4
#define STARTF_USESIZE	2
#define STARTF_USECOUNTCHARS	8
#define STARTF_USEFILLATTRIBUTE	16
#define STARTF_FORCEONFEEDBACK	64
#define STARTF_FORCEOFFFEEDBACK	128
#define STARTF_USESTDHANDLES	256
#define VER_PLATFORM_WIN32s	0
#define VER_PLATFORM_WIN32_NT	2
#define MAXPROPPAGES	100
#define PSP_DEFAULT	0
#define PSP_HASHELP	32
#define PSP_USECALLBACK	128
#define PSP_USEHICON	2
#define PSP_USEICONID	4
#define PSP_USEREFPARENT	64
#define PSP_USETITLE	8
#define PSP_RTLREADING	16
#define PSP_DLGINDIRECT	1
#define PSH_DEFAULT	0
#define PSH_HASHELP	512
#define PSH_MODELESS	1024
#define PSH_NOAPPLYNOW	128
#define PSH_PROPSHEETPAGE	8
#define PSH_PROPTITLE	1
#define PSH_USECALLBACK	256
#define PSH_USEHICON	2
#define PSH_USEICONID	4
#define PSH_USEPSTARTPAGE	64
#define PSH_WIZARD	32
#define PSH_RTLREADING	2048
#define PSCB_INITIALIZED	1
#define PSCB_PRECREATE	2
#define PSNRET_NOERROR	0
#define PSNRET_INVALID_NOCHANGEPAGE	2
#define PSBTN_APPLYNOW	4
#define PSBTN_BACK	0
#define PSBTN_CANCEL	5
#define PSBTN_FINISH	2
#define PSBTN_HELP	6
#define PSBTN_NEXT	1
#define PSBTN_OK	3
#define PSWIZB_BACK	1
#define PSWIZB_NEXT	2
#define PSWIZB_FINISH	4
#define PSWIZB_DISABLEDFINISH	8
#define ID_PSREBOOTSYSTEM	3
#define ID_PSRESTARTWINDOWS	2
#define WIZ_BODYCX	184
#define WIZ_BODYX	92
#define WIZ_CXBMP	80
#define WIZ_CXDLG	276
#define WIZ_CYDLG	140
#define PAN_ANY	0
#define PAN_NO_FIT	1
#define PAN_FAMILY_TEXT_DISPLAY	2
#define PAN_FAMILY_SCRIPT	3
#define PAN_FAMILY_DECORATIVE	4
#define PAN_FAMILY_PICTORIAL	5
#define PAN_SERIF_COVE	2
#define PAN_SERIF_OBTUSE_COVE	3
#define PAN_SERIF_SQUARE_COVE	4
#define PAN_SERIF_OBTUSE_SQUARE_COVE	5
#define PAN_SERIF_SQUARE	6
#define PAN_SERIF_THIN	7
#define PAN_SERIF_BONE	8
#define PAN_SERIF_EXAGGERATED	9
#define PAN_SERIF_TRIANGLE	10
#define PAN_SERIF_NORMAL_SANS	11
#define PAN_SERIF_OBTUSE_SANS	12
#define PAN_SERIF_PERP_SANS	13
#define PAN_SERIF_FLARED	14
#define PAN_SERIF_ROUNDED	15
#define PAN_WEIGHT_VERY_LIGHT	2
#define PAN_WEIGHT_LIGHT	3
#define PAN_WEIGHT_THIN	4
#define PAN_WEIGHT_BOOK	5
#define PAN_WEIGHT_MEDIUM	6
#define PAN_WEIGHT_DEMI	7
#define PAN_WEIGHT_BOLD	8
#define PAN_WEIGHT_HEAVY	9
#define PAN_WEIGHT_BLACK	10
#define PAN_WEIGHT_NORD	11
#define PAN_PROP_OLD_STYLE	2
#define PAN_PROP_MODERN	3
#define PAN_PROP_EVEN_WIDTH	4
#define PAN_PROP_EXPANDED	5
#define PAN_PROP_CONDENSED	6
#define PAN_PROP_VERY_EXPANDED	7
#define PAN_PROP_VERY_CONDENSED	8
#define PAN_PROP_MONOSPACED	9
#define PAN_CONTRAST_NONE	2
#define PAN_CONTRAST_VERY_LOW	3
#define PAN_CONTRAST_LOW	4
#define PAN_CONTRAST_MEDIUM_LOW	5
#define PAN_CONTRAST_MEDIUM	6
#define PAN_CONTRAST_MEDIUM_HIGH	7
#define PAN_CONTRAST_HIGH	8
#define PAN_CONTRAST_VERY_HIGH	9
#define PAN_STROKE_GRADUAL_DIAG	2
#define PAN_STROKE_GRADUAL_TRAN	3
#define PAN_STROKE_GRADUAL_VERT	4
#define PAN_STROKE_GRADUAL_HORZ	5
#define PAN_STROKE_RAPID_VERT	6
#define PAN_STROKE_RAPID_HORZ	7
#define PAN_STROKE_INSTANT_VERT	8
#define PAN_STRAIGHT_ARMS_HORZ	2
#define PAN_STRAIGHT_ARMS_WEDGE	3
#define PAN_STRAIGHT_ARMS_VERT	4
#define PAN_STRAIGHT_ARMS_SINGLE_SERIF	5
#define PAN_STRAIGHT_ARMS_DOUBLE_SERIF	6
#define PAN_BENT_ARMS_HORZ	7
#define PAN_BENT_ARMS_VERT	9
#define PAN_BENT_ARMS_WEDGE	8
#define PAN_BENT_ARMS_SINGLE_SERIF	10
#define PAN_BENT_ARMS_DOUBLE_SERIF	11
#define PAN_LETT_NORMAL_CONTACT	2
#define PAN_LETT_NORMAL_WEIGHTED	3
#define PAN_LETT_NORMAL_BOXED	4
#define PAN_LETT_NORMAL_FLATTENED	5
#define PAN_LETT_NORMAL_ROUNDED	6
#define PAN_LETT_NORMAL_OFF_CENTER	7
#define PAN_LETT_NORMAL_SQUARE	8
#define PAN_LETT_OBLIQUE_CONTACT	9
#define PAN_LETT_OBLIQUE_WEIGHTED	10
#define PAN_LETT_OBLIQUE_BOXED	11
#define PAN_LETT_OBLIQUE_FLATTENED	12
#define PAN_LETT_OBLIQUE_ROUNDED	13
#define PAN_LETT_OBLIQUE_OFF_CENTER	14
#define PAN_LETT_OBLIQUE_SQUARE	15
#define PAN_MIDLINE_STANDARD_TRIMMED	2
#define PAN_MIDLINE_STANDARD_POINTED	3
#define PAN_MIDLINE_STANDARD_SERIFED	4
#define PAN_MIDLINE_HIGH_TRIMMED	5
#define PAN_MIDLINE_HIGH_POINTED	6
#define PAN_MIDLINE_HIGH_SERIFED	7
#define PAN_MIDLINE_CONSTANT_TRIMMED	8
#define PAN_MIDLINE_CONSTANT_POINTED	9
#define PAN_MIDLINE_CONSTANT_SERIFED	10
#define PAN_MIDLINE_LOW_TRIMMED	11
#define PAN_MIDLINE_LOW_POINTED	12
#define PAN_MIDLINE_LOW_SERIFED	13
#define PAN_XHEIGHT_CONSTANT_SMALL	2
#define PAN_XHEIGHT_CONSTANT_STD	3
#define PAN_XHEIGHT_CONSTANT_LARGE	4
#define PAN_XHEIGHT_DUCKING_SMALL	5
#define PAN_XHEIGHT_DUCKING_STD	6
#define PAN_XHEIGHT_DUCKING_LARGE	7
#define PC_EXPLICIT	2
#define PC_NOCOLLAPSE	4
#define PC_RESERVED	1
#define BS_DIBPATTERN	5
#define BS_DIBPATTERN8X8	8
#define BS_DIBPATTERNPT	6
#define BS_HATCHED	2
#define BS_HOLLOW	1
#define BS_NULL	1
#define BS_PATTERN	3
#define BS_PATTERN8X8	7
#define BS_SOLID	0
#define DM_ORIENTATION	1
#define DM_PAPERSIZE	2
#define DM_PAPERLENGTH	4
#define DM_PAPERWIDTH	8
#define DM_SCALE	16
#define DM_COPIES	256
#define DM_DEFAULTSOURCE	512
#define DM_PRINTQUALITY	0x400
#define DM_COLOR	0x800
#define DM_DUPLEX	4096
#define DM_YRESOLUTION	0x2000
#define DM_TTOPTION	0x4000
#define DM_COLLATE	0x8000
#define DM_FORMNAME	0x10000
#define DM_LOGPIXELS	0x20000
#define DM_ICMMETHOD	0x800000
#define DM_ICMINTENT	0x1000000
#define DM_MEDIATYPE	0x2000000
#define DM_DITHERTYPE	0x4000000
#define DMORIENT_LANDSCAPE	2
#define DMORIENT_PORTRAIT	1
#define DMPAPER_FIRST	1
#define DMPAPER_LETTER	1
#define DMPAPER_LEGAL	5
#define DMPAPER_A4	9
#define DMPAPER_CSHEET	24
#define DMPAPER_DSHEET	25
#define DMPAPER_ESHEET	26
#define DMPAPER_LETTERSMALL	2
#define DMPAPER_TABLOID	3
#define DMPAPER_LEDGER	4
#define DMPAPER_STATEMENT	6
#define DMPAPER_EXECUTIVE	7
#define DMPAPER_A3	8
#define DMPAPER_A4SMALL	10
#define DMPAPER_A5	11
#define DMPAPER_B4	12
#define DMPAPER_B5	13
#define DMPAPER_FOLIO	14
#define DMPAPER_QUARTO	15
#define DMPAPER_10X14	16
#define DMPAPER_11X17	17
#define DMPAPER_NOTE	18
#define DMPAPER_ENV_9	19
#define DMPAPER_ENV_10	20
#define DMPAPER_ENV_11	21
#define DMPAPER_ENV_12	22
#define DMPAPER_ENV_14	23
#define DMPAPER_ENV_DL	27
#define DMPAPER_ENV_C5	28
#define DMPAPER_ENV_C3	29
#define DMPAPER_ENV_C4	30
#define DMPAPER_ENV_C6	31
#define DMPAPER_ENV_C65	32
#define DMPAPER_ENV_B4	33
#define DMPAPER_ENV_B5	34
#define DMPAPER_ENV_B6	35
#define DMPAPER_ENV_ITALY	36
#define DMPAPER_ENV_MONARCH	37
#define DMPAPER_ENV_PERSONAL	38
#define DMPAPER_FANFOLD_US	39
#define DMPAPER_FANFOLD_STD_GERMAN	40
#define DMPAPER_FANFOLD_LGL_GERMAN	41
#define DMPAPER_ISO_B4	42
#define DMPAPER_JAPANESE_POSTCARD	43
#define DMPAPER_9X11	44
#define DMPAPER_10X11	45
#define DMPAPER_15X11	46
#define DMPAPER_ENV_INVITE	47
#define DMPAPER_RESERVED_48	48
#define DMPAPER_RESERVED_49	49
#define DMPAPER_LETTER_EXTRA	50
#define DMPAPER_LEGAL_EXTRA	51
#define DMPAPER_TABLOID_EXTRA	52
#define DMPAPER_A4_EXTRA	53
#define DMPAPER_LETTER_TRANSVERSE	54
#define DMPAPER_A4_TRANSVERSE	55
#define DMPAPER_LETTER_EXTRA_TRANSVERSE	56
#define DMPAPER_A_PLUS	57
#define DMPAPER_B_PLUS	58
#define DMPAPER_LETTER_PLUS	59
#define DMPAPER_A4_PLUS	60
#define DMPAPER_A5_TRANSVERSE	61
#define DMPAPER_B5_TRANSVERSE	62
#define DMPAPER_A3_EXTRA	63
#define DMPAPER_A5_EXTRA	64
#define DMPAPER_B5_EXTRA	65
#define DMPAPER_A2	66
#define DMPAPER_A3_TRANSVERSE	67
#define DMPAPER_A3_EXTRA_TRANSVERSE	68
#define DMPAPER_LAST 68
#define DMBIN_FIRST	1
#define DMBIN_UPPER	1
#define DMBIN_ONLYONE	1
#define DMBIN_LOWER	2
#define DMBIN_MIDDLE	3
#define DMBIN_MANUAL	4
#define DMBIN_ENVELOPE	5
#define DMBIN_ENVMANUAL	6
#define DMBIN_AUTO	7
#define DMBIN_TRACTOR	8
#define DMBIN_SMALLFMT	9
#define DMBIN_LARGEFMT	10
#define DMBIN_LARGECAPACITY	11
#define DMBIN_CASSETTE	14
#define DMBIN_FORMSOURCE	15
#define DMBIN_LAST	15
#define DMBIN_USER	256
#define DMRES_HIGH	(-4)
#define DMRES_MEDIUM	(-3)
#define DMRES_LOW	(-2)
#define DMRES_DRAFT	(-1)
#define DMCOLOR_COLOR	2
#define DMCOLOR_MONOCHROME	1
#define DMDUP_SIMPLEX	1
#define DMDUP_HORIZONTAL	3
#define DMDUP_VERTICAL	2
#define DMTT_BITMAP	1
#define DMTT_DOWNLOAD	2
#define DMTT_SUBDEV	3
#define DMCOLLATE_TRUE	1
#define DMCOLLATE_FALSE	0
#define DM_GRAYSCALE	1
#define DM_INTERLACED	2
#define DMICMMETHOD_NONE	1
#define DMICMMETHOD_SYSTEM	2
#define DMICMMETHOD_DRIVER	3
#define DMICMMETHOD_DEVICE	4
#define DMICMMETHOD_USER	256
#define DMICM_SATURATE	1
#define DMICM_CONTRAST	2
#define DMICM_COLORMETRIC	3
#define DMICM_USER	256
#define DMMEDIA_STANDARD	1
#define DMMEDIA_GLOSSY	3
#define DMMEDIA_TRANSPARENCY	2
#define DMMEDIA_USER	256
#define DMDITHER_NONE	1
#define DMDITHER_COARSE	2
#define DMDITHER_FINE	3
#define DMDITHER_LINEART	4
#define DMDITHER_GRAYSCALE	10
#define DMDITHER_USER	256
#define RDH_RECTANGLES	1
#define TT_POLYGON_TYPE	24
#define TT_PRIM_LINE	1
#define TT_PRIM_QSPLINE	2
#define GCPCLASS_ARABIC	2
#define GCPCLASS_HEBREW	2
#define GCPCLASS_LATIN	1
#define GCPCLASS_LATINNUMBER	5
#define GCPCLASS_LOCALNUMBER	4
#define GCPCLASS_LATINNUMERICSEPARATOR	7
#define GCPCLASS_LATINNUMERICTERMINATOR	6
#define GCPCLASS_NEUTRAL	3
#define GCPCLASS_NUMERICSEPARATOR	8
#define GCPCLASS_PREBOUNDLTR	128
#define GCPCLASS_PREBOUNDRTL	64
#define GCPCLASS_POSTBOUNDLTR	32
#define GCPCLASS_POSTBOUNDRTL	16
#define GCPGLYPH_LINKBEFORE	32768
#define GCPGLYPH_LINKAFTER	16384
#define TT_AVAILABLE	1
#define TT_ENABLED	2
#define CA_NEGATIVE	1
#define CA_LOG_FILTER	2
#define ILLUMINANT_DEVICE_DEFAULT	0
#define ILLUMINANT_A	1
#define ILLUMINANT_B	2
#define ILLUMINANT_C	3
#define ILLUMINANT_D50	4
#define ILLUMINANT_D55	5
#define ILLUMINANT_D65	6
#define ILLUMINANT_D75	7
#define ILLUMINANT_F2	8
#define ILLUMINANT_TUNGSTEN	1
#define ILLUMINANT_DAYLIGHT	3
#define ILLUMINANT_FLUORESCENT	8
#define ILLUMINANT_NTSC	3
#define DI_APPBANDING	1
#define EMR_HEADER	1
#define EMR_POLYBEZIER	2
#define EMR_POLYGON	3
#define EMR_POLYLINE	4
#define EMR_POLYBEZIERTO	5
#define EMR_POLYLINETO	6
#define EMR_POLYPOLYLINE	7
#define EMR_POLYPOLYGON	8
#define EMR_SETWINDOWEXTEX	9
#define EMR_SETWINDOWORGEX	10
#define EMR_SETVIEWPORTEXTEX	11
#define EMR_SETVIEWPORTORGEX	12
#define EMR_SETBRUSHORGEX	13
#define EMR_EOF	14
#define EMR_SETPIXELV	15
#define EMR_SETMAPPERFLAGS	16
#define EMR_SETMAPMODE	17
#define EMR_SETBKMODE	18
#define EMR_SETPOLYFILLMODE	19
#define EMR_SETROP2	20
#define EMR_SETSTRETCHBLTMODE	21
#define EMR_SETTEXTALIGN	22
#define EMR_SETCOLORADJUSTMENT	23
#define EMR_SETTEXTCOLOR	24
#define EMR_SETBKCOLOR	25
#define EMR_OFFSETCLIPRGN	26
#define EMR_MOVETOEX	27
#define EMR_SETMETARGN	28
#define EMR_EXCLUDECLIPRECT	29
#define EMR_INTERSECTCLIPRECT	30
#define EMR_SCALEVIEWPORTEXTEX	31
#define EMR_SCALEWINDOWEXTEX	32
#define EMR_SAVEDC	33
#define EMR_RESTOREDC	34
#define EMR_SETWORLDTRANSFORM	35
#define EMR_MODIFYWORLDTRANSFORM	36
#define EMR_SELECTOBJECT	37
#define EMR_CREATEPEN	38
#define EMR_CREATEBRUSHINDIRECT	39
#define EMR_DELETEOBJECT	40
#define EMR_ANGLEARC	41
#define EMR_ELLIPSE	42
#define EMR_RECTANGLE	43
#define EMR_ROUNDRECT	44
#define EMR_ARC	45
#define EMR_CHORD	46
#define EMR_PIE	47
#define EMR_SELECTPALETTE	48
#define EMR_CREATEPALETTE	49
#define EMR_SETPALETTEENTRIES	50
#define EMR_RESIZEPALETTE	51
#define EMR_REALIZEPALETTE	52
#define EMR_EXTFLOODFILL	53
#define EMR_LINETO	54
#define EMR_ARCTO	55
#define EMR_POLYDRAW	56
#define EMR_SETARCDIRECTION	57
#define EMR_SETMITERLIMIT	58
#define EMR_BEGINPATH	59
#define EMR_ENDPATH	60
#define EMR_CLOSEFIGURE	61
#define EMR_FILLPATH	62
#define EMR_STROKEANDFILLPATH	63
#define EMR_STROKEPATH	64
#define EMR_FLATTENPATH	65
#define EMR_WIDENPATH	66
#define EMR_SELECTCLIPPATH	67
#define EMR_ABORTPATH	68
#define EMR_GDICOMMENT	70
#define EMR_FILLRGN	71
#define EMR_FRAMERGN	72
#define EMR_INVERTRGN	73
#define EMR_PAINTRGN	74
#define EMR_EXTSELECTCLIPRGN	75
#define EMR_BITBLT	76
#define EMR_STRETCHBLT	77
#define EMR_MASKBLT	78
#define EMR_PLGBLT	79
#define EMR_SETDIBITSTODEVICE	80
#define EMR_STRETCHDIBITS	81
#define EMR_EXTCREATEFONTINDIRECTW	82
#define EMR_EXTTEXTOUTA	83
#define EMR_EXTTEXTOUTW	84
#define EMR_POLYBEZIER16	85
#define EMR_POLYGON16	86
#define EMR_POLYLINE16	87
#define EMR_POLYBEZIERTO16	88
#define EMR_POLYLINETO16	89
#define EMR_POLYPOLYLINE16	90
#define EMR_POLYPOLYGON16	91
#define EMR_POLYDRAW16	92
#define EMR_CREATEMONOBRUSH	93
#define EMR_CREATEDIBPATTERNBRUSHPT	94
#define EMR_EXTCREATEPEN	95
#define EMR_POLYTEXTOUTA	96
#define EMR_POLYTEXTOUTW	97
#define EMR_SETICMMODE	98
#define EMR_CREATECOLORSPACE	99
#define EMR_SETCOLORSPACE	100
#define EMR_DELETECOLORSPACE	101
#define EMR_GLSRECORD	102
#define EMR_GLSBOUNDEDRECORD	103
#define EMR_PIXELFORMAT	104
#define ENHMETA_SIGNATURE	1179469088
#define ENM_CHANGE	1
#define ENM_CORRECTTEXT	4194304
#define ENM_DROPFILES	1048576
#define ENM_KEYEVENTS	65536
#define ENM_MOUSEEVENTS	131072
#define ENM_PROTECTED	2097152
#define ENM_REQUESTRESIZE	262144
#define ENM_SCROLL	4
#define ENM_SELCHANGE	524288
#define ENM_UPDATE	2
#define ENM_NONE	0
#define ES_DISABLENOSCROLL	8192
#define ES_EX_NOCALLOLEINIT	16777216
#define ES_NOIME	524288
#define ES_SAVESEL	32768
#define ES_SELFIME	262144
#define ES_SUNKEN	16384
#define ES_VERTICAL	4194304
#define ES_SELECTIONBAR	16777216
#define ECOOP_SET	1
#define ECOOP_OR	2
#define ECOOP_AND	3
#define ECOOP_XOR	4
#define ECO_AUTOWORDSELECTION	1
#define ECO_AUTOVSCROLL	64
#define ECO_AUTOHSCROLL	128
#define ECO_NOHIDESEL	256
#define ECO_READONLY	2048
#define ECO_WANTRETURN	4096
#define ECO_SAVESEL	32768
#define ECO_SELECTIONBAR	16777216
#define ECO_VERTICAL	4194304
#define SCF_WORD	2
#define SCF_SELECTION	1
#define SF_TEXT	1
#define SF_RTF	2
#define SF_RTFNOOBJS	3
#define SF_TEXTIZED	4
#define SFF_SELECTION	32768
#define SFF_PLAINRTF	16384
#define WB_CLASSIFY	3
#define WB_ISDELIMITER	2
#define WB_LEFT	0
#define WB_LEFTBREAK	6
#define WB_PREVBREAK	6
#define WB_MOVEWORDLEFT	4
#define WB_MOVEWORDPREV	4
#define WB_MOVEWORDRIGHT	5
#define WB_MOVEWORDNEXT	5
#define WB_RIGHT	1
#define WB_RIGHTBREAK	7
#define WB_NEXTBREAK	7
#define PC_LEADING	2
#define PC_FOLLOWING	1
#define PC_DELIMITER	4
#define PC_OVERFLOW	3
#define WBF_WORDWRAP	16
#define WBF_WORDBREAK	32
#define WBF_OVERFLOW	64
#define WBF_LEVEL1	128
#define WBF_LEVEL2	256
#define WBF_CUSTOM	512
#define WBF_BREAKAFTER	64
#define WBF_BREAKLINE	32
#define WBF_ISWHITE	16
#define CFM_BOLD	1
#define CFM_COLOR	1073741824
#define CFM_FACE	536870912
#define CFM_ITALIC	2
#define CFM_OFFSET	268435456
#define CFM_PROTECTED	16
#define CFM_SIZE	0x80000000
#define CFM_STRIKEOUT	8
#define CFM_UNDERLINE	4
#define CFE_AUTOCOLOR	1073741824
#define CFE_BOLD	1
#define CFE_ITALIC	2
#define CFE_STRIKEOUT	8
#define CFE_UNDERLINE	4
#define CFE_PROTECTED	16
#define PFM_ALIGNMENT	8
#define PFM_NUMBERING	32
#define PFM_OFFSET	4
#define PFM_OFFSETINDENT	0x80000000
#define PFM_RIGHTINDENT	2
#define PFM_STARTINDENT	1
#define PFM_TABSTOPS	16
#define PFN_BULLET	1
#define PFA_LEFT	1
#define PFA_RIGHT	2
#define PFA_CENTER	3
#define SEL_EMPTY	0
#define SEL_TEXT	1
#define SEL_OBJECT	2
#define SEL_MULTICHAR	4
#define SEL_MULTIOBJECT	8
#define CF_RTF	"Rich Text Format"
#define CF_RETEXTOBJ	"RichEdit Text and Objects"
#define ODT_BUTTON	4
#define ODT_COMBOBOX	3
#define ODT_LISTBOX	2
#define ODT_LISTVIEW	102
#define ODT_MENU	1
#define ODT_STATIC	5
#define ODT_TAB	101
#define ODT_HEADER	100
#define ODA_DRAWENTIRE	1
#define ODA_FOCUS	4
#define ODA_SELECT	2
#define ODS_CHECKED	8
#define ODS_COMBOBOXEDIT	4096
#define ODS_DEFAULT	32
#define ODS_DISABLED	4
#define ODS_FOCUS	16
#define ODS_GRAYED	2
#define ODS_SELECTED	1
#define ANIMATE_CLASSW	L"SysAnimate32"
#define HOTKEY_CLASSW	L"msctls_hotkey32"
#define PROGRESS_CLASSW	L"msctls_progress32"
#define STATUSCLASSNAMEW	L"msctls_statusbar32"
#define TOOLBARCLASSNAMEW	L"ToolbarWindow32"
#define TOOLTIPS_CLASSW	L"tooltips_class32"
#define TRACKBAR_CLASSW	L"msctls_trackbar32"
#define UPDOWN_CLASSW	L"msctls_updown32"
#define WC_HEADERW	L"SysHeader32"
#define WC_LISTVIEWW	L"SysListView32"
#define WC_TABCONTROLW	L"SysTabControl32"
#define WC_TREEVIEWW	L"SysTreeView32"
#define CCS_ADJUSTABLE	32
#define CCS_BOTTOM	3
#define CCS_NODIVIDER	64
#define CCS_NOMOVEY	2
#define CCS_NOPARENTALIGN	8
#define CCS_NORESIZE	4
#define CCS_TOP	1
#define ANIMATE_CLASSA	"SysAnimate32"
#define HOTKEY_CLASSA	"msctls_hotkey32"
#define PROGRESS_CLASSA	"msctls_progress32"
#define STATUSCLASSNAMEA	"msctls_statusbar32"
#define TOOLBARCLASSNAMEA	"ToolbarWindow32"
#define TOOLTIPS_CLASSA	"tooltips_class32"
#define TRACKBAR_CLASSA	"msctls_trackbar32"
#define UPDOWN_CLASSA	"msctls_updown32"
#define WC_HEADERA	"SysHeader32"
#define WC_LISTVIEWA	"SysListView32"
#define WC_TABCONTROLA	"SysTabControl32"
#define WC_TREEVIEWA	"SysTreeView32"
#define HDS_BUTTONS	2
#define HDS_HIDDEN	8
#define HDS_HORZ	0
#define HDI_BITMAP	16
#define HDI_FORMAT	4
#define HDI_HEIGHT	1
#define HDI_LPARAM	8
#define HDI_TEXT	2
#define HDI_WIDTH	1
#define HDF_CENTER	2
#define HDF_LEFT	0
#define HDF_RIGHT	1
#define HDF_RTLREADING	4
#define HDF_BITMAP	8192
#define HDF_OWNERDRAW	32768
#define HDF_STRING	16384
#define HDF_JUSTIFYMASK	3
#define HHT_NOWHERE	1
#define HHT_ONDIVIDER	4
#define HHT_ONDIVOPEN	8
#define HHT_ONHEADER	2
#define HHT_TOLEFT	2048
#define HHT_TORIGHT	1024
#define HINST_COMMCTRL	(-1)
#define IDB_STD_LARGE_COLOR	1
#define IDB_STD_SMALL_COLOR	0
#define IDB_VIEW_LARGE_COLOR	5
#define IDB_VIEW_SMALL_COLOR	4
#define STD_COPY	1
#define STD_CUT	0
#define STD_DELETE	5
#define STD_FILENEW	6
#define STD_FILEOPEN	7
#define STD_FILESAVE	8
#define STD_FIND	12
#define STD_HELP	11
#define STD_PASTE	2
#define STD_PRINT	14
#define STD_PRINTPRE	9
#define STD_PROPERTIES	10
#define STD_REDOW	4
#define STD_REPLACE	13
#define STD_UNDO	3
#define VIEW_LARGEICONS	0
#define VIEW_SMALLICONS	1
#define VIEW_LIST	2
#define VIEW_DETAILS	3
#define VIEW_SORTNAME	4
#define VIEW_SORTSIZE	5
#define VIEW_SORTDATE	6
#define VIEW_SORTTYPE	7
#define TBSTYLE_ALTDRAG	1024
#define TBSTYLE_TOOLTIPS	256
#define TBSTYLE_WRAPABLE	512
#define TBSTYLE_BUTTON	0
#define TBSTYLE_CHECK	2
#define TBSTYLE_CHECKGROUP	6
#define TBSTYLE_GROUP	4
#define TBSTYLE_SEP	1
#define TBSTATE_CHECKED	1
#define TBSTATE_ENABLED	4
#define TBSTATE_HIDDEN	8
#define TBSTATE_INDETERMINATE	16
#define TBSTATE_PRESSED	2
#define TBSTATE_WRAP	32
#define TTS_ALWAYSTIP	1
#define TTS_NOPREFIX	2
#define TTF_IDISHWND	1
#define TTF_CENTERTIP	2
#define TTF_RTLREADING	4
#define TTF_SUBCLASS	16
#define TTDT_AUTOMATIC	0
#define TTDT_AUTOPOP	2
#define TTDT_INITIAL	3
#define TTDT_RESHOW	1
#define SBARS_SIZEGRIP	256
#define SBARS_SIZEGRIP	256
#define DL_MOVECURSOR	3
#define DL_COPYCURSOR	2
#define DL_STOPCURSOR	1
#define UDS_ALIGNLEFT	8
#define UDS_ALIGNRIGHT	4
#define UDS_ARROWKEYS	32
#define UDS_AUTOBUDDY	16
#define UDS_HORZ	64
#define UDS_NOTHOUSANDS	128
#define UDS_SETBUDDYINT	2
#define UDS_WRAP	1
#define UD_MAXVAL	32767
#define UD_MINVAL	(-32767)
#define HOTKEYF_ALT	4
#define HOTKEYF_CONTROL	2
#define HOTKEYF_EXT	8
#define HOTKEYF_SHIFT	1
#define HKCOMB_A	8
#define HKCOMB_C	4
#define HKCOMB_CA	64
#define HKCOMB_NONE	1
#define HKCOMB_S	2
#define HKCOMB_SA	32
#define HKCOMB_SC	16
#define HKCOMB_SCA	128
#define TBS_HORZ	0
#define TBS_VERT	2
#define TBS_AUTOTICKS	1
#define TBS_NOTICKS	16
#define TBS_TOP	4
#define TBS_BOTTOM	0
#define TBS_LEFT	4
#define TBS_RIGHT	0
#define TBS_BOTH	8
#define TBS_ENABLESELRANGE	32
#define TBS_FIXEDLENGTH	64
#define TBS_NOTHUMB	128
#define TB_BOTTOM	7
#define TB_ENDTRACK	8
#define TB_LINEDOWN	1
#define TB_LINEUP	0
#define TB_PAGEDOWN	3
#define TB_PAGEUP	2
#define TB_THUMBPOSITION	4
#define TB_THUMBTRACK	5
#define TB_TOP	6
#define LVS_ALIGNLEFT	2048
#define LVS_ALIGNTOP	0
#define LVS_AUTOARRANGE	256
#define LVS_EDITLABELS	512
#define LVS_ICON	0
#define LVS_LIST	3
#define LVS_NOCOLUMNHEADER	16384
#define LVS_NOLABELWRAP	128
#define LVS_NOSCROLL	8192
#define LVS_NOSORTHEADER	32768
#define LVS_OWNERDRAWFIXED	1024
#define LVS_REPORT	1
#define LVS_SHAREIMAGELISTS	64
#define LVS_SHOWSELALWAYS	8
#define LVS_SINGLESEL	4
#define LVS_SMALLICON	2
#define LVS_SORTASCENDING	16
#define LVS_SORTDESCENDING	32
#define LVS_TYPESTYLEMASK	64512
#define LVS_TYPEMASK	3
#define LVS_ALIGNMASK	0xc00
#define LVSIL_NORMAL	0
#define LVSIL_SMALL	1
#define LVSIL_STATE	2
#define LVIS_CUT	4
#define LVIS_DROPHILITED	8
#define LVIS_FOCUSED	1
#define LVIS_SELECTED	2
#define LVIS_OVERLAYMASK	3840
#define LVIS_STATEIMAGEMASK	61440
#define LPSTR_TEXTCALLBACKW	(-1)
#define LPSTR_TEXTCALLBACKA	(-1)
#define LVIF_TEXT	1
#define LVIF_IMAGE	2
#define LVIF_PARAM	4
#define LVIF_STATE	8
#define LVIF_DI_SETITEM	4096
#define LVNI_ABOVE	256
#define LVNI_ALL	0
#define LVNI_BELOW	512
#define LVNI_TOLEFT	1024
#define LVNI_TORIGHT	2048
#define LVNI_CUT	4
#define LVNI_DROPHILITED	8
#define LVNI_FOCUSED	1
#define LVNI_SELECTED	2
#define LVFI_PARAM	1
#define LVFI_PARTIAL	8
#define LVFI_STRING	2
#define LVFI_WRAP	32
#define LVFI_NEARESTXY	64
#define LVHT_ABOVE	8
#define LVHT_BELOW	16
#define LVHT_NOWHERE	1
#define LVHT_ONITEMICON	2
#define LVHT_ONITEMLABEL	4
#define LVHT_ONITEMSTATEICON	8
#define LVHT_TOLEFT	64
#define LVHT_TORIGHT	32
#define LVCF_FMT	1
#define LVCF_SUBITEM	8
#define LVCF_TEXT	4
#define LVCF_WIDTH	2
#define LVCFMT_CENTER	2
#define LVCFMT_LEFT	0
#define LVCFMT_RIGHT	1
#define LVIR_BOUNDS	0
#define LVIR_ICON	1
#define LVIR_LABEL	2
#define LVIR_SELECTBOUNDS	3
#define LVA_ALIGNLEFT	1
#define LVA_ALIGNTOP	2
#define LVA_DEFAULT	0
#define LVA_SNAPTOGRID	5
#define LVSCW_AUTOSIZE	(-1)
#define LVSCW_AUTOSIZE_USEHEADER	(-2)
#define TVS_DISABLEDRAGDROP	16
#define TVS_EDITLABELS	8
#define TVS_HASBUTTONS	1
#define TVS_HASLINES	2
#define TVS_LINESATROOT	4
#define TVS_SHOWSELALWAYS	32
#define TVIS_BOLD	16
#define TVIS_CUT	4
#define TVIS_DROPHILITED	8
#define TVIS_EXPANDED	32
#define TVIS_EXPANDEDONCE	64
#define TVIS_FOCUSED	1
#define TVIS_OVERLAYMASK	3840
#define TVIS_SELECTED	2
#define TVIS_STATEIMAGEMASK	61440
#define TVIS_USERMASK	61440
#define TVIF_CHILDREN	64
#define TVIF_HANDLE	16
#define TVIF_IMAGE	2
#define TVIF_PARAM	4
#define TVIF_SELECTEDIMAGE	32
#define TVIF_STATE	8
#define TVIF_TEXT	1
#define I_CHILDRENCALLBACK	(-1)
#define I_IMAGECALLBACK	(-1)
#define TVI_ROOT	((HTREEITEM)(-65536))
#define TVI_FIRST	((HTREEITEM)(-65535))
#define TVI_LAST	((HTREEITEM)(-65534))
#define TVI_SORT	((HTREEITEM)(-65533))
#define TVHT_ABOVE	256
#define TVHT_BELOW	512
#define TVHT_NOWHERE	1
#define TVHT_ONITEM	70
#define TVHT_ONITEMBUTTON	16
#define TVHT_ONITEMICON	2
#define TVHT_ONITEMINDENT	8
#define TVHT_ONITEMLABEL	4
#define TVHT_ONITEMRIGHT	32
#define TVHT_ONITEMSTATEICON	64
#define TVHT_TOLEFT	2048
#define TVHT_TORIGHT	1024
#define TVE_COLLAPSE	1
#define TVE_COLLAPSERESET	32768
#define TVE_EXPAND	2
#define TVE_TOGGLE	3
#define TVSIL_NORMAL	0
#define TVSIL_STATE	2
#define TVGN_CARET	9
#define TVGN_CHILD	4
#define TVGN_DROPHILITE	8
#define TVGN_FIRSTVISIBLE	5
#define TVGN_NEXT	1
#define TVGN_NEXTVISIBLE	6
#define TVGN_PARENT	3
#define TVGN_PREVIOUS	2
#define TVGN_PREVIOUSVISIBLE	7
#define TVGN_ROOT	0
#define TVC_BYKEYBOARD	2
#define TVC_BYMOUSE	1
#define TVC_UNKNOWN	0
#define TCS_BUTTONS	256
#define TCS_FIXEDWIDTH	1024
#define TCS_FOCUSNEVER	32768
#define TCS_FOCUSONBUTTONDOWN	4096
#define TCS_FORCEICONLEFT	16
#define TCS_FORCELABELLEFT	32
#define TCS_MULTILINE	512
#define TCS_OWNERDRAWFIXED	8192
#define TCS_RAGGEDRIGHT	2048
#define TCS_RIGHTJUSTIFY	0
#define TCS_SINGLELINE	0
#define TCS_TABS	0
#define TCS_TOOLTIPS	16384
#define TCIF_TEXT	1
#define TCIF_IMAGE	2
#define TCIF_PARAM	8
#define TCIF_RTLREADING	4
#define TCHT_NOWHERE	1
#define TCHT_ONITEM	6
#define TCHT_ONITEMICON	2
#define TCHT_ONITEMLABEL	4
#define ACS_AUTOPLAY	4
#define ACS_CENTER	1
#define ACS_TRANSPARENT	2
#define DIALOPTION_BILLING	64
#define DIALOPTION_QUIET	128
#define DIALOPTION_DIALTONE	256
#define MDMVOLFLAG_LOW	1
#define MDMVOLFLAG_MEDIUM	2
#define MDMVOLFLAG_HIGH	4
#define MDMVOL_LOW	0
#define MDMVOL_MEDIUM	1
#define MDMVOL_HIGH	2
#define MDMSPKRFLAG_OFF	1
#define MDMSPKRFLAG_DIAL	2
#define MDMSPKRFLAG_ON	4
#define MDMSPKRFLAG_CALLSETUP	8
#define MDMSPKR_OFF	0
#define MDMSPKR_DIAL	1
#define MDMSPKR_ON	2
#define MDMSPKR_CALLSETUP	3
#define MDM_BLIND_DIAL	512
#define MDM_CCITT_OVERRIDE	64
#define MDM_CELLULAR	8
#define MDM_COMPRESSION	1
#define MDM_ERROR_CONTROL	2
#define MDM_FLOWCONTROL_HARD	16
#define MDM_FLOWCONTROL_SOFT	32
#define MDM_FORCED_EC	4
#define MDM_SPEED_ADJUST	128
#define MDM_TONE_DIAL	256
#define MDM_V23_OVERRIDE	1024
#define LANG_BULGARIAN	2
#define LANG_CHINESE	4
#define LANG_CROATIAN	26
#define LANG_CZECH	5
#define LANG_DANISH	6
#define LANG_DUTCH	19
#define LANG_ENGLISH	9
#define LANG_FINNISH	11
#define LANG_FRENCH	12
#define LANG_GERMAN	7
#define LANG_GREEK	8
#define LANG_HUNGARIAN	14
#define LANG_ICELANDIC	15
#define LANG_ITALIAN	16
#define LANG_JAPANESE	17
#define LANG_KOREAN	18
#define LANG_NEUTRAL	0
#define LANG_NORWEGIAN	20
#define LANG_POLISH	21
#define LANG_PORTUGUESE	22
#define LANG_ROMANIAN	24
#define LANG_RUSSIAN	25
#define LANG_SLOVAK	27
#define LANG_SLOVENIAN	36
#define LANG_SPANISH	10
#define LANG_SWEDISH	29
#define LANG_TURKISH	31
#define SUBLANG_CHINESE_SIMPLIFIED	2
#define SUBLANG_CHINESE_TRADITIONAL	1
#define SUBLANG_CHINESE_HONGKONG	3
#define SUBLANG_CHINESE_SINGAPORE	4
#define SUBLANG_DEFAULT	1
#define SUBLANG_DUTCH	1
#define SUBLANG_DUTCH_BELGIAN	2
#define SUBLANG_ENGLISH_AUS	3
#define SUBLANG_ENGLISH_CAN	4
#define SUBLANG_ENGLISH_EIRE	6
#define SUBLANG_ENGLISH_NZ	5
#define SUBLANG_ENGLISH_UK	2
#define SUBLANG_ENGLISH_US	1
#define SUBLANG_FRENCH	1
#define SUBLANG_FRENCH_BELGIAN	2
#define SUBLANG_FRENCH_CANADIAN	3
#define SUBLANG_FRENCH_SWISS	4
#define SUBLANG_GERMAN	1
#define SUBLANG_GERMAN_AUSTRIAN	3
#define SUBLANG_GERMAN_SWISS	2
#define SUBLANG_ITALIAN	1
#define SUBLANG_ITALIAN_SWISS	2
#define SUBLANG_NEUTRAL	0
#define SUBLANG_NORWEGIAN_BOKMAL	1
#define SUBLANG_NORWEGIAN_NYNORSK	2
#define SUBLANG_PORTUGUESE	2
#define SUBLANG_PORTUGUESE_BRAZILIAN	1
#define SUBLANG_SPANISH	1
#define SUBLANG_SPANISH_MEXICAN	2
#define SUBLANG_SPANISH_MODERN	3
#define SUBLANG_SYS_DEFAULT	2
#define NLS_VALID_LOCALE_MASK	1048575
#define SORT_DEFAULT	0
#define SORT_JAPANESE_XJIS	0
#define SORT_JAPANESE_UNICODE	1
#define SORT_CHINESE_BIG5	0
#define SORT_CHINESE_UNICODE	1
#define SORT_KOREAN_KSC	0
#define SORT_KOREAN_UNICODE	1
#define PROCESSOR_INTEL_386	386
#define PROCESSOR_INTEL_486	486
#define PROCESSOR_INTEL_PENTIUM	586
#define PROCESSOR_MIPS_R4000	4000
#define PROCESSOR_ALPHA_21064	21064
#define COMPRESSION_FORMAT_NONE	0
#define COMPRESSION_FORMAT_DEFAULT	1
#define COMPRESSION_FORMAT_LZNT1	2
#define TAPE_DRIVE_COMPRESSION	131072
#define TAPE_DRIVE_ECC	65536
#define TAPE_DRIVE_ERASE_BOP_ONLY	64
#define TAPE_DRIVE_ERASE_LONG	32
#define TAPE_DRIVE_ERASE_IMMEDIATE	128
#define TAPE_DRIVE_ERASE_SHORT	16
#define TAPE_DRIVE_FIXED	1
#define TAPE_DRIVE_FIXED_BLOCK	1024
#define TAPE_DRIVE_INITIATOR	4
#define TAPE_DRIVE_PADDING	262144
#define TAPE_DRIVE_GET_ABSOLUTE_BLK	1048576
#define TAPE_DRIVE_GET_LOGICAL_BLK	2097152
#define TAPE_DRIVE_REPORT_SMKS	524288
#define TAPE_DRIVE_SELECT	2
#define TAPE_DRIVE_SET_EOT_WZ_SIZE	4194304
#define TAPE_DRIVE_TAPE_CAPACITY	256
#define TAPE_DRIVE_TAPE_REMAINING	512
#define TAPE_DRIVE_VARIABLE_BLOCK	2048
#define TAPE_DRIVE_WRITE_PROTECT	4096
#define TAPE_DRIVE_ABS_BLK_IMMED	(-2147475456)
#define TAPE_DRIVE_ABSOLUTE_BLK	(-2147479552)
#define TAPE_DRIVE_END_OF_DATA	(-2147418112)
#define TAPE_DRIVE_FILEMARKS	(-2147221504)
#define TAPE_DRIVE_LOAD_UNLOAD	(-2147483647)
#define TAPE_DRIVE_LOAD_UNLD_IMMED	(-2147483616)
#define TAPE_DRIVE_LOCK_UNLOCK	(-2147483644)
#define TAPE_DRIVE_LOCK_UNLK_IMMED	(-2147483520)
#define TAPE_DRIVE_LOG_BLK_IMMED	(-2147450880)
#define TAPE_DRIVE_LOGICAL_BLK	(-2147467264)
#define TAPE_DRIVE_RELATIVE_BLKS	(-2147352576)
#define TAPE_DRIVE_REVERSE_POSITION	(-2143289344)
#define TAPE_DRIVE_REWIND_IMMEDIATE	(-2147483640)
#define TAPE_DRIVE_SEQUENTIAL_FMKS	(-2146959360)
#define TAPE_DRIVE_SEQUENTIAL_SMKS	(-2145386496)
#define TAPE_DRIVE_SET_BLOCK_SIZE	(-2147483632)
#define TAPE_DRIVE_SET_COMPRESSION	(-2147483136)
#define TAPE_DRIVE_SET_ECC	(-2147483392)
#define TAPE_DRIVE_SET_PADDING	(-2147482624)
#define TAPE_DRIVE_SET_REPORT_SMKS	(-2147481600)
#define TAPE_DRIVE_SETMARKS	(-2146435072)
#define TAPE_DRIVE_SPACE_IMMEDIATE	(-2139095040)
#define TAPE_DRIVE_TENSION	(-2147483646)
#define TAPE_DRIVE_TENSION_IMMED	(-2147483584)
#define TAPE_DRIVE_WRITE_FILEMARKS	(-2113929216)
#define TAPE_DRIVE_WRITE_LONG_FMKS	(-2013265920)
#define TAPE_DRIVE_WRITE_MARK_IMMED	(-1879048192)
#define TAPE_DRIVE_WRITE_SETMARKS	(-2130706432)
#define TAPE_DRIVE_WRITE_SHORT_FMKS	(-2080374784)
#define STANDARD_RIGHTS_REQUIRED	0xf0000
#define STANDARD_RIGHTS_WRITE	0x20000
#define STANDARD_RIGHTS_READ	0x20000
#define STANDARD_RIGHTS_EXECUTE	0x20000
#define STANDARD_RIGHTS_ALL	0x1f0000
#define SPECIFIC_RIGHTS_ALL	0xffff
#define MAXIMUM_ALLOWED	0x2000000
#define GENERIC_ALL	0x10000000
#define SECURITY_NULL_RID	0
#define SECURITY_WORLD_RID	0
#define SECURITY_LOCAL_RID	0
#define SECURITY_CREATOR_OWNER_RID	0
#define SECURITY_CREATOR_GROUP_RID	1
#define SECURITY_DIALUP_RID	1
#define SECURITY_NETWORK_RID	2
#define SECURITY_BATCH_RID	3
#define SECURITY_INTERACTIVE_RID	4
#define SECURITY_LOGON_IDS_RID	5
#define SECURITY_LOGON_IDS_RID_COUNT	3
#define SECURITY_SERVICE_RID	6
#define SECURITY_LOCAL_SYSTEM_RID	0x12
#define SECURITY_BUILTIN_DOMAIN_RID	32
#define DOMAIN_USER_RID_ADMIN	0x1f4
#define DOMAIN_USER_RID_GUEST	0x1f5
#define DOMAIN_GROUP_RID_ADMINS	512
#define DOMAIN_GROUP_RID_USERS	0x201
#define DOMAIN_ALIAS_RID_ADMINS	0x220
#define DOMAIN_ALIAS_RID_USERS	0x221
#define DOMAIN_ALIAS_RID_GUESTS	0x222
#define DOMAIN_ALIAS_RID_POWER_USERS	0x223
#define DOMAIN_ALIAS_RID_ACCOUNT_OPS	0x224
#define DOMAIN_ALIAS_RID_SYSTEM_OPS	0x225
#define DOMAIN_ALIAS_RID_PRINT_OPS	0x226
#define DOMAIN_ALIAS_RID_BACKUP_OPS	0x227
#define DOMAIN_ALIAS_RID_REPLICATOR	0x228
#define SE_GROUP_MANDATORY	1
#define SE_GROUP_ENABLED_BY_DEFAULT	2
#define SE_GROUP_ENABLED	4
#define SE_GROUP_OWNER	8
#define SE_GROUP_LOGON_ID	0xc0000000
#define SECURITY_DESCRIPTOR_REVISION	1
#define SECURITY_DESCRIPTOR_MIN_LENGTH	20
#define SE_OWNER_DEFAULTED	1
#define SE_GROUP_DEFAULTED	2
#define SE_DACL_PRESENT	4
#define SE_DACL_DEFAULTED	8
#define SE_SACL_PRESENT	16
#define SE_SACL_DEFAULTED	32
#define SE_SELF_RELATIVE	32768
#define SE_PRIVILEGE_ENABLED_BY_DEFAULT	1
#define SE_PRIVILEGE_ENABLED	2
#define SE_PRIVILEGE_USED_FOR_ACCESS	0x80000000
#define PRIVILEGE_SET_ALL_NECESSARY	1
#define OFN_ALLOWMULTISELECT	512
#define OFN_CREATEPROMPT	0x2000
#define OFN_ENABLEHOOK	32
#define OFN_ENABLETEMPLATE	64
#define OFN_ENABLETEMPLATEHANDLE	128
#define OFN_EXPLORER	0x80000
#define OFN_EXTENSIONDIFFERENT	0x400
#define OFN_FILEMUSTEXIST	0x1000
#define OFN_HIDEREADONLY	4
#define OFN_LONGNAMES	0x200000
#define OFN_NOCHANGEDIR	8
#define OFN_NODEREFERENCELINKS	0x100000
#define OFN_NOLONGNAMES	0x40000
#define OFN_NONETWORKBUTTON	0x20000
#define OFN_NOREADONLYRETURN	0x8000
#define OFN_NOTESTFILECREATE	0x10000
#define OFN_NOVALIDATE	256
#define OFN_OVERWRITEPROMPT	2
#define OFN_PATHMUSTEXIST	0x800
#define OFN_READONLY	1
#define OFN_SHAREAWARE	0x4000
#define OFN_SHOWHELP	16
#define OFN_SHAREFALLTHROUGH	2
#define OFN_SHARENOWARN	1
#define OFN_SHAREWARN	0
#define CDN_INITDONE	0xfffffda7
#define CDN_SELCHANGE	0xfffffda6
#define CDN_FOLDERCHANGE	0xfffffda5
#define CDN_SHAREVIOLATION	0xfffffda4
#define CDN_HELP	0xfffffda3
#define CDN_FILEOK	0xfffffda2
#define CDN_TYPECHANGE	0xfffffda1
#define CDM_GETFILEPATH	0x465
#define CDM_GETFOLDERIDLIST	0x467
#define CDM_GETFOLDERPATH	0x466
#define CDM_GETSPEC	0x464
#define CDM_HIDECONTROL	0x469
#define CDM_SETCONTROLTEXT	0x468
#define CDM_SETDEFEXT	0x46a
#define CC_ENABLEHOOK	16
#define CC_ENABLETEMPLATE	32
#define CC_ENABLETEMPLATEHANDLE	64
#define CC_FULLOPEN	2
#define CC_PREVENTFULLOPEN	4
#define CC_RGBINIT	1
#define CC_SHOWHELP	8
#define CC_SOLIDCOLOR	128
#define FR_DIALOGTERM	64
#define FR_DOWN	1
#define FR_ENABLEHOOK	256
#define FR_ENABLETEMPLATE	512
#define FR_ENABLETEMPLATEHANDLE	0x2000
#define FR_FINDNEXT	8
#define FR_HIDEUPDOWN	0x4000
#define FR_HIDEMATCHCASE	0x8000
#define FR_HIDEWHOLEWORD	0x10000
#define FR_MATCHCASE	4
#define FR_NOMATCHCASE	0x800
#define FR_NOUPDOWN	0x400
#define FR_NOWHOLEWORD	4096
#define FR_REPLACE	16
#define FR_REPLACEALL	32
#define FR_SHOWHELP	128
#define FR_WHOLEWORD	2
#define CF_APPLY	512
#define CF_ANSIONLY	0x400
#define CF_BOTH	3
#define CF_TTONLY	0x40000
#define CF_EFFECTS	256
#define CF_ENABLEHOOK	8
#define CF_ENABLETEMPLATE	16
#define CF_ENABLETEMPLATEHANDLE	32
#define CF_FIXEDPITCHONLY	0x4000
#define CF_FORCEFONTEXIST	0x10000
#define CF_INITTOLOGFONTSTRUCT	64
#define CF_LIMITSIZE	0x2000
#define CF_NOOEMFONTS	0x800
#define CF_NOFACESEL	0x80000
#define CF_NOSCRIPTSEL	0x800000
#define CF_NOSTYLESEL	0x100000
#define CF_NOSIZESEL	0x200000
#define CF_NOSIMULATIONS	4096
#define CF_NOVECTORFONTS	0x800
#define CF_NOVERTFONTS	0x1000000
#define CF_PRINTERFONTS	2
#define CF_SCALABLEONLY	0x20000
#define CF_SCREENFONTS	1
#define CF_SCRIPTSONLY	0x400
#define CF_SELECTSCRIPT	0x400000
#define CF_SHOWHELP	4
#define CF_USESTYLE	128
#define CF_WYSIWYG	0x8000
#define BOLD_FONTTYPE	256
#define ITALIC_FONTTYPE	512
#define PRINTER_FONTTYPE	0x4000
#define REGULAR_FONTTYPE	0x400
#define SCREEN_FONTTYPE	0x2000
#define SIMULATED_FONTTYPE	0x8000
#define COLOROKSTRINGW	L"commdlg_ColorOK"
#define FILEOKSTRINGW	L"commdlg_FileNameOK"
#define FINDMSGSTRINGW	L"commdlg_FindReplace"
#define HELPMSGSTRINGW	L"commdlg_help"
#define LBSELCHSTRINGW	L"commdlg_LBSelChangedNotify"
#define SETRGBSTRINGW	L"commdlg_SetRGBColor"
#define SHAREVISTRINGW	L"commdlg_ShareViolation"
#define COLOROKSTRINGA	"commdlg_ColorOK"
#define FILEOKSTRINGA	"commdlg_FileNameOK"
#define FINDMSGSTRINGA	"commdlg_FindReplace"
#define HELPMSGSTRINGA	"commdlg_help"
#define LBSELCHSTRINGA	"commdlg_LBSelChangedNotify"
#define SETRGBSTRINGA	"commdlg_SetRGBColor"
#define SHAREVISTRINGA	"commdlg_ShareViolation"
#ifdef UNICODE
#define COLOROKSTRING COLOROKSTRINGW
#define FILEOKSTRING FILEOKSTRINGW
#define FINDMSGSTRING FINDMSGSTRINGW
#define HELPMSGSTRING HELPMSGSTRINGW
#define LBSELCHSTRING LBSELCHSTRINGW
#define SETRGBSTRING SETRGBSTRINGW
#define SHAREVISTRING SHAREVISTRINGW
#else
#define COLOROKSTRING COLOROKSTRINGA
#define FILEOKSTRING FILEOKSTRINGA
#define FINDMSGSTRING FINDMSGSTRINGA
#define HELPMSGSTRING HELPMSGSTRINGA
#define LBSELCHSTRING LBSELCHSTRINGA
#define SETRGBSTRING SETRGBSTRINGA
#define SHAREVISTRING SHAREVISTRINGA
#endif
#define CD_LBSELCHANGE	0
#define CD_LBSELADD	2
#define CD_LBSELSUB	1
#define CD_LBSELNOITEMS	(-1)
#define DN_DEFAULTPRN	1
#define PD_ALLPAGES	0
#define PD_COLLATE	16
#define PD_DISABLEPRINTTOFILE	524288
#define PD_ENABLEPRINTHOOK	4096
#define PD_ENABLEPRINTTEMPLATE	16384
#define PD_ENABLEPRINTTEMPLATEHANDLE	65536
#define PD_ENABLESETUPHOOK	8192
#define PD_ENABLESETUPTEMPLATE	32768
#define PD_ENABLESETUPTEMPLATEHANDLE	131072
#define PD_HIDEPRINTTOFILE	1048576
#define PD_NOPAGENUMS	8
#define PD_NOSELECTION	4
#define PD_NOWARNING	128
#define PD_PAGENUMS	2
#define PD_PRINTSETUP	64
#define PD_PRINTTOFILE	32
#define PD_RETURNDC	256
#define PD_RETURNDEFAULT	1024
#define PD_RETURNIC	512
#define PD_SELECTION	1
#define PD_SHOWHELP	2048
#define PD_USEDEVMODECOPIES	262144
#define PD_USEDEVMODECOPIESANDCOLLATE	262144
#define PSD_DEFAULTMINMARGINS	0
#define PSD_DISABLEMARGINS	16
#define PSD_DISABLEORIENTATION	256
#define PSD_DISABLEPAGEPAINTING	524288
#define PSD_DISABLEPAPER	512
#define PSD_DISABLEPRINTER	32
#define PSD_ENABLEPAGEPAINTHOOK	262144
#define PSD_ENABLEPAGESETUPHOOK	8192
#define PSD_ENABLEPAGESETUPTEMPLATE	32768
#define PSD_ENABLEPAGESETUPTEMPLATEHANDLE	131072
#define PSD_INHUNDREDTHSOFMILLIMETERS	8
#define PSD_INTHOUSANDTHSOFINCHES	4
#define PSD_INWININIINTLMEASURE	0
#define PSD_MARGINS	2
#define PSD_MINMARGINS	1
#define PSD_NOWARNING	128
#define PSD_RETURNDEFAULT	1024
#define PSD_SHOWHELP	2048
#define SW_OTHERUNZOOM	4
#define SW_OTHERZOOM	2
#define SW_PARENTCLOSING	1
#define SW_PARENTOPENING	3
#define VK_LBUTTON	1
#define VK_RBUTTON	2
#define VK_CANCEL	3
#define VK_MBUTTON	4
#define VK_BACK	8
#define VK_TAB	9
#define VK_CLEAR	12
#define VK_RETURN	13
#define VK_SHIFT	16
#define VK_CONTROL	17
#define VK_MENU	18
#define VK_PAUSE	19
#define VK_PRINT	42
#define VK_CAPITAL	20
#define VK_ESCAPE	27
#define VK_SPACE	32
#define VK_PRIOR	33
#define VK_NEXT	34
#define VK_END	35
#define VK_HOME	36
#define VK_LEFT	37
#define VK_UP	38
#define VK_RIGHT	39
#define VK_DOWN	40
#define VK_SELECT	41
#define VK_EXECUTE	43
#define VK_SNAPSHOT	44
#define VK_INSERT	45
#define VK_DELETE	46
#define VK_HELP	47
#define VK_0	48
#define VK_1	49
#define VK_2	50
#define VK_3	51
#define VK_4	52
#define VK_5	53
#define VK_6	54
#define VK_7	55
#define VK_8	56
#define VK_9	57
#define VK_A	65
#define VK_B	66
#define VK_C	67
#define VK_D	68
#define VK_E	69
#define VK_F	70
#define VK_G	71
#define VK_H	72
#define VK_I	73
#define VK_J	74
#define VK_K	75
#define VK_L	76
#define VK_M	77
#define VK_N	78
#define VK_O	79
#define VK_P	80
#define VK_Q	81
#define VK_R	82
#define VK_S	83
#define VK_T	84
#define VK_U	85
#define VK_V	86
#define VK_W	87
#define VK_X	88
#define VK_Y	89
#define VK_Z	90
#define VK_NUMPAD0	96
#define VK_NUMPAD1	97
#define VK_NUMPAD2	98
#define VK_NUMPAD3	99
#define VK_NUMPAD4	100
#define VK_NUMPAD5	101
#define VK_NUMPAD6	102
#define VK_NUMPAD7	103
#define VK_NUMPAD8	104
#define VK_NUMPAD9	105
#define VK_MULTIPLY	106
#define VK_ADD	107
#define VK_SEPARATOR	108
#define VK_SUBTRACT	109
#define VK_DECIMAL	110
#define VK_DIVIDE	111
#define VK_F1	112
#define VK_F2	113
#define VK_F3	114
#define VK_F4	115
#define VK_F5	116
#define VK_F6	117
#define VK_F7	118
#define VK_F8	119
#define VK_F9	120
#define VK_F10	121
#define VK_F11	122
#define VK_F12	123
#define VK_F13	124
#define VK_F14	125
#define VK_F15	126
#define VK_F16	127
#define VK_F17	128
#define VK_F18	129
#define VK_F19	130
#define VK_F20	131
#define VK_F21	132
#define VK_F22	133
#define VK_F23	134
#define VK_F24	135
#define VK_NUMLOCK	144
#define VK_SCROLL	145
#define VK_LSHIFT	160
#define VK_LCONTROL	162
#define VK_LMENU	164
#define VK_RSHIFT	161
#define VK_RCONTROL	163
#define VK_RMENU	165
#define VK_PROCESSKEY	229
#define KF_ALTDOWN	8192
#define KF_DLGMODE	2048
#define KF_EXTENDED	256
#define KF_MENUMODE	4096
#define KF_REPEAT	16384
#define KF_UP	32768
#define KL_NAMELENGTH	9
#define WA_ACTIVE	1
#define WA_CLICKACTIVE	2
#define WA_INACTIVE	0
#define PWR_CRITICALRESUME	3
#define PWR_SUSPENDREQUEST	1
#define PWR_SUSPENDRESUME	2
#define PWR_FAIL	(-1)
#define PWR_OK	1
#define NF_QUERY	3
#define NF_REQUERY	4
#define NFR_ANSI	1
#define NFR_UNICODE	2
#define WMSZ_BOTTOM	6
#define WMSZ_BOTTOMLEFT	7
#define WMSZ_BOTTOMRIGHT	8
#define WMSZ_LEFT	1
#define WMSZ_RIGHT	2
#define WMSZ_TOP	3
#define WMSZ_TOPLEFT	4
#define WMSZ_TOPRIGHT	5
#define MA_ACTIVATE	1
#define MA_ACTIVATEANDEAT	2
#define MA_NOACTIVATE	3
#define MA_NOACTIVATEANDEAT	4
#define SIZE_MAXHIDE	4
#define SIZE_MAXIMIZED	2
#define SIZEFULLSCREEN	2
#define SIZE_MAXSHOW	3
#define SIZE_MINIMIZED	1
#define SIZEICONIC	1
#define SIZE_RESTORED	0
#define SIZENORMAL	0
#define WVR_ALIGNTOP	16
#define WVR_ALIGNLEFT	32
#define WVR_ALIGNBOTTOM	64
#define WVR_ALIGNRIGHT	128
#define WVR_HREDRAW	256
#define WVR_VREDRAW	512
#define WVR_REDRAW	768
#define WVR_VALIDRECTS	1024
#define HTBOTTOM	15
#define HTBOTTOMLEFT	16
#define HTBOTTOMRIGHT	17
#define HTCAPTION	2
#define HTCLIENT	1
#define HTERROR	(-2)
#define HTGROWBOX	4
#define HTHSCROLL	6
#define HTLEFT	10
#define HTMENU	5
#define HTNOWHERE	0
#define HTREDUCE	8
#define HTRIGHT	11
#define HTSIZE	4
#define HTSYSMENU	3
#define HTTOP	12
#define HTTOPLEFT	13
#define HTTOPRIGHT	14
#define HTTRANSPARENT	(-1)
#define HTVSCROLL	7
#define HTZOOM	9
#define HTOBJECT	19
#define HTCLOSE	20
#define HTHELP	21
#define HTBORDER	18
#define HTMINBUTTON 8
#define HTMAXBUTTON 9
#define MK_CONTROL	8
#define MK_LBUTTON	1
#define MK_MBUTTON	16
#define MK_RBUTTON	2
#define MK_SHIFT	4
#define CS_BYTEALIGNCLIENT	4096
#define CS_BYTEALIGNWINDOW	8192
#define CS_CLASSDC	64
#define CS_DBLCLKS	8
#define CS_GLOBALCLASS	16384
#define CS_HREDRAW	2
#define CS_NOCLOSE	512
#define CS_OWNDC	32
#define CS_PARENTDC	128
#define CS_SAVEBITS	2048
#define CS_VREDRAW	1
#define DLGWINDOWEXTRA	30
#define FALT	16
#define FCONTROL	8
#define FNOINVERT	2
#define FSHIFT	4
#define FVIRTKEY	1
#define MIIM_CHECKMARKS	8
#define MIIM_DATA	32
#define MIIM_ID	2
#define MIIM_STATE	1
#define MIIM_SUBMENU	4
#define MIIM_TYPE	16
#define MFT_BITMAP	4
#define MFT_MENUBARBREAK	32
#define MFT_MENUBREAK	64
#define MFT_OWNERDRAW	256
#define MFT_RADIOCHECK	512
#define MFT_RIGHTJUSTIFY	0x4000
#define MFT_SEPARATOR	0x800
#define MFT_STRING	0
#define MFS_CHECKED	8
#define MFS_DEFAULT	4096
#define MFS_DISABLED	3
#define MFS_ENABLED	0
#define MFS_GRAYED	3
#define MFS_HILITE	128
#define MFS_UNCHECKED	0
#define MFS_UNHILITE	0
#define SERKF_AVAILABLE	2
#define SERKF_INDICATOR	4
#define SERKF_SERIALKEYSON	1
#define FKF_AVAILABLE	2
#define FKF_CLICKON	64
#define FKF_FILTERKEYSON	1
#define FKF_HOTKEYACTIVE	4
#define FKF_HOTKEYSOUND	16
#define FKF_CONFIRMHOTKEY	8
#define FKF_INDICATOR	32
#define HELPINFO_MENUITEM	2
#define HELPINFO_WINDOW	1
#define PRF_CHECKVISIBLE	1
#define PRF_CHILDREN	16
#define PRF_CLIENT	4
#define PRF_ERASEBKGND	8
#define PRF_NONCLIENT	2
#define PRF_OWNED	32
#define HWND_DESKTOP	(HWND)0
#define SC_CLOSE	61536
#define SC_CONTEXTHELP	61824
#define SC_DEFAULT	61792
#define SC_HOTKEY	61776
#define SC_HSCROLL	61568
#define SC_KEYMENU	61696
#define SC_MAXIMIZE	61488
#define SC_ZOOM	61488
#define SC_MINIMIZE	61472
#define SC_ICON	61472
#define SC_MONITORPOWER	61808
#define SC_MOUSEMENU	61584
#define SC_MOVE	61456
#define SC_NEXTWINDOW	61504
#define SC_PREVWINDOW	61520
#define SC_RESTORE	61728
#define SC_SCREENSAVE	61760
#define SC_SIZE	61440
#define SC_TASKLIST	61744
#define SC_VSCROLL	61552
#define SC_ARRANGE	61712
#define DC_HASDEFID	21323
#define DLGC_BUTTON	8192
#define DLGC_DEFPUSHBUTTON	16
#define DLGC_HASSETSEL	8
#define DLGC_RADIOBUTTON	64
#define DLGC_STATIC	256
#define DLGC_UNDEFPUSHBUTTON	32
#define DLGC_WANTALLKEYS	4
#define DLGC_WANTARROWS	1
#define DLGC_WANTCHARS	128
#define DLGC_WANTMESSAGE	4
#define DLGC_WANTTAB	2
#define EC_LEFTMARGIN	1
#define EC_RIGHTMARGIN	2
#define EC_USEFONTINFO	65535
#define LB_ERR	(-1)
#define LB_ERRSPACE	(-2)
#define CB_ERR	(-1)
#define CB_ERRSPACE	(-2)
#define IMC_GETCANDIDATEPOS	7
#define IMC_GETCOMPOSITIONFONT	9
#define IMC_GETCOMPOSITIONWINDOW	11
#define IMC_GETSTATUSWINDOWPOS	15
#define IMC_CLOSESTATUSWINDOW	33
#define IMC_OPENSTATUSWINDOW	34
#define IMC_SETCANDIDATEPOS	8
#define IMC_SETCOMPOSITIONFONT	10
#define IMC_SETCOMPOSITIONWINDOW	12
#define IMC_SETSTATUSWINDOWPOS	16
#define IMN_CHANGECANDIDATE	3
#define IMN_CLOSECANDIDATE	4
#define IMN_CLOSESTATUSWINDOW	1
#define IMN_GUIDELINE	13
#define IMN_OPENCANDIDATE	5
#define IMN_OPENSTATUSWINDOW	2
#define IMN_SETCANDIDATEPOS	9
#define IMN_SETCOMPOSITIONFONT	10
#define IMN_SETCOMPOSITIONWINDOW	11
#define IMN_SETCONVERSIONMODE	6
#define IMN_SETOPENSTATUS	8
#define IMN_SETSENTENCEMODE	7
#define IMN_SETSTATUSWINDOWPOS	12
#define IMN_PRIVATE	14
#define SKF_AUDIBLEFEEDBACK	64
#define SKF_AVAILABLE	2
#define SKF_CONFIRMHOTKEY	8
#define SKF_HOTKEYACTIVE	4
#define SKF_HOTKEYSOUND	16
#define SKF_INDICATOR	32
#define SKF_STICKYKEYSON	1
#define SKF_TRISTATE	128
#define SKF_TWOKEYSOFF	256
#define MKF_AVAILABLE	2
#define MKF_CONFIRMHOTKEY	8
#define MKF_HOTKEYACTIVE	4
#define MKF_HOTKEYSOUND	16
#define MKF_INDICATOR	32
#define MKF_MOUSEKEYSON	1
#define MKF_MODIFIERS	64
#define MKF_REPLACENUMBERS	128
#define SSF_AVAILABLE	2
#define SSF_SOUNDSENTRYON	1
#define SSTF_BORDER	2
#define SSTF_CHARS	1
#define SSTF_DISPLAY	3
#define SSTF_NONE	0
#define SSGF_DISPLAY	3
#define SSGF_NONE	0
#define SSWF_CUSTOM	4
#define SSWF_DISPLAY	3
#define SSWF_NONE	0
#define SSWF_TITLE	1
#define SSWF_WINDOW	2
#define ATF_ONOFFFEEDBACK	2
#define ATF_TIMEOUTON	1
#define HCF_AVAILABLE	2
#define HCF_CONFIRMHOTKEY	8
#define HCF_HIGHCONTRASTON	1
#define HCF_HOTKEYACTIVE	4
#define HCF_HOTKEYAVAILABLE	64
#define HCF_HOTKEYSOUND	16
#define HCF_INDICATOR	32
#define TKF_AVAILABLE	2
#define TKF_CONFIRMHOTKEY	8
#define TKF_HOTKEYACTIVE	4
#define TKF_HOTKEYSOUND	16
#define TKF_TOGGLEKEYSON	1
#define PP_DISPLAYERRORS	1
#define RESOURCEDISPLAYTYPE_DOMAIN	1
#define RESOURCEDISPLAYTYPE_FILE	4
#define RESOURCEDISPLAYTYPE_GENERIC	0
#define RESOURCEDISPLAYTYPE_GROUP	5
#define RESOURCEDISPLAYTYPE_SERVER	2
#define RESOURCEDISPLAYTYPE_SHARE	3
#define CAPSLOCK_ON	128
#define ENHANCED_KEY	256
#define LEFT_ALT_PRESSED	2
#define LEFT_CTRL_PRESSED	8
#define NUMLOCK_ON	32
#define RIGHT_ALT_PRESSED	1
#define RIGHT_CTRL_PRESSED	4
#define SCROLLLOCK_ON	64
#define SHIFT_PRESSED	16
#define FROM_LEFT_1ST_BUTTON_PRESSED	1
#define RIGHTMOST_BUTTON_PRESSED	2
#define FROM_LEFT_2ND_BUTTON_PRESSED	4
#define FROM_LEFT_3RD_BUTTON_PRESSED	8
#define FROM_LEFT_4TH_BUTTON_PRESSED	16
#define DOUBLE_CLICK	2
#define MOUSE_MOVED	1
#define KEY_EVENT	1
#define MOUSE_EVENT	2
#define WINDOW_BUFFER_SIZE_EVENT	4
#define MENU_EVENT	8
#define FOCUS_EVENT	16
#define BI_RGB 0
#define BI_RLE8 1
#define BI_RLE4 2
#define BI_BITFIELDS 3
#define HFILE_ERROR ((HFILE)-1)
#define CONTEXT_i386 0x10000
#define CONTEXT_i486 0x10000
#define CONTEXT_CONTROL (CONTEXT_i386 | 1)
#define CONTEXT_INTEGER (CONTEXT_i386 | 2)
#define CONTEXT_SEGMENTS (CONTEXT_i386 | 4)
#define CONTEXT_FLOATING_POINT (CONTEXT_i386 | 8)
#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386|0x10)
#define CONTEXT_FULL (CONTEXT_CONTROL|CONTEXT_INTEGER|CONTEXT_SEGMENTS)
#define MAX_MODULE_NAME32 255
#define TH32CS_SNAPHEAPLIST 1
#define TH32CS_SNAPPROCESS 2
#define TH32CS_SNAPTHREAD 4
#define TH32CS_SNAPMODULE 8
#define TH32CS_SNAPALL (TH32CS_SNAPHEAPLIST|TH32CS_SNAPPROCESS|TH32CS_SNAPTHREAD|TH32CS_SNAPMODULE)
#define TH32CS_INHERIT 0x80000000
#define HF32_DEFAULT 1
#define HF32_SHARED 2
#define LF32_FIXED 1
#define LF32_FREE 2
#define LF32_MOVEABLE 4
#define UnlockResource(r) ((r),0)
#define DEVICE_TYPE DWORD
#define FILE_DEVICE_BEEP 1
#define FILE_DEVICE_CD_ROM 2
#define FILE_DEVICE_CD_ROM_FILE_SYSTEM 3
#define FILE_DEVICE_CONTROLLER 4
#define FILE_DEVICE_DATALINK 5
#define FILE_DEVICE_DFS 6
#define FILE_DEVICE_DISK 7
#define FILE_DEVICE_DISK_FILE_SYSTEM 8
#define FILE_DEVICE_FILE_SYSTEM 9
#define FILE_DEVICE_INPORT_PORT 0xa
#define FILE_DEVICE_KEYBOARD 0xb
#define FILE_DEVICE_MAILSLOT 0xc
#define FILE_DEVICE_MIDI_IN 0xd
#define FILE_DEVICE_MIDI_OUT 0xe
#define FILE_DEVICE_MOUSE 0xf
#define FILE_DEVICE_MULTI_UNC_PROVIDER 16
#define FILE_DEVICE_NAMED_PIPE 0x11
#define FILE_DEVICE_NETWORK 0x12
#define FILE_DEVICE_NETWORK_BROWSER 0x13
#define FILE_DEVICE_NETWORK_FILE_SYSTEM 0x14
#define FILE_DEVICE_NULL 0x15
#define FILE_DEVICE_PARALLEL_PORT 0x16
#define FILE_DEVICE_PHYSICAL_NETCARD 0x17
#define FILE_DEVICE_PRINTER 0x18
#define FILE_DEVICE_SCANNER 0x19
#define FILE_DEVICE_SERIAL_MOUSE_PORT 0x1a
#define FILE_DEVICE_SERIAL_PORT 0x1b
#define FILE_DEVICE_SCREEN 0x1c
#define FILE_DEVICE_SOUND 0x1d
#define FILE_DEVICE_STREAMS 0x1e
#define FILE_DEVICE_TAPE 0x1f
#define FILE_DEVICE_TAPE_FILE_SYSTEM 0x20
#define FILE_DEVICE_TRANSPORT 0x21
#define FILE_DEVICE_UNKNOWN 0x22
#define FILE_DEVICE_VIDEO 0x23
#define FILE_DEVICE_VIRTUAL_DISK 0x24
#define FILE_DEVICE_WAVE_IN 0x25
#define FILE_DEVICE_WAVE_OUT 0x26
#define FILE_DEVICE_8042_PORT 0x27
#define FILE_DEVICE_NETWORK_REDIRECTOR 0x28
#define FILE_DEVICE_BATTERY 0x29
#define FILE_DEVICE_BUS_EXTENDER 0x2a
#define FILE_DEVICE_MODEM 0x2b
#define CTL_CODE(DevType,Function,Method,Access)\
 (((DevType) << 16)|((Access) << 14)|((Function) << 2)|(Method))
#define METHOD_BUFFERED 0
#define METHOD_IN_DIRECT 1
#define METHOD_OUT_DIRECT 2
#define METHOD_NEITHER 3
#define FILE_ANY_ACCESS 0
#define FILE_READ_ACCESS 1
#define FILE_WRITE_ACCESS 2
#define IOCTL_DISK_BASE FILE_DEVICE_DISK
#define IOCTL_DISK_GET_DRIVE_GEOMETRY CTL_CODE(IOCTL_DISK_BASE,0,0,0)
#define IOCTL_DISK_GET_PARTITION_INFO CTL_CODE(IOCTL_DISK_BASE,1,0,1)
#define IOCTL_DISK_SET_PARTITION_INFO CTL_CODE(IOCTL_DISK_BASE,2,0,3)
#define IOCTL_DISK_GET_DRIVE_LAYOUT CTL_CODE(IOCTL_DISK_BASE,3,0,1)
#define IOCTL_DISK_SET_DRIVE_LAYOUT CTL_CODE(IOCTL_DISK_BASE,4,0,3)
#define IOCTL_DISK_VERIFY CTL_CODE(IOCTL_DISK_BASE,5,0,0)
#define IOCTL_DISK_FORMAT_TRACKS CTL_CODE(IOCTL_DISK_BASE,6,0,3)
#define IOCTL_DISK_REASSIGN_BLOCKS CTL_CODE(IOCTL_DISK_BASE,7,0,3)
#define IOCTL_DISK_PERFORMANCE CTL_CODE(IOCTL_DISK_BASE,8,0,0)
#define IOCTL_DISK_IS_WRITABLE CTL_CODE(IOCTL_DISK_BASE,9,0,0)
#define IOCTL_DISK_LOGGING CTL_CODE(IOCTL_DISK_BASE,0xa,0,0)
#define IOCTL_DISK_FORMAT_TRACKS_EX CTL_CODE(IOCTL_DISK_BASE,0xb,0,3)
#define IOCTL_DISK_HISTOGRAM_STRUCTURE	CTL_CODE(IOCTL_DISK_BASE,0xc,0,0)
#define IOCTL_DISK_HISTOGRAM_DATA	CTL_CODE(IOCTL_DISK_BASE,0xd,0,0)
#define IOCTL_DISK_HISTOGRAM_RESET	CTL_CODE(IOCTL_DISK_BASE,0xe,0,0)
#define IOCTL_DISK_REQUEST_STRUCTURE	CTL_CODE(IOCTL_DISK_BASE,0xf,0,0)
#define IOCTL_DISK_REQUEST_DATA		CTL_CODE(IOCTL_DISK_BASE,0x10,0,0)
#define IOCTL_DISK_CHECK_VERIFY CTL_CODE(IOCTL_DISK_BASE,512,0,1)
#define IOCTL_DISK_MEDIA_REMOVAL CTL_CODE(IOCTL_DISK_BASE,0x201,0,1)
#define IOCTL_DISK_EJECT_MEDIA CTL_CODE(IOCTL_DISK_BASE,0x202,0,1)
#define IOCTL_DISK_LOAD_MEDIA CTL_CODE(IOCTL_DISK_BASE,0x203,0,1)
#define IOCTL_DISK_RESERVE CTL_CODE(IOCTL_DISK_BASE,0x204,0,1)
#define IOCTL_DISK_RELEASE CTL_CODE(IOCTL_DISK_BASE,0x205,0,1)
#define IOCTL_DISK_FIND_NEW_DEVICES CTL_CODE(IOCTL_DISK_BASE,0x206,0,1)
#define IOCTL_DISK_REMOVE_DEVICE CTL_CODE(IOCTL_DISK_BASE,0x207,0,1)
#define IOCTL_DISK_GET_MEDIA_TYPES CTL_CODE(IOCTL_DISK_BASE,0x300,0,0)
#define PARTITION_ENTRY_UNUSED 0
#define PARTITION_FAT_12 1
#define PARTITION_XENIX_1 2
#define PARTITION_XENIX_2 3
#define PARTITION_FAT_16 4
#define PARTITION_EXTENDED 5
#define PARTITION_HUGE 6
#define PARTITION_IFS 7
#define PARTITION_PREP 0x41
#define PARTITION_UNIX 0x63
#define PARTITION_LINUX	0x82
#define PARTITION_LINUX_SWA	0x83
#define PARTITION_NTFT 128
#define VALID_NTFT 0xC0
#define TMPF_FIXED_PITCH 1
#define TMPF_VECTOR 2
#define TMPF_DEVICE 8
#define TMPF_TRUETYPE 4
#define META_ANIMATEPALETTE	0x436
#define META_ARC 	0x817
#define META_BITBLT	0x922
#define META_CHORD	0x830
#define META_CREATEBRUSHINDIRECT	0x2FC
#define META_CREATEFONTINDIRECT	0x2FB
#define META_CREATEPALETTE	0xf7
#define META_CREATEPATTERNBRUSH	0x1F9
#define META_CREATEPENINDIRECT	0x2FA
#define META_CREATEREGION	0x6FF
#define META_DELETEOBJECT	0x1f0
#define META_DIBBITBLT	0x940
#define META_DIBCREATEPATTERNBRUSH	0x142
#define META_DIBSTRETCHBLT	0xb41
#define META_ELLIPSE	0x418
#define META_ESCAPE	0x626
#define META_EXCLUDECLIPRECT	0x415
#define META_EXTFLOODFILL	0x548
#define META_EXTTEXTOUT	0xa32
#define META_FILLREGION	0x228
#define META_FLOODFILL	0x419
#define META_FRAMEREGION	0x429
#define META_INTERSECTCLIPRECT	0x416
#define META_INVERTREGION	0x12A
#define META_LINETO	0x213
#define META_MOVETO	0x214
#define META_OFFSETCLIPRGN	0x220
#define META_OFFSETVIEWPORTORG	0x211
#define META_OFFSETWINDOWORG	0x20F
#define META_PAINTREGION	0x12B
#define META_PATBLT	0x61D
#define META_PIE 	0x81A
#define META_POLYGON	0x324
#define META_POLYLINE	0x325
#define META_POLYPOLYGON	0x538
#define META_REALIZEPALETTE	0x35
#define META_RECTANGLE	0x41B
#define META_RESIZEPALETTE	0x139
#define META_RESTOREDC	0x127
#define META_ROUNDRECT	0x61C
#define META_SAVEDC	0x1E
#define META_SCALEVIEWPORTEXT	0x412
#define META_SCALEWINDOWEXT	0x410
#define META_SELECTCLIPREGION	0x12C
#define META_SELECTOBJECT	0x12D
#define META_SELECTPALETTE	0x234
#define META_SETBKCOLOR	0x201
#define META_SETBKMODE	0x102
#define META_SETDIBTODEV	0xd33
#define META_SETMAPMODE	0x103
#define META_SETMAPPERFLAGS	0x231
#define META_SETPALENTRIES	0x37
#define META_SETPIXEL	0x41F
#define META_SETPOLYFILLMODE	0x106
#define META_SETRELABS	0x105
#define META_SETROP2	0x104
#define META_SETSTRETCHBLTMODE	0x107
#define META_SETTEXTALIGN	0x12E
#define META_SETTEXTCHAREXTRA	0x108
#define META_SETTEXTCOLOR	0x209
#define META_SETTEXTJUSTIFICATION	0x20A
#define META_SETVIEWPORTEXT	0x20E
#define META_SETVIEWPORTORG	0x20D
#define META_SETWINDOWEXT	0x20C
#define META_SETWINDOWORG	0x20B
#define META_STRETCHBLT	0xB23
#define META_STRETCHDIB	0xf43
#define META_TEXTOUT	0x521
#define PFD_DOUBLEBUFFER 1
#define PFD_STEREO 2
#define PFD_DRAW_TO_WINDOW 4
#define PFD_DRAW_TO_BITMAP 8
#define PFD_SUPPORT_GDI 0x10
#define PFD_SUPPORT_OPENGL 0x20
#define PFD_GENERIC_FORMAT 0x40
#define PFD_NEED_PALETTE 0x80
#define PFD_NEED_SYSTEM_PALETTE 0x100
#define PFD_SWAP_EXCHANGE 0x200
#define PFD_SWAP_COPY 0x400
#define PFD_SWAP_LAYER_BUFFERS 0x800
#define PFD_GENERIC_ACCELERATED	0x1000
#define PFD_TYPE_RGBA 0
#define PFD_TYPE_COLORINDEX 1
#define PFD_MAIN_PLANE 0
#define PFD_OVERLAY_PLANE 1
#define PFD_UNDERLAY_PLANE (-1)
#define QDI_SETDIBITS	1
#define QDI_GETDIBITS	2
#define QDI_DIBTOSCREEN	4
#define QDI_STRETCHDIB	8
/* Structures.h */
#ifndef RC_INVOKED
typedef struct _ABC {
	int abcA;
	UINT abcB;
	int abcC;
} ABC,*LPABC;
typedef struct _ABCFLOAT {
	FLOAT abcfA;
	FLOAT abcfB;
	FLOAT abcfC;
} ABCFLOAT,*LPABCFLOAT;
typedef struct tagACCEL {
	BYTE fVirt;
	WORD key;
	WORD cmd;
} ACCEL,*LPACCEL;
typedef struct _ACE_HEADER {
	BYTE AceType;
	BYTE AceFlags;
	WORD AceSize;
} ACE_HEADER;
typedef DWORD ACCESS_MASK;
typedef ACCESS_MASK REGSAM;
typedef struct _ACCESS_ALLOWED_ACE {
	ACE_HEADER Header;
	ACCESS_MASK Mask;
	DWORD SidStart;
} ACCESS_ALLOWED_ACE;
typedef struct _ACCESS_DENIED_ACE {
	ACE_HEADER Header;
	ACCESS_MASK Mask;
	DWORD SidStart;
} ACCESS_DENIED_ACE;
typedef struct tagACCESSTIMEOUT {
	UINT cbSize;
	DWORD dwFlags;
	DWORD iTimeOutMSec;
} ACCESSTIMEOUT;
typedef struct _ACL {
	BYTE AclRevision;
	BYTE Sbz1;
	WORD AclSize;
	WORD AceCount;
	WORD Sbz2;
} ACL,*PACL;
typedef struct _ACL_REVISION_INFORMATION {
	DWORD AclRevision;
} ACL_REVISION_INFORMATION;
typedef struct _ACL_SIZE_INFORMATION {
	DWORD AceCount;
	DWORD AclBytesInUse;
	DWORD AclBytesFree;
} ACL_SIZE_INFORMATION;
typedef struct _ACTION_HEADER {
	ULONG transport_id;
	USHORT action_code;
	USHORT reserved;
} ACTION_HEADER;
typedef struct _ADAPTER_STATUS {
	UCHAR adapter_address[6];
	UCHAR rev_major;
	UCHAR reserved0;
	UCHAR adapter_type;
	UCHAR rev_minor;
	WORD duration;
	WORD frmr_recv;
	WORD frmr_xmit;
	WORD iframe_recv_err;
	WORD xmit_aborts;
	DWORD xmit_success;
	DWORD recv_success;
	WORD iframe_xmit_err;
	WORD recv_buff_unavail;
	WORD t1_timeouts;
	WORD ti_timeouts;
	DWORD reserved1;
	WORD free_ncbs;
	WORD max_cfg_ncbs;
	WORD max_ncbs;
	WORD xmit_buf_unavail;
	WORD max_dgram_size;
	WORD pending_sess;
	WORD max_cfg_sess;
	WORD max_sess;
	WORD max_sess_pkt_size;
	WORD name_count;
} ADAPTER_STATUS;
typedef struct _ADDJOB_INFO_1 {
	LPTSTR Path;
	DWORD JobId;
} ADDJOB_INFO_1;
typedef struct tagANIMATIONINFO {
	UINT cbSize;
	int iMinAnimate;
} ANIMATIONINFO,*LPANIMATIONINFO;
typedef struct _RECT {
	LONG left;
	LONG top;
	LONG right;
	LONG bottom;
} RECT,*LPRECT;
typedef struct _RECT *PRECT;
typedef struct _RECTL {
	LONG left;
	LONG top;
	LONG right;
	LONG bottom;
} RECTL;
typedef struct tagBITMAP {
	LONG bmType;
	LONG bmWidth;
	LONG bmHeight;
	LONG bmWidthBytes;
	WORD bmPlanes;
	WORD bmBitsPixel;
	LPVOID bmBits;
} BITMAP,*PBITMAP,*NPBITMAP,*LPBITMAP;
typedef struct tagBITMAPCOREHEADER {
	DWORD bcSize;
	WORD bcWidth;
	WORD bcHeight;
	WORD bcPlanes;
	WORD bcBitCount;
} BITMAPCOREHEADER;
 /* was missing jn */
typedef BITMAPCOREHEADER *LPBITMAPCOREHEADER;
typedef struct tagRGBTRIPLE {
	BYTE rgbtBlue;
	BYTE rgbtGreen;
	BYTE rgbtRed;
} RGBTRIPLE;
typedef struct _BITMAPCOREINFO {
	BITMAPCOREHEADER bmciHeader;
	RGBTRIPLE bmciColors[1];
} BITMAPCOREINFO;
/* was missing jn */
typedef BITMAPCOREINFO *LPBITMAPCOREINFO;
typedef struct tagBITMAPFILEHEADER {
	WORD bfType;
	DWORD bfSize;
	WORD bfReserved1;
	WORD bfReserved2;
	DWORD bfOffBits;
} BITMAPFILEHEADER,*LPBITMAPFILEHEADER;
typedef struct tagBITMAPINFOHEADER {
	DWORD biSize;
	LONG biWidth;
	LONG biHeight;
	WORD biPlanes;
	WORD biBitCount;
	DWORD biCompression;
	DWORD biSizeImage;
	LONG biXPelsPerMeter;
	LONG biYPelsPerMeter;
	DWORD biClrUsed;
	DWORD biClrImportant;
} BITMAPINFOHEADER,*LPBITMAPINFOHEADER;
typedef struct tagRGBQUAD {
	BYTE rgbBlue;
	BYTE rgbGreen;
	BYTE rgbRed;
	BYTE rgbReserved;
} RGBQUAD,*LPRGBQUAD;
typedef struct tagBITMAPINFO {
	BITMAPINFOHEADER bmiHeader;
	RGBQUAD bmiColors[1];
} BITMAPINFO,*LPBITMAPINFO,*PBITMAPINFO;
typedef long FXPT2DOT30,*LPFXPT2DOT30;
typedef struct tagCIEXYZ {
	FXPT2DOT30 ciexyzX;
	FXPT2DOT30 ciexyzY;
	FXPT2DOT30 ciexyzZ;
} CIEXYZ;
typedef CIEXYZ *LPCIEXYZ;
typedef struct tagCIEXYZTRIPLE {
	CIEXYZ ciexyzRed;
	CIEXYZ ciexyzGreen;
	CIEXYZ ciexyzBlue;
} CIEXYZTRIPLE;
typedef CIEXYZTRIPLE *LPCIEXYZTRIPLE;
typedef struct {
	DWORD bV4Size;
	LONG bV4Width;
	LONG bV4Height;
	WORD bV4Planes;
	WORD bV4BitCount;
	DWORD bV4V4Compression;
	DWORD bV4SizeImage;
	LONG bV4XPelsPerMeter;
	LONG bV4YPelsPerMeter;
	DWORD bV4ClrUsed;
	DWORD bV4ClrImportant;
	DWORD bV4RedMask;
	DWORD bV4GreenMask;
	DWORD bV4BlueMask;
	DWORD bV4AlphaMask;
	DWORD bV4CSType;
	CIEXYZTRIPLE bV4Endpoints;
	DWORD bV4GammaRed;
	DWORD bV4GammaGreen;
	DWORD bV4GammaBlue;
} BITMAPV4HEADER,*LPBITMAPV4HEADER,*PBITMAPV4HEADER;
typedef struct _BLOB {
	ULONG cbSize;
	BYTE *pBlobData;
} BLOB;
typedef struct _SHITEMID {
	USHORT cb;
	BYTE abID[1];
} SHITEMID,*LPSHITEMID;
typedef const SHITEMID *LPCSHITEMID;
typedef struct _ITEMIDLIST {
	SHITEMID mkid;
} ITEMIDLIST,*LPITEMIDLIST;
typedef const ITEMIDLIST *LPCITEMIDLIST;
typedef struct _browseinfo {
	HWND hwndOwner;
	LPCITEMIDLIST pidlRoot;
	LPSTR pszDisplayName;
	LPCSTR lpszTitle;
	UINT ulFlags;
	BFFCALLBACK lpfn;
	LPARAM lParam;
	int iImage;
} BROWSEINFO,*PBROWSEINFO,*LPBROWSEINFO;
typedef struct _FILETIME {
	DWORD dwLowDateTime;
	DWORD dwHighDateTime;
} FILETIME,*LPFILETIME,*PFILETIME;
typedef struct _BY_HANDLE_FILE_INFORMATION {
	DWORD dwFileAttributes;
	FILETIME ftCreationTime;
	FILETIME ftLastAccessTime;
	FILETIME ftLastWriteTime;
	DWORD dwVolumeSerialNumber;
	DWORD nFileSizeHigh;
	DWORD nFileSizeLow;
	DWORD nNumberOfLinks;
	DWORD nFileIndexHigh;
	DWORD nFileIndexLow;
} BY_HANDLE_FILE_INFORMATION,*LPBY_HANDLE_FILE_INFORMATION;
typedef struct _FIXED {
	WORD fract;
	short value;
} FIXED;
typedef struct tagPOINT {
	LONG x;
	LONG y;
} POINT,*PPOINT;
#define LPPOINT PPOINT
typedef struct tagPOINTFX {
	FIXED x;
	FIXED y;
} POINTFX;
typedef struct _POINTL {
	LONG x;
	LONG y;
} POINTL;
typedef struct tagPOINTS {
	SHORT x;
	SHORT y;
} POINTS;
typedef struct _tagCANDIDATEFORM {
	DWORD dwIndex;
	DWORD dwStyle;
	POINT ptCurrentPos;
	RECT rcArea;
} CANDIDATEFORM,*LPCANDIDATEFORM;
typedef struct _tagCANDIDATELIST {
	DWORD dwSize;
	DWORD dwStyle;
	DWORD dwCount;
	DWORD dwSelection;
	DWORD dwPageStart;
	DWORD dwPageSize;
	DWORD dwOffset[1];
} CANDIDATELIST,*LPCANDIDATELIST;
typedef struct tagCREATESTRUCT {
	LPVOID lpCreateParams;
	HINSTANCE hInstance;
	HMENU hMenu;
	HWND hwndParent;
	int cy;
	int cx;
	int y;
	int x;
	LONG style;
	LPCTSTR lpszName;
	LPCTSTR lpszClass;
	DWORD dwExStyle;
} CREATESTRUCT,*LPCREATESTRUCT;
typedef struct tagCBT_CREATEWND {
	LPCREATESTRUCT lpcs;
	HWND hwndInsertAfter;
} CBT_CREATEWND;
typedef struct tagCBTACTIVATESTRUCT {
	BOOL fMouse;
	HWND hWndActive;
} CBTACTIVATESTRUCT;
typedef struct _CHAR_INFO {
	union {
		WCHAR UnicodeChar;
		CHAR AsciiChar;
	} Char;
	WORD Attributes;
} CHAR_INFO,*PCHAR_INFO;
typedef struct _charrange { LONG cpMin; LONG cpMax; } CHARRANGE;
typedef struct tagCHARSET { DWORD aflBlock[3]; DWORD flLang; } CHARSET;
typedef struct tagFONTSIGNATURE { DWORD fsUsb[4]; DWORD fsCsb[2]; } 
	FONTSIGNATURE,*LPFONTSIGNATURE;
typedef struct {
	UINT ciCharset;
	UINT ciACP;
	FONTSIGNATURE fs;
} CHARSETINFO,*LPCHARSETINFO;
typedef struct {
	DWORD lStructSize;
	HWND hwndOwner;
	HWND hInstance;
	COLORREF rgbResult;
	COLORREF *lpCustColors;
	DWORD Flags;
	LPARAM lCustData;
	LPCCHOOKPROC lpfnHook;
	LPCTSTR lpTemplateName;
} CHOOSECOLOR,*LPCHOOSECOLOR;
typedef struct tagLOGFONT {
	LONG lfHeight;
	LONG lfWidth;
	LONG lfEscapement;
	LONG lfOrientation;
	LONG lfWeight;
	BYTE lfItalic;
	BYTE lfUnderline;
	BYTE lfStrikeOut;
	BYTE lfCharSet;
	BYTE lfOutPrecision;
	BYTE lfClipPrecision;
	BYTE lfQuality;
	BYTE lfPitchAndFamily;
	TCHAR lfFaceName[LF_FACESIZE];
} LOGFONT,*LPLOGFONT,*PLOGFONT;
typedef struct {
	DWORD lStructSize;
	HWND hwndOwner;
	HDC hDC;
	LPLOGFONT lpLogFont;
	INT iPointSize;
	DWORD Flags;
	DWORD rgbColors;
	LPARAM lCustData;
	LPCFHOOKPROC lpfnHook;
	LPCTSTR lpTemplateName;
	HINSTANCE hInstance;
	LPTSTR lpszStyle;
	WORD nFontType;
	WORD ___MISSING_ALIGNMENT__;
	INT nSizeMin;
	INT nSizeMax;
} CHOOSEFONT,*LPCHOOSEFONT;
typedef struct _IDA {
	UINT cidl;
	UINT aoffset[1];
} CIDA,*LPIDA;
typedef struct tagCLIENTCREATESTRUCT {
	HANDLE hWindowMenu;
	UINT idFirstChild;
} CLIENTCREATESTRUCT;
typedef struct _CMInvokeCommandInfo {
	DWORD cbSize;
	DWORD fMask;
	HWND hwnd;
	LPCSTR lpVerb;
	LPCSTR lpParameters;
	LPCSTR lpDirectory;
	int nShow;
	DWORD dwHotKey;
	HANDLE hIcon;
} CMINVOKECOMMANDINFO,*LPCMINVOKECOMMANDINFO;
typedef struct tagCOLORADJUSTMENT {
	WORD caSize;
	WORD caFlags;
	WORD caIlluminantIndex;
	WORD caRedGamma;
	WORD caGreenGamma;
	WORD caBlueGamma;
	WORD caReferenceBlack;
	WORD caReferenceWhite;
	SHORT caContrast;
	SHORT caBrightness;
	SHORT caColorfulness;
	SHORT caRedGreenTint;
} COLORADJUSTMENT,*LPCOLORADJUSTMENT;
typedef struct _COLORMAP {
	COLORREF from;
	COLORREF to;
} COLORMAP,*LPCOLORMAP;
typedef struct _DCB {
	DWORD DCBlength;
	DWORD BaudRate;
	DWORD fBinary:1;
	DWORD fParity:1;
	DWORD fOutxCtsFlow:1;
	DWORD fOutxDsrFlow:1;
	DWORD fDtrControl:2;
	DWORD fDsrSensitivity:1;
	DWORD fTXContinueOnXoff:1;
	DWORD fOutX:1;
	DWORD fInX:1;
	DWORD fErrorChar:1;
	DWORD fNull:1;
	DWORD fRtsControl:2;
	DWORD fAbortOnError:1;
	DWORD fDummy2:17;
	WORD wReserved;
	WORD XonLim;
	WORD XoffLim;
	BYTE ByteSize;
	BYTE Parity;
	BYTE StopBits;
	char XonChar;
	char XoffChar;
	char ErrorChar;
	char EofChar;
	char EvtChar;
	WORD wReserved1;
} DCB,*LPDCB;
typedef struct _COMM_CONFIG {
	DWORD dwSize;
	WORD wVersion;
	WORD wReserved;
	DCB dcb;
	DWORD dwProviderSubType;
	DWORD dwProviderOffset;
	DWORD dwProviderSize;
	WCHAR wcProviderData[1];
} COMMCONFIG,*LPCOMMCONFIG;
typedef struct _COMMPROP {
	WORD wPacketLength;
	WORD wPacketVersion;
	DWORD dwServiceMask;
	DWORD dwReserved1;
	DWORD dwMaxTxQueue;
	DWORD dwMaxRxQueue;
	DWORD dwMaxBaud;
	DWORD dwProvSubType;
	DWORD dwProvCapabilities;
	DWORD dwSettableParams;
	DWORD dwSettableBaud;
	WORD wSettableData;
	WORD wSettableStopParity;
	DWORD dwCurrentTxQueue;
	DWORD dwCurrentRxQueue;
	DWORD dwProvSpec1;
	DWORD dwProvSpec2;
	WCHAR wcProvChar[1];
} COMMPROP,*LPCOMMPROP;
typedef struct _COMMTIMEOUTS {
	DWORD ReadIntervalTimeout;
	DWORD ReadTotalTimeoutMultiplier;
	DWORD ReadTotalTimeoutConstant;
	DWORD WriteTotalTimeoutMultiplier;
	DWORD WriteTotalTimeoutConstant;
} COMMTIMEOUTS,*LPCOMMTIMEOUTS;
typedef struct tagCOMPAREITEMSTRUCT {
	UINT CtlType;
	UINT CtlID;
	HWND hwndItem;
	UINT itemID1;
	DWORD itemData1;
	UINT itemID2;
	DWORD itemData2;
} COMPAREITEMSTRUCT;
typedef struct {
	COLORREF crText;
	COLORREF crBackground;
	DWORD dwEffects;
} COMPCOLOR;
typedef struct _tagCOMPOSITIONFORM {
	DWORD dwStyle;
	POINT ptCurrentPos;
	RECT rcArea;
} COMPOSITIONFORM,*LPCOMPOSITIONFORM;
typedef struct _COMSTAT {
	DWORD fCtsHold:1;
	DWORD fDsrHold:1;
	DWORD fRlsdHold:1;
	DWORD fXoffHold:1;
	DWORD fXoffSent:1;
	DWORD fEof:1;
	DWORD fTxim:1;
	DWORD fReserved:25;
	DWORD cbInQue;
	DWORD cbOutQue;
} COMSTAT,*LPCOMSTAT;
typedef struct _CONSOLE_CURSOR_INFO {
	DWORD dwSize;
	BOOL bVisible;
} CONSOLE_CURSOR_INFO,*PCONSOLE_CURSOR_INFO;
typedef struct _COORD {
	SHORT X;
	SHORT Y;
} COORD;
typedef struct _SMALL_RECT {
	SHORT Left;
	SHORT Top;
	SHORT Right;
	SHORT Bottom;
} SMALL_RECT,*PSMALL_RECT;
typedef struct _CONSOLE_SCREEN_BUFFER_INFO {
	COORD dwSize;
	COORD dwCursorPosition;
	WORD wAttributes;
	SMALL_RECT srWindow;
	COORD dwMaximumWindowSize;
} CONSOLE_SCREEN_BUFFER_INFO,*PCONSOLE_SCREEN_BUFFER_INFO;

typedef struct _FLOATING_SAVE_AREA {
	DWORD ControlWord;
	DWORD StatusWord;
	DWORD TagWord;
	DWORD ErrorOffset;
	DWORD ErrorSelector;
	DWORD DataOffset;
	DWORD DataSelector;
	BYTE RegisterArea[80];
	DWORD Cr0NpxState;
} FLOATING_SAVE_AREA;
typedef struct _CONTEXT {
	DWORD ContextFlags;
	DWORD Dr0;
	DWORD Dr1;
	DWORD Dr2;
	DWORD Dr3;
	DWORD Dr6;
	DWORD Dr7;
	FLOATING_SAVE_AREA FloatSave;
	DWORD SegGs;
	DWORD SegFs;
	DWORD SegEs;
	DWORD SegDs;
	DWORD Edi;
	DWORD Esi;
	DWORD Ebx;
	DWORD Edx;
	DWORD Ecx;
	DWORD Eax;
	DWORD Ebp;
	DWORD Eip;
	DWORD SegCs;
	DWORD EFlags;
	DWORD Esp;
	DWORD SegSs;
} CONTEXT,*PCONTEXT,*LPCONTEXT;

typedef struct _LIST_ENTRY {
	struct _LIST_ENTRY *Flink;
	struct _LIST_ENTRY *Blink;
} LIST_ENTRY,*PLIST_ENTRY;
typedef struct _CRITICAL_SECTION_DEBUG {
	WORD Type;
	WORD CreatorBackTraceIndex;
	struct _CRITICAL_SECTION *CriticalSection;
	LIST_ENTRY ProcessLocksList;
	DWORD EntryCount;
	DWORD ContentionCount;
	DWORD Depth;
	PVOID OwnerBackTrace[5];
} CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG;
typedef struct _CRITICAL_SECTION {
	PCRITICAL_SECTION_DEBUG DebugInfo;
	LONG LockCount;
	LONG RecursionCount;
	HANDLE OwningThread;
	HANDLE LockSemaphore;
	DWORD Reserved;
} CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION;
typedef struct _SECURITY_QUALITY_OF_SERVICE {
	DWORD Length;
	SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
	BOOL ContextTrackingMode;
	BOOLEAN EffectiveOnly;
} SECURITY_QUALITY_OF_SERVICE;
typedef struct tagCONVCONTEXT {
	UINT cb;
	UINT wFlags;
	UINT wCountryID;
	int iCodePage;
	DWORD dwLangID;
	DWORD dwSecurity;
	SECURITY_QUALITY_OF_SERVICE qos;
} CONVCONTEXT;
typedef struct tagCONVINFO {
	DWORD cb;
	DWORD hUser;
	HCONV hConvPartner;
	HSZ hszSvcPartner;
	HSZ hszServiceReq;
	HSZ hszTopic;
	HSZ hszItem;
	UINT wFmt;
	UINT wType;
	UINT wStatus;
	UINT wConvst;
	UINT wLastError;
	HCONVLIST hConvList;
	CONVCONTEXT ConvCtxt;
	HWND hwnd;
	HWND hwndPartner;
} CONVINFO;
typedef struct tagCOPYDATASTRUCT {
	DWORD dwData;
	DWORD cbData;
	PVOID lpData;
} COPYDATASTRUCT;
typedef struct _cpinfo {
	UINT MaxCharSize;
	BYTE DefaultChar[MAX_DEFAULTCHAR];
	BYTE LeadByte[MAX_LEADBYTES];
} CPINFO,*LPCPINFO;
typedef struct tagCPLINFO {
	int idIcon;
	int idName;
	int idInfo;
	LONG lData;
} CPLINFO;
typedef struct _CREATE_PROCESS_DEBUG_INFO {
	HANDLE hFile;
	HANDLE hProcess;
	HANDLE hThread;
	LPVOID lpBaseOfImage;
	DWORD dwDebugInfoFileOffset;
	DWORD nDebugInfoSize;
	LPVOID lpThreadLocalBase;
	LPTHREAD_START_ROUTINE lpStartAddress;
	LPVOID lpImageName;
	WORD fUnicode;
} CREATE_PROCESS_DEBUG_INFO;
typedef struct _CREATE_THREAD_DEBUG_INFO {
	HANDLE hThread;
	LPVOID lpThreadLocalBase;
	LPTHREAD_START_ROUTINE lpStartAddress;
} CREATE_THREAD_DEBUG_INFO;
typedef struct _currencyfmt {
	UINT NumDigits;
	UINT LeadingZero;
	UINT Grouping;
	LPTSTR lpDecimalSep;
	LPTSTR lpThousandSep;
	UINT NegativeOrder;
	UINT PositiveOrder;
	LPTSTR lpCurrencySymbol;
} CURRENCYFMT;
typedef struct tagCURSORSHAPE {
	int xHotSpot;
	int yHotSpot;
	int cx;
	int cy;
	int cbWidth;
	BYTE Planes;
	BYTE BitsPixel;
} CURSORSHAPE,*LPCURSORSHAPE;
typedef struct tagCWPRETSTRUCT {
	LRESULT lResult;
	LPARAM lParam;
	WPARAM wParam;
	DWORD message;
	HWND hwnd;
} CWPRETSTRUCT;
typedef struct tagCWPSTRUCT {
	LPARAM lParam;
	WPARAM wParam;
	UINT message;
	HWND hwnd;
} CWPSTRUCT;
typedef struct _DATATYPES_INFO_1 {
	LPTSTR pName;
} DATATYPES_INFO_1;
typedef struct {
	unsigned short bAppReturnCode:8,reserved:6,fBusy:1,fAck:1;
} DDEACK;
typedef struct {
	unsigned short reserved:14,fDeferUpd:1,fAckReq:1;
	short cfFormat;
} DDEADVISE;
typedef struct {
	unsigned short unused:12,fResponse:1,fRelease:1,reserved:1,fAckReq:1;
	short cfFormat;
	BYTE Value[1];
} DDEDATA;
typedef struct {
	unsigned short unused:13,fRelease:1,fDeferUpd:1,fAckReq:1;
	short cfFormat;
} DDELN;
typedef struct tagDDEML_MSG_HOOK_DATA {
	UINT uiLo;
	UINT uiHi;
	DWORD cbData;
	DWORD Data[8];
} DDEML_MSG_HOOK_DATA;
typedef struct {
	unsigned short unused:13,fRelease:1,fReserved:2;
	short cfFormat;
	BYTE Value[1];
} DDEPOKE;
typedef struct {
	unsigned short unused:12,fAck:1,fRelease:1,fReserved:1,fAckReq:1;
	short cfFormat;
	BYTE rgb[1];
} DDEUP;
typedef struct _EXCEPTION_RECORD {
	DWORD ExceptionCode;
	DWORD ExceptionFlags;
	struct _EXCEPTION_RECORD *ExceptionRecord;
	PVOID ExceptionAddress;
	DWORD NumberParameters;
	DWORD ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];
} EXCEPTION_RECORD,*PEXCEPTION_RECORD,*LPEXCEPTION_RECORD;
typedef struct _EXCEPTION_DEBUG_INFO {
	EXCEPTION_RECORD ExceptionRecord;
	DWORD dwFirstChance;
} EXCEPTION_DEBUG_INFO;
typedef struct _EXIT_PROCESS_DEBUG_INFO {
	DWORD dwExitCode;
} EXIT_PROCESS_DEBUG_INFO;
typedef struct _EXIT_THREAD_DEBUG_INFO {
	DWORD dwExitCode;
} EXIT_THREAD_DEBUG_INFO;
typedef struct _LOAD_DLL_DEBUG_INFO {
	HANDLE hFile;
	LPVOID lpBaseOfDll;
	DWORD dwDebugInfoFileOffset;
	DWORD nDebugInfoSize;
	LPVOID lpImageName;
	WORD fUnicode;
} LOAD_DLL_DEBUG_INFO;
typedef struct _UNLOAD_DLL_DEBUG_INFO {
	LPVOID lpBaseOfDll;
} UNLOAD_DLL_DEBUG_INFO;
typedef struct _OUTPUT_DEBUG_STRING_INFO {
	LPSTR lpDebugStringData;
	WORD fUnicode;
	WORD nDebugStringLength;
} OUTPUT_DEBUG_STRING_INFO;
typedef struct _RIP_INFO {
	DWORD dwError;
	DWORD dwType;
} RIP_INFO;
typedef struct _DEBUG_EVENT {
	DWORD dwDebugEventCode;
	DWORD dwProcessId;
	DWORD dwThreadId;
	union {
		EXCEPTION_DEBUG_INFO Exception;
		CREATE_THREAD_DEBUG_INFO CreateThread;
		CREATE_PROCESS_DEBUG_INFO CreateProcessInfo;
		EXIT_THREAD_DEBUG_INFO ExitThread;
		EXIT_PROCESS_DEBUG_INFO ExitProcess;
		LOAD_DLL_DEBUG_INFO LoadDll;
		UNLOAD_DLL_DEBUG_INFO UnloadDll;
		OUTPUT_DEBUG_STRING_INFO DebugString;
		RIP_INFO RipInfo;
	} u;
} DEBUG_EVENT,*LPDEBUG_EVENT;
typedef struct tagDEBUGHOOKINFO {
	DWORD idThread;
	DWORD idThreadInstaller;
	LPARAM lParam;
	WPARAM wParam;
	int code;
} DEBUGHOOKINFO;
typedef LONG(STDCALL * PTOP_LEVEL_EXCEPTION_FILTER) (struct _EXCEPTION_POINTERS * ExceptionInfo);
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
typedef struct tagDELETEITEMSTRUCT {
	UINT CtlType;
	UINT CtlID;
	UINT itemID;
	HWND hwndItem;
	UINT itemData;
} DELETEITEMSTRUCT;
typedef struct _DEV_BROADCAST_HDR {
	ULONG dbch_size;
	ULONG dbch_devicetype;
	ULONG dbch_reserved;
} DEV_BROADCAST_HDR;
typedef DEV_BROADCAST_HDR *PDEV_BROADCAST_HDR;
typedef struct _DEV_BROADCAST_OEM {
	ULONG dbco_size;
	ULONG dbco_devicetype;
	ULONG dbco_reserved;
	ULONG dbco_identifier;
	ULONG dbco_suppfunc;
} DEV_BROADCAST_OEM;
typedef DEV_BROADCAST_OEM *PDEV_BROADCAST_OEM;
typedef struct _DEV_BROADCAST_PORT {
	ULONG dbcp_size;
	ULONG dbcp_devicetype;
	ULONG dbcp_reserved;
	char dbcp_name[1];
} DEV_BROADCAST_PORT;
typedef DEV_BROADCAST_PORT *PDEV_BROADCAST_PORT;
struct _DEV_BROADCAST_USERDEFINED {
	struct _DEV_BROADCAST_HDR dbud_dbh;
	char dbud_szName[1];
	BYTE dbud_rgbUserDefined[1];
};
typedef struct _DEV_BROADCAST_VOLUME {
	ULONG dbcv_size;
	ULONG dbcv_devicetype;
	ULONG dbcv_reserved;
	ULONG dbcv_unitmask;
	USHORT dbcv_flags;
} DEV_BROADCAST_VOLUME;
typedef DEV_BROADCAST_VOLUME *PDEV_BROADCAST_VOLUME;
typedef struct _devicemode {
	BCHAR dmDeviceName[CCHDEVICENAME];
	WORD dmSpecVersion;
	WORD dmDriverVersion;
	WORD dmSize;
	WORD dmDriverExtra;
	DWORD dmFields;
	short dmOrientation;
	short dmPaperSize;
	short dmPaperLength;
	short dmPaperWidth;
	short dmScale;
	short dmCopies;
	short dmDefaultSource;
	short dmPrintQuality;
	short dmColor;
	short dmDuplex;
	short dmYResolution;
	short dmTTOption;
	short dmCollate;
	BCHAR dmFormName[CCHFORMNAME];
	WORD dmLogPixels;
	DWORD dmBitsPerPel;
	DWORD dmPelsWidth;
	DWORD dmPelsHeight;
	DWORD dmDisplayFlags;
	DWORD dmDisplayFrequency;
	DWORD dmICMMethod;
	DWORD dmICMIntent;
	DWORD dmMediaType;
	DWORD dmDitherType;
	DWORD dmICCManufacturer;
	DWORD dmICCModel;
} DEVMODE,*LPDEVMODE,*PDEVMODE;
typedef struct tagDEVNAMES {
	WORD wDriverOffset;
	WORD wDeviceOffset;
	WORD wOutputOffset;
	WORD wDefault;
} DEVNAMES,*LPDEVNAMES;
typedef struct tagDIBSECTION {
	BITMAP dsBm;
	BITMAPINFOHEADER dsBmih;
	DWORD dsBitfields[3];
	HANDLE dshSection;
	DWORD dsOffset;
} DIBSECTION;
typedef struct _LARGE_INTEGER {
	DWORD LowPart;
	LONG HighPart;
} LARGE_INTEGER,*PLARGE_INTEGER;
typedef struct _DISK_GEOMETRY {
	LARGE_INTEGER Cylinders;
	MEDIA_TYPE MediaType;
	DWORD TracksPerCylinder;
	DWORD SectorsPerTrack;
	DWORD BytesPerSector;
} DISK_GEOMETRY;
typedef struct _DISK_PERFORMANCE {
	LARGE_INTEGER BytesRead;
	LARGE_INTEGER BytesWritten;
	LARGE_INTEGER ReadTime;
	LARGE_INTEGER WriteTime;
	DWORD ReadCount;
	DWORD WriteCount;
	DWORD QueueDepth;
} DISK_PERFORMANCE;
typedef struct {
	DWORD style;
	DWORD dwExtendedStyle;
	short x;
	short y;
	short cx;
	short cy;
	WORD id;
} DLGITEMTEMPLATE;
typedef struct {
	DWORD style;
	DWORD dwExtendedStyle;
	WORD cdit;
	short x;
	short y;
	short cx;
	short cy;
} DLGTEMPLATE,*LPDLGTEMPLATE;
typedef const DLGTEMPLATE *LPCDLGTEMPLATE;
typedef struct _DOC_INFO_1 {
	LPTSTR pDocName;
	LPTSTR pOutputFile;
	LPTSTR pDatatype;
} DOC_INFO_1;
typedef struct _DOC_INFO_2 {
	LPTSTR pDocName;
	LPTSTR pOutputFile;
	LPTSTR pDatatype;
	DWORD dwMode;
	DWORD JobId;
} DOC_INFO_2;
typedef struct {
	int cbSize;
	LPCTSTR lpszDocName;
	LPCTSTR lpszOutput;
	LPCTSTR lpszDatatype;
	DWORD fwType;
} DOCINFO;
typedef struct {
	UINT uNotification;
	HWND hWnd;
	POINT ptCursor;
} DRAGLISTINFO,*LPDRAGLISTINFO;
typedef struct tagDRAWITEMSTRUCT {
	UINT CtlType;
	UINT CtlID;
	UINT itemID;
	UINT itemAction;
	UINT itemState;
	HWND hwndItem;
	HDC hDC;
	RECT rcItem;
	DWORD itemData;
} DRAWITEMSTRUCT;
 /* forgotten jn */
typedef DRAWITEMSTRUCT *LPDRAWITEMSTRUCT;
typedef struct {
	UINT cbSize;
	int iTabLength;
	int iLeftMargin;
	int iRightMargin;
	UINT uiLengthDrawn;
} DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS;
typedef struct _PARTITION_INFORMATION {
	BYTE PartitionType;
	BOOLEAN BootIndicator;
	BOOLEAN RecognizedPartition;
	BOOLEAN RewritePartition;
	LARGE_INTEGER StartingOffset;
	LARGE_INTEGER PartitionLength;
	LARGE_INTEGER HiddenSectors;
} PARTITION_INFORMATION;
typedef struct _DRIVE_LAYOUT_INFORMATION {
	DWORD PartitionCount;
	DWORD Signature;
	PARTITION_INFORMATION PartitionEntry[1];
} DRIVE_LAYOUT_INFORMATION;
typedef struct _DRIVER_INFO_1 {
	LPTSTR pName;
} DRIVER_INFO_1;
typedef struct _DRIVER_INFO_2 {
	DWORD cVersion;
	LPTSTR pName;
	LPTSTR pEnvironment;
	LPTSTR pDriverPath;
	LPTSTR pDataFile;
	LPTSTR pConfigFile;
} DRIVER_INFO_2;
typedef struct _DRIVER_INFO_3 {
	DWORD cVersion;
	LPTSTR pName;
	LPTSTR pEnvironment;
	LPTSTR pDriverPath;
	LPTSTR pDataFile;
	LPTSTR pConfigFile;
	LPTSTR pHelpFile;
	LPTSTR pDependentFiles;
	LPTSTR pMonitorName;
	LPTSTR pDefaultDataType;
} DRIVER_INFO_3;
typedef struct _editstream {
	DWORD dwCookie;
	DWORD dwError;
	EDITSTREAMCALLBACK pfnCallback;
} EDITSTREAM;
typedef struct tagEMR {
	DWORD iType;
	DWORD nSize;
} EMR,*PEMR;
typedef struct tagEMRANGLEARC {
	EMR emr;
	POINTL ptlCenter;
	DWORD nRadius;
	FLOAT eStartAngle;
	FLOAT eSweepAngle;
} EMRANGLEARC,*PEMRANGLEARC;
typedef struct tagEMRARC {
	EMR emr;
	RECTL rclBox;
	POINTL ptlStart;
	POINTL ptlEnd;
} EMRARC,*PEMRARC,
EMRARCTO,*PEMRARCTO,
EMRCHORD,*PEMRCHORD,
EMRPIE,*PEMRPIE;
typedef struct _XFORM {
	FLOAT eM11;
	FLOAT eM12;
	FLOAT eM21;
	FLOAT eM22;
	FLOAT eDx;
	FLOAT eDy;
} XFORM,*PXFORM,*LPXFORM;
typedef struct tagEMRBITBLT {
	EMR emr;
	RECTL rclBounds;
	LONG xDest;
	LONG yDest;
	LONG cxDest;
	LONG cyDest;
	DWORD dwRop;
	LONG xSrc;
	LONG ySrc;
	XFORM xformSrc;
	COLORREF crBkColorSrc;
	DWORD iUsageSrc;
	DWORD offBmiSrc;
	DWORD offBitsSrc;
	DWORD cbBitsSrc;
} EMRBITBLT,*PEMRBITBLT;
typedef struct tagLOGBRUSH {
	UINT lbStyle;
	COLORREF lbColor;
	LONG lbHatch;
} LOGBRUSH,*LPLOGBRUSH;
typedef struct tagEMRCREATEBRUSHINDIRECT {
	EMR emr;
	DWORD ihBrush;
	LOGBRUSH lb;
} EMRCREATEBRUSHINDIRECT,*PEMRCREATEBRUSHINDIRECT;
typedef LONG LCSCSTYPE;
typedef LONG LCSGAMUTMATCH;
typedef struct tagLOGCOLORSPACE {
	DWORD lcsSignature;
	DWORD lcsVersion;
	DWORD lcsSize;
	LCSCSTYPE lcsCSType;
	LCSGAMUTMATCH lcsIntent;
	CIEXYZTRIPLE lcsEndpoints;
	DWORD lcsGammaRed;
	DWORD lcsGammaGreen;
	DWORD lcsGammaBlue;
	TCHAR lcsFilename[MAX_PATH];
} LOGCOLORSPACE,*LPLOGCOLORSPACE;
typedef struct tagEMRCREATECOLORSPACE {
	EMR emr;
	DWORD ihCS;
	LOGCOLORSPACE lcs;
} EMRCREATECOLORSPACE,*PEMRCREATECOLORSPACE;
typedef struct tagEMRCREATEDIBPATTERNBRUSHPT {
	EMR emr;
	DWORD ihBrush;
	DWORD iUsage;
	DWORD offBmi;
	DWORD cbBmi;
	DWORD offBits;
	DWORD cbBits;
} EMRCREATEDIBPATTERNBRUSHPT,
PEMRCREATEDIBPATTERNBRUSHPT;
typedef struct tagEMRCREATEMONOBRUSH {
	EMR emr;
	DWORD ihBrush;
	DWORD iUsage;
	DWORD offBmi;
	DWORD cbBmi;
	DWORD offBits;
	DWORD cbBits;
} EMRCREATEMONOBRUSH,*PEMRCREATEMONOBRUSH;
typedef struct tagPALETTEENTRY {
	BYTE peRed;
	BYTE peGreen;
	BYTE peBlue;
	BYTE peFlags;
} PALETTEENTRY,*LPPALETTEENTRY,*PPALETTEENTRY;
typedef struct tagLOGPALETTE {
	WORD palVersion;
	WORD palNumEntries;
	PALETTEENTRY palPalEntry[1];
} LOGPALETTE,*PLOGPALETTE;
/* missing jn */
typedef LOGPALETTE *LPLOGPALETTE;
typedef struct tagEMRCREATEPALETTE {
	EMR emr;
	DWORD ihPal;
	LOGPALETTE lgpl;
} EMRCREATEPALETTE,*PEMRCREATEPALETTE;
typedef struct tagLOGPEN {
	UINT lopnStyle;
	POINT lopnWidth;
	COLORREF lopnColor;
} LOGPEN,*LPLOGPEN;
typedef struct tagEMRCREATEPEN {
	EMR emr;
	DWORD ihPen;
	LOGPEN lopn;
} EMRCREATEPEN,*PEMRCREATEPEN;
typedef struct tagEMRELLIPSE {
	EMR emr;
	RECTL rclBox;
} EMRELLIPSE,*PEMRELLIPSE,
EMRRECTANGLE,*PEMRRECTANGLE;
typedef struct tagEMREOF {
	EMR emr;
	DWORD nPalEntries;
	DWORD offPalEntries;
	DWORD nSizeLast;
} EMREOF,*PEMREOF;
typedef struct tagEMREXCLUDECLIPRECT {
	EMR emr;
	RECTL rclClip;
} EMREXCLUDECLIPRECT,*PEMREXCLUDECLIPRECT,
EMRINTERSECTCLIPRECT,*PEMRINTERSECTCLIPRECT;
typedef struct tagPANOSE {
	BYTE bFamilyType;
	BYTE bSerifStyle;
	BYTE bWeight;
	BYTE bProportion;
	BYTE bContrast;
	BYTE bStrokeVariation;
	BYTE bArmStyle;
	BYTE bLetterform;
	BYTE bMidline;
	BYTE bXHeight;
} PANOSE;
typedef struct tagEXTLOGFONT {
	LOGFONT elfLogFont;
	BCHAR elfFullName[LF_FULLFACESIZE];
	BCHAR elfStyle[LF_FACESIZE];
	DWORD elfVersion;
	DWORD elfStyleSize;
	DWORD elfMatch;
	DWORD elfReserved;
	BYTE elfVendorId[ELF_VENDOR_SIZE];
	DWORD elfCulture;
	PANOSE elfPanose;
} EXTLOGFONT;
typedef struct tagEMREXTCREATEFONTINDIRECTW {
	EMR emr;
	DWORD ihFont;
	EXTLOGFONT elfw;
} EMREXTCREATEFONTINDIRECTW,
PEMREXTCREATEFONTINDIRECTW;
typedef struct tagEXTLOGPEN {
	UINT elpPenStyle;
	UINT elpWidth;
	UINT elpBrushStyle;
	COLORREF elpColor;
	LONG elpHatch;
	DWORD elpNumEntries;
	DWORD elpStyleEntry[1];
} EXTLOGPEN;
typedef struct tagEMREXTCREATEPEN {
	EMR emr;
	DWORD ihPen;
	DWORD offBmi;
	DWORD cbBmi;
	DWORD offBits;
	DWORD cbBits;
	EXTLOGPEN elp;
} EMREXTCREATEPEN,*PEMREXTCREATEPEN;
typedef struct tagEMREXTFLOODFILL {
	EMR emr;
	POINTL ptlStart;
	COLORREF crColor;
	DWORD iMode;
} EMREXTFLOODFILL,*PEMREXTFLOODFILL;
typedef struct tagEMREXTSELECTCLIPRGN {
	EMR emr;
	DWORD cbRgnData;
	DWORD iMode;
	BYTE RgnData[1];
} EMREXTSELECTCLIPRGN,*PEMREXTSELECTCLIPRGN;
typedef struct tagEMRTEXT {
	POINTL ptlReference;
	DWORD nChars;
	DWORD offString;
	DWORD fOptions;
	RECTL rcl;
	DWORD offDx;
} EMRTEXT,*PEMRTEXT;
typedef struct tagEMREXTTEXTOUTA {
	EMR emr;
	RECTL rclBounds;
	DWORD iGraphicsMode;
	FLOAT exScale;
	FLOAT eyScale;
	EMRTEXT emrtext;
} EMREXTTEXTOUTA,*PEMREXTTEXTOUTA,
EMREXTTEXTOUTW,*PEMREXTTEXTOUTW;
typedef struct tagEMRFILLPATH {
	EMR emr;
	RECTL rclBounds;
} EMRFILLPATH,*PEMRFILLPATH,
EMRSTROKEANDFILLPATH,*PEMRSTROKEANDFILLPATH,
EMRSTROKEPATH,*PEMRSTROKEPATH;
typedef struct tagEMRFILLRGN {
	EMR emr;
	RECTL rclBounds;
	DWORD cbRgnData;
	DWORD ihBrush;
	BYTE RgnData[1];
} EMRFILLRGN,*PEMRFILLRGN;
typedef struct tagEMRFORMAT {
	DWORD dSignature;
	DWORD nVersion;
	DWORD cbData;
	DWORD offData;
} EMRFORMAT;
typedef struct tagSIZE {
	LONG cx;
	LONG cy;
} SIZE,*PSIZE,*LPSIZE,SIZEL,*PSIZEL,*LPSIZEL;
typedef struct tagEMRFRAMERGN {
	EMR emr;
	RECTL rclBounds;
	DWORD cbRgnData;
	DWORD ihBrush;
	SIZEL szlStroke;
	BYTE RgnData[1];
} EMRFRAMERGN,*PEMRFRAMERGN;
typedef struct tagEMRGDICOMMENT {
	EMR emr;
	DWORD cbData;
	BYTE Data[1];
} EMRGDICOMMENT,*PEMRGDICOMMENT;
typedef struct tagEMRINVERTRGN {
	EMR emr;
	RECTL rclBounds;
	DWORD cbRgnData;
	BYTE RgnData[1];
} EMRINVERTRGN,*PEMRINVERTRGN,
EMRPAINTRGN,*PEMRPAINTRGN;
typedef struct tagEMRLINETO {
	EMR emr;
	POINTL ptl;
} EMRLINETO,*PEMRLINETO,
EMRMOVETOEX,*PEMRMOVETOEX;
typedef struct tagEMRMASKBLT {
	EMR emr;
	RECTL rclBounds;
	LONG xDest;
	LONG yDest;
	LONG cxDest;
	LONG cyDest;
	DWORD dwRop;
	LONG xSrc;
	LONG ySrc;
	XFORM xformSrc;
	COLORREF crBkColorSrc;
	DWORD iUsageSrc;
	DWORD offBmiSrc;
	DWORD cbBmiSrc;
	DWORD offBitsSrc;
	DWORD cbBitsSrc;
	LONG xMask;
	LONG yMask;
	DWORD iUsageMask;
	DWORD offBmiMask;
	DWORD cbBmiMask;
	DWORD offBitsMask;
	DWORD cbBitsMask;
} EMRMASKBLT,*PEMRMASKBLT;
typedef struct tagEMRMODIFYWORLDTRANSFORM {
	EMR emr;
	XFORM xform;
	DWORD iMode;
} EMRMODIFYWORLDTRANSFORM,
PEMRMODIFYWORLDTRANSFORM;
typedef struct tagEMROFFSETCLIPRGN {
	EMR emr;
	POINTL ptlOffset;
} EMROFFSETCLIPRGN,*PEMROFFSETCLIPRGN;
typedef struct tagEMRPLGBLT {
	EMR emr;
	RECTL rclBounds;
	POINTL aptlDest[3];
	LONG xSrc;
	LONG ySrc;
	LONG cxSrc;
	LONG cySrc;
	XFORM xformSrc;
	COLORREF crBkColorSrc;
	DWORD iUsageSrc;
	DWORD offBmiSrc;
	DWORD cbBmiSrc;
	DWORD offBitsSrc;
	DWORD cbBitsSrc;
	LONG xMask;
	LONG yMask;
	DWORD iUsageMask;
	DWORD offBmiMask;
	DWORD cbBmiMask;
	DWORD offBitsMask;
	DWORD cbBitsMask;
} EMRPLGBLT,*PEMRPLGBLT;
typedef struct tagEMRPOLYDRAW {
	EMR emr;
	RECTL rclBounds;
	DWORD cptl;
	POINTL aptl[1];
	BYTE abTypes[1];
} EMRPOLYDRAW,*PEMRPOLYDRAW;
typedef struct tagEMRPOLYDRAW16 {
	EMR emr;
	RECTL rclBounds;
	DWORD cpts;
	POINTS apts[1];
	BYTE abTypes[1];
} EMRPOLYDRAW16,*PEMRPOLYDRAW16;
typedef struct tagEMRPOLYLINE {
	EMR emr;
	RECTL rclBounds;
	DWORD cptl;
	POINTL aptl[1];
} EMRPOLYLINE,*PEMRPOLYLINE,
EMRPOLYBEZIER,*PEMRPOLYBEZIER,
EMRPOLYGON,*PEMRPOLYGON,
EMRPOLYBEZIERTO,*PEMRPOLYBEZIERTO,
EMRPOLYLINETO,*PEMRPOLYLINETO;
typedef struct tagEMRPOLYLINE16 {
	EMR emr;
	RECTL rclBounds;
	DWORD cpts;
	POINTL apts[1];
} EMRPOLYLINE16,*PEMRPOLYLINE16,
EMRPOLYBEZIER16,*PEMRPOLYBEZIER16,
EMRPOLYGON16,*PEMRPOLYGON16,
EMRPOLYBEZIERTO16,*PEMRPOLYBEZIERTO16,
EMRPOLYLINETO16,*PEMRPOLYLINETO16;
typedef struct tagEMRPOLYPOLYLINE {
	EMR emr;
	RECTL rclBounds;
	DWORD nPolys;
	DWORD cptl;
	DWORD aPolyCounts[1];
	POINTL aptl[1];
} EMRPOLYPOLYLINE,*PEMRPOLYPOLYLINE,
EMRPOLYPOLYGON,*PEMRPOLYPOLYGON;
typedef struct tagEMRPOLYPOLYLINE16 {
	EMR emr;
	RECTL rclBounds;
	DWORD nPolys;
	DWORD cpts;
	DWORD aPolyCounts[1];
	POINTS apts[1];
} EMRPOLYPOLYLINE16,*PEMRPOLYPOLYLINE16,
EMRPOLYPOLYGON16,*PEMRPOLYPOLYGON16;
typedef struct tagEMRPOLYTEXTOUTA {
	EMR emr;
	RECTL rclBounds;
	DWORD iGraphicsMode;
	FLOAT exScale;
	FLOAT eyScale;
	LONG cStrings;
	EMRTEXT aemrtext[1];
} EMRPOLYTEXTOUTA,*PEMRPOLYTEXTOUTA,
EMRPOLYTEXTOUTW,*PEMRPOLYTEXTOUTW;
typedef struct tagEMRRESIZEPALETTE {
	EMR emr;
	DWORD ihPal;
	DWORD cEntries;
} EMRRESIZEPALETTE,*PEMRRESIZEPALETTE;
typedef struct tagEMRRESTOREDC {
	EMR emr;
	LONG iRelative;
} EMRRESTOREDC,*PEMRRESTOREDC;
typedef struct tagEMRROUNDRECT {
	EMR emr;
	RECTL rclBox;
	SIZEL szlCorner;
} EMRROUNDRECT,*PEMRROUNDRECT;
typedef struct tagEMRSCALEVIEWPORTEXTEX {
	EMR emr;
	LONG xNum;
	LONG xDenom;
	LONG yNum;
	LONG yDenom;
} EMRSCALEVIEWPORTEXTEX,*PEMRSCALEVIEWPORTEXTEX,
EMRSCALEWINDOWEXTEX,*PEMRSCALEWINDOWEXTEX;
typedef struct tagEMRSELECTCOLORSPACE {
	EMR emr;
	DWORD ihCS;
} EMRSELECTCOLORSPACE,*PEMRSELECTCOLORSPACE,
EMRDELETECOLORSPACE,*PEMRDELETECOLORSPACE;
typedef struct tagEMRSELECTOBJECT {
	EMR emr;
	DWORD ihObject;
} EMRSELECTOBJECT,*PEMRSELECTOBJECT,
EMRDELETEOBJECT,*PEMRDELETEOBJECT;
typedef struct tagEMRSELECTPALETTE {
	EMR emr;
	DWORD ihPal;
} EMRSELECTPALETTE,*PEMRSELECTPALETTE;
typedef struct tagEMRSETARCDIRECTION {
	EMR emr;
	DWORD iArcDirection;
} EMRSETARCDIRECTION,*PEMRSETARCDIRECTION;
typedef struct tagEMRSETTEXTCOLOR {
	EMR emr;
	COLORREF crColor;
} EMRSETBKCOLOR,*PEMRSETBKCOLOR,
EMRSETTEXTCOLOR,*PEMRSETTEXTCOLOR;
typedef struct tagEMRSETCOLORADJUSTMENT {
	EMR emr;
	COLORADJUSTMENT ColorAdjustment;
} EMRSETCOLORADJUSTMENT,*PEMRSETCOLORADJUSTMENT;
typedef struct tagEMRSETDIBITSTODEVICE {
	EMR emr;
	RECTL rclBounds;
	LONG xDest;
	LONG yDest;
	LONG xSrc;
	LONG ySrc;
	LONG cxSrc;
	LONG cySrc;
	DWORD offBmiSrc;
	DWORD cbBmiSrc;
	DWORD offBitsSrc;
	DWORD cbBitsSrc;
	DWORD iUsageSrc;
	DWORD iStartScan;
	DWORD cScans;
} EMRSETDIBITSTODEVICE,*PEMRSETDIBITSTODEVICE;
typedef struct tagEMRSETMAPPERFLAGS {
	EMR emr;
	DWORD dwFlags;
} EMRSETMAPPERFLAGS,*PEMRSETMAPPERFLAGS;
typedef struct tagEMRSETMITERLIMIT {
	EMR emr;
	FLOAT eMiterLimit;
} EMRSETMITERLIMIT,*PEMRSETMITERLIMIT;
typedef struct tagEMRSETPALETTEENTRIES {
	EMR emr;
	DWORD ihPal;
	DWORD iStart;
	DWORD cEntries;
	PALETTEENTRY aPalEntries[1];
} EMRSETPALETTEENTRIES,*PEMRSETPALETTEENTRIES;
typedef struct tagEMRSETPIXELV {
	EMR emr;
	POINTL ptlPixel;
	COLORREF crColor;
} EMRSETPIXELV,*PEMRSETPIXELV;
typedef struct tagEMRSETVIEWPORTEXTEX {
	EMR emr;
	SIZEL szlExtent;
} EMRSETVIEWPORTEXTEX,*PEMRSETVIEWPORTEXTEX,
EMRSETWINDOWEXTEX,*PEMRSETWINDOWEXTEX;
typedef struct tagEMRSETVIEWPORTORGEX {
	EMR emr;
	POINTL ptlOrigin;
} EMRSETVIEWPORTORGEX,*PEMRSETVIEWPORTORGEX,
EMRSETWINDOWORGEX,*PEMRSETWINDOWORGEX,
EMRSETBRUSHORGEX,*PEMRSETBRUSHORGEX;
typedef struct tagEMRSETWORLDTRANSFORM {
	EMR emr;
	XFORM xform;
} EMRSETWORLDTRANSFORM,*PEMRSETWORLDTRANSFORM;
typedef struct tagEMRSTRETCHBLT {
	EMR emr;
	RECTL rclBounds;
	LONG xDest;
	LONG yDest;
	LONG cxDest;
	LONG cyDest;
	DWORD dwRop;
	LONG xSrc;
	LONG ySrc;
	XFORM xformSrc;
	COLORREF crBkColorSrc;
	DWORD iUsageSrc;
	DWORD offBmiSrc;
	DWORD cbBmiSrc;
	DWORD offBitsSrc;
	DWORD cbBitsSrc;
	LONG cxSrc;
	LONG cySrc;
} EMRSTRETCHBLT,*PEMRSTRETCHBLT;
typedef struct tagEMRSTRETCHDIBITS {
	EMR emr;
	RECTL rclBounds;
	LONG xDest;
	LONG yDest;
	LONG xSrc;
	LONG ySrc;
	LONG cxSrc;
	LONG cySrc;
	DWORD offBmiSrc;
	DWORD cbBmiSrc;
	DWORD offBitsSrc;
	DWORD cbBitsSrc;
	DWORD iUsageSrc;
	DWORD dwRop;
	LONG cxDest;
	LONG cyDest;
} EMRSTRETCHDIBITS,*PEMRSTRETCHDIBITS;
typedef struct tagABORTPATH {
	EMR emr;
} EMRABORTPATH,*PEMRABORTPATH,
EMRBEGINPATH,*PEMRBEGINPATH,
EMRENDPATH,*PEMRENDPATH,
EMRCLOSEFIGURE,*PEMRCLOSEFIGURE,
EMRFLATTENPATH,*PEMRFLATTENPATH,
EMRWIDENPATH,*PEMRWIDENPATH,
EMRSETMETARGN,*PEMRSETMETARGN,
EMRSAVEDC,*PEMRSAVEDC,
EMRREALIZEPALETTE,*PEMRREALIZEPALETTE;
typedef struct tagEMRSELECTCLIPPATH {
	EMR emr;
	DWORD iMode;
} EMRSELECTCLIPPATH,*PEMRSELECTCLIPPATH,
EMRSETBKMODE,*PEMRSETBKMODE,
EMRSETMAPMODE,*PEMRSETMAPMODE,
EMRSETPOLYFILLMODE,*PEMRSETPOLYFILLMODE,
EMRSETROP2,*PEMRSETROP2,
EMRSETSTRETCHBLTMODE,*PEMRSETSTRETCHBLTMODE,
EMRSETTEXTALIGN,*PEMRSETTEXTALIGN,
EMRENABLEICM,*PEMRENABLEICM;
typedef struct tagNMHDR {
	HWND hwndFrom;
	UINT idFrom;
	UINT code;
} NMHDR;
typedef NMHDR *LPNMHDR;
typedef struct _encorrecttext {
	NMHDR nmhdr;
	CHARRANGE chrg;
	WORD seltyp;
} ENCORRECTTEXT;
typedef struct _endropfiles {
	NMHDR nmhdr;
	HANDLE hDrop;
	LONG cp;
	BOOL fProtected;
} ENDROPFILES;
typedef struct {
	NMHDR nmhdr;
	LONG cObjectCount;
	LONG cch;
} ENSAVECLIPBOARD;
typedef struct {
	NMHDR nmhdr;
	LONG iob;
	LONG lOper;
	HRESULT hr;
} ENOLEOPFAILED;
typedef struct tagENHMETAHEADER {
	DWORD iType;
	DWORD nSize;
	RECTL rclBounds;
	RECTL rclFrame;
	DWORD dSignature;
	DWORD nVersion;
	DWORD nBytes;
	DWORD nRecords;
	WORD nHandles;
	WORD sReserved;
	DWORD nDescription;
	DWORD offDescription;
	DWORD nPalEntries;
	SIZEL szlDevice;
	SIZEL szlMillimeters;
} ENHMETAHEADER,*LPENHMETAHEADER;
typedef struct tagENHMETARECORD {
	DWORD iType;
	DWORD nSize;
	DWORD dParm[1];
} ENHMETARECORD,*LPENHMETARECORD;

typedef struct _enprotected {
	NMHDR nmhdr;
	UINT msg;
	WPARAM wParam;
	LPARAM lParam;
	CHARRANGE chrg;
} ENPROTECTED,*LPENPROTECTED;
typedef struct _SERVICE_STATUS {
	DWORD dwServiceType;
	DWORD dwCurrentState;
	DWORD dwControlsAccepted;
	DWORD dwWin32ExitCode;
	DWORD dwServiceSpecificExitCode;
	DWORD dwCheckPoint;
	DWORD dwWaitHint;
} SERVICE_STATUS,*LPSERVICE_STATUS;
typedef struct _ENUM_SERVICE_STATUS {
	LPTSTR lpServiceName;
	LPTSTR lpDisplayName;
	SERVICE_STATUS ServiceStatus;
} ENUM_SERVICE_STATUS,*LPENUM_SERVICE_STATUS;
typedef struct tagENUMLOGFONT {
	LOGFONT elfLogFont;
	BCHAR elfFullName[LF_FULLFACESIZE];
	BCHAR elfStyle[LF_FACESIZE];
} ENUMLOGFONT;
typedef struct tagENUMLOGFONTEX {
	LOGFONT elfLogFont;
	BCHAR elfFullName[LF_FULLFACESIZE];
	BCHAR elfStyle[LF_FACESIZE];
	BCHAR elfScript[LF_FACESIZE];
} ENUMLOGFONTEX;
typedef struct _EVENTLOGRECORD {
	DWORD Length;
	DWORD Reserved;
	DWORD RecordNumber;
	DWORD TimeGenerated;
	DWORD TimeWritten;
	DWORD EventID;
	WORD EventType;
	WORD NumStrings;
	WORD EventCategory;
	WORD ReservedFlags;
	DWORD ClosingRecordNumber;
	DWORD StringOffset;
	DWORD UserSidLength;
	DWORD UserSidOffset;
	DWORD DataLength;
	DWORD DataOffset;
} EVENTLOGRECORD;
typedef struct tagEVENTMSG {
	UINT message;
	UINT paramL;
	UINT paramH;
	DWORD time;
	HWND hwnd;
} EVENTMSG;
typedef struct _EXCEPTION_POINTERS {
	PEXCEPTION_RECORD ExceptionRecord;
	PCONTEXT ContextRecord;
} EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS;
typedef struct _EXT_BUTTON {
	WORD idCommand;
	WORD idsHelp;
	WORD fsStyle;
} EXT_BUTTON,*LPEXT_BUTTON;
typedef struct tagFILTERKEYS {
	UINT cbSize;
	DWORD dwFlags;
	DWORD iWaitMSec;
	DWORD iDelayMSec;
	DWORD iRepeatMSec;
	DWORD iBounceMSec;
} FILTERKEYS;
typedef struct _FIND_NAME_BUFFER {
	UCHAR length;
	UCHAR access_control;
	UCHAR frame_control;
	UCHAR destination_addr[6];
	UCHAR source_addr[6];
	UCHAR routing_info[18];
} FIND_NAME_BUFFER;
typedef struct _FIND_NAME_HEADER {
	WORD node_count;
	UCHAR reserved;
	UCHAR unique_group;
} FIND_NAME_HEADER;
typedef struct {
	DWORD lStructSize;
	HWND hwndOwner;
	HINSTANCE hInstance;
	DWORD Flags;
	LPTSTR lpstrFindWhat;
	LPTSTR lpstrReplaceWith;
	WORD wFindWhatLen;
	WORD wReplaceWithLen;
	LPARAM lCustData;
	LPFRHOOKPROC lpfnHook;
	LPCTSTR lpTemplateName;
} FINDREPLACE,*LPFINDREPLACE;
typedef struct _findtext {
	CHARRANGE chrg;
	LPSTR lpstrText;
} FINDTEXT;
typedef struct _findtextex {
	CHARRANGE chrg;
	LPSTR lpstrText;
	CHARRANGE chrgText;
} FINDTEXTEX;
typedef struct _FMS_GETDRIVEINFO {
	DWORD dwTotalSpace;
	DWORD dwFreeSpace;
	TCHAR szPath[260];
	TCHAR szVolume[14];
	TCHAR szShare[128];
} FMS_GETDRIVEINFO;
typedef struct _FMS_GETFILESEL {
	FILETIME ftTime;
	DWORD dwSize;
	BYTE bAttr;
	TCHAR szName[260];
} FMS_GETFILESEL;
typedef struct _FMS_LOAD {
	DWORD dwSize;
	TCHAR szMenuName[MENU_TEXT_LEN];
	HMENU hMenu;
	UINT wMenuDelta;
} FMS_LOAD;
typedef struct _FMS_TOOLBARLOAD {
	DWORD dwSize;
	LPEXT_BUTTON lpButtons;
	WORD cButtons;
	WORD cBitmaps;
	WORD idBitmap;
	HBITMAP hBitmap;
} FMS_TOOLBARLOAD;
typedef struct _FOCUS_EVENT_RECORD {
	BOOL bSetFocus;
} FOCUS_EVENT_RECORD;
typedef struct _FORM_INFO_1 {
	DWORD Flags;
	LPTSTR pName;
	SIZEL Size;
	RECTL ImageableArea;
} FORM_INFO_1;
typedef struct _FORMAT_PARAMETERS {
	MEDIA_TYPE MediaType;
	DWORD StartCylinderNumber;
	DWORD EndCylinderNumber;
	DWORD StartHeadNumber;
	DWORD EndHeadNumber;
} FORMAT_PARAMETERS;
typedef struct _formatrange {
	HDC hdc;
	HDC hdcTarget;
	RECT rc;
	RECT rcPage;
	CHARRANGE chrg;
} FORMATRANGE;
typedef struct tagGCP_RESULTS {
	DWORD lStructSize;
	LPTSTR lpOutString;
	UINT *lpOrder;
	INT *lpDx;
	INT *lpCaretPos;
	LPTSTR lpClass;
	UINT *lpGlyphs;
	UINT nGlyphs;
	UINT nMaxFit;
} GCP_RESULTS,*LPGCP_RESULTS;
typedef struct _GENERIC_MAPPING {
	ACCESS_MASK GenericRead;
	ACCESS_MASK GenericWrite;
	ACCESS_MASK GenericExecute;
	ACCESS_MASK GenericAll;
} GENERIC_MAPPING,*PGENERIC_MAPPING;
typedef struct _GLYPHMETRICS {
	UINT gmBlackBoxX;
	UINT gmBlackBoxY;
	POINT gmptGlyphOrigin;
	short gmCellIncX;
	short gmCellIncY;
} GLYPHMETRICS,*LPGLYPHMETRICS;
typedef struct tagHANDLETABLE {
	HGDIOBJ objectHandle[1];
} HANDLETABLE,*LPHANDLETABLE;
typedef struct _HD_HITTESTINFO {
	POINT pt;
	UINT flags;
	int iItem;
} HD_HITTESTINFO;
typedef struct _HD_ITEM {
	UINT mask;
	int cxy;
	LPTSTR pszText;
	HBITMAP hbm;
	int cchTextMax;
	int fmt;
	LPARAM lParam;
} HD_ITEM;
typedef struct _WINDOWPOS {
	HWND hwnd;
	HWND hwndInsertAfter;
	int x;
	int y;
	int cx;
	int cy;
	UINT flags;
} WINDOWPOS,*PWINDOWPOS,*LPWINDOWPOS;
typedef struct _HD_LAYOUT {
	RECT *prc;
	WINDOWPOS *pwpos;
} HD_LAYOUT;
typedef struct _HD_NOTIFY {
	NMHDR hdr;
	int iItem;
	int iButton;
	HD_ITEM *pitem;
} HD_NOTIFY;
typedef struct tagHELPINFO {
	UINT cbSize;
	int iContextType;
	int iCtrlId;
	HANDLE hItemHandle;
	DWORD dwContextId;
	POINT MousePos;
} HELPINFO,*LPHELPINFO;
typedef struct {
	int wStructSize;
	int x;
	int y;
	int dx;
	int dy;
	int wMax;
	TCHAR rgchMember[2];
} HELPWININFO;
typedef struct tagHIGHCONTRAST {
	UINT cbSize;
	DWORD dwFlags;
	LPTSTR lpszDefaultScheme;
} HIGHCONTRAST,*LPHIGHCONTRAST;
typedef struct tagHSZPAIR {
	HSZ hszSvc;
	HSZ hszTopic;
} HSZPAIR;
typedef struct _ICONINFO {
	BOOL fIcon;
	DWORD xHotspot;
	DWORD yHotspot;
	HBITMAP hbmMask;
	HBITMAP hbmColor;
} ICONINFO,*PICONINFO;
typedef struct tagICONMETRICS {
	UINT cbSize;
	int iHorzSpacing;
	int iVertSpacing;
	int iTitleWrap;
	LOGFONT lfFont;
} ICONMETRICS,*LPICONMETRICS;
typedef struct _IMAGEINFO {
	HBITMAP hbmImage;
	HBITMAP hbmMask;
	int Unused1;
	int Unused2;
	RECT rcImage;
} IMAGEINFO;
typedef struct _KEY_EVENT_RECORD {
	BOOL bKeyDown;
	WORD wRepeatCount;
	WORD wVirtualKeyCode;
	WORD wVirtualScanCode;
	union {
		WCHAR UnicodeChar;
		CHAR AsciiChar;
	} uChar;
	DWORD dwControlKeyState;
} KEY_EVENT_RECORD;
typedef struct _MOUSE_EVENT_RECORD {
	COORD dwMousePosition;
	DWORD dwButtonState;
	DWORD dwControlKeyState;
	DWORD dwEventFlags;
} MOUSE_EVENT_RECORD;
typedef struct _WINDOW_BUFFER_SIZE_RECORD {
	COORD dwSize;
} WINDOW_BUFFER_SIZE_RECORD;
typedef struct _MENU_EVENT_RECORD {
	UINT dwCommandId;
} MENU_EVENT_RECORD,*PMENU_EVENT_RECORD;
typedef struct _INPUT_RECORD {
	WORD EventType;
	WORD __alignmentDummy;
	union {
		KEY_EVENT_RECORD KeyEvent;
		MOUSE_EVENT_RECORD MouseEvent;
		WINDOW_BUFFER_SIZE_RECORD WindowBufferSizeEvent;
		MENU_EVENT_RECORD MenuEvent;
		FOCUS_EVENT_RECORD FocusEvent;
	} Event;
} INPUT_RECORD,*PINPUT_RECORD;
typedef struct _SYSTEMTIME {
	WORD wYear;
	WORD wMonth;
	WORD wDayOfWeek;
	WORD wDay;
	WORD wHour;
	WORD wMinute;
	WORD wSecond;
	WORD wMilliseconds;
} SYSTEMTIME,*LPSYSTEMTIME;
typedef struct _JOB_INFO_1 {
	DWORD JobId;
	LPTSTR pPrinterName;
	LPTSTR pMachineName;
	LPTSTR pUserName;
	LPTSTR pDocument;
	LPTSTR pDatatype;
	LPTSTR pStatus;
	DWORD Status;
	DWORD Priority;
	DWORD Position;
	DWORD TotalPages;
	DWORD PagesPrinted;
	SYSTEMTIME Submitted;
} JOB_INFO_1;
typedef struct _SID_IDENTIFIER_AUTHORITY {
	BYTE Value[6];
} SID_IDENTIFIER_AUTHORITY,*PSID_IDENTIFIER_AUTHORITY,
*LPSID_IDENTIFIER_AUTHORITY;
typedef struct _SID {
	BYTE Revision;
	BYTE SubAuthorityCount;
	SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
	DWORD SubAuthority[ANYSIZE_ARRAY];
} SID,*PSID;
typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL;
typedef struct _SECURITY_DESCRIPTOR {
	BYTE Revision;
	BYTE Sbz1;
	SECURITY_DESCRIPTOR_CONTROL Control;
	PSID Owner;
	PSID Group;
	PACL Sacl;
	PACL Dacl;
} SECURITY_DESCRIPTOR,*PSECURITY_DESCRIPTOR;
typedef struct _JOB_INFO_2 {
	DWORD JobId;
	LPTSTR pPrinterName;
	LPTSTR pMachineName;
	LPTSTR pUserName;
	LPTSTR pDocument;
	LPTSTR pNotifyName;
	LPTSTR pDatatype;
	LPTSTR pPrintProcessor;
	LPTSTR pParameters;
	LPTSTR pDriverName;
	LPDEVMODE pDevMode;
	LPTSTR pStatus;
	PSECURITY_DESCRIPTOR pSecurityDescriptor;
	DWORD Status;
	DWORD Priority;
	DWORD Position;
	DWORD StartTime;
	DWORD UntilTime;
	DWORD TotalPages;
	DWORD Size;
	SYSTEMTIME Submitted;
	DWORD Time;
	DWORD PagesPrinted;
} JOB_INFO_2;
typedef struct tagKERNINGPAIR {
	WORD wFirst;
	WORD wSecond;
	int iKernAmount;
} KERNINGPAIR,*LPKERNINGPAIR;
typedef struct _LANA_ENUM {
	UCHAR length;
	UCHAR lana[MAX_LANA];
} LANA_ENUM;
typedef struct _LDT_ENTRY {
	WORD LimitLow;
	WORD BaseLow;
	union {
		struct {
			BYTE BaseMid;
			BYTE Flags1;
			BYTE Flags2;
			BYTE BaseHi;
		} Bytes;
		struct {
			DWORD BaseMid:8;
			DWORD Type:5;
			DWORD Dpl:2;
			DWORD Pres:1;
			DWORD LimitHi:4;
			DWORD Sys:1;
			DWORD Reserved_0:1;
			DWORD Default_Big:1;
			DWORD Granularity:1;
			DWORD BaseHi:8;
		} Bits;
	} HighWord;
} LDT_ENTRY,*PLDT_ENTRY,*LPLDT_ENTRY;
typedef struct tagLOCALESIGNATURE {
	DWORD lsUsb[4];
	DWORD lsCsbDefault[2];
	DWORD lsCsbSupported[2];
} LOCALESIGNATURE;
typedef struct _LOCALGROUP_MEMBERS_INFO_0 {
	PSID lgrmi0_sid;
} LOCALGROUP_MEMBERS_INFO_0;
typedef struct _LOCALGROUP_MEMBERS_INFO_3 {
	LPWSTR lgrmi3_domainandname;
} LOCALGROUP_MEMBERS_INFO_3;
typedef long FXPT16DOT16,*LPFXPT16DOT16;
typedef LARGE_INTEGER LUID,*PLUID;
typedef struct _LUID_AND_ATTRIBUTES {
	LUID Luid;
	DWORD Attributes;
} LUID_AND_ATTRIBUTES;
typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY];
typedef LUID_AND_ATTRIBUTES_ARRAY *PLUID_AND_ATTRIBUTES_ARRAY;
typedef struct _LV_COLUMN {
	UINT mask;
	int fmt;
	int cx;
	LPTSTR pszText;
	int cchTextMax;
	int iSubItem;
} LV_COLUMN;
typedef struct _LV_ITEM {
	UINT mask;
	int iItem;
	int iSubItem;
	UINT state;
	UINT stateMask;
	LPTSTR pszText;
	int cchTextMax;
	int iImage;
	LPARAM lParam;
} LV_ITEM;
typedef struct tagLV_DISPINFO {
	NMHDR hdr;
	LV_ITEM item;
} LV_DISPINFO;
typedef struct _LV_FINDINFO {
	UINT flags;
	LPCTSTR psz;
	LPARAM lParam;
	POINT pt;
	UINT vkDirection;
} LV_FINDINFO;
typedef struct _LV_HITTESTINFO {
	POINT pt;
	UINT flags;
	int iItem;
} LV_HITTESTINFO;
typedef struct tagLV_KEYDOWN {
	NMHDR hdr;
	WORD wVKey;
	UINT flags;
} LV_KEYDOWN;
typedef struct _MAT2 {
	FIXED eM11;
	FIXED eM12;
	FIXED eM21;
	FIXED eM22;
} MAT2;
typedef struct tagMDICREATESTRUCT {
	LPCTSTR szClass;
	LPCTSTR szTitle;
	HANDLE hOwner;
	int x;
	int y;
	int cx;
	int cy;
	DWORD style;
	LPARAM lParam;
} MDICREATESTRUCT;
typedef MDICREATESTRUCT *LPMDICREATESTRUCT;
typedef struct tagMEASUREITEMSTRUCT {
	UINT CtlType;
	UINT CtlID;
	UINT itemID;
	UINT itemWidth;
	UINT itemHeight;
	DWORD itemData;
} MEASUREITEMSTRUCT;
typedef MEASUREITEMSTRUCT *LPMEASUREITEMSTRUCT;
typedef struct _MEMORY_BASIC_INFORMATION {
	PVOID BaseAddress;
	PVOID AllocationBase;
	DWORD AllocationProtect;
	DWORD RegionSize;
	DWORD State;
	DWORD Protect;
	DWORD Type;
} MEMORY_BASIC_INFORMATION;
typedef MEMORY_BASIC_INFORMATION *PMEMORY_BASIC_INFORMATION;
typedef struct _MEMORYSTATUS {
	DWORD dwLength;
	DWORD dwMemoryLoad;
	DWORD dwTotalPhys;
	DWORD dwAvailPhys;
	DWORD dwTotalPageFile;
	DWORD dwAvailPageFile;
	DWORD dwTotalVirtual;
	DWORD dwAvailVirtual;
} MEMORYSTATUS,*LPMEMORYSTATUS;
typedef struct {
	WORD wVersion;
	WORD wOffset;
	DWORD dwHelpId;
} MENUEX_TEMPLATE_HEADER;
typedef struct {
	DWORD dwType;
	DWORD dwState;
	UINT uId;
	BYTE bResInfo;
	WCHAR szText[1];
	DWORD dwHelpId;
} MENUEX_TEMPLATE_ITEM;
typedef struct tagMENUITEMINFO {
	UINT cbSize;
	UINT fMask;
	UINT fType;
	UINT fState;
	UINT wID;
	HMENU hSubMenu;
	HBITMAP hbmpChecked;
	HBITMAP hbmpUnchecked;
	DWORD dwItemData;
	LPTSTR dwTypeData;
	UINT cch;
} MENUITEMINFO,*LPMENUITEMINFO;
typedef MENUITEMINFO CONST *LPCMENUITEMINFO;
typedef struct {
	WORD mtOption;
	WORD mtID;
	WCHAR mtString[1];
} MENUITEMTEMPLATE;
typedef struct {
	WORD versionNumber;
	WORD offset;
} MENUITEMTEMPLATEHEADER;
typedef VOID MENUTEMPLATE,*LPMENUTEMPLATE;
typedef struct tagMETAFILEPICT {
	LONG mm;
	LONG xExt;
	LONG yExt;
	HMETAFILE hMF;
} METAFILEPICT,*LPMETAFILEPICT;
typedef struct tagMETAHEADER {
	WORD mtType;
	WORD mtHeaderSize;
	WORD mtVersion;
	DWORD mtSize;
	WORD mtNoObjects;
	DWORD mtMaxRecord;
	WORD mtNoParameters;
} METAHEADER,*LPMETAHEADER;
typedef struct tagMETARECORD {
	DWORD rdSize;
	WORD rdFunction;
	WORD rdParm[1];
} METARECORD,*LPMETARECORD;
typedef struct tagMINIMIZEDMETRICS {
	UINT cbSize;
	int iWidth;
	int iHorzGap;
	int iVertGap;
	int iArrange;
} MINIMIZEDMETRICS,*LPMINIMIZEDMETRICS;
typedef struct tagMINMAXINFO {
	POINT ptReserved;
	POINT ptMaxSize;
	POINT ptMaxPosition;
	POINT ptMinTrackSize;
	POINT ptMaxTrackSize;
} MINMAXINFO,*LPMINMAXINFO;
typedef struct modemdevcaps_tag {
	DWORD dwActualSize;
	DWORD dwRequiredSize;
	DWORD dwDevSpecificOffset;
	DWORD dwDevSpecificSize;
	DWORD dwModemProviderVersion;
	DWORD dwModemManufacturerOffset;
	DWORD dwModemManufacturerSize;
	DWORD dwModemModelOffset;
	DWORD dwModemModelSize;
	DWORD dwModemVersionOffset;
	DWORD dwModemVersionSize;
	DWORD dwDialOptions;
	DWORD dwCallSetupFailTimer;
	DWORD dwInactivityTimeout;
	DWORD dwSpeakerVolume;
	DWORD dwSpeakerMode;
	DWORD dwModemOptions;
	DWORD dwMaxDTERate;
	DWORD dwMaxDCERate;
	BYTE abVariablePortion[1];
} MODEMDEVCAPS,*PMODEMDEVCAPS,*LPMODEMDEVCAPS;
typedef struct modemsettings_tag {
	DWORD dwActualSize;
	DWORD dwRequiredSize;
	DWORD dwDevSpecificOffset;
	DWORD dwDevSpecificSize;
	DWORD dwCallSetupFailTimer;
	DWORD dwInactivityTimeout;
	DWORD dwSpeakerVolume;
	DWORD dwSpeakerMode;
	DWORD dwPreferredModemOptions;
	DWORD dwNegotiatedModemOptions;
	DWORD dwNegotiatedDCERate;
	BYTE abVariablePortion[1];
} MODEMSETTINGS,*PMODEMSETTINGS,*LPMODEMSETTINGS;
typedef struct tagMONCBSTRUCT {
	UINT cb;
	DWORD dwTime;
	HANDLE hTask;
	DWORD dwRet;
	UINT wType;
	UINT wFmt;
	HCONV hConv;
	HSZ hsz1;
	HSZ hsz2;
	HDDEDATA hData;
	DWORD dwData1;
	DWORD dwData2;
	CONVCONTEXT cc;
	DWORD cbData;
	DWORD Data[8];
} MONCBSTRUCT;
typedef struct tagMONCONVSTRUCT {
	UINT cb;
	BOOL fConnect;
	DWORD dwTime;
	HANDLE hTask;
	HSZ hszSvc;
	HSZ hszTopic;
	HCONV hConvClient;
	HCONV hConvServer;
} MONCONVSTRUCT;
typedef struct tagMONERRSTRUCT {
	UINT cb;
	UINT wLastError;
	DWORD dwTime;
	HANDLE hTask;
} MONERRSTRUCT;
typedef struct tagMONHSZSTRUCT {
	UINT cb;
	BOOL fsAction;
	DWORD dwTime;
	HSZ hsz;
	HANDLE hTask;
	TCHAR str[1];
} MONHSZSTRUCT;
typedef struct _MONITOR_INFO_1 {
	LPTSTR pName;
} MONITOR_INFO_1;
typedef struct _MONITOR_INFO_2 {
	LPTSTR pName;
	LPTSTR pEnvironment;
	LPTSTR pDLLName;
} MONITOR_INFO_2;
typedef struct tagMONLINKSTRUCT {
	UINT cb;
	DWORD dwTime;
	HANDLE hTask;
	BOOL fEstablished;
	BOOL fNoData;
	HSZ hszSvc;
	HSZ hszTopic;
	HSZ hszItem;
	UINT wFmt;
	BOOL fServer;
	HCONV hConvServer;
	HCONV hConvClient;
} MONLINKSTRUCT;
typedef struct tagMONMSGSTRUCT {
	UINT cb;
	HWND hwndTo;
	DWORD dwTime;
	HANDLE hTask;
	UINT wMsg;
	WPARAM wParam;
	LPARAM lParam;
	DDEML_MSG_HOOK_DATA dmhd;
} MONMSGSTRUCT;
typedef struct tagMOUSEHOOKSTRUCT {
	POINT pt;
	HWND hwnd;
	UINT wHitTestCode;
	DWORD dwExtraInfo;
} MOUSEHOOKSTRUCT;
typedef struct _MOUSEKEYS {
	DWORD cbSize;
	DWORD dwFlags;
	DWORD iMaxSpeed;
	DWORD iTimeToMaxSpeed;
	DWORD iCtrlSpeed;
	DWORD dwReserved1;
	DWORD dwReserved2;
} MOUSEKEYS;
typedef struct tagMSG {
	HWND hwnd;
	UINT message;
	WPARAM wParam;
	LPARAM lParam;
	DWORD time;
	POINT pt;
} MSG,*LPMSG;
typedef void (CALLBACK * MSGBOXCALLBACK) (LPHELPINFO lpHelpInfo);
typedef struct {
	UINT cbSize;
	HWND hwndOwner;
	HINSTANCE hInstance;
	LPCSTR lpszText;
	LPCSTR lpszCaption;
	DWORD dwStyle;
	LPCSTR lpszIcon;
	DWORD dwContextHelpId;
	MSGBOXCALLBACK lpfnMsgBoxCallback;
	DWORD dwLanguageId;
} MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS;
typedef struct _msgfilter {
	NMHDR nmhdr;
	UINT msg;
	WPARAM wParam;
	LPARAM lParam;
} MSGFILTER;
typedef struct tagMULTIKEYHELP {
	DWORD mkSize;
	TCHAR mkKeylist;
	TCHAR szKeyphrase[1];
} MULTIKEYHELP;
typedef struct _NAME_BUFFER {
	UCHAR name[NCBNAMSZ];
	UCHAR name_num;
	UCHAR name_flags;
} NAME_BUFFER;
typedef struct _NCB {
	UCHAR ncb_command;
	UCHAR ncb_retcode;
	UCHAR ncb_lsn;
	UCHAR ncb_num;
	PUCHAR ncb_buffer;
	WORD ncb_length;
	UCHAR ncb_callname[NCBNAMSZ];
	UCHAR ncb_name[NCBNAMSZ];
	UCHAR ncb_rto;
	UCHAR ncb_sto;
	void (*ncb_post) (struct _NCB *);
	UCHAR ncb_lana_num;
	UCHAR ncb_cmd_cplt;
	UCHAR ncb_reserve[10];
	HANDLE ncb_event;
} NCB;
typedef struct _NCCALCSIZE_PARAMS {
	RECT rgrc[3];
	PWINDOWPOS lppos;
} NCCALCSIZE_PARAMS;
typedef struct _NDDESHAREINFO {
	LONG lRevision;
	LPTSTR lpszShareName;
	LONG lShareType;
	LPTSTR lpszAppTopicList;
	LONG fSharedFlag;
	LONG fService;
	LONG fStartAppFlag;
	LONG nCmdShow;
	LONG qModifyId[2];
	LONG cNumItems;
	LPTSTR lpszItemList;
} NDDESHAREINFO;
typedef struct _NETRESOURCE {
	DWORD dwScope;
	DWORD dwType;
	DWORD dwDisplayType;
	DWORD dwUsage;
	LPTSTR lpLocalName;
	LPTSTR lpRemoteName;
	LPTSTR lpComment;
	LPTSTR lpProvider;
} NETRESOURCE,*LPNETRESOURCE;
typedef struct tagNEWCPLINFO {
	DWORD dwSize;
	DWORD dwFlags;
	DWORD dwHelpContext;
	LONG lData;
	HICON hIcon;
	TCHAR szName[32];
	TCHAR szInfo[64];
	TCHAR szHelpFile[128];
} NEWCPLINFO;
typedef struct tagNEWTEXTMETRIC {
	LONG tmHeight;
	LONG tmAscent;
	LONG tmDescent;
	LONG tmInternalLeading;
	LONG tmExternalLeading;
	LONG tmAveCharWidth;
	LONG tmMaxCharWidth;
	LONG tmWeight;
	LONG tmOverhang;
	LONG tmDigitizedAspectX;
	LONG tmDigitizedAspectY;
	BCHAR tmFirstChar;
	BCHAR tmLastChar;
	BCHAR tmDefaultChar;
	BCHAR tmBreakChar;
	BYTE tmItalic;
	BYTE tmUnderlined;
	BYTE tmStruckOut;
	BYTE tmPitchAndFamily;
	BYTE tmCharSet;
	DWORD ntmFlags;
	UINT ntmSizeEM;
	UINT ntmCellHeight;
	UINT ntmAvgWidth;
} NEWTEXTMETRIC;
typedef struct tagNEWTEXTMETRICEX {
	NEWTEXTMETRIC ntmentm;
	FONTSIGNATURE ntmeFontSignature;
} NEWTEXTMETRICEX;
typedef struct tagNM_LISTVIEW {
	NMHDR hdr;
	int iItem;
	int iSubItem;
	UINT uNewState;
	UINT uOldState;
	UINT uChanged;
	POINT ptAction;
	LPARAM lParam;
} NM_LISTVIEW;
typedef struct _TREEITEM *HTREEITEM;
typedef struct _TV_ITEM {
	UINT mask;
	HTREEITEM hItem;
	UINT state;
	UINT stateMask;
	LPTSTR pszText;
	int cchTextMax;
	int iImage;
	int iSelectedImage;
	int cChildren;
	LPARAM lParam;
} TV_ITEM,*LPTV_ITEM;
typedef struct _NM_TREEVIEW {
	NMHDR hdr;
	UINT action;
	TV_ITEM itemOld;
	TV_ITEM itemNew;
	POINT ptDrag;
} NM_TREEVIEW;
typedef NM_TREEVIEW *LPNM_TREEVIEW;
typedef struct _NM_UPDOWN {
	NMHDR hdr;
	int iPos;
	int iDelta;
} NM_UPDOWNW;
typedef struct tagNONCLIENTMETRICS {
	UINT cbSize;
	int iBorderWidth;
	int iScrollWidth;
	int iScrollHeight;
	int iCaptionWidth;
	int iCaptionHeight;
	LOGFONT lfCaptionFont;
	int iSmCaptionWidth;
	int iSmCaptionHeight;
	LOGFONT lfSmCaptionFont;
	int iMenuWidth;
	int iMenuHeight;
	LOGFONT lfMenuFont;
	LOGFONT lfStatusFont;
	LOGFONT lfMessageFont;
} NONCLIENTMETRICS,*LPNONCLIENTMETRICS;
typedef struct _SERVICE_ADDRESS {
	DWORD dwAddressType;
	DWORD dwAddressFlags;
	DWORD dwAddressLength;
	DWORD dwPrincipalLength;
	BYTE *lpAddress;
	BYTE *lpPrincipal;
} SERVICE_ADDRESS;
typedef struct _SERVICE_ADDRESSES {
	DWORD dwAddressCount;
	SERVICE_ADDRESS Addresses[1];
} SERVICE_ADDRESSES,*LPSERVICE_ADDRESSES;
typedef struct _GUID {
	unsigned long Data1;
	unsigned short Data2;
	unsigned short Data3;
	unsigned char Data4[8];
} GUID,*LPGUID;
typedef GUID IID;
typedef IID *LPIID;
typedef IID *REFIID;
typedef GUID CLSID,*LPCLSID;
typedef CLSID *REFCLSID;
typedef GUID *REFGUID;
typedef struct _RPC_VERSION { WORD MajorVersion; WORD MinorVersion; } RPC_VERSION;
typedef struct _RPC_SYNTAX_IDENTIFIER { GUID SyntaxGUID;
    RPC_VERSION SyntaxVersion;
} RPC_SYNTAX_IDENTIFIER, * PRPC_SYNTAX_IDENTIFIER;
typedef struct _RPC_MESSAGE {
    HANDLE Handle;
    unsigned long DataRepresentation;
    void  * Buffer;
    unsigned int BufferLength;
    unsigned int ProcNum;
    PRPC_SYNTAX_IDENTIFIER TransferSyntax;
    void  * RpcInterfaceInformation;
    void  * ReservedForRuntime;
    void  * ManagerEpv;
    void  * ImportContext;
    unsigned long RpcFlags;
} RPC_MESSAGE, * PRPC_MESSAGE;
typedef struct _SERVICE_INFO {
	LPGUID lpServiceType;
	LPTSTR lpServiceName;
	LPTSTR lpComment;
	LPTSTR lpLocale;
	DWORD dwDisplayHint;
	DWORD dwVersion;
	DWORD dwTime;
	LPTSTR lpMachineName;
	LPSERVICE_ADDRESSES lpServiceAddress;
	BLOB ServiceSpecificInfo;
} SERVICE_INFO;
typedef struct _NS_SERVICE_INFO {
	DWORD dwNameSpace;
	SERVICE_INFO ServiceInfo;
} NS_SERVICE_INFO;
typedef struct _numberfmt {
	UINT NumDigits;
	UINT LeadingZero;
	UINT Grouping;
	LPTSTR lpDecimalSep;
	LPTSTR lpThousandSep;
	UINT NegativeOrder;
} NUMBERFMT;
typedef struct _OFSTRUCT {
	BYTE cBytes;
	BYTE fFixedDisk;
	WORD nErrCode;
	WORD Reserved1;
	WORD Reserved2;
	CHAR szPathName[OFS_MAXPATHNAME];
} OFSTRUCT,*LPOFSTRUCT;
typedef struct tagOFN {
	DWORD lStructSize;
	HWND hwndOwner;
	HINSTANCE hInstance;
	LPCTSTR lpstrFilter;
	LPTSTR lpstrCustomFilter;
	DWORD nMaxCustFilter;
	DWORD nFilterIndex;
	LPTSTR lpstrFile;
	DWORD nMaxFile;
	LPTSTR lpstrFileTitle;
	DWORD nMaxFileTitle;
	LPCTSTR lpstrInitialDir;
	LPCTSTR lpstrTitle;
	DWORD Flags;
	WORD nFileOffset;
	WORD nFileExtension;
	LPCTSTR lpstrDefExt;
	DWORD lCustData;
	LPOFNHOOKPROC lpfnHook;
	LPCTSTR lpTemplateName;
} OPENFILENAME,*LPOPENFILENAME;
typedef struct _OFNOTIFY {
	NMHDR hdr;
	LPOPENFILENAME lpOFN;
	LPTSTR pszFile;
} OFNOTIFY,*LPOFNOTIFY;
typedef struct _OSVERSIONINFO {
	DWORD dwOSVersionInfoSize;
	DWORD dwMajorVersion;
	DWORD dwMinorVersion;
	DWORD dwBuildNumber;
	DWORD dwPlatformId;
	TCHAR szCSDVersion[128];
} OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
typedef struct tagTEXTMETRIC {
	LONG tmHeight;
	LONG tmAscent;
	LONG tmDescent;
	LONG tmInternalLeading;
	LONG tmExternalLeading;
	LONG tmAveCharWidth;
	LONG tmMaxCharWidth;
	LONG tmWeight;
	LONG tmOverhang;
	LONG tmDigitizedAspectX;
	LONG tmDigitizedAspectY;
	BCHAR tmFirstChar;
	BCHAR tmLastChar;
	BCHAR tmDefaultChar;
	BCHAR tmBreakChar;
	BYTE tmItalic;
	BYTE tmUnderlined;
	BYTE tmStruckOut;
	BYTE tmPitchAndFamily;
	BYTE tmCharSet;
} TEXTMETRIC,*LPTEXTMETRIC;
typedef int (CALLBACK *OLDFONTENUMPROC)(LOGFONT *,TEXTMETRIC *,DWORD,LPARAM);
typedef struct tagTEXTMETRIC *PTEXTMETRIC;
typedef struct _OUTLINETEXTMETRIC {
	UINT otmSize;
	TEXTMETRIC otmTextMetrics;
	BYTE otmFiller;
	PANOSE otmPanoseNumber;
	UINT otmfsSelection;
	UINT otmfsType;
	int otmsCharSlopeRise;
	int otmsCharSlopeRun;
	int otmItalicAngle;
	UINT otmEMSquare;
	int otmAscent;
	int otmDescent;
	UINT otmLineGap;
	UINT otmsCapEmHeight;
	UINT otmsXHeight;
	RECT otmrcFontBox;
	int otmMacAscent;
	int otmMacDescent;
	UINT otmMacLineGap;
	UINT otmusMinimumPPEM;
	POINT otmptSubscriptSize;
	POINT otmptSubscriptOffset;
	POINT otmptSuperscriptSize;
	POINT otmptSuperscriptOffset;
	UINT otmsStrikeoutSize;
	int otmsStrikeoutPosition;
	int otmsUnderscoreSize;
	int otmsUnderscorePosition;
	PSTR otmpFamilyName;
	PSTR otmpFaceName;
	PSTR otmpStyleName;
	PSTR otmpFullName;
} OUTLINETEXTMETRIC,*LPOUTLINETEXTMETRIC;
typedef struct _OVERLAPPED {
	DWORD Internal;
	DWORD InternalHigh;
	DWORD Offset;
	DWORD OffsetHigh;
	HANDLE hEvent;
} OVERLAPPED,*LPOVERLAPPED;
typedef struct tagPSD {
	DWORD lStructSize;
	HWND hwndOwner;
	HGLOBAL hDevMode;
	HGLOBAL hDevNames;
	DWORD Flags;
	POINT ptPaperSize;
	RECT rtMinMargin;
	RECT rtMargin;
	HINSTANCE hInstance;
	LPARAM lCustData;
	LPPAGESETUPHOOK lpfnPageSetupHook;
	LPPAGEPAINTHOOK lpfnPagePaintHook;
	LPCTSTR lpPageSetupTemplateName;
	HGLOBAL hPageSetupTemplate;
} PAGESETUPDLG,*LPPAGESETUPDLG;
typedef struct tagPAINTSTRUCT {
	HDC hdc;
	BOOL fErase;
	RECT rcPaint;
	BOOL fRestore;
	BOOL fIncUpdate;
	BYTE rgbReserved[32];
} PAINTSTRUCT,*LPPAINTSTRUCT;
typedef struct _paraformat {
	UINT cbSize;
	DWORD dwMask;
	WORD wNumbering;
	WORD wReserved;
	LONG dxStartIndent;
	LONG dxRightIndent;
	LONG dxOffset;
	WORD wAlignment;
	SHORT cTabCount;
	LONG rgxTabs[MAX_TAB_STOPS];
} PARAFORMAT;
typedef struct _PERF_COUNTER_BLOCK {
	DWORD ByteLength;
} PERF_COUNTER_BLOCK;
typedef struct _PERF_COUNTER_DEFINITION {
	DWORD ByteLength;
	DWORD CounterNameTitleIndex;
	LPWSTR CounterNameTitle;
	DWORD CounterHelpTitleIndex;
	LPWSTR CounterHelpTitle;
	DWORD DefaultScale;
	DWORD DetailLevel;
	DWORD CounterType;
	DWORD CounterSize;
	DWORD CounterOffset;
} PERF_COUNTER_DEFINITION;
typedef struct _PERF_DATA_BLOCK {
	WCHAR Signature[4];
	DWORD LittleEndian;
	DWORD Version;
	DWORD Revision;
	DWORD TotalByteLength;
	DWORD HeaderLength;
	DWORD NumObjectTypes;
	DWORD DefaultObject;
	SYSTEMTIME SystemTime;
	LARGE_INTEGER PerfTime;
	LARGE_INTEGER PerfFreq;
	LARGE_INTEGER PerfTime100nSec;
	DWORD SystemNameLength;
	DWORD SystemNameOffset;
} PERF_DATA_BLOCK;
typedef struct _PERF_INSTANCE_DEFINITION {
	DWORD ByteLength;
	DWORD ParentObjectTitleIndex;
	DWORD ParentObjectInstance;
	DWORD UniqueID;
	DWORD NameOffset;
	DWORD NameLength;
} PERF_INSTANCE_DEFINITION;
typedef struct _PERF_OBJECT_TYPE {
	DWORD TotalByteLength;
	DWORD DefinitionLength;
	DWORD HeaderLength;
	DWORD ObjectNameTitleIndex;
	LPWSTR ObjectNameTitle;
	DWORD ObjectHelpTitleIndex;
	LPWSTR ObjectHelpTitle;
	DWORD DetailLevel;
	DWORD NumCounters;
	DWORD DefaultCounter;
	DWORD NumInstances;
	DWORD CodePage;
	LARGE_INTEGER PerfTime;
	LARGE_INTEGER PerfFreq;
} PERF_OBJECT_TYPE;
typedef struct _POLYTEXT {
	int x;
	int y;
	UINT n;
	LPCTSTR lpstr;
	UINT uiFlags;
	RECT rcl;
	int *pdx;
} POLYTEXT;
typedef struct _PORT_INFO_1 {
	LPTSTR pName;
} PORT_INFO_1;
typedef struct _PORT_INFO_2 {
	LPSTR pPortName;
	LPSTR pMonitorName;
	LPSTR pDescription;
	DWORD fPortType;
	DWORD Reserved;
} PORT_INFO_2;
typedef struct _PREVENT_MEDIA_REMOVAL {
	BOOLEAN PreventMediaRemoval;
} PREVENT_MEDIA_REMOVAL;
typedef struct tagPD {
	DWORD lStructSize;
	HWND hwndOwner;
	HANDLE hDevMode;
	HANDLE hDevNames;
	HDC hDC;
	DWORD Flags;
	WORD nFromPage;
	WORD nToPage;
	WORD nMinPage;
	WORD nMaxPage;
	WORD nCopies;
	HINSTANCE hInstance;
	DWORD lCustData;
	LPPRINTHOOKPROC lpfnPrintHook;
	LPSETUPHOOKPROC lpfnSetupHook;
	LPCTSTR lpPrintTemplateName;
	LPCTSTR lpSetupTemplateName;
	HANDLE hPrintTemplate;
	HANDLE hSetupTemplate;
} PRINTDLG,*LPPRINTDLG;
typedef struct _PRINTER_DEFAULTS {
	LPTSTR pDatatype;
	LPDEVMODE pDevMode;
	ACCESS_MASK DesiredAccess;
} PRINTER_DEFAULTS;
typedef struct _PRINTPROCESSOR_INFO_1 {
	LPTSTR pName;
} PRINTPROCESSOR_INFO_1;
typedef struct _PRIVILEGE_SET {
	DWORD PrivilegeCount;
	DWORD Control;
	LUID_AND_ATTRIBUTES Privilege[ANYSIZE_ARRAY];
} PRIVILEGE_SET,*PPRIVILEGE_SET,*LPPRIVILEGE_SET;
typedef struct _PROCESS_HEAP_ENTRY {
	PVOID lpData;
	DWORD cbData;
	BYTE cbOverhead;
	BYTE iRegionIndex;
	WORD wFlags;
	DWORD dwCommittedSize;
	DWORD dwUnCommittedSize;
	LPVOID lpFirstBlock;
	LPVOID lpLastBlock;
	HANDLE hMem;
} PROCESS_HEAPENTRY,*LPPROCESS_HEAP_ENTRY;
typedef struct _PROCESS_INFORMATION {
	HANDLE hProcess;
	HANDLE hThread;
	DWORD dwProcessId;
	DWORD dwThreadId;
} PROCESS_INFORMATION,*LPPROCESS_INFORMATION;
typedef PROCESS_INFORMATION *PPROCESS_INFORMATION;
typedef UINT(CALLBACK * LPFNPSPCALLBACK) (HWND,UINT,LPVOID);
typedef struct _PROPSHEETPAGE {
	DWORD dwSize;
	DWORD dwFlags;
	HINSTANCE hInstance;
	union {
		LPCTSTR pszTemplate;
		LPCDLGTEMPLATE pResource;
	};
	union {
		HICON hIcon;
		LPCTSTR pszIcon;
	};
	LPCTSTR pszTitle;
	DLGPROC pfnDlgProc;
	LPARAM lParam;
	LPFNPSPCALLBACK pfnCallback;
	UINT *pcRefParent;
} PROPSHEETPAGE,*LPPROPSHEETPAGE;
typedef const PROPSHEETPAGE *LPCPROPSHEETPAGE;
typedef struct _PSP *HPROPSHEETPAGE;
typedef struct _PROPSHEETHEADER {
	DWORD dwSize;
	DWORD dwFlags;
	HWND hwndParent;
	HINSTANCE hInstance;
	union {
		HICON hIcon;
		LPCTSTR pszIcon;
	};
	LPCTSTR pszCaption;
	UINT nPages;
	union {
		UINT nStartPage;
		LPCTSTR pStartPage;
	};
	union {
		LPCPROPSHEETPAGE ppsp;
		HPROPSHEETPAGE *phpage;
	};
	PFNPROPSHEETCALLBACK pfnCallback;
} PROPSHEETHEADER,*LPPROPSHEETHEADER;
typedef const PROPSHEETHEADER *LPCPROPSHEETHEADER;
 // PropertySheet callbacks
typedef BOOL(CALLBACK * LPFNADDPROPSHEETPAGE) (HPROPSHEETPAGE,LPARAM);
typedef
BOOL(CALLBACK * LPFNADDPROPSHEETPAGES) (LPVOID,
										LPFNADDPROPSHEETPAGE,
										LPARAM);
typedef struct _PROTOCOL_INFO {
	DWORD dwServiceFlags;
	INT iAddressFamily;
	INT iMaxSockAddr;
	INT iMinSockAddr;
	INT iSocketType;
	INT iProtocol;
	DWORD dwMessageSize;
	LPTSTR lpProtocol;
} PROTOCOL_INFO;
typedef struct _PROVIDOR_INFO_1 {
	LPTSTR pName;
	LPTSTR pEnvironment;
	LPTSTR pDLLName;
} PROVIDOR_INFO_1;
typedef struct _PSHNOTIFY {
	NMHDR hdr;
	LPARAM lParam;
} PSHNOTIFY,*LPPSHNOTIFY;
typedef struct _punctuation {
	UINT iSize;
	LPSTR szPunctuation;
} PUNCTUATION;
typedef struct _QUERY_SERVICE_CONFIG {
	DWORD dwServiceType;
	DWORD dwStartType;
	DWORD dwErrorControl;
	LPTSTR lpBinaryPathName;
	LPTSTR lpLoadOrderGroup;
	DWORD dwTagId;
	LPTSTR lpDependencies;
	LPTSTR lpServiceStartName;
	LPTSTR lpDisplayName;
} QUERY_SERVICE_CONFIG,*LPQUERY_SERVICE_CONFIG;
typedef struct _QUERY_SERVICE_LOCK_STATUS {
	DWORD fIsLocked;
	LPTSTR lpLockOwner;
	DWORD dwLockDuration;
} QUERY_SERVICE_LOCK_STATUS,*LPQUERY_SERVICE_LOCK_STATUS;
typedef struct _RASAMB {
	DWORD dwSize;
	DWORD dwError;
	TCHAR szNetBiosError[NETBIOS_NAME_LEN + 1];
	BYTE bLana;
} RASAMB;
typedef struct _RASCONN {
	DWORD dwSize;
	HRASCONN hrasconn;
	TCHAR szEntryName[RAS_MaxEntryName + 1];
	CHAR szDeviceType[RAS_MaxDeviceType + 1];
	CHAR szDeviceName[RAS_MaxDeviceName + 1];
} RASCONN;
typedef struct _RASCONNSTATUS {
	DWORD dwSize;
	RASCONNSTATE rasconnstate;
	DWORD dwError;
	TCHAR szDeviceType[RAS_MaxDeviceType + 1];
	TCHAR szDeviceName[RAS_MaxDeviceName + 1];
} RASCONNSTATUS;
typedef struct _RASDIALEXTENSIONS {
	DWORD dwSize;
	DWORD dwfOptions;
	HWND hwndParent;
	DWORD reserved;
} RASDIALEXTENSIONS;
typedef struct _RASDIALPARAMS {
	DWORD dwSize;
	TCHAR szEntryName[RAS_MaxEntryName + 1];
	TCHAR szPhoneNumber[RAS_MaxPhoneNumber + 1];
	TCHAR szCallbackNumber[RAS_MaxCallbackNumber + 1];
	TCHAR szUserName[UNLEN + 1];
	TCHAR szPassword[PWLEN + 1];
	TCHAR szDomain[DNLEN + 1];
} RASDIALPARAMS;
typedef struct _RASENTRYNAME {
	DWORD dwSize;
	TCHAR szEntryName[RAS_MaxEntryName + 1];
} RASENTRYNAME;
typedef struct _RASPPPIP {
	DWORD dwSize;
	DWORD dwError;
	TCHAR szIpAddress[RAS_MaxIpAddress + 1];
} RASPPPIP;
typedef struct _RASPPPIPX {
	DWORD dwSize;
	DWORD dwError;
	TCHAR szIpxAddress[RAS_MaxIpxAddress + 1];
} RASPPPIPX;
typedef struct _RASPPPNBF {
	DWORD dwSize;
	DWORD dwError;
	DWORD dwNetBiosError;
	TCHAR szNetBiosError[NETBIOS_NAME_LEN + 1];
	TCHAR szWorkstationName[NETBIOS_NAME_LEN + 1];
	BYTE bLana;
} RASPPPNBF;
typedef struct _RASTERIZER_STATUS {
	short nSize;
	short wFlags;
	short nLanguageID;
} RASTERIZER_STATUS,*LPRASTERIZER_STATUS;
typedef struct _REASSIGN_BLOCKS {
	WORD Reserved;
	WORD Count;
	DWORD BlockNumber[1];
} REASSIGN_BLOCKS;
typedef struct _REMOTE_NAME_INFO {
	LPTSTR lpUniversalName;
	LPTSTR lpConnectionName;
	LPTSTR lpRemainingPath;
} REMOTE_NAME_INFO;
typedef struct _repastespecial {
	DWORD dwAspect;
	DWORD dwParam;
} REPASTESPECIAL;
typedef struct _reqresize {
	NMHDR nmhdr;
	RECT rc;
} REQRESIZE;
typedef struct _RGNDATAHEADER {
	DWORD dwSize;
	DWORD iType;
	DWORD nCount;
	DWORD nRgnSize;
	RECT rcBound;
} RGNDATAHEADER;
typedef struct _RGNDATA {
	RGNDATAHEADER rdh;
	char Buffer[1];
} RGNDATA,*LPRGNDATA;
typedef struct tagSCROLLINFO {
	UINT cbSize;
	UINT fMask;
	int nMin;
	int nMax;
	UINT nPage;
	int nPos;
	int nTrackPos;
} SCROLLINFO,*LPSCROLLINFO;
typedef SCROLLINFO const *LPCSCROLLINFO;
typedef struct _SECURITY_ATTRIBUTES {
	DWORD nLength;
	LPVOID lpSecurityDescriptor;
	BOOL bInheritHandle;
} SECURITY_ATTRIBUTES,*LPSECURITY_ATTRIBUTES;
typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION;
typedef struct _selchange {
	NMHDR nmhdr;
	CHARRANGE chrg;
	WORD seltyp;
} SELCHANGE;
typedef struct tagSERIALKEYS {
	DWORD cbSize;
	DWORD dwFlags;
	LPSTR lpszActivePort;
	LPSTR lpszPort;
	DWORD iBaudRate;
	DWORD iPortState;
} SERIALKEYS,*LPSERIALKEYS;
typedef struct _SERVICE_TABLE_ENTRY {
	LPTSTR lpServiceName;
	LPSERVICE_MAIN_FUNCTION lpServiceProc;
} SERVICE_TABLE_ENTRY,*LPSERVICE_TABLE_ENTRY;
typedef struct _SERVICE_TYPE_VALUE_ABS {
	DWORD dwNameSpace;
	DWORD dwValueType;
	DWORD dwValueSize;
	LPTSTR lpValueName;
	PVOID lpValue;
} SERVICE_TYPE_VALUE_ABS;
typedef struct _SERVICE_TYPE_INFO_ABS {
	LPTSTR lpTypeName;
	DWORD dwValueCount;
	SERVICE_TYPE_VALUE_ABS Values[1];
} SERVICE_TYPE_INFO_ABS;
typedef struct _SESSION_BUFFER {
	UCHAR lsn;
	UCHAR state;
	UCHAR local_name[NCBNAMSZ];
	UCHAR remote_name[NCBNAMSZ];
	UCHAR rcvs_outstanding;
	UCHAR sends_outstanding;
} SESSION_BUFFER;
typedef struct _SESSION_HEADER {
	UCHAR sess_name;
	UCHAR num_sess;
	UCHAR rcv_dg_outstanding;
	UCHAR rcv_any_outstanding;
} SESSION_HEADER;
typedef struct _SET_PARTITION_INFORMATION {
	BYTE PartitionType;
} SET_PARTITION_INFORMATION;
typedef enum tagSHCONTF {
	SHCONTF_FOLDERS = 32, SHCONTF_NONFOLDERS = 64, SHCONTF_INCLUDEHIDDEN = 128,
} SHCONTF;
typedef struct _SHFILEINFO {
	HICON hIcon;
	int iIcon;
	DWORD dwAttributes;
	char szDisplayName[MAX_PATH];
	char szTypeName[80];
} SHFILEINFO;
typedef WORD FILEOP_FLAGS;
typedef enum tagSHGDN {
	SHGDN_NORMAL = 0, SHGDN_INFOLDER = 1, SHGDN_FORPARSING = 0x8000,
} SHGNO;
typedef struct _SID_AND_ATTRIBUTES {
	PSID Sid;
	DWORD Attributes;
} SID_AND_ATTRIBUTES;
typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY];
typedef SID_AND_ATTRIBUTES_ARRAY *PSID_AND_ATTRIBUTES_ARRAY;
typedef struct _SINGLE_LIST_ENTRY {
	struct _SINGLE_LIST_ENTRY *Next;
} SINGLE_LIST_ENTRY;
typedef struct tagSOUNDSENTRY {
	UINT cbSize;
	DWORD dwFlags;
	DWORD iFSTextEffect;
	DWORD iFSTextEffectMSec;
	DWORD iFSTextEffectColorBits;
	DWORD iFSGrafEffect;
	DWORD iFSGrafEffectMSec;
	DWORD iFSGrafEffectColor;
	DWORD iWindowsEffect;
	DWORD iWindowsEffectMSec;
	LPTSTR lpszWindowsEffectDLL;
	DWORD iWindowsEffectOrdinal;
} SOUNDSENTRY,*LPSOUNDSENTRY;
typedef struct _STARTUPINFO {
	DWORD cb;
	LPTSTR lpReserved;
	LPTSTR lpDesktop;
	LPTSTR lpTitle;
	DWORD dwX;
	DWORD dwY;
	DWORD dwXSize;
	DWORD dwYSize;
	DWORD dwXCountChars;
	DWORD dwYCountChars;
	DWORD dwFillAttribute;
	DWORD dwFlags;
	WORD wShowWindow;
	WORD cbReserved2;
	LPBYTE lpReserved2;
	HANDLE hStdInput;
	HANDLE hStdOutput;
	HANDLE hStdError;
} STARTUPINFO,*LPSTARTUPINFO;
typedef struct tagSTICKYKEYS {
	DWORD cbSize;
	DWORD dwFlags;
} STICKYKEYS,*LPSTICKYKEYS;
typedef struct _STRRET {
	UINT uType;
	union {
		LPWSTR pOleStr;
		UINT uOffset;
		char cStr[MAX_PATH];
	} DUMMYUNIONNAME;
} STRRET,*LPSTRRET;
typedef struct _tagSTYLEBUF {
	DWORD dwStyle;
	CHAR szDescription[32];
} STYLEBUF,*LPSTYLEBUF;
typedef struct tagSTYLESTRUCT {
	DWORD styleOld;
	DWORD styleNew;
} STYLESTRUCT,*LPSTYLESTRUCT;
typedef struct _SYSTEM_AUDIT_ACE {
	ACE_HEADER Header;
	ACCESS_MASK Mask;
	DWORD SidStart;
} SYSTEM_AUDIT_ACE;
typedef struct _SYSTEM_INFO {
	WORD wProcessorArchitecture;
	WORD wReserved;
	DWORD dwPageSize;
	LPVOID lpMinimumApplicationAddress;
	LPVOID lpMaximumApplicationAddress;
	DWORD dwActiveProcessorMask;
	DWORD dwNumberOfProcessors;
	DWORD dwProcessorType;
	DWORD dwAllocationGranularity;
	WORD wProcessorLevel;
	WORD wProcessorRevision;
} SYSTEM_INFO,*LPSYSTEM_INFO;
typedef struct _SYSTEM_POWER_STATUS {
	BYTE ACLineStatus;
	BYTE BatteryFlag;
	BYTE BatteryLifePercent;
	BYTE Reserved1;
	DWORD BatteryLifeTime;
	DWORD BatteryFullLifeTime;
} SYSTEM_POWER_STATUS;
typedef struct SYSTEM_POWER_STATUS *LPSYSTEM_POWER_STATUS;
typedef struct _TAPE_ERASE {
	ULONG Type;
} TAPE_ERASE;
typedef struct _TAPE_GET_DRIVE_PARAMETERS {
	BOOLEAN ECC;
	BOOLEAN Compression;
	BOOLEAN DataPadding;
	BOOLEAN ReportSetmarks;
	ULONG DefaultBlockSize;
	ULONG MaximumBlockSize;
	ULONG MinimumBlockSize;
	ULONG MaximumPartitionCount;
	ULONG FeaturesLow;
	ULONG FeaturesHigh;
	ULONG EOTWarningZoneSize;
} TAPE_GET_DRIVE_PARAMETERS;
typedef struct _TAPE_GET_MEDIA_PARAMETERS {
	LARGE_INTEGER Capacity;
	LARGE_INTEGER Remaining;
	DWORD BlockSize;
	DWORD PartitionCount;
	BOOLEAN WriteProtected;
} TAPE_GET_MEDIA_PARAMETERS;
typedef struct _TAPE_GET_POSITION {
	ULONG Type;
	ULONG Partition;
	ULONG OffsetLow;
	ULONG OffsetHigh;
} TAPE_GET_POSITION;
typedef struct _TAPE_PREPARE {
	ULONG Operation;
} TAPE_PREPARE;
typedef struct _TAPE_SET_DRIVE_PARAMETERS {
	BOOLEAN ECC;
	BOOLEAN Compression;
	BOOLEAN DataPadding;
	BOOLEAN ReportSetmarks;
	ULONG EOTWarningZoneSize;
} TAPE_SET_DRIVE_PARAMETERS;
typedef struct _TAPE_SET_MEDIA_PARAMETERS {
	ULONG BlockSize;
} TAPE_SET_MEDIA_PARAMETERS;
typedef struct _TAPE_SET_POSITION {
	ULONG Method;
	ULONG Partition;
	ULONG OffsetLow;
	ULONG OffsetHigh;
} TAPE_SET_POSITION;
typedef struct _TAPE_WRITE_MARKS {
	ULONG Type;
	ULONG Count;
} TAPE_WRITE_MARKS;
typedef struct {
	HINSTANCE hInst;
	UINT nID;
} TBADDBITMAP,*LPTBADDBITMAP;
typedef struct _TBBUTTON {
	int iBitmap;
	int idCommand;
	BYTE fsState;
	BYTE fsStyle;
	DWORD dwData;
	int iString;
} TBBUTTON,*PTBBUTTON,*LPTBBUTTON;
typedef const TBBUTTON *LPCTBBUTTON;
typedef struct {
	NMHDR hdr;
	int iItem;
	TBBUTTON tbButton;
	int cchText;
	LPTSTR pszText;
} TBNOTIFY,*LPTBNOTIFY;
typedef struct {
	HKEY hkr;
	LPCTSTR pszSubKey;
	LPCTSTR pszValueName;
} TBSAVEPARAMS;
typedef struct _TC_HITTESTINFO {
	POINT pt;
	UINT flags;
} TC_HITTESTINFO;
typedef struct _TC_ITEM {
	UINT mask;
	UINT lpReserved1;
	UINT lpReserved2;
	LPTSTR pszText;
	int cchTextMax;
	int iImage;
	LPARAM lParam;
} TC_ITEM;
typedef struct _TC_ITEMHEADER {
	UINT mask;
	UINT lpReserved1;
	UINT lpReserved2;
	LPTSTR pszText;
	int cchTextMax;
	int iImage;
} TC_ITEMHEADER;
typedef struct _TC_KEYDOWN {
	NMHDR hdr;
	WORD wVKey;
	UINT flags;
} TC_KEYDOWN;
typedef struct _textrange {
	CHARRANGE chrg;
	LPSTR lpstrText;
} TEXTRANGE;
typedef struct _TIME_ZONE_INFORMATION {
	LONG Bias;
	WCHAR StandardName[32];
	SYSTEMTIME StandardDate;
	LONG StandardBias;
	WCHAR DaylightName[32];
	SYSTEMTIME DaylightDate;
	LONG DaylightBias;
} TIME_ZONE_INFORMATION,*LPTIME_ZONE_INFORMATION;
typedef struct tagTOGGLEKEYS {
	DWORD cbSize;
	DWORD dwFlags;
} TOGGLEKEYS;
typedef struct _TOKEN_SOURCE {
	CHAR SourceName[8];
	LUID SourceIdentifier;
} TOKEN_SOURCE;
typedef struct _TOKEN_CONTROL {
	LUID TokenId;
	LUID AuthenticationId;
	LUID ModifiedId;
	TOKEN_SOURCE TokenSource;
} TOKEN_CONTROL;
typedef struct _TOKEN_DEFAULT_DACL {
	PACL DefaultDacl;
} TOKEN_DEFAULT_DACL;
typedef struct _TOKEN_GROUPS {
	DWORD GroupCount;
	SID_AND_ATTRIBUTES Groups[ANYSIZE_ARRAY];
} TOKEN_GROUPS,*PTOKEN_GROUPS,*LPTOKEN_GROUPS;
typedef struct _TOKEN_OWNER {
	PSID Owner;
} TOKEN_OWNER;
typedef struct _TOKEN_PRIMARY_GROUP {
	PSID PrimaryGroup;
} TOKEN_PRIMARY_GROUP;
typedef struct _TOKEN_PRIVILEGES {
	DWORD PrivilegeCount;
	LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
} TOKEN_PRIVILEGES,*PTOKEN_PRIVILEGES,*LPTOKEN_PRIVILEGES;
typedef struct _TOKEN_STATISTICS {
	LUID TokenId;
	LUID AuthenticationId;
	LARGE_INTEGER ExpirationTime;
	TOKEN_TYPE TokenType;
	SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
	DWORD DynamicCharged;
	DWORD DynamicAvailable;
	DWORD GroupCount;
	DWORD PrivilegeCount;
	LUID ModifiedId;
} TOKEN_STATISTICS;
typedef struct _TOKEN_USER {
	SID_AND_ATTRIBUTES User;
} TOKEN_USER;
typedef struct {
	UINT cbSize;
	UINT uFlags;
	HWND hwnd;
	UINT uId;
	RECT rect;
	HINSTANCE hinst;
	LPTSTR lpszText;
} TOOLINFO,*PTOOLINFO,*LPTOOLINFO;
typedef struct {
	NMHDR hdr;
	LPTSTR lpszText;
	char szText[80];
	HINSTANCE hinst;
	UINT uFlags;
} TOOLTIPTEXT,*LPTOOLTIPTEXT;
typedef struct tagTPMPARAMS {
	UINT cbSize;
	RECT rcExclude;
} TPMPARAMS,*LPTPMPARAMS;
typedef struct _TT_HITTESTINFO {
	HWND hwnd;
	POINT pt;
	TOOLINFO ti;
} TTHITTESTINFO,*LPHITTESTINFO;
typedef struct tagTTPOLYCURVE {
	WORD wType;
	WORD cpfx;
	POINTFX apfx[1];
} TTPOLYCURVE,*LPTTPOLYCURVE;
typedef struct _TTPOLYGONHEADER {
	DWORD cb;
	DWORD dwType;
	POINTFX pfxStart;
} TTPOLYGONHEADER,*LPTTPOLYGONHEADER;
typedef struct _TV_DISPINFO {
	NMHDR hdr;
	TV_ITEM item;
} TV_DISPINFO;
typedef struct _TVHITTESTINFO {
	POINT pt;
	UINT flags;
	HTREEITEM hItem;
} TV_HITTESTINFO,*LPTV_HITTESTINFO;
typedef struct _TV_INSERTSTRUCT {
	HTREEITEM hParent;
	HTREEITEM hInsertAfter;
	TV_ITEM item;
} TV_INSERTSTRUCT,*LPTV_INSERTSTRUCT;
typedef struct _TV_KEYDOWN {
	NMHDR hdr;
	WORD wVKey;
	UINT flags;
} TV_KEYDOWN;
typedef struct _TV_SORTCB {
	HTREEITEM hParent;
	PFNTVCOMPARE lpfnCompare;
	LPARAM lParam;
} TV_SORTCB,*LPTV_SORTCB;
typedef struct {
	UINT nSec;
	UINT nInc;
} UDACCEL;
typedef struct _ULARGE_INTEGER {
	DWORD LowPart;
	DWORD HighPart;
} ULARGE_INTEGER,*PULARGE_INTEGER;
typedef struct _UNIVERSAL_NAME_INFO {
	LPTSTR lpUniversalName;
} UNIVERSAL_NAME_INFO;
typedef struct tagUSEROBJECTFLAGS {
	BOOL fInherit;
	BOOL fReserved;
	DWORD dwFlags;
} USEROBJECTFLAGS;
typedef struct value_ent {
	LPTSTR ve_valuename;
	DWORD ve_valuelen;
	DWORD ve_valueptr;
	DWORD ve_type;
} VALENT,*PVALENT;
typedef struct _VERIFY_INFORMATION {
	LARGE_INTEGER StartingOffset;
	DWORD Length;
} VERIFY_INFORMATION;
typedef struct _WIN32_FIND_DATA {
	DWORD dwFileAttributes;
	FILETIME ftCreationTime;
	FILETIME ftLastAccessTime;
	FILETIME ftLastWriteTime;
	DWORD nFileSizeHigh;
	DWORD nFileSizeLow;
	DWORD dwReserved0;
	DWORD dwReserved1;
	TCHAR cFileName[MAX_PATH];
	TCHAR cAlternateFileName[14];
	WORD dummy;
} WIN32_FIND_DATA,*LPWIN32_FIND_DATA;
typedef struct _WIN32_STREAM_ID {
	DWORD dwStreamId;
	DWORD dwStreamAttributes;
	LARGE_INTEGER Size;
	DWORD dwStreamNameSize;
	WCHAR *cStreamName;
} WIN32_STREAM_ID;
typedef struct _WINDOWPLACEMENT {
	UINT length;
	UINT flags;
	UINT showCmd;
	POINT ptMinPosition;
	POINT ptMaxPosition;
	RECT rcNormalPosition;
} WINDOWPLACEMENT;
typedef struct _WNDCLASS {
	UINT style;
	WNDPROC lpfnWndProc;
	int cbClsExtra;
	int cbWndExtra;
	HANDLE hInstance;
	HICON hIcon;
	HCURSOR hCursor;
	HBRUSH hbrBackground;
	LPCTSTR lpszMenuName;
	LPCTSTR lpszClassName;
} WNDCLASS,*LPWNDCLASS,*PWNDCLASS;
typedef struct _WNDCLASSEX {
	UINT cbSize;
	UINT style;
	WNDPROC lpfnWndProc;
	int cbClsExtra;
	int cbWndExtra;
	HANDLE hInstance;
	HICON hIcon;
	HCURSOR hCursor;
	HBRUSH hbrBackground;
	LPCTSTR lpszMenuName;
	LPCTSTR lpszClassName;
	HICON hIconSm;
} WNDCLASSEX,*LPWNDCLASSEX;
typedef struct _CONNECTDLGSTRUCT {
	DWORD cbStructure;
	HWND hwndOwner;
	LPNETRESOURCE lpConnRes;
	DWORD dwFlags;
	DWORD dwDevNum;
} CONNECTDLGSTRUCT,*LPCONNECTDLGSTRUCT;
typedef struct _DISCDLGSTRUCT {
	DWORD cbStructure;
	HWND hwndOwner;
	LPTSTR lpLocalName;
	LPTSTR lpRemoteName;
	DWORD dwFlags;
} DISCDLGSTRUCT,*LPDISCDLGSTRUCT;
typedef struct _NETINFOSTRUCT {
	DWORD cbStructure;
	DWORD dwProviderVersion;
	DWORD dwStatus;
	DWORD dwCharacteristics;
	DWORD dwHandle;
	WORD wNetType;
	DWORD dwPrinters;
	DWORD dwDrives;
} NETINFOSTRUCT,*LPNETINFOSTRUCT;
typedef struct _NETCONNECTINFOSTRUCT {
	DWORD cbStructure;
	DWORD dwFlags;
	DWORD dwSpeed;
	DWORD dwDelay;
	DWORD dwOptDataSize;
} NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT;
/* Structures associated with the executable image files. jn */
#define IMAGE_DOS_SIGNATURE 0x5A4D
#define IMAGE_OS2_SIGNATURE 0x454E
#define IMAGE_OS2_SIGNATURE_LE 0x454C
#define IMAGE_VXD_SIGNATURE 0x454C
#define IMAGE_NT_SIGNATURE 0x4550
#define IMAGE_SIZEOF_FILE_HEADER 20
#define IMAGE_FILE_RELOCS_STRIPPED 1
#define IMAGE_FILE_EXECUTABLE_IMAGE 2
#define IMAGE_FILE_LINE_NUMS_STRIPPED 4
#define IMAGE_FILE_LOCAL_SYMS_STRIPPED 8
#define IMAGE_FILE_BYTES_REVERSED_LO 128
#define IMAGE_FILE_32BIT_MACHINE 256
#define IMAGE_FILE_DEBUG_STRIPPED 512
#define IMAGE_FILE_SYSTEM 0x1000
#define IMAGE_FILE_DLL 0x2000
#define IMAGE_FILE_BYTES_REVERSED_HI 0x8000
#define IMAGE_FILE_MACHINE_UNKNOWN 0
#define IMAGE_FILE_MACHINE_I386 0x14c
#define IMAGE_FILE_MACHINE_R3000 0x162
#define IMAGE_FILE_MACHINE_R4000 0x166
#define IMAGE_FILE_MACHINE_R10000 0x168
#define IMAGE_FILE_MACHINE_ALPHA 0x184
#define IMAGE_FILE_MACHINE_POWERPC 0x1F0
#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES 16
#define IMAGE_SIZEOF_ROM_OPTIONAL_HEADER 56
#define IMAGE_SIZEOF_STD_OPTIONAL_HEADER 28
#define IMAGE_SIZEOF_NT_OPTIONAL_HEADER 224
#define IMAGE_NT_OPTIONAL_HDR_MAGIC 0x10b
#define IMAGE_ROM_OPTIONAL_HDR_MAGIC 0x107
#define IMAGE_FIRST_SECTION(nth) ((PIMAGE_SECTION_HEADER) \
 ((DWORD)nth + FIELD_OFFSET( IMAGE_NT_HEADERS,OptionalHeader ) + \
 ((PIMAGE_NT_HEADERS)(nth))->FileHeader.SizeOfOptionalHeader))
#define IMAGE_SUBSYSTEM_UNKNOWN 0
#define IMAGE_SUBSYSTEM_NATIVE 1
#define IMAGE_SUBSYSTEM_WINDOWS_GUI 2
#define IMAGE_SUBSYSTEM_WINDOWS_CUI 3
#define IMAGE_SUBSYSTEM_OS2_CUI 5
#define IMAGE_SUBSYSTEM_POSIX_CUI 7
#define IMAGE_DIRECTORY_ENTRY_EXPORT 0
#define IMAGE_DIRECTORY_ENTRY_IMPORT 1
#define IMAGE_DIRECTORY_ENTRY_RESOURCE 2
#define IMAGE_DIRECTORY_ENTRY_EXCEPTION 3
#define IMAGE_DIRECTORY_ENTRY_SECURITY 4
#define IMAGE_DIRECTORY_ENTRY_BASERELOC 5
#define IMAGE_DIRECTORY_ENTRY_DEBUG 6
#define IMAGE_DIRECTORY_ENTRY_COPYRIGHT 7
#define IMAGE_DIRECTORY_ENTRY_GLOBALPTR 8
#define IMAGE_DIRECTORY_ENTRY_TLS 9
#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG 10
#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT 11
#define IMAGE_DIRECTORY_ENTRY_IAT 12
#define IMAGE_SIZEOF_SHORT_NAME 8
#define IMAGE_SIZEOF_SECTION_HEADER 40
#define IMAGE_SCN_TYPE_NO_PAD 8
#define IMAGE_SCN_CNT_CODE 32
#define IMAGE_SCN_CNT_INITIALIZED_DATA 64
#define IMAGE_SCN_CNT_UNINITIALIZED_DATA 128
#define IMAGE_SCN_LNK_OTHER 256
#define IMAGE_SCN_LNK_INFO 512
#define IMAGE_SCN_LNK_REMOVE 0x800
#define IMAGE_SCN_LNK_COMDAT 0x1000
#define IMAGE_SCN_MEM_FARDATA 0x8000
#define IMAGE_SCN_MEM_PURGEABLE 0x20000
#define IMAGE_SCN_MEM_16BIT 0x20000
#define IMAGE_SCN_MEM_LOCKED 0x40000
#define IMAGE_SCN_MEM_PRELOAD 0x80000
#define IMAGE_SCN_ALIGN_1BYTES 0x100000
#define IMAGE_SCN_ALIGN_2BYTES 0x200000
#define IMAGE_SCN_ALIGN_4BYTES 0x300000
#define IMAGE_SCN_ALIGN_8BYTES 0x400000
#define IMAGE_SCN_ALIGN_16BYTES 0x500000
#define IMAGE_SCN_ALIGN_32BYTES 0x600000
#define IMAGE_SCN_ALIGN_64BYTES 0x700000
#define IMAGE_SCN_LNK_NRELOC_OVFL 0x1000000
#define IMAGE_SCN_MEM_DISCARDABLE 0x2000000
#define IMAGE_SCN_MEM_NOT_CACHED 0x4000000
#define IMAGE_SCN_MEM_NOT_PAGED 0x8000000
#define IMAGE_SCN_MEM_SHARED 0x10000000
#define IMAGE_SCN_MEM_EXECUTE 0x20000000
#define IMAGE_SCN_MEM_READ 0x40000000
#define IMAGE_SCN_MEM_WRITE 0x80000000
#define IMAGE_SIZEOF_SYMBOL 18
#define IMAGE_SYM_UNDEFINED (SHORT)0
#define IMAGE_SYM_ABSOLUTE (SHORT)-1
#define IMAGE_SYM_DEBUG (SHORT)-2
#define IMAGE_SYM_TYPE_NULL 0
#define IMAGE_SYM_TYPE_VOID 1
#define IMAGE_SYM_TYPE_CHAR 2
#define IMAGE_SYM_TYPE_SHORT 3
#define IMAGE_SYM_TYPE_INT 4
#define IMAGE_SYM_TYPE_LONG 5
#define IMAGE_SYM_TYPE_FLOAT 6
#define IMAGE_SYM_TYPE_DOUBLE 7
#define IMAGE_SYM_TYPE_STRUCT 8
#define IMAGE_SYM_TYPE_UNION 9
#define IMAGE_SYM_TYPE_ENUM 10
#define IMAGE_SYM_TYPE_MOE 11
#define IMAGE_SYM_TYPE_BYTE 12
#define IMAGE_SYM_TYPE_WORD 13
#define IMAGE_SYM_TYPE_UINT 14
#define IMAGE_SYM_TYPE_DWORD 15
#define IMAGE_SYM_TYPE_PCODE 0x8000
#define IMAGE_SYM_DTYPE_NULL 0
#define IMAGE_SYM_DTYPE_POINTER 1
#define IMAGE_SYM_DTYPE_FUNCTION 2
#define IMAGE_SYM_DTYPE_ARRAY 3
#define IMAGE_SYM_CLASS_END_OF_FUNCTION (BYTE )-1
#define IMAGE_SYM_CLASS_NULL 0
#define IMAGE_SYM_CLASS_AUTOMATIC 1
#define IMAGE_SYM_CLASS_EXTERNAL 2
#define IMAGE_SYM_CLASS_STATIC 3
#define IMAGE_SYM_CLASS_REGISTER 4
#define IMAGE_SYM_CLASS_EXTERNAL_DEF 5
#define IMAGE_SYM_CLASS_LABEL 6
#define IMAGE_SYM_CLASS_UNDEFINED_LABEL 7
#define IMAGE_SYM_CLASS_MEMBER_OF_STRUCT 8
#define IMAGE_SYM_CLASS_ARGUMENT 9
#define IMAGE_SYM_CLASS_STRUCT_TAG 10
#define IMAGE_SYM_CLASS_MEMBER_OF_UNION 11
#define IMAGE_SYM_CLASS_UNION_TAG 12
#define IMAGE_SYM_CLASS_TYPE_DEFINITION 13
#define IMAGE_SYM_CLASS_UNDEFINED_STATIC 14
#define IMAGE_SYM_CLASS_ENUM_TAG 15
#define IMAGE_SYM_CLASS_MEMBER_OF_ENUM 16
#define IMAGE_SYM_CLASS_REGISTER_PARAM 17
#define IMAGE_SYM_CLASS_BIT_FIELD 18
#define IMAGE_SYM_CLASS_FAR_EXTERNAL 0x44
#define IMAGE_SYM_CLASS_BLOCK 0x64
#define IMAGE_SYM_CLASS_FUNCTION 0x65
#define IMAGE_SYM_CLASS_END_OF_STRUCT 0x66
#define IMAGE_SYM_CLASS_FILE 0x67
#define IMAGE_SYM_CLASS_SECTION 0x68
#define IMAGE_SYM_CLASS_WEAK_EXTERNAL 0x69
#define N_BTMASK 0xF
#define N_TMASK 0x30
#define N_TMASK1 0xC0
#define N_TMASK2 0xF0
#define N_BTSHFT 4
#define N_TSHIFT 2
#define BTYPE(x) ((x) & N_BTMASK)
#ifndef ISPTR
#define ISPTR(x) (((x)&N_TMASK)==(IMAGE_SYM_DTYPE_POINTER << N_BTSHFT))
#endif
#ifndef ISFCN
#define ISFCN(x) (((x)&N_TMASK)==(IMAGE_SYM_DTYPE_FUNCTION << N_BTSHFT))
#endif
#ifndef ISARY
#define ISARY(x) (((x) & N_TMASK) == (IMAGE_SYM_DTYPE_ARRAY << N_BTSHFT))
#endif
#ifndef ISTAG
#define ISTAG(x) ((x)==IMAGE_SYM_CLASS_STRUCT_TAG || (x)==IMAGE_SYM_CLASS_UNION_TAG || (x)==IMAGE_SYM_CLASS_ENUM_TAG)
#endif
#ifndef INCREF
#define INCREF(x) ((((x)&~N_BTMASK)<<N_TSHIFT)|(IMAGE_SYM_DTYPE_POINTER<<N_BTSHFT)|((x)&N_BTMASK))
#endif
#ifndef DECREF
#define DECREF(x) ((((x)>>N_TSHIFT)&~N_BTMASK)|((x)&N_BTMASK))
#endif
#define IMAGE_SIZEOF_SYMBOL	18
#define IMAGE_COMDAT_SELECT_NODUPLICATES	1
#define IMAGE_COMDAT_SELECT_ANY	2
#define IMAGE_COMDAT_SELECT_SAME_SIZE	3
#define IMAGE_COMDAT_SELECT_EXACT_MATCH	4
#define IMAGE_COMDAT_SELECT_ASSOCIATIVE	5
#define IMAGE_COMDAT_SELECT_LARGEST	6
#define IMAGE_COMDAT_SELECT_NEWEST	7
#define IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY	1
#define IMAGE_WEAK_EXTERN_SEARCH_LIBRARY	2
#define IMAGE_WEAK_EXTERN_SEARCH_ALIAS	3
#define IMAGE_SIZEOF_RELOCATION 10
#define IMAGE_REL_I386_ABSOLUTE	0
#define IMAGE_REL_I386_DIR16	1
#define IMAGE_REL_I386_REL16	2
#define IMAGE_REL_I386_DIR32	6
#define IMAGE_REL_I386_DIR32NB	7
#define IMAGE_REL_I386_SEG12 9
#define IMAGE_REL_I386_SECTION 10
#define IMAGE_REL_I386_SECREL 11
#define IMAGE_REL_I386_REL32 0x14
#define IMAGE_SIZEOF_BASE_RELOCATION 8
#define IMAGE_REL_BASED_ABSOLUTE 0
#define IMAGE_REL_BASED_HIGH 1
#define IMAGE_REL_BASED_LOW 2
#define IMAGE_REL_BASED_HIGHLOW 3
#define IMAGE_REL_BASED_HIGHADJ 4
#define IMAGE_REL_BASED_MIPS_JMPADDR 5
#define IMAGE_SIZEOF_LINENUMBER 6
#define IMAGE_ARCHIVE_START_SIZE 8
#define IMAGE_ARCHIVE_START "!<arch>\n"
#define IMAGE_ARCHIVE_END "`\n"
#define IMAGE_ARCHIVE_PAD "\n"
#define IMAGE_ARCHIVE_LINKER_MEMBER "/               "
#define IMAGE_ARCHIVE_LONGNAMES_MEMBER "//              "
#define IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR 60
#define IMAGE_ORDINAL_FLAG 0x80000000
#define IMAGE_SNAP_BY_ORDINAL(Ordinal) ((Ordinal & IMAGE_ORDINAL_FLAG) != 0)
#define IMAGE_ORDINAL(Ordinal) (Ordinal & 0xffff)
#define IMAGE_RESOURCE_NAME_IS_STRING 0x80000000
#define IMAGE_RESOURCE_DATA_IS_DIRECTORY 0x80000000
#define IMAGE_DEBUG_TYPE_UNKNOWN 0
#define IMAGE_DEBUG_TYPE_COFF 1
#define IMAGE_DEBUG_TYPE_CODEVIEW 2
#define IMAGE_DEBUG_TYPE_FPO 3
#define IMAGE_DEBUG_TYPE_MISC 4
#define IMAGE_DEBUG_TYPE_EXCEPTION 5
#define IMAGE_DEBUG_TYPE_FIXUP 6
#define IMAGE_DEBUG_TYPE_OMAP_TO_SRC 7
#define IMAGE_DEBUG_TYPE_OMAP_FROM_SRC 8
#define FRAME_FPO 0
#define FRAME_TRAP 1
#define FRAME_TSS 2
#define FRAME_NONFPO 3
#define SIZEOF_RFPO_DATA 16
#define IMAGE_DEBUG_MISC_EXENAME 1
#define IMAGE_SEPARATE_DEBUG_SIGNATURE 0x4944
typedef struct _IMAGE_DOS_HEADER {
	WORD e_magic;
	WORD e_cblp;
	WORD e_cp;
	WORD e_crlc;
	WORD e_cparhdr;
	WORD e_minalloc;
	WORD e_maxalloc;
	WORD e_ss;
	WORD e_sp;
	WORD e_csum;
	WORD e_ip;
	WORD e_cs;
	WORD e_lfarlc;
	WORD e_ovno;
	WORD e_res[4];
	WORD e_oemid;
	WORD e_oeminfo;
	WORD e_res2[10];
	LONG e_lfanew;
} IMAGE_DOS_HEADER,*PIMAGE_DOS_HEADER;
typedef struct _IMAGE_OS2_HEADER {
	WORD ne_magic;
	CHAR ne_ver;
	CHAR ne_rev;
	WORD ne_enttab;
	WORD ne_cbenttab;
	LONG ne_crc;
	WORD ne_flags;
	WORD ne_autodata;
	WORD ne_heap;
	WORD ne_stack;
	LONG ne_csip;
	LONG ne_sssp;
	WORD ne_cseg;
	WORD ne_cmod;
	WORD ne_cbnrestab;
	WORD ne_segtab;
	WORD ne_rsrctab;
	WORD ne_restab;
	WORD ne_modtab;
	WORD ne_imptab;
	LONG ne_nrestab;
	WORD ne_cmovent;
	WORD ne_align;
	WORD ne_cres;
	BYTE ne_exetyp;
	BYTE ne_flagsothers;
	WORD ne_pretthunks;
	WORD ne_psegrefbytes;
	WORD ne_swaparea;
	WORD ne_expver;
} IMAGE_OS2_HEADER,*PIMAGE_OS2_HEADER;
typedef struct _IMAGE_VXD_HEADER {
	WORD e32_magic;
	BYTE e32_border;
	BYTE e32_worder;
	DWORD e32_level;
	WORD e32_cpu;
	WORD e32_os;
	DWORD e32_ver;
	DWORD e32_mflags;
	DWORD e32_mpages;
	DWORD e32_startobj;
	DWORD e32_eip;
	DWORD e32_stackobj;
	DWORD e32_esp;
	DWORD e32_pagesize;
	DWORD e32_lastpagesize;
	DWORD e32_fixupsize;
	DWORD e32_fixupsum;
	DWORD e32_ldrsize;
	DWORD e32_ldrsum;
	DWORD e32_objtab;
	DWORD e32_objcnt;
	DWORD e32_objmap;
	DWORD e32_itermap;
	DWORD e32_rsrctab;
	DWORD e32_rsrccnt;
	DWORD e32_restab;
	DWORD e32_enttab;
	DWORD e32_dirtab;
	DWORD e32_dircnt;
	DWORD e32_fpagetab;
	DWORD e32_frectab;
	DWORD e32_impmod;
	DWORD e32_impmodcnt;
	DWORD e32_impproc;
	DWORD e32_pagesum;
	DWORD e32_datapage;
	DWORD e32_preload;
	DWORD e32_nrestab;
	DWORD e32_cbnrestab;
	DWORD e32_nressum;
	DWORD e32_autodata;
	DWORD e32_debuginfo;
	DWORD e32_debuglen;
	DWORD e32_instpreload;
	DWORD e32_instdemand;
	DWORD e32_heapsize;
	BYTE e32_res3[12];
	DWORD e32_winresoff;
	DWORD e32_winreslen;
	WORD e32_devid;
	WORD e32_ddkver;
} IMAGE_VXD_HEADER,*PIMAGE_VXD_HEADER;
typedef struct _IMAGE_FILE_HEADER {
	WORD Machine;
	WORD NumberOfSections;
	DWORD TimeDateStamp;
	DWORD PointerToSymbolTable;
	DWORD NumberOfSymbols;
	WORD SizeOfOptionalHeader;
	WORD Characteristics;
} IMAGE_FILE_HEADER,*PIMAGE_FILE_HEADER;
typedef struct _IMAGE_DATA_DIRECTORY {
	DWORD VirtualAddress;
	DWORD Size;
} IMAGE_DATA_DIRECTORY,*PIMAGE_DATA_DIRECTORY;
typedef struct _IMAGE_OPTIONAL_HEADER {
	WORD Magic;
	BYTE MajorLinkerVersion;
	BYTE MinorLinkerVersion;
	DWORD SizeOfCode;
	DWORD SizeOfInitializedData;
	DWORD SizeOfUninitializedData;
	DWORD AddressOfEntryPoint;
	DWORD BaseOfCode;
	DWORD BaseOfData;
	DWORD ImageBase;
	DWORD SectionAlignment;
	DWORD FileAlignment;
	WORD MajorOperatingSystemVersion;
	WORD MinorOperatingSystemVersion;
	WORD MajorImageVersion;
	WORD MinorImageVersion;
	WORD MajorSubsystemVersion;
	WORD MinorSubsystemVersion;
	DWORD Win32VersionValue;
	DWORD SizeOfImage;
	DWORD SizeOfHeaders;
	DWORD CheckSum;
	WORD Subsystem;
	WORD DllCharacteristics;
	DWORD SizeOfStackReserve;
	DWORD SizeOfStackCommit;
	DWORD SizeOfHeapReserve;
	DWORD SizeOfHeapCommit;
	DWORD LoaderFlags;
	DWORD NumberOfRvaAndSizes;
	IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES];
} IMAGE_OPTIONAL_HEADER,*PIMAGE_OPTIONAL_HEADER;
typedef struct _IMAGE_ROM_OPTIONAL_HEADER {
	WORD Magic;
	BYTE MajorLinkerVersion;
	BYTE MinorLinkerVersion;
	DWORD SizeOfCode;
	DWORD SizeOfInitializedData;
	DWORD SizeOfUninitializedData;
	DWORD AddressOfEntryPoint;
	DWORD BaseOfCode;
	DWORD BaseOfData;
	DWORD BaseOfBss;
	DWORD GprMask;
	DWORD CprMask[4];
	DWORD GpValue;
} IMAGE_ROM_OPTIONAL_HEADER,*PIMAGE_ROM_OPTIONAL_HEADER;
#define IMAGE_SIZEOF_ROM_OPTIONAL_HEADER 56
#define IMAGE_SIZEOF_STD_OPTIONAL_HEADER 28
#define IMAGE_SIZEOF_NT_OPTIONAL_HEADER 224
#define IMAGE_NT_OPTIONAL_HDR_MAGIC 0x10b
#define IMAGE_ROM_OPTIONAL_HDR_MAGIC 0x107
typedef struct _IMAGE_NT_HEADERS {
	DWORD Signature;
	IMAGE_FILE_HEADER FileHeader;
	IMAGE_OPTIONAL_HEADER OptionalHeader;
} IMAGE_NT_HEADERS,*PIMAGE_NT_HEADERS;
#define LPIMAGE_NT_HEADERS PIMAGE_NT_HEADERS;
typedef struct _IMAGE_ROM_HEADERS {
	IMAGE_FILE_HEADER FileHeader;
	IMAGE_ROM_OPTIONAL_HEADER OptionalHeader;
} IMAGE_ROM_HEADERS,*PIMAGE_ROM_HEADERS;
typedef struct _IMAGE_SECTION_HEADER {
	BYTE Name[IMAGE_SIZEOF_SHORT_NAME];
	union {
		DWORD PhysicalAddress;
		DWORD VirtualSize;
	} Misc;
	DWORD VirtualAddress;
	DWORD SizeOfRawData;
	DWORD PointerToRawData;
	DWORD PointerToRelocations;
	DWORD PointerToLinenumbers;
	WORD NumberOfRelocations;
	WORD NumberOfLinenumbers;
	DWORD Characteristics;
} IMAGE_SECTION_HEADER,*PIMAGE_SECTION_HEADER;
typedef struct _IMAGE_SYMBOL {
	union {
		BYTE ShortName[8];
		struct {
			DWORD Short;
			DWORD Long;
		} Name;
		PBYTE LongName[2];
	} N;
	DWORD Value;
	SHORT SectionNumber;
	WORD Type;
	BYTE StorageClass;
	BYTE NumberOfAuxSymbols;
} IMAGE_SYMBOL;
typedef IMAGE_SYMBOL *PIMAGE_SYMBOL;
typedef union _IMAGE_AUX_SYMBOL {
	struct {
		DWORD TagIndex;
		union {
			struct {
				WORD Linenumber;
				WORD Size;
			} LnSz;
			DWORD TotalSize;
		} Misc;
		union {
			struct {
				DWORD PointerToLinenumber;
				DWORD PointerToNextFunction;
			} Function;
			struct {
				WORD Dimension[4];
			} Array;
		} FcnAry;
		WORD TvIndex;
	} Sym;
	struct {
		BYTE Name[IMAGE_SIZEOF_SYMBOL];
	} File;
	struct {
		DWORD Length;
		WORD NumberOfRelocations;
		WORD NumberOfLinenumbers;
		DWORD CheckSum;
		SHORT Number;
		BYTE Selection;
	} Section;
} IMAGE_AUX_SYMBOL;
typedef IMAGE_AUX_SYMBOL *PIMAGE_AUX_SYMBOL;
typedef struct _IMAGE_RELOCATION {
#ifdef __LCC__ /* I do not support unnamed unions... jn */
	DWORD VirtualAddress;
#else
	union {
		DWORD VirtualAddress;
		DWORD RelocCount;
	};
#endif
	DWORD SymbolTableIndex;
	WORD Type;
} IMAGE_RELOCATION;
typedef IMAGE_RELOCATION *PIMAGE_RELOCATION;
typedef struct _IMAGE_BASE_RELOCATION {
	DWORD VirtualAddress;
	DWORD SizeOfBlock;
} IMAGE_BASE_RELOCATION,*PIMAGE_BASE_RELOCATION;
typedef struct _IMAGE_LINENUMBER {
	union {
		DWORD SymbolTableIndex;
		DWORD VirtualAddress;
	} Type;
	WORD Linenumber;
} IMAGE_LINENUMBER;
typedef IMAGE_LINENUMBER *PIMAGE_LINENUMBER;
typedef struct _IMAGE_ARCHIVE_MEMBER_HEADER {
	BYTE Name[16];
	BYTE Date[12];
	BYTE UserID[6];
	BYTE GroupID[6];
	BYTE Mode[8];
	BYTE Size[10];
	BYTE EndHeader[2];
} IMAGE_ARCHIVE_MEMBER_HEADER,*PIMAGE_ARCHIVE_MEMBER_HEADER;
typedef struct _IMAGE_EXPORT_DIRECTORY {
	DWORD Characteristics;
	DWORD TimeDateStamp;
	WORD MajorVersion;
	WORD MinorVersion;
	DWORD Name;
	DWORD Base;
	DWORD NumberOfFunctions;
	DWORD NumberOfNames;
	PDWORD *AddressOfFunctions;
	PDWORD *AddressOfNames;
	PWORD *AddressOfNameOrdinals;
} IMAGE_EXPORT_DIRECTORY,*PIMAGE_EXPORT_DIRECTORY;
typedef struct _IMAGE_IMPORT_BY_NAME {
	WORD Hint;
	BYTE Name[1];
} IMAGE_IMPORT_BY_NAME,*PIMAGE_IMPORT_BY_NAME;
typedef struct _IMAGE_THUNK_DATA {
	union {
		PBYTE ForwarderString;
		PDWORD Function;
		DWORD Ordinal;
		PIMAGE_IMPORT_BY_NAME AddressOfData;
	} u1;
} IMAGE_THUNK_DATA,*PIMAGE_THUNK_DATA;
typedef struct _IMAGE_IMPORT_DESCRIPTOR {
	union {
		DWORD Characteristics;
		PIMAGE_THUNK_DATA OriginalFirstThunk;
	} u1;
	DWORD TimeDateStamp;
	DWORD ForwarderChain;
	DWORD Name;
	PIMAGE_THUNK_DATA FirstThunk;
} IMAGE_IMPORT_DESCRIPTOR,*PIMAGE_IMPORT_DESCRIPTOR;
typedef struct _IMAGE_BOUND_IMPORT_DESCRIPTOR {
	DWORD TimeDateStamp;
	WORD OffsetModuleName;
	WORD NumberOfModuleForwarderRefs;
} IMAGE_BOUND_IMPORT_DESCRIPTOR,*PIMAGE_BOUND_IMPORT_DESCRIPTOR;
typedef struct _IMAGE_BOUND_FORWARDER_REF {
	DWORD TimeDateStamp;
	WORD OffsetModuleName;
	WORD Reserved;
} IMAGE_BOUND_FORWARDER_REF,*PIMAGE_BOUND_FORWARDER_REF;
typedef VOID (STDCALL *PIMAGE_TLS_CALLBACK)(PVOID,DWORD,PVOID);
typedef struct _IMAGE_TLS_DIRECTORY {
	DWORD StartAddressOfRawData;
	DWORD EndAddressOfRawData;
	PDWORD AddressOfIndex;
	PIMAGE_TLS_CALLBACK *AddressOfCallBacks;
	DWORD SizeOfZeroFill;
	DWORD Characteristics;
} IMAGE_TLS_DIRECTORY,*PIMAGE_TLS_DIRECTORY;
typedef struct _IMAGE_RESOURCE_DIRECTORY {
	DWORD Characteristics;
	DWORD TimeDateStamp;
	WORD MajorVersion;
	WORD MinorVersion;
	WORD NumberOfNamedEntries;
	WORD NumberOfIdEntries;
} IMAGE_RESOURCE_DIRECTORY,*PIMAGE_RESOURCE_DIRECTORY;
typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY {
	union {
		struct {
			DWORD NameOffset:31;
			DWORD NameIsString:1;
		};
		DWORD Name;
		WORD Id;
	} u1; // LCC doesn't support unnamed unions
	union {
		DWORD OffsetToData;
		struct {
			DWORD OffsetToDirectory:31;
			DWORD DataIsDirectory:1;
		};
	} u2; // LCC doesn't support unnamed unions
} IMAGE_RESOURCE_DIRECTORY_ENTRY,*PIMAGE_RESOURCE_DIRECTORY_ENTRY;
typedef struct _IMAGE_RESOURCE_DIRECTORY_STRING {
	WORD Length;
	CHAR NameString[1];
} IMAGE_RESOURCE_DIRECTORY_STRING,*PIMAGE_RESOURCE_DIRECTORY_STRING;
typedef struct _IMAGE_RESOURCE_DIR_STRING_U {
	WORD Length;
	WCHAR NameString[1];
} IMAGE_RESOURCE_DIR_STRING_U,*PIMAGE_RESOURCE_DIR_STRING_U;
typedef struct _IMAGE_RESOURCE_DATA_ENTRY {
	DWORD OffsetToData;
	DWORD Size;
	DWORD CodePage;
	DWORD Reserved;
} IMAGE_RESOURCE_DATA_ENTRY,*PIMAGE_RESOURCE_DATA_ENTRY;
typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY {
	DWORD Characteristics;
	DWORD TimeDateStamp;
	WORD MajorVersion;
	WORD MinorVersion;
	DWORD GlobalFlagsClear;
	DWORD GlobalFlagsSet;
	DWORD CriticalSectionDefaultTimeout;
	DWORD DeCommitFreeBlockThreshold;
	DWORD DeCommitTotalFreeThreshold;
	PVOID LockPrefixTable;
	DWORD MaximumAllocationSize;
	DWORD VirtualMemoryThreshold;
	DWORD ProcessHeapFlags;
	DWORD Reserved[4];
} IMAGE_LOAD_CONFIG_DIRECTORY,*PIMAGE_LOAD_CONFIG_DIRECTORY;
typedef struct _IMAGE_RUNTIME_FUNCTION_ENTRY {
	DWORD BeginAddress;
	DWORD EndAddress;
	PVOID ExceptionHandler;
	PVOID HandlerData;
	DWORD PrologEndAddress;
} IMAGE_RUNTIME_FUNCTION_ENTRY,*PIMAGE_RUNTIME_FUNCTION_ENTRY;
typedef struct _IMAGE_DEBUG_DIRECTORY {
	DWORD Characteristics;
	DWORD TimeDateStamp;
	WORD MajorVersion;
	WORD MinorVersion;
	DWORD Type;
	DWORD SizeOfData;
	DWORD AddressOfRawData;
	DWORD PointerToRawData;
} IMAGE_DEBUG_DIRECTORY,*PIMAGE_DEBUG_DIRECTORY;
typedef struct _IMAGE_COFF_SYMBOLS_HEADER {
	DWORD NumberOfSymbols;
	DWORD LvaToFirstSymbol;
	DWORD NumberOfLinenumbers;
	DWORD LvaToFirstLinenumber;
	DWORD RvaToFirstByteOfCode;
	DWORD RvaToLastByteOfCode;
	DWORD RvaToFirstByteOfData;
	DWORD RvaToLastByteOfData;
} IMAGE_COFF_SYMBOLS_HEADER,*PIMAGE_COFF_SYMBOLS_HEADER;
#define FRAME_FPO 0
#define FRAME_TRAP 1
#define FRAME_TSS 2
#define FRAME_NONFPO 3
typedef struct _FPO_DATA {
	DWORD ulOffStart;
	DWORD cbProcSize;
	DWORD cdwLocals;
	WORD cdwParams;
	WORD cbProlog:8;
	WORD cbRegs:3;
	WORD fHasSEH:1;
	WORD fUseBP:1;
	WORD reserved:1;
	WORD cbFrame:2;
} FPO_DATA,*PFPO_DATA;
#define SIZEOF_RFPO_DATA 16
typedef struct _IMAGE_DEBUG_MISC {
	DWORD DataType;
	DWORD Length;
	BOOLEAN Unicode;
	BYTE Reserved[3];
	BYTE Data[1];
} IMAGE_DEBUG_MISC,*PIMAGE_DEBUG_MISC;
typedef struct _IMAGE_FUNCTION_ENTRY {
	DWORD StartingAddress;
	DWORD EndingAddress;
	DWORD EndOfPrologue;
} IMAGE_FUNCTION_ENTRY,*PIMAGE_FUNCTION_ENTRY;
typedef struct _IMAGE_SEPARATE_DEBUG_HEADER {
	WORD Signature;
	WORD Flags;
	WORD Machine;
	WORD Characteristics;
	DWORD TimeDateStamp;
	DWORD CheckSum;
	DWORD ImageBase;
	DWORD SizeOfImage;
	DWORD NumberOfSections;
	DWORD ExportedNamesSize;
	DWORD DebugDirectorySize;
	DWORD Reserved[3];
} IMAGE_SEPARATE_DEBUG_HEADER,*PIMAGE_SEPARATE_DEBUG_HEADER;
typedef int (CALLBACK *ENUMMETAFILEPROC)(HDC,HANDLETABLE,METARECORD,int,LPARAM);
typedef int (CALLBACK *ENHMETAFILEPROC) (HDC,HANDLETABLE,ENHMETARECORD,int,LPARAM);
typedef int (CALLBACK *ENUMFONTSPROC) (LPLOGFONT,LPTEXTMETRIC,DWORD,LPARAM);
typedef int (CALLBACK *FONTENUMPROC)(ENUMLOGFONT *,NEWTEXTMETRIC *,int,LPARAM);
typedef int (CALLBACK *FONTENUMEXPROC)(ENUMLOGFONTEX *,NEWTEXTMETRICEX *,int,LPARAM);
typedef VOID(CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
typedef int (CALLBACK* ENHMFENUMPROC)(HDC,HANDLETABLE *,ENHMETARECORD *, int,LPARAM);
/* structures for tlhelp32 */
typedef struct tagHEAPLIST32 {
	DWORD dwSize;
	DWORD th32ProcessID;
	DWORD th32HeapID;
	DWORD dwFlags;
} HEAPLIST32;
typedef HEAPLIST32 *PHEAPLIST32;
typedef HEAPLIST32 *LPHEAPLIST32;
typedef struct tagHEAPENTRY32 {
	DWORD dwSize;
	HANDLE hHandle;
	DWORD dwAddress;
	DWORD dwBlockSize;
	DWORD dwFlags;
	DWORD dwLockCount;
	DWORD dwResvd;
	DWORD th32ProcessID;
	DWORD th32HeapID;
} HEAPENTRY32;
typedef HEAPENTRY32 *PHEAPENTRY32;
typedef HEAPENTRY32 *LPHEAPENTRY32;
typedef struct tagPROCESSENTRY32 {
	DWORD dwSize;
	DWORD cntUsage;
	DWORD th32ProcessID;
	DWORD th32DefaultHeapID;
	DWORD th32ModuleID;
	DWORD cntThreads;
	DWORD th32ParentProcessID;
	LONG pcPriClassBase;
	DWORD dwFlags;
	char szExeFile[MAX_PATH];
} PROCESSENTRY32;
typedef PROCESSENTRY32 *PPROCESSENTRY32;
typedef PROCESSENTRY32 *LPPROCESSENTRY32;
typedef struct tagTHREADENTRY32 {
	DWORD dwSize;
	DWORD cntUsage;
	DWORD th32ThreadID;
	DWORD th32OwnerProcessID;
	LONG tpBasePri;
	LONG tpDeltaPri;
	DWORD dwFlags;
} THREADENTRY32;
typedef THREADENTRY32 *PTHREADENTRY32;
typedef THREADENTRY32 *LPTHREADENTRY32;
typedef struct tagMODULEENTRY32 {
	DWORD dwSize;
	DWORD th32ModuleID;
	DWORD th32ProcessID;
	DWORD GlblcntUsage;
	DWORD ProccntUsage;
	BYTE *modBaseAddr;
	DWORD modBaseSize;
	HMODULE hModule;
	char szModule[MAX_MODULE_NAME32 + 1];
	char szExePath[MAX_PATH];
} MODULEENTRY32;
typedef MODULEENTRY32 *PMODULEENTRY32;
typedef MODULEENTRY32 *LPMODULEENTRY32;
typedef struct _FORMAT_EX_PARAMETERS {
	MEDIA_TYPE MediaType;
	DWORD StartCylinderNumber;
	DWORD EndCylinderNumber;
	DWORD StartHeadNumber;
	DWORD EndHeadNumber;
	WORD FormatGapLength;
	WORD SectorsPerTrack;
	WORD SectorNumber[1];
} FORMAT_EX_PARAMETERS,*PFORMAT_EX_PARAMETERS;
typedef struct tagPIXELFORMATDESCRIPTOR {
	WORD	nSize;
	WORD	nVersion;
	DWORD	dwFlags;
	BYTE	iPixelType;
	BYTE	cColorBits;
	BYTE	cRedBits;
	BYTE	cRedShift;
	BYTE	cGreenBits;
	BYTE	cGreenShift;
	BYTE	cBlueBits;
	BYTE	cBlueShift;
	BYTE	cAlphaBits;
	BYTE	cAlphaShift;
	BYTE	cAccumBits;
	BYTE	cAccumRedBits;
	BYTE	cAccumGreenBits;
	BYTE	cAccumBlueBits;
	BYTE	cAccumAlphaBits;
	BYTE	cDepthBits;
	BYTE	cStencilBits;
	BYTE	cAuxBuffers;
	BYTE	iLayerType;
	BYTE	bReserved;
	DWORD	dwLayerMask;
	DWORD	dwVisibleMask;
	DWORD	dwDamageMask;
} PIXELFORMATDESCRIPTOR,*PPIXELFORMATDESCRIPTOR,*LPPIXELFORMATDESCRIPTOR;
/* Functions.h Declarations for all the WIN32 Functions
 UnicodeFunctions.h Declarations for all the WIN32 Unicode Functions
*/
BOOL STDCALL GetBinaryTypeW(LPCWSTR,LPDWORD);
DWORD STDCALL GetShortPathNameW(LPCWSTR,LPWSTR,DWORD);
LPWSTR STDCALL GetEnvironmentStringsW(VOID);
BOOL STDCALL FreeEnvironmentStringsW(LPWSTR);
DWORD STDCALL FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list *);
HANDLE STDCALL CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
int STDCALL lstrcmpW(LPCWSTR,LPCWSTR);
int STDCALL lstrcmpiW( LPCWSTR,LPCWSTR);
LPWSTR STDCALL lstrcpynW(LPWSTR,LPCWSTR,int);
LPWSTR STDCALL lstrcpyW(LPWSTR,LPCWSTR);
LPWSTR STDCALL lstrcatW(LPWSTR,LPCWSTR);
int STDCALL lstrlenW(LPCWSTR);
HANDLE STDCALL CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
HANDLE STDCALL OpenMutexW(DWORD,BOOL,LPCWSTR);
HANDLE STDCALL CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR);
HANDLE STDCALL OpenEventW(DWORD,BOOL,LPCWSTR);
HANDLE STDCALL CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
HANDLE STDCALL OpenSemaphoreW(DWORD,BOOL,LPCWSTR);
HANDLE STDCALL CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR);
HANDLE STDCALL OpenFileMappingW(DWORD,BOOL,LPCWSTR);
DWORD STDCALL GetLogicalDriveStringsW(DWORD,LPWSTR);
HINSTANCE STDCALL LoadLibraryW(LPCWSTR);
HINSTANCE STDCALL LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
DWORD STDCALL GetModuleFileNameW(HINSTANCE,LPWSTR,DWORD);
HMODULE STDCALL GetModuleHandleW(LPCWSTR);
VOID STDCALL FatalAppExitW(UINT,LPCWSTR);
LPWSTR STDCALL GetCommandLineW(VOID);
DWORD STDCALL GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
BOOL STDCALL SetEnvironmentVariableW(LPCWSTR,LPCWSTR);
DWORD STDCALL ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
VOID STDCALL OutputDebugStringW(LPCWSTR);
HRSRC STDCALL FindResourceW(HINSTANCE,LPCWSTR,LPCWSTR);
HRSRC STDCALL FindResourceExW(HINSTANCE,LPCWSTR,LPCWSTR,WORD);
BOOL STDCALL EnumResourceTypesW(HINSTANCE,ENUMRESTYPEPROC,LONG);
BOOL STDCALL EnumResourceNamesW(HINSTANCE,LPCWSTR,ENUMRESNAMEPROC,LONG);
BOOL STDCALL EnumResourceLanguagesW(HINSTANCE,LPCWSTR,LPCWSTR,ENUMRESLANGPROC,LONG);
HANDLE STDCALL BeginUpdateResourceW(LPCWSTR,BOOL);
BOOL STDCALL UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,LPVOID,DWORD);
BOOL STDCALL EndUpdateResourceW(HANDLE,BOOL);
ATOM STDCALL GlobalAddAtomW( LPCWSTR);
ATOM STDCALL GlobalFindAtomW( LPCWSTR);
UINT STDCALL GlobalGetAtomNameW(ATOM,LPWSTR,int);
ATOM STDCALL AddAtomW(LPCWSTR);
ATOM STDCALL FindAtomW(LPCWSTR);
UINT STDCALL GetAtomNameW(ATOM,LPWSTR,int);
UINT STDCALL GetProfileIntW(LPCWSTR,LPCWSTR,INT);
DWORD STDCALL GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD);
BOOL STDCALL WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
DWORD STDCALL GetProfileSectionW(LPCWSTR,LPWSTR,DWORD);
BOOL STDCALL WriteProfileSectionW(LPCWSTR,LPCWSTR);
UINT STDCALL GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
DWORD STDCALL GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR);
BOOL STDCALL WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
DWORD STDCALL GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
BOOL STDCALL WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);
UINT STDCALL GetDriveTypeW(LPCWSTR);
UINT STDCALL GetSystemDirectoryW(LPWSTR,UINT);
DWORD STDCALL GetTempPathW(DWORD,LPWSTR);
UINT STDCALL GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR);
UINT STDCALL GetWindowsDirectoryW(LPWSTR,UINT);
BOOL STDCALL SetCurrentDirectoryW(LPCWSTR);
DWORD STDCALL GetCurrentDirectoryW(DWORD,LPWSTR);
BOOL STDCALL GetDiskFreeSpaceW(LPCWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES);
BOOL STDCALL CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
BOOL STDCALL RemoveDirectoryW(LPCWSTR);
DWORD STDCALL GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR *);
BOOL STDCALL DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR);
DWORD STDCALL QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD);
HANDLE STDCALL CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
BOOL STDCALL SetFileAttributesW(LPCWSTR,DWORD);
DWORD STDCALL GetFileAttributesW(LPCWSTR);
DWORD STDCALL GetCompressedFileSizeW(LPCWSTR,LPDWORD);
BOOL STDCALL DeleteFileW(LPCWSTR);
DWORD STDCALL SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR *);
BOOL STDCALL CopyFileW(LPCWSTR,LPCWSTR,BOOL);
BOOL STDCALL MoveFileW(LPCWSTR,LPCWSTR);
BOOL STDCALL MoveFileExW(LPCWSTR,LPCWSTR,DWORD);
HANDLE STDCALL CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
BOOL STDCALL GetNamedPipeHandleStateW(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
BOOL STDCALL CallNamedPipeW(LPCWSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD);
BOOL STDCALL WaitNamedPipeW(LPCWSTR,DWORD);
BOOL STDCALL SetVolumeLabelW(LPCWSTR,LPCWSTR);
BOOL STDCALL GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
BOOL STDCALL ClearEventLogW(HANDLE,LPCWSTR);
BOOL STDCALL BackupEventLogW(HANDLE,LPCWSTR);
HANDLE STDCALL OpenEventLogW(LPCWSTR,LPCWSTR);
HANDLE STDCALL RegisterEventSourceW(LPCWSTR,LPCWSTR);
HANDLE STDCALL OpenBackupEventLogW(LPCWSTR,LPCWSTR);
BOOL STDCALL ReadEventLogW(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *);
BOOL STDCALL ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR *,LPVOID);
BOOL STDCALL AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID HandleId,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL);
BOOL STDCALL ObjectOpenAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL);
BOOL STDCALL ObjectPrivilegeAuditAlarmW(LPCWSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
BOOL STDCALL ObjectCloseAuditAlarmW(LPCWSTR,LPVOID,BOOL);
BOOL STDCALL PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL);
BOOL STDCALL SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
BOOL STDCALL GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
HANDLE STDCALL FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD);
BOOL STDCALL IsBadStringPtrW(LPCWSTR,UINT);
BOOL STDCALL LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
BOOL STDCALL LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
BOOL STDCALL LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID);
BOOL STDCALL LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,LPDWORD);
BOOL STDCALL LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,LPDWORD,LPDWORD);
BOOL STDCALL BuildCommDCBW(LPCWSTR,LPDCB);
BOOL STDCALL BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS);
BOOL STDCALL CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG);
BOOL STDCALL GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,LPDWORD);
BOOL STDCALL SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD);
BOOL STDCALL GetComputerNameW(LPWSTR,LPDWORD);
BOOL STDCALL SetComputerNameW(LPCWSTR);
BOOL STDCALL GetUserNameW(LPWSTR,LPDWORD);
int STDCALL wvsprintfW(LPWSTR,LPCWSTR,va_list arglist);
int CDECL wsprintfW(LPWSTR,LPCWSTR,...);
HKL STDCALL LoadKeyboardLayoutW(LPCWSTR,UINT);
BOOL STDCALL GetKeyboardLayoutNameW(LPWSTR);
HDESK STDCALL CreateDesktopW(LPWSTR,LPWSTR,LPDEVMODE,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
HDESK STDCALL OpenDesktopW(LPWSTR,DWORD,BOOL,DWORD);
BOOL STDCALL EnumDesktopsW(HWINSTA,DESKTOPENUMPROC,LPARAM);
HWINSTA STDCALL CreateWindowStationW(LPWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
HWINSTA STDCALL OpenWindowStationW(LPWSTR,BOOL,DWORD);
BOOL STDCALL EnumWindowStationsW(ENUMWINDOWSTATIONPROC,LPARAM);
BOOL STDCALL GetUserObjectInformationW(HANDLE,int,PVOID,DWORD,LPDWORD);
BOOL STDCALL SetUserObjectInformationW(HANDLE,int,PVOID,DWORD);
UINT STDCALL RegisterWindowMessageW(LPCWSTR);
BOOL STDCALL GetMessageW(LPMSG,HWND,UINT,UINT);
LONG STDCALL DispatchMessageW(CONST MSG *);
BOOL STDCALL PeekMessageW(LPMSG,HWND,UINT,UINT,UINT);
LRESULT STDCALL SendMessageW(HWND,UINT,WPARAM,LPARAM);
LRESULT STDCALL SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,LPDWORD);
BOOL STDCALL SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM);
BOOL STDCALL SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD);
BOOL STDCALL PostMessageW(HWND,UINT,WPARAM,LPARAM);
BOOL STDCALL PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM);
LRESULT STDCALL DefWindowProcW(HWND,UINT,WPARAM,LPARAM);
LRESULT STDCALL CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM);
ATOM STDCALL RegisterClassW(CONST WNDCLASS *);
BOOL STDCALL UnregisterClassW(LPCWSTR,HINSTANCE);
BOOL STDCALL GetClassInfoW(HINSTANCE,LPCWSTR,LPWNDCLASS);
ATOM STDCALL RegisterClassExW(CONST WNDCLASSEX *);
BOOL STDCALL GetClassInfoExW(HINSTANCE,LPCWSTR,LPWNDCLASSEX);
HWND STDCALL CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID);
HWND STDCALL CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
HWND STDCALL CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
int STDCALL DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);
int STDCALL DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
BOOL STDCALL SetDlgItemTextW(HWND,int,LPCWSTR);
UINT STDCALL GetDlgItemTextW(HWND,int,LPWSTR,int);
LONG STDCALL SendDlgItemMessageW(HWND,int,UINT,WPARAM,LPARAM);
LRESULT STDCALL DefDlgProcW(HWND,UINT,WPARAM,LPARAM);
BOOL STDCALL CallMsgFilterW(LPMSG,int);
UINT STDCALL RegisterClipboardFormatW(LPCWSTR);
int STDCALL GetClipboardFormatNameW(UINT,LPWSTR,int);
BOOL STDCALL CharToOemW(LPCWSTR,LPSTR);
BOOL STDCALL OemToCharW(LPCSTR,LPWSTR);
BOOL STDCALL CharToOemBuffW(LPCWSTR,LPSTR,DWORD);
BOOL STDCALL OemToCharBuffW(LPCSTR,LPWSTR,DWORD);
LPWSTR STDCALL CharUpperW(LPWSTR);
DWORD STDCALL CharUpperBuffW(LPWSTR,DWORD);
LPWSTR STDCALL CharLowerW(LPWSTR);
DWORD STDCALL CharLowerBuffW(LPWSTR,DWORD);
LPWSTR STDCALL CharNextW(LPCWSTR);
LPWSTR STDCALL CharPrevW(LPCWSTR,LPCWSTR);
BOOL STDCALL IsCharAlphaW(WCHAR);
BOOL STDCALL IsCharAlphaNumericW(WCHAR);
BOOL STDCALL IsCharUpperW(WCHAR);
BOOL STDCALL IsCharLowerW(WCHAR);
int STDCALL GetKeyNameTextW(LONG,LPWSTR,int);
SHORT STDCALL VkKeyScanW(WCHAR);
SHORT STDCALL VkKeyScanExW(WCHAR,HKL);
UINT STDCALL MapVirtualKeyW(UINT,UINT);
UINT STDCALL MapVirtualKeyExW(UINT,UINT,HKL);
HACCEL STDCALL LoadAcceleratorsW(HINSTANCE,LPCWSTR);
HACCEL STDCALL CreateAcceleratorTableW(LPACCEL,int);
int STDCALL CopyAcceleratorTableW(HACCEL,LPACCEL,int);
int STDCALL TranslateAcceleratorW(HWND,HACCEL,LPMSG);
HMENU STDCALL LoadMenuW(HINSTANCE,LPCWSTR);
HMENU STDCALL LoadMenuIndirectW(CONST MENUTEMPLATE *);
BOOL STDCALL ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT);
int STDCALL GetMenuStringW(HMENU,UINT,LPWSTR,int,UINT);
BOOL STDCALL InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
BOOL STDCALL AppendMenuW(HMENU,UINT,UINT,LPCWSTR);
BOOL STDCALL ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR);
BOOL STDCALL InsertMenuItemW(HMENU,UINT,BOOL,LPCMENUITEMINFO);
BOOL STDCALL GetMenuItemInfoW(HMENU,UINT,BOOL,LPMENUITEMINFO);
BOOL STDCALL SetMenuItemInfoW( HMENU,UINT,BOOL,LPCMENUITEMINFO);
int STDCALL DrawTextW(HDC,LPCWSTR,int,LPRECT,UINT);
int STDCALL DrawTextExW(HDC,LPWSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS);
BOOL STDCALL GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int);
BOOL STDCALL DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT);
LONG STDCALL TabbedTextOutW(HDC,int,int,LPCWSTR,int,int,LPINT,int);
DWORD STDCALL GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT);
BOOL STDCALL SetPropW(HWND,LPCWSTR,HANDLE);
HANDLE STDCALL GetPropW(HWND,LPCWSTR);
HANDLE STDCALL RemovePropW(HWND,LPCWSTR);
int STDCALL EnumPropsExW(HWND,PROPENUMPROCEX,LPARAM);
int STDCALL EnumPropsW(HWND,PROPENUMPROC);
BOOL STDCALL SetWindowTextW(HWND,LPCWSTR);
int STDCALL GetWindowTextW(HWND,LPWSTR,int);
int STDCALL GetWindowTextLengthW(HWND);
int STDCALL MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT);
int STDCALL MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD);
int STDCALL MessageBoxIndirectW(LPMSGBOXPARAMS);
LONG STDCALL GetWindowLongW(HWND,int);
LONG STDCALL SetWindowLongW(HWND,int,LONG);
DWORD STDCALL GetClassLongW(HWND,int);
DWORD STDCALL SetClassLongW(HWND,int,LONG);
HWND STDCALL FindWindowW(LPCWSTR,LPCWSTR);
HWND STDCALL FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR);
int STDCALL GetClassNameW(HWND,LPWSTR,int);
HHOOK STDCALL SetWindowsHookExW(int,HOOKPROC,HINSTANCE,DWORD);
#define DefHookProc(c,p,lp,hh) CallNextHookEx((HHOOK)*hh,c,p,lp)
HBITMAP STDCALL LoadBitmapW(HINSTANCE,LPCWSTR);
HCURSOR STDCALL LoadCursorW(HINSTANCE,LPCWSTR);
HCURSOR STDCALL LoadCursorFromFileW(LPCWSTR);
HICON STDCALL LoadIconW(HINSTANCE,LPCWSTR);
HANDLE STDCALL LoadImageW(HINSTANCE,LPCWSTR,UINT,int,int,UINT);
int STDCALL LoadStringW(HINSTANCE,UINT,LPWSTR,int);
BOOL STDCALL IsDialogMessageW(HWND,LPMSG);
int STDCALL DlgDirListW(HWND,LPWSTR,int,int,UINT);
BOOL STDCALL DlgDirSelectExW(HWND,LPWSTR,int,int);
int STDCALL DlgDirListComboBoxW(HWND,LPWSTR,int,int,UINT);
BOOL STDCALL DlgDirSelectComboBoxExW(HWND,LPWSTR,int,int);
LRESULT STDCALL DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM);
LRESULT STDCALL DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM);
HWND STDCALL CreateMDIWindowW(LPWSTR,LPWSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM);
BOOL STDCALL WinHelpW(HWND,LPCWSTR,UINT,DWORD);
LONG STDCALL ChangeDisplaySettingsW(LPDEVMODE,DWORD);
BOOL STDCALL EnumDisplaySettingsW(LPCWSTR,DWORD,LPDEVMODE);
BOOL STDCALL SystemParametersInfoW(UINT,UINT,PVOID,UINT);
int STDCALL AddFontResourceW(LPCWSTR);
HMETAFILE STDCALL CopyMetaFileW(HMETAFILE,LPCWSTR);
HFONT STDCALL CreateFontIndirectW(CONST LOGFONT *);
HFONT STDCALL CreateFontW(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR);
HDC STDCALL CreateICW(LPCWSTR,LPCWSTR ,LPCWSTR ,CONST DEVMODE *);
HDC STDCALL CreateMetaFileW(LPCWSTR);
BOOL STDCALL CreateScalableFontResourceW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR);
int STDCALL DeviceCapabilitiesW(LPCWSTR,LPCWSTR,WORD,LPWSTR,CONST DEVMODE *);
int STDCALL EnumFontFamiliesExW(HDC,LPLOGFONT,FONTENUMEXPROC,LPARAM,DWORD);
int STDCALL EnumFontFamiliesW(HDC,LPCWSTR,FONTENUMPROC,LPARAM);
int STDCALL EnumFontsW(HDC,LPCWSTR,ENUMFONTSPROC,LPARAM);
BOOL STDCALL GetCharWidthW(HDC,UINT,UINT,LPINT);
BOOL STDCALL GetCharWidth32W(HDC,UINT,UINT,LPINT);
BOOL STDCALL GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT);
BOOL STDCALL GetCharABCWidthsW(HDC,UINT,UINT,LPABC);
BOOL STDCALL GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT);
DWORD STDCALL GetGlyphOutlineW(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,CONST MAT2 *);
HMETAFILE STDCALL GetMetaFileW(LPCWSTR);
UINT STDCALL GetOutlineTextMetricsW(HDC,UINT,LPOUTLINETEXTMETRIC);
BOOL STDCALL GetTextExtentPointW(HDC,LPCWSTR,int,LPSIZE);
BOOL STDCALL GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE);
BOOL STDCALL GetTextExtentExPointW( HDC,LPCWSTR,int,int,LPINT,LPINT,LPSIZE );
DWORD STDCALL GetCharacterPlacementW(HDC,LPCWSTR,int,int,LPGCP_RESULTS,DWORD);
HDC STDCALL ResetDCW(HDC,CONST DEVMODE *);
BOOL STDCALL RemoveFontResourceW(LPCWSTR);
HENHMETAFILE STDCALL CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR);
HDC STDCALL CreateEnhMetaFileW(HDC,LPCWSTR,CONST RECT *,LPCWSTR);
HENHMETAFILE STDCALL GetEnhMetaFileW(LPCWSTR);
UINT STDCALL GetEnhMetaFileDescriptionW(HENHMETAFILE,UINT,LPWSTR );
BOOL STDCALL GetTextMetricsW(HDC,LPTEXTMETRIC);
int STDCALL StartDocW(HDC,CONST DOCINFO *);
int STDCALL GetObjectW(HGDIOBJ,int,LPVOID);
BOOL STDCALL TextOutW(HDC,int,int,LPCWSTR,int);
BOOL STDCALL ExtTextOutW(HDC,int,int,UINT,CONST RECT *,LPCWSTR,UINT,CONST INT *);
BOOL STDCALL PolyTextOutW(HDC,CONST POLYTEXT *,int);
int STDCALL GetTextFaceW(HDC,int,LPWSTR);
DWORD STDCALL GetKerningPairsW(HDC,DWORD,LPKERNINGPAIR);
BOOL STDCALL GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
HCOLORSPACE STDCALL CreateColorSpaceW(LPLOGCOLORSPACE);
BOOL STDCALL GetICMProfileW(HDC,DWORD,LPWSTR);
BOOL STDCALL SetICMProfileW(HDC,LPWSTR);
BOOL STDCALL UpdateICMRegKeyW(DWORD,DWORD,LPWSTR,UINT);
int STDCALL EnumICMProfilesW(HDC,ICMENUMPROC,LPARAM);
HPROPSHEETPAGE STDCALL CreatePropertySheetPageW(LPCPROPSHEETPAGE);
int STDCALL PropertySheetW(LPCPROPSHEETHEADER);
HIMAGELIST STDCALL ImageList_LoadImageW(HINSTANCE,LPCWSTR,int,int,COLORREF,UINT,UINT);
HWND STDCALL CreateStatusWindowW(LONG,LPCWSTR,HWND,UINT *);
void STDCALL DrawStatusTextW(HDC,LPRECT,LPCWSTR,UINT);
BOOL STDCALL GetOpenFileNameW(LPOPENFILENAME);
BOOL STDCALL GetSaveFileNameW(LPOPENFILENAME);
short STDCALL GetFileTitleW(LPCWSTR,LPWSTR,WORD);
BOOL STDCALL ChooseColorW(LPCHOOSECOLOR);
HWND STDCALL ReplaceTextW(LPFINDREPLACE);
BOOL STDCALL ChooseFontW(LPCHOOSEFONT);
HWND STDCALL FindTextW(LPFINDREPLACE);
BOOL STDCALL PrintDlgW(LPPRINTDLG);
BOOL STDCALL PageSetupDlgW(LPPAGESETUPDLG);
BOOL STDCALL CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFO,LPPROCESS_INFORMATION);
VOID STDCALL GetStartupInfoW(LPSTARTUPINFO);
HANDLE STDCALL FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATA);
BOOL STDCALL FindNextFileW(HANDLE,LPWIN32_FIND_DATA);
BOOL STDCALL GetVersionExW(LPOSVERSIONINFO);
#define CreateWindowW(Class,Name,Style,x,y,W,H,Parent,Menu,Inst,Param) CreateWindowExW(0,Class,Name,Style,x,y,W,H,Parent,Menu,Inst,Param)
#define CreateDialogW(hI,lpN,hP,Func) CreateDialogParamW(hI,lpN,hP,Func,0)
#define CreateDialogIndirectW(I,T,hP,Func) CreateDialogIndirectParamW(I,T,hP,Func,0)
#define DialogBoxW(Inst,Template,Parent,Func) DialogBoxParamW(Inst,Template,Parent,Func,0)
#define DialogBoxIndirectW(Inst,Template,Parent,Func) DialogBoxIndirectParamW(Inst,Template,Parent,Func,0)
HDC STDCALL CreateDCW(LPCWSTR,LPCWSTR ,LPCWSTR ,CONST DEVMODE *);
HFONT STDCALL CreateFontA(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR);
DWORD STDCALL VerInstallFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT);
DWORD STDCALL GetFileVersionInfoSizeW(LPWSTR,LPDWORD);
BOOL STDCALL GetFileVersionInfoW(LPWSTR,DWORD,DWORD,LPVOID);
DWORD STDCALL VerLanguageNameW(DWORD,LPWSTR,DWORD);
BOOL STDCALL VerQueryValueW(const LPVOID,LPWSTR,LPVOID *,PUINT);
DWORD STDCALL VerFindFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT,LPWSTR,PUINT);
LONG STDCALL RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,CONST BYTE*,DWORD);
LONG STDCALL RegUnLoadKeyW(HKEY,LPCWSTR);
BOOL STDCALL InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL);
BOOL STDCALL AbortSystemShutdownW(LPWSTR);
LONG STDCALL RegRestoreKeyW(HKEY,LPCWSTR,DWORD);
LONG STDCALL RegSaveKeyW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES);
LONG STDCALL RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD);
LONG STDCALL RegQueryValueW(HKEY,LPCWSTR,LPWSTR,PLONG);
LONG STDCALL RegQueryMultipleValuesW(HKEY,PVALENT,DWORD,LPWSTR,LPDWORD);
LONG STDCALL RegQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
LONG STDCALL RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR);
LONG STDCALL RegConnectRegistryW(LPWSTR,HKEY,PHKEY);
LONG STDCALL RegCreateKeyW(HKEY,LPCWSTR,PHKEY);
LONG STDCALL RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD);
LONG STDCALL RegDeleteKeyW(HKEY,LPCWSTR);
LONG STDCALL RegDeleteValueW(HKEY,LPCWSTR);
LONG STDCALL RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD);
LONG STDCALL RegEnumKeyExW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPWSTR,LPDWORD,PFILETIME);
LONG STDCALL RegEnumValueW(HKEY,DWORD,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
LONG STDCALL RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR);
LONG STDCALL RegOpenKeyW(HKEY,LPCWSTR,PHKEY);
LONG STDCALL RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY);
LONG STDCALL RegQueryInfoKeyW(HKEY,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,PFILETIME);
int STDCALL CompareStringW(LCID,DWORD,LPCWSTR,int,LPCWSTR,int);
int STDCALL LCMapStringW(LCID,DWORD,LPCWSTR,int,LPWSTR,int);
int STDCALL GetLocaleInfoW(LCID,LCTYPE,LPWSTR,int);
BOOL STDCALL SetLocaleInfoW(LCID,LCTYPE,LPCWSTR);
int STDCALL GetTimeFormatW(LCID,DWORD,CONST SYSTEMTIME *,LPCWSTR,LPWSTR,int);
int STDCALL GetDateFormatW(LCID,DWORD,CONST SYSTEMTIME *,LPCWSTR,LPWSTR,int);
int STDCALL GetNumberFormatW(LCID,DWORD,LPCWSTR,CONST NUMBERFMT *,LPWSTR,int);
int STDCALL GetCurrencyFormatW(LCID,DWORD,LPCWSTR,CONST CURRENCYFMT *,LPWSTR,int);
BOOL STDCALL EnumCalendarInfoW(CALINFO_ENUMPROC,LCID,CALID,CALTYPE);
BOOL STDCALL EnumTimeFormatsW(TIMEFMT_ENUMPROC,LCID,DWORD);
BOOL STDCALL EnumDateFormatsW(DATEFMT_ENUMPROC,LCID,DWORD);
BOOL STDCALL GetStringTypeExW(LCID,DWORD,LPCWSTR,int,LPWORD);
BOOL STDCALL GetStringTypeW(DWORD,LPCWSTR,int,LPWORD);
int STDCALL FoldStringW(DWORD,LPCWSTR,int,LPWSTR,int);
BOOL STDCALL EnumSystemLocalesW(LOCALE_ENUMPROC,DWORD);
BOOL STDCALL EnumSystemCodePagesW(CODEPAGE_ENUMPROC,DWORD);
BOOL STDCALL PeekConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
BOOL STDCALL ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
BOOL STDCALL WriteConsoleInputW(HANDLE,CONST INPUT_RECORD *,DWORD,LPDWORD);
BOOL STDCALL ReadConsoleOutputW(HANDLE,PCHAR_INFO,COORD,COORD,PSMALL_RECT);
BOOL STDCALL WriteConsoleOutputW(HANDLE,CONST CHAR_INFO *,COORD,COORD,PSMALL_RECT);
BOOL STDCALL ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,LPDWORD);
BOOL STDCALL WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,LPDWORD);
BOOL STDCALL FillConsoleOutputCharacterW(HANDLE,WCHAR,DWORD,COORD,LPDWORD);
BOOL STDCALL ScrollConsoleScreenBufferW(HANDLE,CONST SMALL_RECT *,CONST SMALL_RECT *,COORD,CONST CHAR_INFO *);
DWORD STDCALL GetConsoleTitleW(LPWSTR,DWORD);
BOOL STDCALL SetConsoleTitleW(LPCWSTR);
BOOL STDCALL ReadConsoleW(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
BOOL STDCALL WriteConsoleW(HANDLE,CONST VOID *,DWORD,LPDWORD,LPVOID);
DWORD STDCALL WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR);
DWORD STDCALL WNetAddConnection2W(LPNETRESOURCE,LPCWSTR,LPCWSTR,DWORD);
DWORD STDCALL WNetAddConnection3W(HWND,LPNETRESOURCE,LPCWSTR,LPCWSTR,DWORD);
DWORD STDCALL WNetCancelConnectionW(LPCWSTR,BOOL);
DWORD STDCALL WNetCancelConnection2W(LPCWSTR,DWORD,BOOL);
DWORD STDCALL WNetGetConnectionW(LPCWSTR,LPWSTR,LPDWORD);
DWORD STDCALL WNetUseConnectionW(HWND,LPNETRESOURCE,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPDWORD,LPDWORD);
DWORD STDCALL WNetSetConnectionW(LPCWSTR,DWORD,LPVOID);
DWORD STDCALL WNetConnectionDialog1W(LPCONNECTDLGSTRUCT);
DWORD STDCALL WNetDisconnectDialog1W(LPDISCDLGSTRUCT);
DWORD STDCALL WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCE,LPHANDLE);
DWORD STDCALL WNetEnumResourceW(HANDLE,LPDWORD,LPVOID,LPDWORD);
DWORD STDCALL WNetGetUniversalNameW(LPCWSTR,DWORD,LPVOID,LPDWORD);
DWORD STDCALL WNetGetUserW(LPCWSTR,LPWSTR,LPDWORD);
DWORD STDCALL WNetGetProviderNameW(DWORD,LPWSTR,LPDWORD);
DWORD STDCALL WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT);
DWORD STDCALL WNetGetLastErrorW(LPDWORD,LPWSTR,DWORD,LPWSTR,DWORD);
DWORD STDCALL MultinetGetConnectionPerformanceW(LPNETRESOURCE,LPNETCONNECTINFOSTRUCT);
BOOL STDCALL ChangeServiceConfigW(SC_HANDLE,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
SC_HANDLE STDCALL CreateServiceW(SC_HANDLE,LPCWSTR,LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR);
BOOL STDCALL EnumDependentServicesW(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUS,DWORD,LPDWORD,LPDWORD);
BOOL STDCALL EnumServicesStatusW(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUS,DWORD,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL GetServiceKeyNameW(SC_HANDLE,LPCWSTR,LPWSTR,LPDWORD);
BOOL STDCALL GetServiceDisplayNameW(SC_HANDLE,LPCWSTR,LPWSTR,LPDWORD);
SC_HANDLE STDCALL OpenSCManagerW(LPCWSTR,LPCWSTR,DWORD);
SC_HANDLE STDCALL OpenServiceW(SC_HANDLE,LPCWSTR,DWORD);
BOOL STDCALL QueryServiceConfigW(SC_HANDLE,LPQUERY_SERVICE_CONFIG,DWORD,LPDWORD);
BOOL STDCALL QueryServiceLockStatusW(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUS,DWORD,LPDWORD);
SERVICE_STATUS_HANDLE STDCALL RegisterServiceCtrlHandlerW(LPCWSTR,LPHANDLER_FUNCTION);
BOOL STDCALL StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRY);
BOOL STDCALL StartServiceW(SC_HANDLE,DWORD,LPCWSTR);
/* ASCIIFunctions.h Declarations for all the WIN32 ASCII Functions */
BOOL STDCALL GetBinaryTypeA(LPCSTR,LPDWORD);
DWORD STDCALL GetShortPathNameA(LPCSTR,LPSTR,DWORD);
BOOL STDCALL FreeEnvironmentStringsA(LPSTR);
DWORD STDCALL FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,va_list *);
HANDLE STDCALL CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
int STDCALL lstrcmpA(LPCSTR,LPCSTR);
int STDCALL lstrcmpiA(LPCSTR,LPCSTR);
LPSTR STDCALL lstrcpynA(LPSTR,LPCSTR,int);
LPSTR STDCALL lstrcpyA(LPSTR,LPCSTR);
LPSTR STDCALL lstrcatA(LPSTR,LPCSTR);
int STDCALL lstrlenA(LPCSTR);
HANDLE STDCALL CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
HANDLE STDCALL OpenMutexA(DWORD,BOOL,LPCSTR);
HANDLE STDCALL CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR);
HANDLE STDCALL OpenEventA(DWORD,BOOL,LPCSTR);
HANDLE STDCALL CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
HANDLE STDCALL OpenSemaphoreA(DWORD,BOOL,LPCSTR);
HANDLE STDCALL CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR);
HANDLE STDCALL OpenFileMappingA(DWORD,BOOL,LPCSTR);
DWORD STDCALL GetLogicalDriveStringsA(DWORD,LPSTR);
HINSTANCE STDCALL LoadLibraryA(LPCSTR);
HINSTANCE STDCALL LoadLibraryExA(LPCSTR,HANDLE,DWORD);
DWORD STDCALL GetModuleFileNameA(HINSTANCE,LPSTR,DWORD);
HMODULE STDCALL GetModuleHandleA(LPCSTR);
VOID STDCALL FatalAppExitA(UINT,LPCSTR);
LPSTR STDCALL GetCommandLineA(VOID);
DWORD STDCALL GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
BOOL STDCALL SetEnvironmentVariableA(LPCSTR,LPCSTR);
DWORD STDCALL ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
VOID STDCALL OutputDebugStringA(LPCSTR);
HRSRC STDCALL FindResourceA(HMODULE,LPCSTR,LPCSTR);
HRSRC STDCALL FindResourceExA(HINSTANCE,LPCSTR,LPCSTR,WORD);
BOOL STDCALL EnumResourceTypesA(HINSTANCE,ENUMRESTYPEPROC,LONG);
BOOL STDCALL EnumResourceNamesA(HINSTANCE,LPCSTR,ENUMRESNAMEPROC,LONG);
BOOL STDCALL EnumResourceLanguagesA(HINSTANCE,LPCSTR,LPCSTR,ENUMRESLANGPROC,LONG);
HANDLE STDCALL BeginUpdateResourceA(LPCSTR,BOOL);
BOOL STDCALL UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD);
BOOL STDCALL EndUpdateResourceA(HANDLE,BOOL);
ATOM STDCALL GlobalAddAtomA(LPCSTR);
ATOM STDCALL GlobalFindAtomA(LPCSTR);
UINT STDCALL GlobalGetAtomNameA(ATOM,LPSTR,int);
ATOM STDCALL AddAtomA(LPCSTR);
ATOM STDCALL FindAtomA(LPCSTR);
UINT STDCALL GetAtomNameA(ATOM,LPSTR,int);
UINT STDCALL GetProfileIntA(LPCSTR,LPCSTR,INT);
DWORD STDCALL GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD);
BOOL STDCALL WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
DWORD STDCALL GetProfileSectionA(LPCSTR,LPSTR,DWORD);
BOOL STDCALL WriteProfileSectionA(LPCSTR,LPCSTR);
UINT STDCALL GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
DWORD STDCALL GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD,LPCSTR);
BOOL STDCALL WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
DWORD STDCALL GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
BOOL STDCALL WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR);
UINT STDCALL GetDriveTypeA(LPCSTR);
UINT STDCALL GetSystemDirectoryA(LPSTR,UINT);
DWORD STDCALL GetTempPathA(DWORD,LPSTR);
UINT STDCALL GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR);
UINT STDCALL GetWindowsDirectoryA(LPSTR,UINT);
BOOL STDCALL SetCurrentDirectoryA(LPCSTR);
DWORD STDCALL GetCurrentDirectoryA(DWORD,LPSTR);
BOOL STDCALL GetDiskFreeSpaceA(LPCSTR,LPDWORD,LPDWORD ,LPDWORD,LPDWORD);
BOOL STDCALL CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES);
BOOL STDCALL CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
BOOL STDCALL RemoveDirectoryA(LPCSTR);
DWORD STDCALL GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR *);
BOOL STDCALL DefineDosDeviceA(DWORD,LPCSTR,LPCSTR);
DWORD STDCALL QueryDosDeviceA(LPCSTR,LPSTR,DWORD);
HANDLE STDCALL CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
BOOL STDCALL SetFileAttributesA(LPCSTR,DWORD);
DWORD STDCALL GetFileAttributesA(LPCSTR);
DWORD STDCALL GetCompressedFileSizeA(LPCSTR,LPDWORD);
BOOL STDCALL DeleteFileA(LPCSTR);
DWORD STDCALL SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR *);
BOOL STDCALL CopyFileA(LPCSTR,LPCSTR,BOOL);
BOOL STDCALL MoveFileA(LPCSTR,LPCSTR);
BOOL STDCALL MoveFileExA(LPCSTR,LPCSTR,DWORD);
HANDLE STDCALL CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
BOOL STDCALL GetNamedPipeHandleStateA(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
BOOL STDCALL CallNamedPipeA(LPCSTR,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,DWORD);
BOOL STDCALL WaitNamedPipeA(LPCSTR,DWORD);
BOOL STDCALL SetVolumeLabelA(LPCSTR,LPCSTR);
BOOL STDCALL GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
BOOL STDCALL ClearEventLogA(HANDLE,LPCSTR);
BOOL STDCALL BackupEventLogA(HANDLE,LPCSTR);
HANDLE STDCALL OpenEventLogA (LPCSTR,LPCSTR);
HANDLE STDCALL RegisterEventSourceA (LPCSTR,LPCSTR);
HANDLE STDCALL OpenBackupEventLogA(LPCSTR,LPCSTR);
BOOL STDCALL ReadEventLogA(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *);
BOOL STDCALL ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID);
BOOL STDCALL AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,
	DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL);
BOOL STDCALL ObjectOpenAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,LPBOOL);
BOOL STDCALL ObjectPrivilegeAuditAlarmA(LPCSTR,LPVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL);
BOOL STDCALL ObjectCloseAuditAlarmA(LPCSTR,LPVOID,BOOL);
BOOL STDCALL PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL);
BOOL STDCALL SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
BOOL STDCALL GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
HANDLE STDCALL FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD);
BOOL STDCALL IsBadStringPtrA(LPCSTR,UINT);
BOOL STDCALL LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
BOOL STDCALL LookupAccountNameA(LPCSTR,LPCSTR,PSID,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
BOOL STDCALL LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID);
BOOL STDCALL LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,LPDWORD);
BOOL STDCALL LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,LPDWORD,LPDWORD);
BOOL STDCALL BuildCommDCBA(LPCSTR lpDef,LPDCB lpDCB);
BOOL STDCALL BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS);
BOOL STDCALL CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG);
BOOL STDCALL GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,LPDWORD);
BOOL STDCALL SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD);
BOOL STDCALL GetComputerNameA (LPSTR,LPDWORD);
BOOL STDCALL SetComputerNameA (LPCSTR);
BOOL STDCALL GetUserNameA (LPSTR,LPDWORD);
int STDCALL wvsprintfA(LPSTR,LPCSTR,va_list arglist);
int CDECL wsprintfA(LPSTR,LPCSTR,...);
HKL STDCALL LoadKeyboardLayoutA(LPCSTR,UINT);
BOOL STDCALL GetKeyboardLayoutNameA(LPSTR);
HDESK STDCALL CreateDesktopA(LPSTR,LPSTR,LPDEVMODE,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
HDESK STDCALL OpenDesktopA(LPSTR,DWORD,BOOL,DWORD);
BOOL STDCALL EnumDesktopsA(HWINSTA,DESKTOPENUMPROC,LPARAM);
HWINSTA STDCALL CreateWindowStationA(LPSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
HWINSTA STDCALL OpenWindowStationA(LPSTR,BOOL,DWORD);
BOOL STDCALL EnumWindowStationsA(ENUMWINDOWSTATIONPROC,LPARAM);
BOOL STDCALL GetUserObjectInformationA(HANDLE,int,PVOID,DWORD,LPDWORD);
BOOL STDCALL SetUserObjectInformationA(HANDLE,int,PVOID,DWORD);
UINT STDCALL RegisterWindowMessageA(LPCSTR);
BOOL STDCALL GetMessageA(LPMSG,HWND,UINT,UINT);
LONG STDCALL DispatchMessageA(CONST MSG *);
BOOL STDCALL PeekMessageA(LPMSG,HWND,UINT,UINT,UINT);
LRESULT STDCALL SendMessageA(HWND,UINT,WPARAM,LPARAM);
LRESULT STDCALL SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,LPDWORD);
BOOL STDCALL SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM);
BOOL STDCALL SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD);
BOOL STDCALL PostMessageA(HWND,UINT,WPARAM,LPARAM);
BOOL STDCALL PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM);
LRESULT STDCALL DefWindowProcA(HWND,UINT,WPARAM,LPARAM);
LRESULT STDCALL CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM);
ATOM STDCALL RegisterClassA(CONST WNDCLASS *);
BOOL STDCALL UnregisterClassA(LPCSTR,HINSTANCE);
BOOL STDCALL GetClassInfoA(HINSTANCE,LPCSTR,LPWNDCLASS);
ATOM STDCALL RegisterClassExA(CONST WNDCLASSEX *);
BOOL STDCALL GetClassInfoExA(HINSTANCE,LPCSTR,LPWNDCLASSEX);
HWND STDCALL CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID);
HWND STDCALL CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
HWND STDCALL CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
int STDCALL DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);
int STDCALL DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM);
BOOL STDCALL SetDlgItemTextA(HWND,int,LPCSTR);
UINT STDCALL GetDlgItemTextA(HWND,int,LPSTR,int);
LONG STDCALL SendDlgItemMessageA(HWND,int,UINT,WPARAM,LPARAM);
LRESULT STDCALL DefDlgProcA(HWND,UINT,WPARAM,LPARAM);
BOOL STDCALL CallMsgFilterA(LPMSG,int);
UINT STDCALL RegisterClipboardFormatA(LPCSTR);
int STDCALL GetClipboardFormatNameA(UINT,LPSTR,int);
BOOL STDCALL CharToOemA(LPCSTR,LPSTR);
BOOL STDCALL OemToCharA(LPCSTR,LPSTR);
BOOL STDCALL CharToOemBuffA(LPCSTR,LPSTR,DWORD);
BOOL STDCALL OemToCharBuffA(LPCSTR,LPSTR,DWORD);
LPSTR STDCALL CharUpperA(LPSTR);
DWORD STDCALL CharUpperBuffA(LPSTR,DWORD);
LPSTR STDCALL CharLowerA(LPSTR);
DWORD STDCALL CharLowerBuffA(LPSTR,DWORD);
LPSTR STDCALL CharNextA(LPCSTR);
LPSTR STDCALL CharPrevA(LPCSTR,LPCSTR);
BOOL STDCALL IsCharAlphaA(CHAR ch);
BOOL STDCALL IsCharAlphaNumericA(CHAR);
BOOL STDCALL IsCharUpperA(CHAR);
BOOL STDCALL IsCharLowerA(CHAR);
int STDCALL GetKeyNameTextA(LONG,LPSTR,int);
SHORT STDCALL VkKeyScanA(CHAR);
SHORT STDCALL VkKeyScanExA(CHAR,HKL);
UINT STDCALL MapVirtualKeyA(UINT,UINT);
UINT STDCALL MapVirtualKeyExA(UINT,UINT,HKL);
HACCEL STDCALL LoadAcceleratorsA(HINSTANCE,LPCSTR);
HACCEL STDCALL CreateAcceleratorTableA(LPACCEL,int);
int STDCALL CopyAcceleratorTableA(HACCEL,LPACCEL,int);
int STDCALL TranslateAcceleratorA(HWND,HACCEL,LPMSG);
HMENU STDCALL LoadMenuA(HINSTANCE,LPCSTR);
HMENU STDCALL LoadMenuIndirectA(CONST MENUTEMPLATE *);
BOOL STDCALL ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT);
int STDCALL GetMenuStringA(HMENU,UINT,LPSTR,int,UINT);
BOOL STDCALL InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
BOOL STDCALL AppendMenuA(HMENU,UINT,UINT,LPCSTR);
BOOL STDCALL ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR);
BOOL STDCALL InsertMenuItemA(HMENU,UINT,BOOL,LPCMENUITEMINFO);
BOOL STDCALL GetMenuItemInfoA(HMENU,UINT,BOOL,LPMENUITEMINFO);
BOOL STDCALL SetMenuItemInfoA(HMENU,UINT,BOOL,LPCMENUITEMINFO);
int STDCALL DrawTextA(HDC,LPCSTR,int,LPRECT,UINT);
int STDCALL DrawTextExA(HDC,LPSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS);
BOOL STDCALL GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int);
BOOL STDCALL DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT);
LONG STDCALL TabbedTextOutA(HDC,int,int,LPCSTR,int,int,LPINT,int);
DWORD STDCALL GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT);
BOOL STDCALL SetPropA(HWND,LPCSTR,HANDLE);
HANDLE STDCALL GetPropA(HWND,LPCSTR);
HANDLE STDCALL RemovePropA(HWND,LPCSTR);
int STDCALL EnumPropsExA(HWND,PROPENUMPROCEX,LPARAM);
int STDCALL EnumPropsA(HWND,PROPENUMPROC);
BOOL STDCALL SetWindowTextA(HWND,LPCSTR);
int STDCALL GetWindowTextA(HWND,LPSTR,int);
int STDCALL GetWindowTextLengthA(HWND);
int STDCALL MessageBoxA(HWND,LPCSTR,LPCSTR,UINT);
int STDCALL MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD);
int STDCALL MessageBoxIndirectA(LPMSGBOXPARAMS);
LONG STDCALL GetWindowLongA(HWND,int);
LONG STDCALL SetWindowLongA(HWND,int,LONG);
DWORD STDCALL GetClassLongA(HWND,int);
DWORD STDCALL SetClassLongA(HWND,int,LONG);
HWND STDCALL FindWindowA(LPCSTR,LPCSTR);
HWND STDCALL FindWindowExA(HWND,HWND,LPCSTR,LPCSTR);
int STDCALL GetClassNameA(HWND,LPSTR,int);
HHOOK STDCALL SetWindowsHookExA(int,HOOKPROC,HINSTANCE,DWORD);
HOOKPROC WINAPI SetWindowsHookA(int,HOOKPROC);
HBITMAP STDCALL LoadBitmapA(HINSTANCE,LPCSTR);
HCURSOR STDCALL LoadCursorA(HINSTANCE,LPCSTR);
HCURSOR STDCALL LoadCursorFromFileA(LPCSTR);
HICON STDCALL LoadIconA(HINSTANCE,LPCSTR);
HANDLE STDCALL LoadImageA(HINSTANCE,LPCSTR,UINT,int,int,UINT);
int STDCALL LoadStringA(HINSTANCE,UINT,LPSTR,int);
BOOL STDCALL IsDialogMessageA(HWND,LPMSG);
int STDCALL DlgDirListA(HWND,LPSTR,int,int,UINT);
BOOL STDCALL DlgDirSelectExA(HWND,LPSTR,int,int);
int STDCALL DlgDirListComboBoxA(HWND,LPSTR,int,int,UINT);
BOOL STDCALL DlgDirSelectComboBoxExA(HWND,LPSTR,int,int);
LRESULT STDCALL DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM);
LRESULT STDCALL DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM);
HWND STDCALL CreateMDIWindowA(LPSTR,LPSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM);
BOOL STDCALL WinHelpA(HWND,LPCSTR,UINT,DWORD);
LONG STDCALL ChangeDisplaySettingsA(LPDEVMODE,DWORD);
BOOL STDCALL EnumDisplaySettingsA(LPCSTR,DWORD,LPDEVMODE);
BOOL STDCALL SystemParametersInfoA(UINT,UINT,PVOID,UINT);
int STDCALL AddFontResourceA(LPCSTR);
HMETAFILE STDCALL CopyMetaFileA(HMETAFILE,LPCSTR);
HFONT STDCALL CreateFontIndirectA(CONST LOGFONT *);
HDC STDCALL CreateICA(LPCSTR,LPCSTR,LPCSTR,CONST DEVMODE *);
HDC STDCALL CreateMetaFileA(LPCSTR);
BOOL STDCALL CreateScalableFontResourceA(DWORD,LPCSTR,LPCSTR,LPCSTR);
int STDCALL DeviceCapabilitiesA(LPCSTR,LPCSTR,WORD,LPSTR,CONST DEVMODE *);
int STDCALL EnumFontFamiliesExA(HDC,LPLOGFONT,FONTENUMEXPROC,LPARAM,DWORD);
int STDCALL EnumFontFamiliesA(HDC,LPCSTR,FONTENUMPROC,LPARAM);
int STDCALL EnumFontsA(HDC,LPCSTR,ENUMFONTSPROC,LPARAM);
BOOL STDCALL GetCharWidthA(HDC,UINT,UINT,LPINT);
BOOL STDCALL GetCharWidth32A(HDC,UINT,UINT,LPINT);
BOOL STDCALL GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT);
BOOL STDCALL GetCharABCWidthsA(HDC,UINT,UINT,LPABC);
BOOL STDCALL GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT);
DWORD STDCALL GetGlyphOutlineA(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,LPVOID,CONST MAT2 *);
HMETAFILE STDCALL GetMetaFileA(LPCSTR);
UINT STDCALL GetOutlineTextMetricsA(HDC,UINT,LPOUTLINETEXTMETRIC);
BOOL STDCALL GetTextExtentPointA(HDC,LPCSTR,int,LPSIZE);
BOOL STDCALL GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE);
BOOL STDCALL GetTextExtentExPointA(HDC,LPCSTR,int,int,LPINT,LPINT,LPSIZE);
DWORD STDCALL GetCharacterPlacementA(HDC,LPCSTR,int,int,LPGCP_RESULTS,DWORD);
HDC STDCALL ResetDCA(HDC,CONST DEVMODE *);
BOOL STDCALL RemoveFontResourceA(LPCSTR);
HENHMETAFILE STDCALL CopyEnhMetaFileA(HENHMETAFILE,LPCSTR);
HDC STDCALL CreateEnhMetaFileA(HDC,LPCSTR,CONST RECT *,LPCSTR);
HENHMETAFILE STDCALL GetEnhMetaFileA(LPCSTR);
UINT STDCALL GetEnhMetaFileDescriptionA(HENHMETAFILE,UINT,LPSTR);
BOOL STDCALL GetTextMetricsA(HDC,LPTEXTMETRIC);
int STDCALL StartDocA(HDC,CONST DOCINFO *);
int STDCALL GetObjectA(HGDIOBJ,int,LPVOID);
BOOL STDCALL TextOutA(HDC,int,int,LPCSTR,int);
BOOL STDCALL ExtTextOutA(HDC,int,int,UINT,CONST RECT *,LPCSTR,UINT,CONST INT *);
BOOL STDCALL PolyTextOutA(HDC,CONST POLYTEXT *,int);
int STDCALL GetTextFaceA(HDC,int,LPSTR);
DWORD STDCALL GetKerningPairsA(HDC,DWORD,LPKERNINGPAIR);
HCOLORSPACE STDCALL CreateColorSpaceA(LPLOGCOLORSPACE);
BOOL STDCALL GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
BOOL STDCALL GetICMProfileA(HDC,DWORD,LPSTR);
BOOL STDCALL SetICMProfileA(HDC,LPSTR);
BOOL STDCALL UpdateICMRegKeyA(DWORD,DWORD,LPSTR,UINT);
int STDCALL EnumICMProfilesA(HDC,ICMENUMPROC,LPARAM);
int STDCALL PropertySheetA(LPCPROPSHEETHEADER);
HIMAGELIST STDCALL ImageList_LoadImageA(HINSTANCE,LPCSTR,int,int,COLORREF,UINT,UINT);
HWND STDCALL CreateStatusWindowA(LONG,LPCSTR,HWND,UINT);
void STDCALL DrawStatusTextA(HDC,LPRECT,LPCSTR,UINT);
BOOL STDCALL GetOpenFileNameA(LPOPENFILENAME);
BOOL STDCALL GetSaveFileNameA(LPOPENFILENAME);
short STDCALL GetFileTitleA(LPCSTR,LPSTR,WORD);
BOOL STDCALL ChooseColorA(LPCHOOSECOLOR);
HWND STDCALL FindTextA(LPFINDREPLACE);
HWND STDCALL ReplaceTextA(LPFINDREPLACE);
BOOL STDCALL ChooseFontA(LPCHOOSEFONT);
BOOL STDCALL PrintDlgA(LPPRINTDLG);
BOOL STDCALL PageSetupDlgA(LPPAGESETUPDLG);
BOOL STDCALL CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,
	LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR,
	LPSTARTUPINFO,LPPROCESS_INFORMATION);
VOID STDCALL GetStartupInfoA(LPSTARTUPINFO);
HANDLE STDCALL FindFirstFileA(LPCSTR,LPWIN32_FIND_DATA);
BOOL STDCALL FindNextFileA(HANDLE,LPWIN32_FIND_DATA);
BOOL STDCALL GetVersionExA(LPOSVERSIONINFO);
#define CreateWindowA(C,WN,S,x,y,W,H,hW,hM,hI,l) CreateWindowExA(0,C,WN,S,x,y,W,H,hW,hM,hI,l)
#define CreateDialogA(hI,Name,hP,Func) CreateDialogParamA(hI,Name,hP,Func,0)
#define CreateDialogIndirectA(hI,T,P,Func) CreateDialogIndirectParamA(hI,T,P,Func,0)
#define DialogBoxA(h,T,P,D) DialogBoxParamA(h,T,P,D,0)
#define DialogBoxIndirectA(h,T,P,D) DialogBoxIndirectParamA(h,T,P,D,0)
HDC STDCALL CreateDCA(LPCSTR,LPCSTR,LPCSTR,CONST DEVMODE *);
DWORD STDCALL VerInstallFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,PUINT);
DWORD STDCALL GetFileVersionInfoSizeA(LPSTR,LPDWORD);
BOOL STDCALL GetFileVersionInfoA(LPSTR,DWORD,DWORD,LPVOID);
DWORD STDCALL VerLanguageNameA(DWORD,LPSTR,DWORD);
DWORD STDCALL VerFindFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,PUINT,LPSTR,PUINT);
LONG STDCALL RegConnectRegistryA(LPSTR,HKEY,PHKEY);
LONG STDCALL RegCreateKeyA(HKEY,LPCSTR,PHKEY);
LONG STDCALL RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,LPDWORD);
LONG STDCALL RegDeleteKeyA(HKEY,LPCSTR);
LONG STDCALL RegDeleteValueA (HKEY,LPCSTR);
LONG STDCALL RegEnumKeyA (HKEY,DWORD,LPSTR,DWORD);
LONG STDCALL RegEnumKeyExA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPSTR,LPDWORD,PFILETIME);
LONG STDCALL RegEnumValueA(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
LONG STDCALL RegLoadKeyA(HKEY,LPCSTR ,LPCSTR);
LONG STDCALL RegOpenKeyA(HKEY,LPCSTR,PHKEY);
LONG STDCALL RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY);
LONG STDCALL RegQueryInfoKeyA(HKEY,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD,
	LPDWORD,LPDWORD,LPDWORD,LPDWORD,LPDWORD,PFILETIME);
LONG STDCALL RegQueryValueA(HKEY,LPCSTR,LPSTR,PLONG);
LONG STDCALL RegQueryMultipleValuesA(HKEY,PVALENT,DWORD,LPSTR,LPDWORD);
LONG STDCALL RegQueryValueExA (HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
LONG STDCALL RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR);
LONG STDCALL RegRestoreKeyA (HKEY,LPCSTR,DWORD);
LONG STDCALL RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES);
LONG STDCALL RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD);
LONG STDCALL RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,CONST BYTE*,DWORD);
LONG STDCALL RegUnLoadKeyA(HKEY,LPCSTR);
BOOL STDCALL InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL);
BOOL STDCALL AbortSystemShutdownA(LPSTR);
int STDCALL CompareStringA(LCID,DWORD,LPCSTR,int,LPCSTR,int);
int STDCALL LCMapStringA(LCID,DWORD,LPCSTR,int,LPSTR,int);
int STDCALL GetLocaleInfoA(LCID,LCTYPE,LPSTR,int);
BOOL STDCALL SetLocaleInfoA(LCID,LCTYPE,LPCSTR);
int STDCALL GetTimeFormatA(LCID,DWORD,CONST SYSTEMTIME *,LPCSTR,LPSTR,int);
int STDCALL GetDateFormatA(LCID,DWORD,CONST SYSTEMTIME *,LPCSTR,LPSTR,int);
int STDCALL GetNumberFormatA(LCID,DWORD,LPCSTR,CONST NUMBERFMT *,LPSTR,int);
int STDCALL GetCurrencyFormatA(LCID,DWORD,LPCSTR,CONST CURRENCYFMT *,LPSTR ,int);
BOOL STDCALL EnumCalendarInfoA(CALINFO_ENUMPROC,LCID,CALID,CALTYPE);
BOOL STDCALL EnumTimeFormatsA(TIMEFMT_ENUMPROC,LCID,DWORD);
BOOL STDCALL EnumDateFormatsA(DATEFMT_ENUMPROC,LCID,DWORD);
BOOL STDCALL GetStringTypeExA(LCID,DWORD,LPCSTR,int,LPWORD);
BOOL STDCALL GetStringTypeA(LCID,DWORD,LPCSTR,int,LPWORD);
int STDCALL FoldStringA(DWORD,LPCSTR,int,LPSTR,int);
BOOL STDCALL EnumSystemLocalesA(LOCALE_ENUMPROC,DWORD);
BOOL STDCALL EnumSystemCodePagesA(CODEPAGE_ENUMPROC,DWORD);
BOOL STDCALL PeekConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
BOOL STDCALL ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,LPDWORD);
BOOL STDCALL WriteConsoleInputA(HANDLE,CONST INPUT_RECORD *,DWORD,LPDWORD);
BOOL STDCALL ReadConsoleOutputA(HANDLE,PCHAR_INFO,COORD,COORD,PSMALL_RECT);
BOOL STDCALL WriteConsoleOutputA(HANDLE,CONST CHAR_INFO *,COORD,COORD,PSMALL_RECT);
BOOL STDCALL ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,LPDWORD);
BOOL STDCALL WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,LPDWORD);
BOOL STDCALL FillConsoleOutputCharacterA(HANDLE,CHAR,DWORD,COORD,LPDWORD);
BOOL STDCALL ScrollConsoleScreenBufferA(HANDLE,CONST SMALL_RECT *,CONST SMALL_RECT *,COORD,CONST CHAR_INFO *);
DWORD STDCALL GetConsoleTitleA(LPSTR,DWORD);
BOOL STDCALL SetConsoleTitleA(LPCSTR);
BOOL STDCALL ReadConsoleA(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
BOOL STDCALL WriteConsoleA(HANDLE,CONST VOID *,DWORD,LPDWORD,LPVOID);
DWORD STDCALL WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR);
DWORD STDCALL WNetAddConnection2A(LPNETRESOURCE,LPCSTR,LPCSTR,DWORD);
DWORD STDCALL WNetAddConnection3A(HWND,LPNETRESOURCE,LPCSTR,LPCSTR,DWORD);
DWORD STDCALL WNetCancelConnectionA(LPCSTR,BOOL);
DWORD STDCALL WNetCancelConnection2A(LPCSTR,DWORD,BOOL);
DWORD STDCALL WNetGetConnectionA(LPCSTR,LPSTR,LPDWORD);
DWORD STDCALL WNetUseConnectionA(HWND,LPNETRESOURCE,LPCSTR,LPCSTR,DWORD,LPSTR,LPDWORD,LPDWORD);
DWORD STDCALL WNetSetConnectionA(LPCSTR,DWORD,LPVOID);
DWORD STDCALL WNetConnectionDialog1A(LPCONNECTDLGSTRUCT);
DWORD STDCALL WNetDisconnectDialog1A(LPDISCDLGSTRUCT);
DWORD STDCALL WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCE,LPHANDLE);
DWORD STDCALL WNetEnumResourceA(HANDLE,LPDWORD,LPVOID,LPDWORD);
DWORD STDCALL WNetGetUniversalNameA(LPCSTR,DWORD,LPVOID,LPDWORD);
DWORD STDCALL WNetGetUserA(LPCSTR,LPSTR,LPDWORD);
DWORD STDCALL WNetGetProviderNameA(DWORD,LPSTR,LPDWORD);
DWORD STDCALL WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT);
DWORD STDCALL WNetGetLastErrorA(LPDWORD,LPSTR,DWORD,LPSTR,DWORD);
DWORD STDCALL MultinetGetConnectionPerformanceA(LPNETRESOURCE,LPNETCONNECTINFOSTRUCT);
BOOL STDCALL ChangeServiceConfigA(SC_HANDLE,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR);
SC_HANDLE STDCALL CreateServiceA(SC_HANDLE,LPCSTR,LPCSTR,DWORD,DWORD,DWORD ,DWORD ,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR);
BOOL STDCALL EnumDependentServicesA(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUS,DWORD,LPDWORD,LPDWORD);
BOOL STDCALL EnumServicesStatusA(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUS,DWORD,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL GetServiceKeyNameA(SC_HANDLE,LPCSTR,LPSTR,LPDWORD);
BOOL STDCALL GetServiceDisplayNameA(SC_HANDLE,LPCSTR,LPSTR,LPDWORD);
SC_HANDLE STDCALL OpenSCManagerA(LPCSTR,LPCSTR,DWORD);
SC_HANDLE STDCALL OpenServiceA(SC_HANDLE ,LPCSTR,DWORD);
BOOL STDCALL QueryServiceConfigA(SC_HANDLE,LPQUERY_SERVICE_CONFIG,DWORD,LPDWORD);
BOOL STDCALL QueryServiceLockStatusA(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUS,DWORD,LPDWORD);
SERVICE_STATUS_HANDLE STDCALL RegisterServiceCtrlHandlerA(LPCSTR,LPHANDLER_FUNCTION);
BOOL STDCALL StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRY);
BOOL STDCALL StartServiceA(SC_HANDLE,DWORD,LPCSTR *);
#ifdef UNICODE
#define RegConnectRegistry	RegConnectRegistryW
#define RegCreateKey	RegCreateKeyW
#define RegCreateKeyEx	RegCreateKeyExW
#define RegDeleteKey	RegDeleteKeyW
#define RegDeleteValue	RegDeleteValueW
#define RegEnumKey	RegEnumKeyW
#define RegEnumKeyEx	RegEnumKeyExW
#define RegEnumValue	RegEnumValueW
#define RegLoadKey	RegLoadKeyW
#define RegOpenKey	RegOpenKeyW
#define RegOpenKeyEx	RegOpenKeyExW
#define RegQueryInfoKey RegQueryInfoKeyW
#define RegQueryValue	RegQueryValueW
#define RegQueryMultipleValues RegQueryMultipleValuesW
#define RegQueryValueEx RegQueryValueExW
#define RegReplaceKey	RegReplaceKeyW
#define RegRestoreKey	RegRestoreKeyW
#define RegSaveKey	RegSaveKeyW
#define RegSetValue	RegSetValueW
#define RegSetValueEx RegSetValueExW
#define AbortSystemShutdown AbortSystemShutdownW
#define InitiateSystemShutdown InitiateSystemShutdownW
#define RegUnLoadKey RegUnLoadKeyW
#define SetProp SetPropW
#define GetProp GetPropW
#define RemoveProp RemovePropW
#define EnumPropsEx EnumPropsExW
#define EnumProps EnumPropsW
#define SetWindowText SetWindowTextW
#define GetWindowText GetWindowTextW
#define GetWindowTextLength GetWindowTextLengthW
#define MessageBox MessageBoxW
#define MessageBoxEx MessageBoxExW
#define MessageBoxIndirect MessageBoxIndirectW
#define GetWindowLong GetWindowLongW
#define SetWindowLong SetWindowLongW
#define GetClassLong GetClassLongW
#define SetClassLong SetClassLongW
#define FindWindow FindWindowW
#define FindWindowEx FindWindowExW
#define GetClassName	GetClassNameW
#define SetWindowsHookEx	SetWindowsHookExW
#define SetWindowsHook	SetWindowsHookW
#define LoadBitmap	LoadBitmapW
#define LoadCursor	LoadCursorW
#define LoadCursorFromFile	LoadCursorFromFileW
#define LoadIcon	LoadIconW
#define LoadImage LoadImageW
#define LoadString LoadStringW
#define IsDialogMessage IsDialogMessageW
#define DlgDirList DlgDirListW
#define DlgDirSelectEx DlgDirSelectExW
#define DlgDirListComboBox DlgDirListComboBoxW
#define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
#define DefFrameProc DefFrameProcW
#define DefMDIChildProc DefMDIChildProcW
#define CreateMDIWindow CreateMDIWindowW
#define WinHelp WinHelpW
#define ChangeDisplaySettings ChangeDisplaySettingsW
#define EnumDisplaySettings EnumDisplaySettingsW
#define SystemParametersInfo SystemParametersInfoW
#define AddFontResource AddFontResourceW
#define CopyMetaFile CopyMetaFileW
#define CreateDC CreateDCW
#define CreateFontIndirect CreateFontIndirectW
#define CreateFont CreateFontW
#define CreateIC CreateICW
#define CreateMetaFile CreateMetaFileW
#define CreateScalableFontResource CreateScalableFontResourceW
#define DeviceCapabilities DeviceCapabilitiesW
#define EnumFontFamiliesEx EnumFontFamiliesExW
#define EnumFontFamilies EnumFontFamiliesW
#define EnumFonts EnumFontsW
#define GetCharWidth GetCharWidthW
#define GetCharWidth32 GetCharWidth32W
#define GetCharWidthFloat GetCharWidthFloatW
#define GetCharABCWidths GetCharABCWidthsW
#define GetCharABCWidthsFloat GetCharABCWidthsFloatW
#define GetGlyphOutline GetGlyphOutlineW
#define GetMetaFile GetMetaFileW
#define GetOutlineTextMetrics GetOutlineTextMetricsW
#define GetTextExtentPoint GetTextExtentPointW
#define GetTextExtentPoint32 GetTextExtentPoint32W
#define GetTextExtentExPoint GetTextExtentExPointW
#define GetCharacterPlacement GetCharacterPlacementW
#define ResetDC ResetDCW
#define RemoveFontResource RemoveFontResourceW
#define CopyEnhMetaFile CopyEnhMetaFileW
#define CreateEnhMetaFile CreateEnhMetaFileW
#define GetEnhMetaFile GetEnhMetaFileW
#define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
#define GetTextMetrics GetTextMetricsW
#define StartDoc StartDocW
#define GetObject GetObjectW
#define TextOut TextOutW
#define ExtTextOut ExtTextOutW
#define PolyTextOut PolyTextOutW
#define GetTextFace GetTextFaceW
#define GetKerningPairs GetKerningPairsW
#define GetLogColorSpace GetLogColorSpaceW
#define CreateColorSpace CreateColorSpaceW
#define GetICMProfile GetICMProfileW
#define SetICMProfile SetICMProfileW
#define UpdateICMRegKey UpdateICMRegKeyW
#define EnumICMProfiles EnumICMProfilesW
#define CreatePropertySheetPage CreatePropertySheetPageW
#define PropertySheet PropertySheetW
#define ImageList_LoadImage ImageList_LoadImageW
#define CreateStatusWindow CreateStatusWindowW
#define DrawStatusText DrawStatusTextW
#define GetOpenFileName GetOpenFileNameW
#define GetSaveFileName GetSaveFileNameW
#define GetFileTitle GetFileTitleW
#define ChooseColor ChooseColorW
#define FindText FindTextW
#define ReplaceText ReplaceTextW
#define ChooseFont ChooseFontW
#define PrintDlg PrintDlgW
#define PageSetupDlg PageSetupDlgW
#define DefWindowProc DefWindowProcW
#define CallWindowProc CallWindowProcW
#define RegisterClass RegisterClassW
#define UnregisterClass UnregisterClassW
#define GetClassInfo GetClassInfoW
#define RegisterClassEx RegisterClassExW
#define GetClassInfoEx GetClassInfoExW
#define CreateWindowEx CreateWindowExW
#define CreateWindow CreateWindowW
#define CreateDialogParam CreateDialogParamW
#define CreateDialogIndirectParam CreateDialogIndirectParamW
#define CreateDialog CreateDialogW
#define CreateDialogIndirect CreateDialogIndirectW
#define DialogBoxParam DialogBoxParamW
#define DialogBoxIndirectParam DialogBoxIndirectParamW
#define DialogBox DialogBoxW
#define DialogBoxIndirect DialogBoxIndirectW
#define RegisterClipboardFormat RegisterClipboardFormatW
#define SetDlgItemText SetDlgItemTextW
#define GetDlgItemText GetDlgItemTextW
#define SendDlgItemMessage SendDlgItemMessageW
#define DefDlgProc DefDlgProcW
#define CallMsgFilter CallMsgFilterW
#define GetClipboardFormatName GetClipboardFormatNameW
#define CharToOem CharToOemW
#define OemToChar OemToCharW
#define CharToOemBuff CharToOemBuffW
#define OemToCharBuff OemToCharBuffW
#define CharUpper CharUpperW
#define CharUpperBuff CharUpperBuffW
#define CharLower CharLowerW
#define CharLowerBuff CharLowerBuffW
#define CharNext CharNextW
#define CharPrev CharPrevW
#define IsCharAlpha IsCharAlphaW
#define IsCharAlphaNumeric IsCharAlphaNumericW
#define IsCharUpper IsCharUpperW
#define IsCharLower IsCharLowerW
#define GetKeyNameText GetKeyNameTextW
#define VkKeyScan VkKeyScanW
#define VkKeyScanEx VkKeyScanExW
#define MapVirtualKey MapVirtualKeyW
#define MapVirtualKeyEx MapVirtualKeyExW
#define LoadAccelerators LoadAcceleratorsW
#define CreateAcceleratorTable CreateAcceleratorTableW
#define CopyAcceleratorTable CopyAcceleratorTableW
#define TranslateAccelerator TranslateAcceleratorW
#define LoadMenu LoadMenuW
#define LoadMenuIndirect LoadMenuIndirectW
#define ChangeMenu ChangeMenuW
#define GetMenuString GetMenuStringW
#define InsertMenu InsertMenuW
#define AppendMenu AppendMenuW
#define ModifyMenu ModifyMenuW
#define InsertMenuItem InsertMenuItemW
#define GetMenuItemInfo GetMenuItemInfoW
#define SetMenuItemInfo SetMenuItemInfoW
#define DrawText DrawTextW
#define DrawTextEx DrawTextExW
#define GrayString GrayStringW
#define DrawState DrawStateW
#define TabbedTextOut TabbedTextOutW
#define GetTabbedTextExtent GetTabbedTextExtentW
#define GetVersionEx GetVersionExW
#define wvsprintf wvsprintfW
#define wsprintf wsprintfW
#define LoadKeyboardLayout LoadKeyboardLayoutW
#define GetKeyboardLayoutName GetKeyboardLayoutNameW
#define CreateDesktop CreateDesktopW
#define OpenDesktop OpenDesktopW
#define EnumDesktops EnumDesktopsW
#define CreateWindowStation CreateWindowStationW
#define OpenWindowStation OpenWindowStationW
#define EnumWindowStations EnumWindowStationsW
#define IsBadStringPtr IsBadStringPtrW
#define LookupAccountSid LookupAccountSidW
#define LookupAccountName LookupAccountNameW
#define LookupPrivilegeValue LookupPrivilegeValueW
#define LookupPrivilegeName LookupPrivilegeNameW
#define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
#define BuildCommDCB BuildCommDCBW
#define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
#define CommConfigDialog CommConfigDialogW
#define GetDefaultCommConfig GetDefaultCommConfigW
#define SetDefaultCommConfig SetDefaultCommConfigW
#define GetComputerName GetComputerNameW
#define SetComputerName SetComputerNameW
#define GetUserName GetUserNameW
#define CreateMailslot CreateMailslotW
#define FormatMessage FormatMessageW
#define GetEnvironmentStrings GetEnvironmentStringsW
#define FreeEnvironmentStrings FreeEnvironmentStringsW
#define lstrcmp lstrcmpW
#define lstrcmpi lstrcmpiW
#define lstrcpyn lstrcpynW
#define lstrcpy lstrcpyW
#define lstrcat lstrcatW
#define lstrlen lstrlenW
#define GetBinaryType GetBinaryTypeW
#define GetShortPathName GetShortPathNameW
#define SetFileSecurity SetFileSecurityW
#define GetFileSecurity GetFileSecurityW
#define FindFirstChangeNotification FindFirstChangeNotificationW
#define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
#define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
#define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
#define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
#define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
#define OpenEventLog OpenEventLogW
#define RegisterEventSource RegisterEventSourceW
#define OpenBackupEventLog OpenBackupEventLogW
#define ReadEventLog ReadEventLogW
#define ReportEvent ReportEventW
#define CreateProcess CreateProcessW
#define FatalAppExit FatalAppExitW
#define GetStartupInfo GetStartupInfoW
#define GetEnvironmentVariable GetEnvironmentVariableW
#define GetCommandLine GetCommandLineW
#define SetEnvironmentVariable SetEnvironmentVariableW
#define ExpandEnvironmentStrings ExpandEnvironmentStringsW
#define OutputDebugString OutputDebugStringW
#define FindResource FindResourceW
#define FindResourceEx FindResourceExW
#define EnumResourceTypes EnumResourceTypesW
#define EnumResourceNames EnumResourceNamesW
#define EnumResourceLanguages EnumResourceLanguagesW
#define BeginUpdateResource BeginUpdateResourceW
#define UpdateResource UpdateResourceW
#define EndUpdateResource EndUpdateResourceW
#define GlobalAddAtom GlobalAddAtomW
#define GlobalFindAtom GlobalFindAtomW
#define GlobalGetAtomName GlobalGetAtomNameW
#define AddAtom AddAtomW
#define FindAtom FindAtomW
#define GetAtomName GetAtomNameW
#define GetProfileInt GetProfileIntW
#define GetProfileString GetProfileStringW
#define WriteProfileString WriteProfileStringW
#define GetProfileSection GetProfileSectionW
#define WriteProfileSection WriteProfileSectionW
#define GetPrivateProfileInt GetPrivateProfileIntW
#define GetPrivateProfileString GetPrivateProfileStringW
#define WritePrivateProfileString WritePrivateProfileStringW
#define GetPrivateProfileSection GetPrivateProfileSectionW
#define WritePrivateProfileSection WritePrivateProfileSectionW
#define GetDriveType GetDriveTypeW
#define GetSystemDirectory GetSystemDirectoryW
#define GetTempPath GetTempPathW
#define GetTempFileName GetTempFileNameW
#define GetWindowsDirectory GetWindowsDirectoryW
#define SetCurrentDirectory SetCurrentDirectoryW
#define GetCurrentDirectory GetCurrentDirectoryW
#define GetDiskFreeSpace GetDiskFreeSpaceW
#define CreateDirectory CreateDirectoryW
#define CreateDirectoryEx CreateDirectoryExW
#define RemoveDirectory RemoveDirectoryW
#define GetFullPathName GetFullPathNameW
#define DefineDosDevice DefineDosDeviceW
#define QueryDosDevice QueryDosDeviceW
#define CreateFile CreateFileW
#define SetFileAttributes SetFileAttributesW
#define GetFileAttributes GetFileAttributesW
#define GetCompressedFileSize GetCompressedFileSizeW
#define DeleteFile DeleteFileW
#define FindFirstFile FindFirstFileW
#define FindNextFile FindNextFileW
#define SearchPath SearchPathW
#define CopyFile CopyFileW
#define MoveFile MoveFileW
#define MoveFileEx MoveFileExW
#define CreateNamedPipe CreateNamedPipeW
#define GetNamedPipeHandleState GetNamedPipeHandleStateW
#define CallNamedPipe CallNamedPipeW
#define WaitNamedPipe WaitNamedPipeW
#define SetVolumeLabel SetVolumeLabelW
#define GetVolumeInformation GetVolumeInformationW
#define ClearEventLog ClearEventLogW
#define BackupEventLog BackupEventLogW
#define CreateMutex CreateMutexW
#define OpenMutex OpenMutexW
#define CreateEvent CreateEventW
#define OpenEvent OpenEventW
#define CreateSemaphore CreateSemaphoreW
#define OpenSemaphore OpenSemaphoreW
#define CreateFileMapping CreateFileMappingW
#define OpenFileMapping OpenFileMappingW
#define GetLogicalDriveStrings GetLogicalDriveStringsW
#define LoadLibrary LoadLibraryW
#define LoadLibraryEx LoadLibraryExW
#define GetModuleFileName GetModuleFileNameW
#define GetModuleHandle GetModuleHandleW
#define GetUserObjectInformation GetUserObjectInformationW
#define SetUserObjectInformation SetUserObjectInformationW
#define RegisterWindowMessage RegisterWindowMessageW
#define GetMessage GetMessageW
#define DispatchMessage DispatchMessageW
#define PeekMessage PeekMessageW
#define SendMessage SendMessageW
#define SendMessageTimeout SendMessageTimeoutW
#define SendNotifyMessage SendNotifyMessageW
#define SendMessageCallback SendMessageCallbackW
#define PostMessage PostMessageW
#define PostThreadMessage PostThreadMessageW
#define VerFindFile VerFindFileW
#define VerInstallFile VerInstallFileW
#define GetFileVersionInfoSize GetFileVersionInfoSizeW
#define GetFileVersionInfo GetFileVersionInfoW
#define VerLanguageName VerLanguageNameW
#define VerQueryValue VerQueryValueW
#define CompareString CompareStringW
#define LCMapString LCMapStringW
#define GetLocaleInfo GetLocaleInfoW
#define SetLocaleInfo SetLocaleInfoW
#define GetTimeFormat GetTimeFormatW
#define GetDateFormat GetDateFormatW
#define GetNumberFormat GetNumberFormatW
#define GetCurrencyFormat GetCurrencyFormatW
#define EnumCalendarInfo EnumCalendarInfoW
#define EnumTimeFormats EnumTimeFormatsW
#define FoldString FoldStringW
#define EnumSystemCodePages EnumSystemCodePagesW
#define EnumSystemLocales EnumSystemLocalesW
#define GetStringTypeEx GetStringTypeExW
#define EnumDateFormats EnumDateFormatsW
#define GetConsoleTitle GetConsoleTitleW
#define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
#define SetConsoleTitle SetConsoleTitleW
#define ReadConsole ReadConsoleW
#define WriteConsole WriteConsoleW
#define PeekConsoleInput PeekConsoleInputW
#define ReadConsoleInput ReadConsoleInputW
#define WriteConsoleInput WriteConsoleInputW
#define ReadConsoleOutput ReadConsoleOutputW
#define WriteConsoleOutput WriteConsoleOutputW
#define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
#define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
#define FillConsoleOutputCharacter FillConsoleOutputCharacterW
#define WNetGetProviderName WNetGetProviderNameW
#define WNetGetNetworkInformation WNetGetNetworkInformationW
#define WNetGetLastError WNetGetLastErrorW
#define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
#define WNetConnectionDialog1 WNetConnectionDialog1W
#define WNetDisconnectDialog1 WNetDisconnectDialog1W
#define WNetOpenEnum WNetOpenEnumW
#define WNetEnumResource WNetEnumResourceW
#define WNetGetUniversalName WNetGetUniversalNameW
#define WNetGetUser WNetGetUserW
#define WNetAddConnection WNetAddConnectionW
#define WNetAddConnection2 WNetAddConnection2W
#define WNetAddConnection3 WNetAddConnection3W
#define WNetCancelConnection WNetCancelConnectionW
#define WNetCancelConnection2 WNetCancelConnection2W
#define WNetGetConnection WNetGetConnectionW
#define WNetUseConnection WNetUseConnectionW
#define WNetSetConnection WNetSetConnectionW
#define CreateService CreateServiceW
#define ChangeServiceConfig ChangeServiceConfigW
#define EnumDependentServices EnumDependentServicesW
#define EnumServicesStatus EnumServicesStatusW
#define GetServiceKeyName GetServiceKeyNameW
#define GetServiceDisplayName GetServiceDisplayNameW
#define OpenSCManager OpenSCManagerW
#define OpenService OpenServiceW
#define QueryServiceConfig QueryServiceConfigW
#define QueryServiceLockStatus QueryServiceLockStatusW
#define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
#define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
#define StartService StartServiceW
#define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
#define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
#define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
#else
#define RegConnectRegistry RegConnectRegistryA
#define RegCreateKey RegCreateKeyA
#define RegCreateKeyEx RegCreateKeyExA
#define RegDeleteKey RegDeleteKeyA
#define RegDeleteValue RegDeleteValueA
#define RegEnumKey RegEnumKeyA
#define RegEnumKeyEx RegEnumKeyExA
#define RegEnumValue RegEnumValueA
#define RegLoadKey RegLoadKeyA
#define RegOpenKey RegOpenKeyA
#define RegOpenKeyEx RegOpenKeyExA
#define RegQueryInfoKey RegQueryInfoKeyA
#define RegQueryValue RegQueryValueA
#define RegQueryMultipleValues RegQueryMultipleValuesA
#define RegQueryValueEx RegQueryValueExA
#define RegReplaceKey RegReplaceKeyA
#define RegRestoreKey RegRestoreKeyA
#define RegSaveKey RegSaveKeyA
#define RegSetValue RegSetValueA
#define RegSetValueEx RegSetValueExA
#define AbortSystemShutdown AbortSystemShutdownA
#define InitiateSystemShutdown InitiateSystemShutdownA
#define RegUnLoadKey RegUnLoadKeyA
#define LoadIcon LoadIconA
#define LoadImage LoadImageA
#define LoadString LoadStringA
#define IsDialogMessage IsDialogMessageA
#define DlgDirList DlgDirListA
#define DlgDirSelectEx DlgDirSelectExA
#define DlgDirListComboBox DlgDirListComboBoxA
#define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
#define DefFrameProc DefFrameProcA
#define DefMDIChildProc DefMDIChildProcA
#define CreateMDIWindow CreateMDIWindowA
#define WinHelp WinHelpA
#define ChangeDisplaySettings ChangeDisplaySettingsA
#define EnumDisplaySettings EnumDisplaySettingsA
#define SystemParametersInfo SystemParametersInfoA
#define GetWindowLong GetWindowLongA
#define SetWindowLong SetWindowLongA
#define GetClassLong GetClassLongA
#define SetClassLong SetClassLongA
#define FindWindow FindWindowA
#define FindWindowEx FindWindowExA
#define GetClassName GetClassNameA
#define SetWindowsHookEx SetWindowsHookExA
#define SetWindowsHook SetWindowsHookA
#define LoadBitmap LoadBitmapA
#define LoadCursor LoadCursorA
#define LoadCursorFromFile LoadCursorFromFileA
#define SetProp SetPropA
#define GetProp GetPropA
#define RemoveProp RemovePropA
#define EnumPropsEx EnumPropsExA
#define EnumProps EnumPropsA
#define SetWindowText SetWindowTextA
#define GetWindowText GetWindowTextA
#define GetWindowTextLength GetWindowTextLengthA
#define MessageBox MessageBoxA
#define MessageBoxEx MessageBoxExA
#define MessageBoxIndirect MessageBoxIndirectA
#define AddFontResource AddFontResourceA
#define CopyMetaFile CopyMetaFileA
#define CreateDC CreateDCA
#define CreateFontIndirect CreateFontIndirectA
#define CreateFont CreateFontA
#define CreateIC CreateICA
#define CreateMetaFile CreateMetaFileA
#define CreateScalableFontResource CreateScalableFontResourceA
#define DeviceCapabilities DeviceCapabilitiesA
#define EnumFontFamiliesEx EnumFontFamiliesExA
#define EnumFontFamilies EnumFontFamiliesA
#define EnumFonts EnumFontsA
#define GetCharWidth GetCharWidthA
#define GetCharWidth32 GetCharWidth32A
#define GetCharWidthFloat GetCharWidthFloatA
#define GetCharABCWidths GetCharABCWidthsA
#define GetCharABCWidthsFloat GetCharABCWidthsFloatA
#define GetGlyphOutline GetGlyphOutlineA
#define GetMetaFile GetMetaFileA
#define GetOutlineTextMetrics GetOutlineTextMetricsA
#define GetTextExtentPoint GetTextExtentPointA
#define GetTextExtentPoint32 GetTextExtentPoint32A
#define GetTextExtentExPoint GetTextExtentExPointA
#define GetCharacterPlacement GetCharacterPlacementA
#define ResetDC ResetDCA
#define RemoveFontResource RemoveFontResourceA
#define CopyEnhMetaFile CopyEnhMetaFileA
#define CreateEnhMetaFile CreateEnhMetaFileA
#define GetEnhMetaFile GetEnhMetaFileA
#define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
#define GetTextMetrics GetTextMetricsA
#define StartDoc StartDocA
#define GetObject GetObjectA
#define TextOut TextOutA
#define ExtTextOut ExtTextOutA
#define PolyTextOut PolyTextOutA
#define GetTextFace GetTextFaceA
#define GetKerningPairs GetKerningPairsA
#define GetLogColorSpace GetLogColorSpaceA
#define CreateColorSpace CreateColorSpaceA
#define GetICMProfile GetICMProfileA
#define SetICMProfile SetICMProfileA
#define UpdateICMRegKey UpdateICMRegKeyA
#define EnumICMProfiles EnumICMProfilesA
#define CreatePropertySheetPage CreatePropertySheetPageA
#define PropertySheet PropertySheetA
#define ImageList_LoadImage ImageList_LoadImageA
#define CreateStatusWindow CreateStatusWindowA
#define DrawStatusText DrawStatusTextA
#define GetOpenFileName GetOpenFileNameA
#define GetSaveFileName GetSaveFileNameA
#define GetFileTitle GetFileTitleA
#define ChooseColor ChooseColorA
#define FindText FindTextA
#define ReplaceText ReplaceTextA
#define ChooseFont ChooseFontA
#define PrintDlg PrintDlgA
#define PageSetupDlg PageSetupDlgA
#define DefWindowProc DefWindowProcA
#define CallWindowProc CallWindowProcA
#define RegisterClass RegisterClassA
#define UnregisterClass UnregisterClassA
#define GetClassInfo GetClassInfoA
#define RegisterClassEx RegisterClassExA
#define GetClassInfoEx GetClassInfoExA
#define CreateWindowEx CreateWindowExA
#define CreateWindow CreateWindowA
#define CreateDialogParam CreateDialogParamA
#define CreateDialogIndirectParam CreateDialogIndirectParamA
#define CreateDialog CreateDialogA
#define CreateDialogIndirect CreateDialogIndirectA
#define DialogBoxParam DialogBoxParamA
#define DialogBoxIndirectParam DialogBoxIndirectParamA
#define DialogBox DialogBoxA
#define DialogBoxIndirect DialogBoxIndirectA
#define RegisterClipboardFormat RegisterClipboardFormatA
#define SetDlgItemText SetDlgItemTextA
#define GetDlgItemText GetDlgItemTextA
#define SendDlgItemMessage SendDlgItemMessageA
#define DefDlgProc DefDlgProcA
#define CallMsgFilter CallMsgFilterA
#define GetClipboardFormatName GetClipboardFormatNameA
#define CharToOem CharToOemA
#define OemToChar OemToCharA
#define CharToOemBuff CharToOemBuffA
#define OemToCharBuff OemToCharBuffA
#define CharUpper CharUpperA
#define CharUpperBuff CharUpperBuffA
#define CharLower CharLowerA
#define CharLowerBuff CharLowerBuffA
#define CharNext CharNextA
#define CharPrev CharPrevA
#define IsCharAlpha IsCharAlphaA
#define IsCharAlphaNumeric IsCharAlphaNumericA
#define IsCharUpper IsCharUpperA
#define IsCharLower IsCharLowerA
#define GetKeyNameText GetKeyNameTextA
#define VkKeyScan VkKeyScanA
#define VkKeyScanEx VkKeyScanExA
#define MapVirtualKey MapVirtualKeyA
#define MapVirtualKeyEx MapVirtualKeyExA
#define LoadAccelerators LoadAcceleratorsA
#define CreateAcceleratorTable CreateAcceleratorTableA
#define CopyAcceleratorTable CopyAcceleratorTableA
#define TranslateAccelerator TranslateAcceleratorA
#define LoadMenu LoadMenuA
#define LoadMenuIndirect LoadMenuIndirectA
#define ChangeMenu ChangeMenuA
#define GetMenuString GetMenuStringA
#define InsertMenu InsertMenuA
#define AppendMenu AppendMenuA
#define ModifyMenu ModifyMenuA
#define InsertMenuItem InsertMenuItemA
#define GetMenuItemInfo GetMenuItemInfoA
#define SetMenuItemInfo SetMenuItemInfoA
#define DrawText DrawTextA
#define DrawTextEx DrawTextExA
#define GrayString GrayStringA
#define DrawState DrawStateA
#define TabbedTextOut TabbedTextOutA
#define GetTabbedTextExtent GetTabbedTextExtentA
#define GetVersionEx GetVersionExA
#define wvsprintf wvsprintfA
#define wsprintf wsprintfA
#define LoadKeyboardLayout LoadKeyboardLayoutA
#define GetKeyboardLayoutName GetKeyboardLayoutNameA
#define CreateDesktop CreateDesktopA
#define OpenDesktop OpenDesktopA
#define EnumDesktops EnumDesktopsA
#define CreateWindowStation CreateWindowStationA
#define OpenWindowStation OpenWindowStationA
#define EnumWindowStations EnumWindowStationsA
#define IsBadStringPtr IsBadStringPtrA
#define LookupAccountSid LookupAccountSidA
#define LookupAccountName LookupAccountNameA
#define LookupPrivilegeValue LookupPrivilegeValueA
#define LookupPrivilegeName LookupPrivilegeNameA
#define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
#define BuildCommDCB BuildCommDCBA
#define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
#define CommConfigDialog CommConfigDialogA
#define GetDefaultCommConfig GetDefaultCommConfigA
#define SetDefaultCommConfig SetDefaultCommConfigA
#define GetComputerName GetComputerNameA
#define SetComputerName SetComputerNameA
#define GetUserName GetUserNameA
#define CreateMailslot CreateMailslotA
#define FormatMessage FormatMessageA
#define GetEnvironmentStrings GetEnvironmentStringsA
#define FreeEnvironmentStrings FreeEnvironmentStringsA
#define lstrcmp lstrcmpA
#define lstrcmpi lstrcmpiA
#define lstrcpyn lstrcpynA
#define lstrcpy lstrcpyA
#define lstrcat lstrcatA
#define lstrlen lstrlenA
#define GetBinaryType GetBinaryTypeA
#define GetShortPathName GetShortPathNameA
#define SetFileSecurity SetFileSecurityA
#define GetFileSecurity GetFileSecurityA
#define FindFirstChangeNotification FindFirstChangeNotificationA
#define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
#define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
#define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
#define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
#define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
#define OpenEventLog OpenEventLogA
#define RegisterEventSource RegisterEventSourceA
#define OpenBackupEventLog OpenBackupEventLogA
#define ReadEventLog ReadEventLogA
#define ReportEvent ReportEventA
#define CreateProcess CreateProcessA
#define FatalAppExit FatalAppExitA
#define GetStartupInfo GetStartupInfoA
#define GetCommandLine GetCommandLineA
#define GetEnvironmentVariable GetEnvironmentVariableA
#define SetEnvironmentVariable SetEnvironmentVariableA
#define ExpandEnvironmentStrings ExpandEnvironmentStringsA
#define OutputDebugString OutputDebugStringA
#define FindResource FindResourceA
#define FindResourceEx FindResourceExA
#define EnumResourceTypes EnumResourceTypesA
#define EnumResourceNames EnumResourceNamesA
#define EnumResourceLanguages EnumResourceLanguagesA
#define BeginUpdateResource BeginUpdateResourceA
#define UpdateResource UpdateResourceA
#define EndUpdateResource EndUpdateResourceA
#define GlobalAddAtom GlobalAddAtomA
#define GlobalFindAtom GlobalFindAtomA
#define GlobalGetAtomName GlobalGetAtomNameA
#define AddAtom AddAtomA
#define FindAtom FindAtomA
#define GetProfileInt GetProfileIntA
#define GetAtomName GetAtomNameA
#define GetProfileString GetProfileStringA
#define WriteProfileString WriteProfileStringA
#define GetProfileSection GetProfileSectionA
#define WriteProfileSection WriteProfileSectionA
#define GetPrivateProfileInt GetPrivateProfileIntA
#define GetPrivateProfileString GetPrivateProfileStringA
#define WritePrivateProfileString WritePrivateProfileStringA
#define GetPrivateProfileSection GetPrivateProfileSectionA
#define WritePrivateProfileSection WritePrivateProfileSectionA
#define GetDriveType GetDriveTypeA
#define GetSystemDirectory GetSystemDirectoryA
#define GetTempPath GetTempPathA
#define GetTempFileName GetTempFileNameA
#define GetWindowsDirectory GetWindowsDirectoryA
#define SetCurrentDirectory SetCurrentDirectoryA
#define GetCurrentDirectory GetCurrentDirectoryA
#define GetDiskFreeSpace GetDiskFreeSpaceA
#define CreateDirectory CreateDirectoryA
#define CreateDirectoryEx CreateDirectoryExA
#define RemoveDirectory RemoveDirectoryA
#define GetFullPathName GetFullPathNameA
#define DefineDosDevice DefineDosDeviceA
#define QueryDosDevice QueryDosDeviceA
#define CreateFile CreateFileA
#define SetFileAttributes SetFileAttributesA
#define GetFileAttributes GetFileAttributesA
#define GetCompressedFileSize GetCompressedFileSizeA
#define DeleteFile DeleteFileA
#define FindFirstFile FindFirstFileA
#define FindNextFile FindNextFileA
#define SearchPath SearchPathA
#define CopyFile CopyFileA
#define MoveFile MoveFileA
#define MoveFileEx MoveFileExA
#define CreateNamedPipe CreateNamedPipeA
#define GetNamedPipeHandleState GetNamedPipeHandleStateA
#define CallNamedPipe CallNamedPipeA
#define WaitNamedPipe WaitNamedPipeA
#define SetVolumeLabel SetVolumeLabelA
#define GetVolumeInformation GetVolumeInformationA
#define ClearEventLog ClearEventLogA
#define BackupEventLog BackupEventLogA
#define CreateMutex CreateMutexA
#define OpenMutex OpenMutexA
#define CreateEvent CreateEventA
#define OpenEvent OpenEventA
#define CreateSemaphore CreateSemaphoreA
#define OpenSemaphore OpenSemaphoreA
#define CreateFileMapping CreateFileMappingA
#define OpenFileMapping OpenFileMappingA
#define GetLogicalDriveStrings GetLogicalDriveStringsA
#define LoadLibrary LoadLibraryA
#define LoadLibraryEx LoadLibraryExA
#define GetModuleFileName GetModuleFileNameA
#define GetModuleHandle GetModuleHandleA
#define GetUserObjectInformation GetUserObjectInformationA
#define SetUserObjectInformation SetUserObjectInformationA
#define RegisterWindowMessage RegisterWindowMessageA
#define GetMessage GetMessageA
#define DispatchMessage DispatchMessageA
#define PeekMessage PeekMessageA
#define SendMessage SendMessageA
#define SendMessageTimeout SendMessageTimeoutA
#define SendNotifyMessage SendNotifyMessageA
#define SendMessageCallback SendMessageCallbackA
#define PostMessage PostMessageA
#define PostThreadMessage PostThreadMessageA
#define VerFindFile VerFindFileA
#define VerInstallFile VerInstallFileA
#define GetFileVersionInfoSize GetFileVersionInfoSizeA
#define GetFileVersionInfo GetFileVersionInfoA
#define VerLanguageName VerLanguageNameA
#define VerQueryValue VerQueryValueA
#define CompareString CompareStringA
#define LCMapString LCMapStringA
#define GetLocaleInfo GetLocaleInfoA
#define SetLocaleInfo SetLocaleInfoA
#define GetTimeFormat GetTimeFormatA
#define GetDateFormat GetDateFormatA
#define GetNumberFormat GetNumberFormatA
#define GetCurrencyFormat GetCurrencyFormatA
#define EnumCalendarInfo EnumCalendarInfoA
#define EnumTimeFormats EnumTimeFormatsA
#define FoldString FoldStringA
#define EnumSystemCodePages EnumSystemCodePagesA
#define EnumSystemLocales EnumSystemLocalesA
#define GetStringTypeEx GetStringTypeExA
#define EnumDateFormats EnumDateFormatsA
#define GetConsoleTitle GetConsoleTitleA
#define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
#define SetConsoleTitle SetConsoleTitleA
#define ReadConsole ReadConsoleA
#define WriteConsole WriteConsoleA
#define PeekConsoleInput PeekConsoleInputA
#define ReadConsoleInput ReadConsoleInputA
#define WriteConsoleInput WriteConsoleInputA
#define ReadConsoleOutput ReadConsoleOutputA
#define WriteConsoleOutput WriteConsoleOutputA
#define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
#define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
#define FillConsoleOutputCharacter FillConsoleOutputCharacterA
#define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
#define WNetGetLastError WNetGetLastErrorA
#define WNetGetProviderName WNetGetProviderNameA
#define WNetGetNetworkInformation WNetGetNetworkInformationA
#define WNetConnectionDialog1 WNetConnectionDialog1A
#define WNetDisconnectDialog1 WNetDisconnectDialog1A
#define WNetOpenEnum WNetOpenEnumA
#define WNetEnumResource WNetEnumResourceA
#define WNetGetUniversalName WNetGetUniversalNameA
#define WNetGetUser WNetGetUserA
#define WNetAddConnection WNetAddConnectionA
#define WNetAddConnection2 WNetAddConnection2A
#define WNetAddConnection3 WNetAddConnection3A
#define WNetCancelConnection WNetCancelConnectionA
#define WNetCancelConnection2 WNetCancelConnection2A
#define WNetGetConnection WNetGetConnectionA
#define WNetUseConnection WNetUseConnectionA
#define WNetSetConnection WNetSetConnectionA
#define OpenService OpenServiceA
#define QueryServiceConfig QueryServiceConfigA
#define QueryServiceLockStatus QueryServiceLockStatusA
#define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
#define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
#define StartService StartServiceA
#define ChangeServiceConfig ChangeServiceConfigA
#define CreateService CreateServiceA
#define EnumDependentServices EnumDependentServicesA
#define EnumServicesStatus EnumServicesStatusA
#define GetServiceKeyName GetServiceKeyNameA
#define GetServiceDisplayName GetServiceDisplayNameA
#define OpenSCManager OpenSCManagerA
#define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
#define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
#define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
#endif
BOOL AbnormalTermination(VOID);
int STDCALL AbortDoc(HDC);
BOOL AbortPath(HDC);
BOOL AbortPrinter(HANDLE);
BOOL CALLBACK AbortProc(HDC,int);
BOOL AbortSystemShutdown(LPTSTR);
BOOL AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL);
BOOL AccessCheckAndAuditAlarm(LPCTSTR,LPVOID,LPTSTR,LPTSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL);
LONG STDCALL InterlockedIncrement(LPLONG);
LONG STDCALL InterlockedDecrement(LPLONG);
LONG STDCALL InterlockedExchange(LPLONG,LONG);
BOOL STDCALL FreeResource(HGLOBAL);
LPVOID STDCALL LockResource(HGLOBAL);
int STDCALL WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
BOOL STDCALL FreeLibrary(HINSTANCE);
VOID STDCALL FreeLibraryAndExitThread(HMODULE,DWORD);
BOOL STDCALL DisableThreadLibraryCalls(HMODULE);
FARPROC STDCALL GetProcAddress(HINSTANCE,LPCSTR);
DWORD STDCALL GetVersion(VOID);
HGLOBAL STDCALL GlobalAlloc(UINT,DWORD);
HGLOBAL GlobalDiscard(HGLOBAL);
HGLOBAL STDCALL GlobalReAlloc(HGLOBAL,DWORD,UINT);
DWORD STDCALL GlobalSize(HGLOBAL);
UINT STDCALL GlobalFlags(HGLOBAL);
LPVOID STDCALL GlobalLock(HGLOBAL);
HGLOBAL STDCALL GlobalHandle(LPCVOID);
BOOL STDCALL GlobalUnlock(HGLOBAL);
HGLOBAL STDCALL GlobalFree(HGLOBAL);
UINT STDCALL GlobalCompact(DWORD);
VOID STDCALL GlobalFix(HGLOBAL);
VOID STDCALL GlobalUnfix(HGLOBAL);
LPVOID STDCALL GlobalWire(HGLOBAL);
BOOL STDCALL GlobalUnWire(HGLOBAL);
VOID STDCALL GlobalMemoryStatus(LPMEMORYSTATUS);
HLOCAL STDCALL LocalAlloc(UINT,UINT);
HLOCAL LocalDiscard(HLOCAL);
HLOCAL STDCALL LocalReAlloc(HLOCAL,UINT,UINT);
LPVOID STDCALL LocalLock(HLOCAL);
HLOCAL STDCALL LocalHandle(LPCVOID);
BOOL STDCALL LocalUnlock(HLOCAL);
UINT STDCALL LocalSize(HLOCAL);
UINT STDCALL LocalFlags(HLOCAL);
HLOCAL STDCALL LocalFree(HLOCAL);
UINT STDCALL LocalShrink(HLOCAL,UINT);
UINT STDCALL LocalCompact(UINT);
BOOL STDCALL FlushInstructionCache(HANDLE,LPCVOID,DWORD);
LPVOID STDCALL VirtualAlloc(LPVOID,DWORD,DWORD,DWORD);
BOOL STDCALL VirtualFree(LPVOID,DWORD,DWORD);
BOOL STDCALL VirtualProtect(LPVOID,DWORD,DWORD,PDWORD);
DWORD STDCALL VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD);
BOOL STDCALL VirtualProtectEx(HANDLE,LPVOID,DWORD,DWORD,PDWORD);
DWORD STDCALL VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD);
HANDLE STDCALL HeapCreate(DWORD,DWORD,DWORD);
BOOL STDCALL HeapDestroy(HANDLE);
LPVOID STDCALL HeapAlloc(HANDLE,DWORD,DWORD);
LPVOID STDCALL HeapReAlloc(HANDLE,DWORD,LPVOID,DWORD);
BOOL STDCALL HeapFree(HANDLE,DWORD,LPVOID);
DWORD STDCALL HeapSize(HANDLE,DWORD,LPCVOID);
BOOL STDCALL HeapValidate(HANDLE,DWORD,LPCVOID);
UINT STDCALL HeapCompact(HANDLE,DWORD);
HANDLE STDCALL GetProcessHeap(VOID);
DWORD STDCALL GetProcessHeaps(DWORD,PHANDLE);
BOOL STDCALL HeapLock(HANDLE);
BOOL STDCALL HeapUnlock(HANDLE);
BOOL STDCALL HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY);
BOOL STDCALL GetProcessAffinityMask(HANDLE,LPDWORD,LPDWORD);
BOOL STDCALL GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
BOOL STDCALL GetProcessWorkingSetSize(HANDLE,LPDWORD,LPDWORD);
BOOL STDCALL SetProcessWorkingSetSize(HANDLE,DWORD,DWORD);
HANDLE STDCALL OpenProcess(DWORD,BOOL,DWORD);
HANDLE STDCALL GetCurrentProcess(VOID);
DWORD STDCALL GetCurrentProcessId(VOID);
VOID STDCALL ExitProcess(UINT);
BOOL STDCALL TerminateProcess(HANDLE,UINT);
BOOL STDCALL GetExitCodeProcess(HANDLE,LPDWORD);
VOID STDCALL FatalExit(int);
LPTSTR STDCALL GetEnvironmentStrings(VOID);
VOID STDCALL RaiseException(DWORD,DWORD,DWORD,CONST DWORD *);
LONG STDCALL UnhandledExceptionFilter(struct _EXCEPTION_POINTERS *);
LPTOP_LEVEL_EXCEPTION_FILTER STDCALL SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER);
HANDLE STDCALL CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
HANDLE STDCALL CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
HANDLE STDCALL GetCurrentThread(VOID);
DWORD STDCALL GetCurrentThreadId(VOID);
DWORD STDCALL SetThreadAffinityMask(HANDLE,DWORD);
BOOL STDCALL SetThreadPriority(HANDLE,int);
int STDCALL GetThreadPriority(HANDLE);
BOOL STDCALL GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
VOID STDCALL ExitThread(DWORD);
BOOL STDCALL TerminateThread(HANDLE,DWORD);
BOOL STDCALL GetExitCodeThread(HANDLE,LPDWORD);
BOOL STDCALL GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY);
DWORD STDCALL GetLastError(VOID);
VOID STDCALL SetLastError(DWORD);
BOOL STDCALL GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,BOOL);
HANDLE STDCALL CreateIoCompletionPort(HANDLE,HANDLE,DWORD,DWORD);
BOOL STDCALL GetQueuedCompletionStatus(HANDLE,LPDWORD,LPDWORD,LPOVERLAPPED *,DWORD);
UINT STDCALL SetErrorMode(UINT);
BOOL STDCALL ReadProcessMemory(HANDLE,LPCVOID,LPVOID,DWORD,LPDWORD);
BOOL STDCALL WriteProcessMemory(HANDLE,LPVOID,LPVOID,DWORD,LPDWORD);
BOOL STDCALL GetThreadContext(HANDLE,LPCONTEXT);
BOOL STDCALL SetThreadContext(HANDLE,CONST CONTEXT *);
DWORD STDCALL SuspendThread(HANDLE);
DWORD STDCALL ResumeThread(HANDLE);
VOID STDCALL DebugBreak(VOID);
BOOL STDCALL WaitForDebugEvent(LPDEBUG_EVENT,DWORD);
BOOL STDCALL ContinueDebugEvent(DWORD,DWORD,DWORD);
BOOL STDCALL DebugActiveProcess(DWORD);
VOID STDCALL InitializeCriticalSection(LPCRITICAL_SECTION);
VOID STDCALL EnterCriticalSection(LPCRITICAL_SECTION);
VOID STDCALL LeaveCriticalSection(LPCRITICAL_SECTION);
VOID STDCALL DeleteCriticalSection(LPCRITICAL_SECTION);
BOOL STDCALL SetEvent(HANDLE);
BOOL STDCALL ResetEvent(HANDLE);
BOOL STDCALL PulseEvent(HANDLE);
BOOL STDCALL ReleaseSemaphore(HANDLE,LONG,LPLONG);
BOOL STDCALL ReleaseMutex(HANDLE);
DWORD STDCALL WaitForSingleObject(HANDLE,DWORD);
DWORD STDCALL WaitForMultipleObjects(DWORD,CONST HANDLE *,BOOL,DWORD);
VOID STDCALL Sleep(DWORD);
HGLOBAL STDCALL LoadResource(HINSTANCE,HRSRC);
DWORD STDCALL SizeofResource(HINSTANCE,HRSRC);
ATOM STDCALL GlobalDeleteAtom(ATOM);
BOOL STDCALL InitAtomTable(DWORD);
ATOM STDCALL DeleteAtom(ATOM);
UINT STDCALL SetHandleCount(UINT);
DWORD STDCALL GetLogicalDrives(VOID);
BOOL STDCALL LockFile( HANDLE,DWORD,DWORD,DWORD,DWORD);
BOOL STDCALL UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
BOOL STDCALL LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED);
BOOL STDCALL UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
BOOL STDCALL GetFileInformationByHandle(HANDLE,LPBY_HANDLE_FILE_INFORMATION);
DWORD STDCALL GetFileType(HANDLE);
DWORD STDCALL GetFileSize(HANDLE,LPDWORD);
HANDLE STDCALL GetStdHandle(DWORD);
BOOL STDCALL SetStdHandle(DWORD,HANDLE);
BOOL STDCALL WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED);
BOOL STDCALL ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
BOOL STDCALL FlushFileBuffers(HANDLE);
BOOL STDCALL DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
BOOL STDCALL SetEndOfFile(HANDLE);
DWORD STDCALL SetFilePointer(HANDLE,LONG,PLONG,DWORD);
BOOL STDCALL FindClose(HANDLE);
BOOL STDCALL GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME);
BOOL STDCALL SetFileTime(HANDLE,CONST FILETIME *,CONST FILETIME *,CONST FILETIME *);
BOOL STDCALL CloseHandle(HANDLE);
BOOL STDCALL DuplicateHandle(HANDLE,HANDLE,HANDLE,LPHANDLE,DWORD,BOOL,DWORD);
BOOL STDCALL GetHandleInformation(HANDLE,LPDWORD);
BOOL STDCALL SetHandleInformation(HANDLE,DWORD,DWORD);
DWORD STDCALL LoadModule(LPCSTR,LPVOID);
UINT STDCALL WinExec(LPCSTR,UINT);
BOOL STDCALL ClearCommBreak(HANDLE);
BOOL STDCALL ClearCommError(HANDLE,LPDWORD,LPCOMSTAT);
BOOL STDCALL SetupComm(HANDLE,DWORD,DWORD);
BOOL STDCALL EscapeCommFunction(HANDLE,DWORD);
BOOL STDCALL GetCommConfig(HANDLE,LPCOMMCONFIG,LPDWORD);
BOOL STDCALL GetCommMask(HANDLE,LPDWORD);
BOOL STDCALL GetCommProperties(HANDLE,LPCOMMPROP);
BOOL STDCALL GetCommModemStatus(HANDLE,LPDWORD);
BOOL STDCALL GetCommState(HANDLE,LPDCB);
BOOL STDCALL GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
BOOL STDCALL PurgeComm(HANDLE,DWORD);
BOOL STDCALL SetCommBreak(HANDLE);
BOOL STDCALL SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD);
BOOL STDCALL SetCommMask(HANDLE,DWORD);
BOOL STDCALL SetCommState(HANDLE,LPDCB);
BOOL STDCALL SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
BOOL STDCALL TransmitCommChar(HANDLE,char);
BOOL STDCALL WaitCommEvent(HANDLE,LPDWORD,LPOVERLAPPED);
DWORD STDCALL SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL);
DWORD STDCALL GetTapePosition(HANDLE ,DWORD,LPDWORD,LPDWORD,LPDWORD);
DWORD STDCALL PrepareTape(HANDLE,DWORD,BOOL);
DWORD STDCALL EraseTape(HANDLE,DWORD,BOOL);
DWORD STDCALL CreateTapePartition(HANDLE,DWORD,DWORD,DWORD);
DWORD STDCALL WriteTapemark(HANDLE,DWORD,DWORD,BOOL);
DWORD STDCALL GetTapeStatus(HANDLE);
DWORD STDCALL GetTapeParameters(HANDLE,DWORD,LPDWORD,LPVOID);
DWORD STDCALL SetTapeParameters( HANDLE,DWORD,LPVOID);
BOOL STDCALL Beep(DWORD,DWORD);
VOID STDCALL OpenSound(VOID);
VOID STDCALL CloseSound(VOID);
VOID STDCALL StartSound(VOID);
VOID STDCALL StopSound(VOID);
DWORD STDCALL WaitSoundState(DWORD);
DWORD STDCALL SyncAllVoices(VOID);
DWORD STDCALL CountVoiceNotes(DWORD nVoice);
LPDWORD STDCALL GetThresholdEvent(VOID);
DWORD STDCALL GetThresholdStatus(VOID);
DWORD STDCALL SetSoundNoise(DWORD,DWORD);
DWORD STDCALL SetVoiceAccent(DWORD,DWORD,DWORD,DWORD,DWORD);
DWORD STDCALL SetVoiceEnvelope(DWORD,DWORD,DWORD);
DWORD STDCALL SetVoiceNote(DWORD,DWORD,DWORD,DWORD);
DWORD STDCALL SetVoiceQueueSize(DWORD,DWORD);
DWORD STDCALL SetVoiceSound(DWORD,DWORD,DWORD);
DWORD STDCALL SetVoiceThreshold(DWORD,DWORD);
int STDCALL MulDiv(int,int,int);
VOID STDCALL GetSystemTime(LPSYSTEMTIME);
BOOL STDCALL SetSystemTime(CONST SYSTEMTIME *);
VOID STDCALL GetLocalTime(LPSYSTEMTIME);
BOOL STDCALL SetLocalTime(CONST SYSTEMTIME *);
VOID STDCALL GetSystemInfo(LPSYSTEM_INFO);
BOOL STDCALL SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION ,LPSYSTEMTIME,LPSYSTEMTIME);
DWORD STDCALL GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);
BOOL STDCALL SetTimeZoneInformation(CONST TIME_ZONE_INFORMATION *);
BOOL STDCALL SystemTimeToFileTime(CONST SYSTEMTIME *,LPFILETIME);
BOOL STDCALL FileTimeToLocalFileTime(CONST FILETIME *,LPFILETIME);
BOOL STDCALL LocalFileTimeToFileTime(CONST FILETIME *,LPFILETIME);
BOOL STDCALL FileTimeToSystemTime(CONST FILETIME *,LPSYSTEMTIME);
LONG STDCALL CompareFileTime(CONST FILETIME *,CONST FILETIME *);
BOOL STDCALL FileTimeToDosDateTime(CONST FILETIME *,LPWORD,LPWORD);
BOOL STDCALL DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
DWORD STDCALL GetTickCount(VOID);
BOOL STDCALL SetSystemTimeAdjustment(DWORD,BOOL);
BOOL STDCALL GetSystemTimeAdjustment(PDWORD,PDWORD,PWINBOOL);
BOOL STDCALL CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
BOOL STDCALL ConnectNamedPipe(HANDLE,LPOVERLAPPED);
BOOL STDCALL DisconnectNamedPipe(HANDLE);
BOOL STDCALL SetNamedPipeHandleState(HANDLE,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL GetNamedPipeInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL PeekNamedPipe(HANDLE,LPVOID,DWORD,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL TransactNamedPipe(HANDLE,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
BOOL STDCALL GetMailslotInfo(HANDLE,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
BOOL STDCALL SetMailslotInfo(HANDLE,DWORD);
LPVOID STDCALL MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
BOOL STDCALL FlushViewOfFile(LPCVOID,DWORD);
BOOL STDCALL UnmapViewOfFile(LPVOID);
HFILE STDCALL OpenFile(LPCSTR,LPOFSTRUCT,UINT);
HFILE STDCALL _lopen( LPCSTR,int);
HFILE STDCALL _lcreat(LPCSTR,int);
UINT STDCALL _lread(HFILE,LPVOID,UINT);
UINT STDCALL _lwrite(HFILE,LPCSTR,UINT);
long STDCALL _hread(HFILE,LPVOID,long);
long STDCALL _hwrite(HFILE,LPCSTR,long);
HFILE STDCALL _lclose(HFILE);
LONG STDCALL _llseek(HFILE,LONG,int);
BOOL STDCALL IsTextUnicode(CONST LPVOID,int,LPINT);
DWORD STDCALL TlsAlloc(VOID);
LPVOID STDCALL TlsGetValue(DWORD);
BOOL STDCALL TlsSetValue(DWORD,LPVOID);
BOOL STDCALL TlsFree(DWORD);
DWORD STDCALL SleepEx(DWORD,BOOL);
DWORD STDCALL WaitForSingleObjectEx(HANDLE,DWORD,BOOL);
DWORD STDCALL WaitForMultipleObjectsEx(DWORD,CONST HANDLE *,BOOL,DWORD,BOOL);
BOOL STDCALL ReadFileEx(HANDLE,LPVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
BOOL STDCALL WriteFileEx( HANDLE,LPCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
BOOL STDCALL BackupRead(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID *);
BOOL STDCALL BackupSeek(HANDLE,DWORD,DWORD,LPDWORD,LPDWORD,LPVOID *);
BOOL STDCALL BackupWrite(HANDLE,LPBYTE,DWORD,LPDWORD,BOOL,BOOL,LPVOID *);
BOOL STDCALL SetProcessShutdownParameters(DWORD,DWORD);
BOOL STDCALL GetProcessShutdownParameters(LPDWORD,LPDWORD);
VOID STDCALL SetFileApisToOEM(VOID);
VOID STDCALL SetFileApisToANSI(VOID);
BOOL STDCALL AreFileApisANSI(VOID);
BOOL STDCALL CloseEventLog(HANDLE);
BOOL STDCALL DeregisterEventSource(HANDLE);
BOOL STDCALL NotifyChangeEventLog (HANDLE,HANDLE);
BOOL STDCALL GetNumberOfEventLogRecords(HANDLE,PDWORD);
BOOL STDCALL GetOldestEventLogRecord(HANDLE,PDWORD);
BOOL STDCALL DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE);
BOOL STDCALL GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
BOOL STDCALL ImpersonateNamedPipeClient(HANDLE);
BOOL STDCALL ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
BOOL STDCALL RevertToSelf(VOID);
BOOL STDCALL SetThreadToken (PHANDLE,HANDLE);
BOOL STDCALL AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL);
BOOL STDCALL OpenProcessToken(HANDLE,DWORD,PHANDLE);
BOOL STDCALL OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE);
BOOL STDCALL GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD,PDWORD);
BOOL STDCALL SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD);
BOOL STDCALL AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD);
BOOL STDCALL AdjustTokenGroups (HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD);
BOOL STDCALL PrivilegeCheck (HANDLE,PPRIVILEGE_SET,LPBOOL);
BOOL STDCALL IsValidSid (PSID);
BOOL STDCALL EqualSid(PSID,PSID);
BOOL STDCALL EqualPrefixSid (PSID,PSID);
DWORD STDCALL GetSidLengthRequired(UCHAR);
BOOL STDCALL AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *);
PVOID STDCALL FreeSid(PSID);
BOOL STDCALL InitializeSid (PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
PSID_IDENTIFIER_AUTHORITY STDCALL GetSidIdentifierAuthority(PSID);
PDWORD STDCALL GetSidSubAuthority (PSID,DWORD);
PUCHAR STDCALL GetSidSubAuthorityCount (PSID);
DWORD STDCALL GetLengthSid (PSID);
BOOL STDCALL CopySid(DWORD,PSID,PSID);
BOOL STDCALL AreAllAccessesGranted (DWORD,DWORD);
BOOL STDCALL AreAnyAccessesGranted (DWORD,DWORD);
VOID STDCALL MapGenericMask(PDWORD,PGENERIC_MAPPING);
BOOL STDCALL IsValidAcl(PACL);
BOOL STDCALL InitializeAcl(PACL,DWORD,DWORD);
BOOL STDCALL GetAclInformation(PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS);
BOOL STDCALL SetAclInformation (PACL,LPVOID,DWORD,ACL_INFORMATION_CLASS);
BOOL STDCALL AddAce(PACL,DWORD,DWORD,LPVOID,DWORD);
BOOL STDCALL DeleteAce(PACL,DWORD);
BOOL STDCALL GetAce (PACL,DWORD,LPVOID *);
BOOL STDCALL AddAccessAllowedAce(PACL,DWORD,DWORD,PSID);
BOOL STDCALL AddAccessDeniedAce(PACL,DWORD,DWORD,PSID);
BOOL STDCALL AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL);
BOOL STDCALL FindFirstFreeAce (PACL,LPVOID *);
BOOL STDCALL InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD);
BOOL STDCALL IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
DWORD STDCALL GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
BOOL STDCALL GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,LPDWORD);
BOOL STDCALL SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
BOOL STDCALL GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL);
BOOL STDCALL SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL);
BOOL STDCALL GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL *,LPBOOL);
BOOL STDCALL SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID pOwner,BOOL);
BOOL STDCALL GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID *,LPBOOL);
BOOL STDCALL SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL);
BOOL STDCALL GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID *,LPBOOL);
BOOL STDCALL CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR *,BOOL,HANDLE,PGENERIC_MAPPING);
BOOL STDCALL SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR *,PGENERIC_MAPPING,HANDLE);
BOOL STDCALL GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD);
BOOL STDCALL DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR *);
BOOL STDCALL MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD);
BOOL STDCALL MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD,PACL,LPDWORD,PACL,LPDWORD,PSID,LPDWORD,PSID,LPDWORD);
BOOL STDCALL SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
BOOL STDCALL FindNextChangeNotification(HANDLE);
BOOL STDCALL FindCloseChangeNotification(HANDLE);
BOOL STDCALL VirtualLock(LPVOID,DWORD);
BOOL STDCALL VirtualUnlock(LPVOID,DWORD);
LPVOID STDCALL MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPVOID);
BOOL STDCALL SetPriorityClass(HANDLE,DWORD);
DWORD STDCALL GetPriorityClass(HANDLE);
BOOL STDCALL IsBadReadPtr(CONST VOID *,UINT);
BOOL STDCALL IsBadWritePtr(LPVOID,UINT);
BOOL STDCALL IsBadHugeReadPtr(CONST VOID *,UINT);
BOOL STDCALL IsBadHugeWritePtr(LPVOID,UINT);
BOOL STDCALL IsBadCodePtr(FARPROC);
BOOL STDCALL AllocateLocallyUniqueId(PLUID);
BOOL STDCALL QueryPerformanceCounter(LARGE_INTEGER *);
BOOL STDCALL QueryPerformanceFrequency(LARGE_INTEGER *);
VOID STDCALL MoveMemory(PVOID,CONST VOID *,DWORD);
VOID STDCALL FillMemory(PVOID,DWORD,BYTE);
VOID STDCALL ZeroMemory(PVOID,DWORD);
#ifdef WIN95
HKL STDCALL ActivateKeyboardLayout(HKL,UINT);
#else
BOOL STDCALL ActivateKeyboardLayout(HKL,UINT);
#endif
int STDCALL ToUnicodeEx(UINT,UINT,PBYTE,LPWSTR,int,UINT,HKL);
BOOL STDCALL UnloadKeyboardLayout(HKL);
int STDCALL GetKeyboardLayoutList(int,HKL *);
HKL STDCALL GetKeyboardLayout(DWORD);
HDESK STDCALL OpenInputDesktop(DWORD,BOOL,DWORD);
BOOL STDCALL EnumDesktopWindows(HDESK,ENUMWINDOWSPROC,LPARAM);
BOOL STDCALL SwitchDesktop(HDESK);
BOOL STDCALL SetThreadDesktop(HDESK);
BOOL STDCALL CloseDesktop(HDESK);
HDESK STDCALL GetThreadDesktop(DWORD);
BOOL STDCALL CloseWindowStation(HWINSTA);
BOOL STDCALL SetProcessWindowStation(HWINSTA);
HWINSTA STDCALL GetProcessWindowStation(VOID);
BOOL STDCALL SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
BOOL STDCALL GetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
BOOL STDCALL TranslateMessage(CONST MSG *);
BOOL STDCALL SetMessageQueue(int);
BOOL STDCALL RegisterHotKey(HWND,int,UINT,UINT);
BOOL STDCALL UnregisterHotKey(HWND,int);
BOOL STDCALL ExitWindowsEx(UINT,DWORD);
BOOL STDCALL SwapMouseButton(BOOL);
DWORD STDCALL GetMessagePos(VOID);
LONG STDCALL GetMessageTime(VOID);
LONG STDCALL GetMessageExtraInfo(VOID);
LPARAM STDCALL SetMessageExtraInfo(LPARAM);
long STDCALL BroadcastSystemMessage(DWORD,LPDWORD,UINT,WPARAM,LPARAM);
BOOL STDCALL AttachThreadInput(DWORD,DWORD,BOOL);
BOOL STDCALL ReplyMessage(LRESULT);
BOOL STDCALL WaitMessage(VOID);
DWORD STDCALL WaitForInputIdle(HANDLE,DWORD);
VOID STDCALL PostQuitMessage(int);
BOOL STDCALL InSendMessage(VOID);
UINT STDCALL GetDoubleClickTime(VOID);
BOOL STDCALL SetDoubleClickTime(UINT);
BOOL STDCALL IsWindow(HWND);
BOOL STDCALL IsMenu(HMENU);
BOOL STDCALL IsChild(HWND,HWND);
BOOL STDCALL DestroyWindow(HWND);
BOOL STDCALL ShowWindow(HWND,int);
BOOL STDCALL ShowWindowAsync(HWND,int);
BOOL STDCALL FlashWindow(HWND,BOOL);
BOOL STDCALL ShowOwnedPopups(HWND,BOOL);
BOOL STDCALL OpenIcon(HWND);
BOOL STDCALL CloseWindow(HWND);
BOOL STDCALL MoveWindow(HWND,int,int,int,int,BOOL);
BOOL STDCALL SetWindowPos(HWND,HWND,int,int,int,int,UINT);
BOOL STDCALL GetWindowPlacement(HWND,WINDOWPLACEMENT *);
BOOL STDCALL SetWindowPlacement(HWND hWnd,CONST WINDOWPLACEMENT *);
HDWP STDCALL BeginDeferWindowPos(int);
HDWP STDCALL DeferWindowPos(HDWP,HWND,HWND,int,int,int,int,UINT);
BOOL STDCALL EndDeferWindowPos(HDWP);
BOOL STDCALL IsWindowVisible(HWND);
BOOL STDCALL IsIconic(HWND);
BOOL STDCALL AnyPopup(VOID);
BOOL STDCALL BringWindowToTop(HWND);
BOOL STDCALL IsZoomed(HWND);
BOOL STDCALL EndDialog(HWND,int);
HWND STDCALL GetDlgItem(HWND,int);
BOOL STDCALL SetDlgItemInt(HWND,int,UINT,BOOL);
UINT STDCALL GetDlgItemInt(HWND,int,BOOL *,BOOL);
BOOL STDCALL CheckDlgButton(HWND,int,UINT);
BOOL STDCALL CheckRadioButton(HWND,int,int,int);
UINT STDCALL IsDlgButtonChecked(HWND,int);
HWND STDCALL GetNextDlgGroupItem(HWND,HWND,BOOL);
HWND STDCALL GetNextDlgTabItem(HWND,HWND,BOOL);
int STDCALL GetDlgCtrlID(HWND);
long STDCALL GetDialogBaseUnits(VOID);
BOOL STDCALL OpenClipboard(HWND);
BOOL STDCALL CloseClipboard(VOID);
HWND STDCALL GetClipboardOwner(VOID);
HWND STDCALL SetClipboardViewer(HWND);
HWND STDCALL GetClipboardViewer(VOID);
BOOL STDCALL ChangeClipboardChain(HWND,HWND);
HANDLE STDCALL SetClipboardData(UINT,HANDLE);
HANDLE STDCALL GetClipboardData(UINT);
int STDCALL CountClipboardFormats(VOID);
UINT STDCALL EnumClipboardFormats(UINT);
BOOL STDCALL EmptyClipboard(VOID);
BOOL STDCALL IsClipboardFormatAvailable(UINT);
int STDCALL GetPriorityClipboardFormat(UINT *,int);
HWND STDCALL GetOpenClipboardWindow(VOID);
LPSTR STDCALL CharNextExA(WORD,LPCSTR,DWORD);
LPSTR STDCALL CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD dwFlags);
HWND STDCALL SetFocus(HWND);
HWND STDCALL GetActiveWindow(VOID);
HWND STDCALL GetFocus(VOID);
UINT STDCALL GetKBCodePage(VOID);
SHORT STDCALL GetKeyState(int);
SHORT STDCALL GetAsyncKeyState(int);
BOOL STDCALL GetKeyboardState(PBYTE);
BOOL STDCALL SetKeyboardState(LPBYTE);
int STDCALL GetKeyboardType(int);
int STDCALL ToAscii(UINT,UINT,PBYTE,LPWORD,UINT);
int STDCALL ToAsciiEx(UINT,UINT,PBYTE,LPWORD,UINT,HKL);
int STDCALL ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT);
DWORD STDCALL OemKeyScan(WORD);
VOID STDCALL keybd_event(BYTE,BYTE,DWORD,DWORD);
VOID STDCALL mouse_event(DWORD,DWORD,DWORD,DWORD,DWORD);
BOOL STDCALL GetInputState(VOID);
DWORD STDCALL GetQueueStatus(UINT flags);
HWND STDCALL GetCapture(VOID);
HWND STDCALL SetCapture(HWND hWnd);
BOOL STDCALL ReleaseCapture(VOID);
DWORD STDCALL MsgWaitForMultipleObjects(DWORD,LPHANDLE,BOOL,DWORD,DWORD);
UINT STDCALL SetTimer(HWND,UINT,UINT,TIMERPROC);
BOOL STDCALL KillTimer(HWND,UINT);
BOOL STDCALL IsWindowUnicode(HWND);
BOOL STDCALL EnableWindow(HWND,BOOL);
BOOL STDCALL IsWindowEnabled(HWND);
BOOL STDCALL DestroyAcceleratorTable(HACCEL);
int STDCALL GetSystemMetrics(int);
HMENU STDCALL GetMenu(HWND);
BOOL STDCALL SetMenu(HWND,HMENU);
BOOL STDCALL HiliteMenuItem(HWND,HMENU,UINT,UINT);
UINT STDCALL GetMenuState(HMENU,UINT,UINT);
BOOL STDCALL DrawMenuBar(HWND);
HMENU STDCALL GetSystemMenu(HWND,BOOL);
HMENU STDCALL CreateMenu(VOID);
HMENU STDCALL CreatePopupMenu(VOID);
BOOL STDCALL DestroyMenu(HMENU);
DWORD STDCALL CheckMenuItem(HMENU,UINT,UINT);
BOOL STDCALL EnableMenuItem(HMENU,UINT,UINT);
HMENU STDCALL GetSubMenu(HMENU,int);
UINT STDCALL GetMenuItemID(HMENU,int);
int STDCALL GetMenuItemCount(HMENU);
BOOL STDCALL RemoveMenu(HMENU,UINT,UINT);
BOOL STDCALL DeleteMenu(HMENU,UINT,UINT);
BOOL STDCALL SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP);
LONG STDCALL GetMenuCheckMarkDimensions(VOID);
BOOL STDCALL TrackPopupMenu(HMENU,UINT,int,int,int,HWND,CONST RECT *);
UINT STDCALL GetMenuDefaultItem(HMENU,UINT,UINT);
BOOL STDCALL SetMenuDefaultItem(HMENU,UINT,UINT);
BOOL STDCALL GetMenuItemRect(HWND,HMENU,UINT,LPRECT);
int STDCALL MenuItemFromPoint(HWND,HMENU,POINT);
DWORD STDCALL DragObject(HWND,HWND,UINT,DWORD,HCURSOR);
BOOL STDCALL DragDetect(HWND,POINT);
BOOL STDCALL DrawIcon(HDC,int,int,HICON);
BOOL STDCALL UpdateWindow(HWND);
HWND STDCALL SetActiveWindow(HWND);
HWND STDCALL GetForegroundWindow(VOID);
BOOL STDCALL PaintDesktop(HDC);
BOOL STDCALL SetForegroundWindow(HWND hWnd);
HWND STDCALL WindowFromDC(HDC hDC);
HDC STDCALL GetDC(HWND);
HDC STDCALL GetDCEx(HWND,HRGN,DWORD);
HDC STDCALL GetWindowDC(HWND);
int STDCALL ReleaseDC(HWND,HDC);
HDC STDCALL BeginPaint( HWND,LPPAINTSTRUCT);
BOOL STDCALL EndPaint(HWND,CONST PAINTSTRUCT *);
BOOL STDCALL GetUpdateRect(HWND,LPRECT,BOOL);
int STDCALL GetUpdateRgn(HWND,HRGN,BOOL);
int STDCALL SetWindowRgn(HWND,HRGN,BOOL);
int STDCALL GetWindowRgn(HWND,HRGN);
int STDCALL ExcludeUpdateRgn(HDC,HWND);
BOOL STDCALL InvalidateRect(HWND,CONST RECT *,BOOL);
BOOL STDCALL ValidateRect(HWND,CONST RECT *);
BOOL STDCALL InvalidateRgn(HWND,HRGN,BOOL);
BOOL STDCALL ValidateRgn(HWND,HRGN);
BOOL STDCALL RedrawWindow(HWND,CONST RECT *,HRGN,UINT);
BOOL STDCALL LockWindowUpdate(HWND );
BOOL STDCALL ScrollWindow(HWND,int,int,CONST RECT *,CONST RECT *);
BOOL STDCALL ScrollDC(HDC,int,int,CONST RECT *,CONST RECT *,HRGN,LPRECT);
int STDCALL ScrollWindowEx(HWND,int,int,CONST RECT *,CONST RECT *,HRGN,LPRECT,UINT);
int STDCALL SetScrollPos(HWND,int,int,BOOL);
int STDCALL GetScrollPos(HWND,int);
BOOL STDCALL SetScrollRange(HWND,int,int,int,BOOL);
BOOL STDCALL GetScrollRange(HWND,int,LPINT,LPINT);
BOOL STDCALL ShowScrollBar(HWND,int,BOOL);
BOOL STDCALL EnableScrollBar(HWND,UINT,UINT);
BOOL STDCALL GetClientRect(HWND,LPRECT);
BOOL STDCALL GetWindowRect(HWND,LPRECT);
BOOL STDCALL AdjustWindowRect(LPRECT,DWORD,BOOL);
BOOL STDCALL AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD);
BOOL STDCALL SetWindowContextHelpId(HWND,DWORD);
DWORD STDCALL GetWindowContextHelpId(HWND);
BOOL STDCALL SetMenuContextHelpId(HMENU,DWORD);
DWORD STDCALL GetMenuContextHelpId(HMENU);
BOOL STDCALL MessageBeep(UINT);
int STDCALL ShowCursor(BOOL);
BOOL STDCALL SetCursorPos(int,int);
HCURSOR STDCALL SetCursor(HCURSOR);
BOOL STDCALL GetCursorPos(LPPOINT);
BOOL STDCALL ClipCursor(CONST RECT *);
BOOL STDCALL GetClipCursor(LPRECT);
HCURSOR STDCALL GetCursor(VOID);
BOOL STDCALL CreateCaret(HWND,HBITMAP,int,int);
UINT STDCALL GetCaretBlinkTime(VOID);
BOOL STDCALL SetCaretBlinkTime(UINT);
BOOL STDCALL DestroyCaret(VOID);
BOOL STDCALL HideCaret(HWND);
BOOL STDCALL ShowCaret(HWND);
BOOL STDCALL SetCaretPos(int,int);
BOOL STDCALL GetCaretPos(LPPOINT);
BOOL STDCALL ClientToScreen(HWND,LPPOINT);
BOOL STDCALL ScreenToClient(HWND,LPPOINT);
int STDCALL MapWindowPoints(HWND,HWND,LPPOINT,UINT);
HWND STDCALL WindowFromPoint(POINT);
HWND STDCALL ChildWindowFromPoint(HWND,POINT);
DWORD STDCALL GetSysColor(int);
HBRUSH STDCALL GetSysColorBrush(int);
BOOL STDCALL SetSysColors(int,CONST INT *,CONST COLORREF *);
BOOL STDCALL DrawFocusRect(HDC,CONST RECT *);
int STDCALL FillRect(HDC,CONST RECT *,HBRUSH);
int STDCALL FrameRect(HDC,CONST RECT *,HBRUSH);
BOOL STDCALL InvertRect(HDC,CONST RECT *);
BOOL STDCALL SetRect(LPRECT,int,int,int,int);
BOOL STDCALL SetRectEmpty(LPRECT);
BOOL STDCALL CopyRect(LPRECT,CONST RECT *);
BOOL STDCALL InflateRect(LPRECT,int,int);
BOOL STDCALL IntersectRect(LPRECT,CONST RECT *,CONST RECT *);
BOOL STDCALL UnionRect(LPRECT,CONST RECT *,CONST RECT *);
BOOL STDCALL SubtractRect(LPRECT,CONST RECT *,CONST RECT *);
BOOL STDCALL OffsetRect(LPRECT,int,int);
BOOL STDCALL IsRectEmpty( CONST RECT *);
BOOL STDCALL EqualRect(CONST RECT *,CONST RECT *);
BOOL STDCALL PtInRect( CONST RECT *lprc,POINT pt);
WORD STDCALL GetWindowWord(HWND,int);
WORD STDCALL SetWindowWord(HWND,int,WORD);
WORD STDCALL GetClassWord(HWND,int);
WORD STDCALL SetClassWord(HWND,int,WORD);
HWND STDCALL GetDesktopWindow(VOID);
HWND STDCALL GetParent( HWND hWnd);
HWND STDCALL SetParent( HWND,HWND);
BOOL STDCALL EnumChildWindows(HWND,ENUMWINDOWSPROC,LPARAM);
BOOL STDCALL EnumWindows(ENUMWINDOWSPROC,LPARAM );
BOOL STDCALL EnumThreadWindows(DWORD,ENUMWINDOWSPROC,LPARAM);
HWND STDCALL GetTopWindow(HWND hWnd);
DWORD STDCALL GetWindowThreadProcessId( HWND,LPDWORD);
HWND STDCALL GetLastActivePopup( HWND hWnd);
HWND STDCALL GetWindow( HWND hWnd,UINT uCmd);
BOOL STDCALL UnhookWindowsHook(int,HOOKPROC);
BOOL STDCALL UnhookWindowsHookEx( HHOOK hhk);
LRESULT STDCALL CallNextHookEx(HHOOK,int,WPARAM,LPARAM);
BOOL STDCALL CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT);
HCURSOR STDCALL CreateCursor(HINSTANCE,int,int,int,int ,CONST VOID *,CONST VOID *);
BOOL STDCALL DestroyCursor(HCURSOR);
BOOL STDCALL SetSystemCursor( HCURSOR,DWORD);
HICON STDCALL CreateIcon(HINSTANCE,int,int,BYTE,BYTE,CONST BYTE *,CONST BYTE *);
BOOL STDCALL DestroyIcon(HICON);
int STDCALL LookupIconIdFromDirectory(PBYTE ,BOOL);
int STDCALL LookupIconIdFromDirectoryEx(PBYTE,BOOL,int,int,UINT);
HICON STDCALL CreateIconFromResource(PBYTE,DWORD,BOOL,DWORD);
HICON STDCALL CreateIconFromResourceEx(PBYTE,DWORD,BOOL,DWORD,int,int,UINT);
HICON STDCALL CopyImage( HANDLE,UINT,int,int,UINT);
HICON STDCALL CreateIconIndirect(PICONINFO);
HICON STDCALL CopyIcon(HICON);
BOOL STDCALL GetIconInfo( HICON hIcon,PICONINFO piconinfo);
BOOL STDCALL MapDialogRect( HWND hDlg,LPRECT lpRect);
int STDCALL SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL);
BOOL STDCALL GetScrollInfo(HWND,int,LPSCROLLINFO);
BOOL STDCALL TranslateMDISysAccel(HWND,LPMSG);
UINT STDCALL ArrangeIconicWindows(HWND);
WORD STDCALL TileWindows(HWND,UINT,CONST RECT *,UINT,const HWND *);
WORD STDCALL CascadeWindows(HWND,UINT,CONST RECT *,UINT,const HWND *);
VOID STDCALL SetLastErrorEx(DWORD,DWORD);
VOID STDCALL SetDebugErrorLevel(DWORD);
BOOL STDCALL DrawEdge(HDC,LPRECT,UINT,UINT);
BOOL STDCALL DrawFrameControl(HDC,LPRECT,UINT,UINT);
BOOL STDCALL DrawCaption(HWND,HDC,CONST RECT *,UINT);
BOOL STDCALL DrawAnimatedRects(HWND,int,CONST RECT *,CONST RECT *);
BOOL STDCALL TrackPopupMenuEx(HMENU,UINT,int,int,HWND,LPTPMPARAMS);
HWND STDCALL ChildWindowFromPointEx(HWND,POINT,UINT);
BOOL STDCALL DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT);
BOOL STDCALL AnimatePalette(HPALETTE,UINT,UINT,CONST PALETTEENTRY *);
BOOL STDCALL Arc(HDC,int,int,int,int,int,int,int,int);
BOOL STDCALL BitBlt(HDC,int,int,int,int,HDC,int,int,DWORD);
BOOL STDCALL CancelDC(HDC);
BOOL STDCALL Chord(HDC,int,int,int,int,int,int,int,int);
HMETAFILE STDCALL CloseMetaFile(HDC);
int STDCALL CombineRgn(HRGN,HRGN,HRGN,int);
HBITMAP STDCALL CreateBitmap(int,int,UINT,UINT,CONST VOID *);
HBITMAP STDCALL CreateBitmapIndirect(CONST BITMAP *);
HBRUSH STDCALL CreateBrushIndirect(CONST LOGBRUSH *);
HBITMAP STDCALL CreateCompatibleBitmap(HDC,int,int);
HBITMAP STDCALL CreateDiscardableBitmap(HDC,int,int);
HDC STDCALL CreateCompatibleDC(HDC);
HBITMAP STDCALL CreateDIBitmap(HDC,CONST BITMAPINFOHEADER *,DWORD,CONST VOID *,CONST BITMAPINFO *,UINT);
HBRUSH STDCALL CreateDIBPatternBrush(HGLOBAL,UINT);
HBRUSH STDCALL CreateDIBPatternBrushPt(CONST VOID *,UINT);
HRGN STDCALL CreateEllipticRgn(int,int,int,int);
HRGN STDCALL CreateEllipticRgnIndirect(CONST RECT *);
HBRUSH STDCALL CreateHatchBrush(int,COLORREF);
HPALETTE STDCALL CreatePalette(CONST LOGPALETTE *);
HPEN STDCALL CreatePen(int,int,COLORREF);
HPEN STDCALL CreatePenIndirect(CONST LOGPEN *);
HRGN STDCALL CreatePolyPolygonRgn(CONST POINT *,CONST INT *,int,int);
HBRUSH STDCALL CreatePatternBrush(HBITMAP);
HRGN STDCALL CreateRectRgn(int,int,int,int);
HRGN STDCALL CreateRectRgnIndirect(CONST RECT *);
HRGN STDCALL CreateRoundRectRgn(int,int,int,int,int,int);
HBRUSH STDCALL CreateSolidBrush(COLORREF);
BOOL STDCALL DeleteDC(HDC);
BOOL STDCALL DeleteMetaFile(HMETAFILE);
BOOL STDCALL DeleteObject(HGDIOBJ);
int  WINAPI DescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
BOOL WINAPI SwapBuffers(HDC);
int STDCALL DrawEscape(HDC,int,int,LPCSTR);
BOOL STDCALL Ellipse(HDC,int,int,int,int);
int STDCALL EnumObjects(HDC,int,ENUMOBJECTSPROC,LPARAM);
BOOL STDCALL EqualRgn(HRGN,HRGN);
int STDCALL Escape(HDC,int,int,LPCSTR,LPVOID);
int STDCALL ExtEscape(HDC,int,int,LPCSTR,int,LPSTR);
int STDCALL ExcludeClipRect(HDC,int,int,int,int);
HRGN STDCALL ExtCreateRegion(CONST XFORM *,DWORD,CONST RGNDATA *);
BOOL STDCALL ExtFloodFill(HDC,int,int,COLORREF,UINT);
BOOL STDCALL FillRgn(HDC,HRGN,HBRUSH);
BOOL STDCALL FloodFill(HDC,int,int,COLORREF);
BOOL STDCALL FrameRgn(HDC,HRGN,HBRUSH,int,int);
int STDCALL GetROP2(HDC);
BOOL STDCALL GetAspectRatioFilterEx(HDC,LPSIZE);
COLORREF STDCALL GetBkColor(HDC);
int STDCALL GetBkMode(HDC);
LONG STDCALL GetBitmapBits(HBITMAP,LONG,LPVOID);
BOOL STDCALL GetBitmapDimensionEx(HBITMAP,LPSIZE);
UINT STDCALL GetBoundsRect(HDC,LPRECT,UINT);
BOOL STDCALL GetBrushOrgEx(HDC,LPPOINT);
int STDCALL GetClipBox(HDC,LPRECT);
int STDCALL GetClipRgn(HDC,HRGN);
int STDCALL GetMetaRgn(HDC,HRGN);
HGDIOBJ STDCALL GetCurrentObject(HDC,UINT);
BOOL STDCALL GetCurrentPositionEx(HDC,LPPOINT);
int STDCALL GetDeviceCaps(HDC,int);
int STDCALL GetDIBits(HDC,HBITMAP,UINT,UINT,LPVOID,LPBITMAPINFO,UINT);
DWORD STDCALL GetFontData(HDC,DWORD,DWORD,LPVOID,DWORD);
int STDCALL GetGraphicsMode(HDC);
int STDCALL GetMapMode(HDC);
UINT STDCALL GetMetaFileBitsEx(HMETAFILE,UINT,LPVOID);
COLORREF STDCALL GetNearestColor(HDC,COLORREF);
UINT STDCALL GetNearestPaletteIndex(HPALETTE,COLORREF);
DWORD STDCALL GetObjectType(HGDIOBJ);
UINT STDCALL GetPaletteEntries(HPALETTE,UINT,UINT,LPPALETTEENTRY);
COLORREF STDCALL GetPixel(HDC,int,int);
int STDCALL GetPixelFormat(HDC);
int STDCALL GetPolyFillMode(HDC);
BOOL STDCALL GetRasterizerCaps(LPRASTERIZER_STATUS,UINT);
DWORD STDCALL GetRegionData(HRGN,DWORD,LPRGNDATA);
int STDCALL GetRgnBox(HRGN,LPRECT);
HGDIOBJ STDCALL GetStockObject(int);
int STDCALL GetStretchBltMode(HDC);
UINT STDCALL GetSystemPaletteEntries(HDC,UINT,UINT,LPPALETTEENTRY);
UINT STDCALL GetSystemPaletteUse(HDC);
int STDCALL GetTextCharacterExtra(HDC);
UINT STDCALL GetTextAlign(HDC);
COLORREF STDCALL GetTextColor(HDC);
int STDCALL GetTextCharset(HDC);
int STDCALL GetTextCharsetInfo(HDC,LPFONTSIGNATURE,DWORD);
BOOL STDCALL TranslateCharsetInfo( DWORD *,LPCHARSETINFO,DWORD);
DWORD STDCALL GetFontLanguageInfo(HDC);
BOOL STDCALL GetViewportExtEx(HDC,LPSIZE);
BOOL STDCALL GetViewportOrgEx(HDC,LPPOINT);
BOOL STDCALL GetWindowExtEx(HDC,LPSIZE);
BOOL STDCALL GetWindowOrgEx(HDC,LPPOINT);
int STDCALL IntersectClipRect(HDC,int,int,int,int);
BOOL STDCALL InvertRgn(HDC,HRGN);
BOOL STDCALL LineDDA(int,int,int,int,LINEDDAPROC,LPARAM);
BOOL STDCALL LineTo(HDC,int,int);
BOOL STDCALL MaskBlt(HDC,int,int,int,int,HDC,int,int,HBITMAP,int,int,DWORD);
BOOL STDCALL PlgBlt(HDC,CONST POINT *,HDC,int,int,int,int,HBITMAP,int,int);
int STDCALL OffsetClipRgn(HDC,int,int);
int STDCALL OffsetRgn(HRGN,int,int);
BOOL STDCALL PatBlt(HDC,int,int,int,int,DWORD);
BOOL STDCALL Pie(HDC,int,int,int,int,int,int,int,int);
BOOL STDCALL PlayMetaFile(HDC,HMETAFILE);
BOOL STDCALL PaintRgn(HDC,HRGN);
BOOL STDCALL PolyPolygon(HDC,CONST POINT *,CONST INT *,int);
BOOL STDCALL PtInRegion(HRGN,int,int);
BOOL STDCALL PtVisible(HDC,int,int);
BOOL STDCALL RectInRegion(HRGN,CONST RECT *);
BOOL STDCALL RectVisible(HDC,CONST RECT *);
BOOL STDCALL Rectangle(HDC,int,int,int,int);
BOOL STDCALL RestoreDC(HDC,int);
UINT STDCALL RealizePalette(HDC);
BOOL STDCALL RoundRect(HDC,int,int,int,int,int,int);
BOOL STDCALL ResizePalette(HPALETTE,UINT);
int STDCALL SaveDC(HDC);
int STDCALL SelectClipRgn(HDC,HRGN);
int STDCALL ExtSelectClipRgn(HDC,HRGN,int);
int STDCALL SetMetaRgn(HDC);
HGDIOBJ STDCALL SelectObject(HDC,HGDIOBJ);
HPALETTE STDCALL SelectPalette(HDC,HPALETTE,BOOL);
COLORREF STDCALL SetBkColor(HDC,COLORREF);
int STDCALL SetBkMode(HDC,int);
LONG STDCALL SetBitmapBits(HBITMAP,DWORD,CONST VOID *);
UINT STDCALL SetBoundsRect(HDC,CONST RECT *,UINT);
int STDCALL SetDIBits(HDC,HBITMAP,UINT,UINT,CONST VOID *,CONST BITMAPINFO *,UINT);
int STDCALL SetDIBitsToDevice(HDC,int,int,DWORD,DWORD,int,int,UINT,UINT,CONST VOID *,CONST BITMAPINFO *,UINT);
DWORD STDCALL SetMapperFlags(HDC,DWORD);
int STDCALL SetGraphicsMode(HDC,int);
int STDCALL SetMapMode(HDC,int);
HMETAFILE STDCALL SetMetaFileBitsEx(UINT,CONST BYTE *);
UINT STDCALL SetPaletteEntries(HPALETTE,UINT,UINT,CONST PALETTEENTRY *);
COLORREF STDCALL SetPixel(HDC,int,int,COLORREF);
BOOL STDCALL SetPixelV(HDC,int,int,COLORREF);
int STDCALL SetPolyFillMode(HDC,int);
BOOL STDCALL StretchBlt(HDC,int,int,int,int,HDC,int,int,int,int,DWORD);
BOOL STDCALL SetRectRgn(HRGN,int,int,int,int);
int STDCALL StretchDIBits(HDC,int,int,int,int,int,int,int,int,CONST VOID *,CONST BITMAPINFO *,UINT,DWORD);
int STDCALL SetROP2(HDC,int);
int STDCALL SetStretchBltMode(HDC,int);
UINT STDCALL SetSystemPaletteUse(HDC,UINT);
int STDCALL SetTextCharacterExtra(HDC,int);
COLORREF STDCALL SetTextColor(HDC,COLORREF);
UINT STDCALL SetTextAlign(HDC,UINT);
BOOL STDCALL SetTextJustification(HDC,int,int);
BOOL STDCALL UpdateColors(HDC);
BOOL STDCALL PlayMetaFileRecord(HDC,LPHANDLETABLE,LPMETARECORD,UINT);
BOOL STDCALL EnumMetaFile(HDC,HMETAFILE,ENUMMETAFILEPROC,LPARAM);
HENHMETAFILE STDCALL CloseEnhMetaFile(HDC);
BOOL STDCALL DeleteEnhMetaFile(HENHMETAFILE);
BOOL STDCALL EnumEnhMetaFile(HDC,HENHMETAFILE,ENHMETAFILEPROC,LPVOID,CONST RECT *);
UINT STDCALL GetEnhMetaFileHeader(HENHMETAFILE,UINT,LPENHMETAHEADER );
UINT STDCALL GetEnhMetaFilePaletteEntries(HENHMETAFILE,UINT,LPPALETTEENTRY );
UINT STDCALL GetWinMetaFileBits(HENHMETAFILE,UINT,LPBYTE,INT,HDC);
BOOL STDCALL PlayEnhMetaFile(HDC,HENHMETAFILE,CONST RECT *);
BOOL STDCALL PlayEnhMetaFileRecord(HDC,LPHANDLETABLE,CONST ENHMETARECORD *,UINT);
HENHMETAFILE STDCALL SetEnhMetaFileBits(UINT,CONST BYTE *);
HENHMETAFILE STDCALL SetWinMetaFileBits(UINT,CONST BYTE *,HDC,CONST METAFILEPICT *);
BOOL STDCALL GdiComment(HDC,UINT,CONST BYTE *);
BOOL STDCALL AngleArc(HDC,int,int,DWORD,FLOAT,FLOAT);
BOOL STDCALL PolyPolyline(HDC,CONST POINT *,CONST DWORD *,DWORD);
BOOL STDCALL GetWorldTransform(HDC,LPXFORM);
BOOL STDCALL SetWorldTransform(HDC,CONST XFORM *);
BOOL STDCALL ModifyWorldTransform(HDC,CONST XFORM *,DWORD);
BOOL STDCALL CombineTransform(LPXFORM,CONST XFORM *,CONST XFORM *);
HBITMAP STDCALL CreateDIBSection(HDC,CONST BITMAPINFO *,UINT,VOID **,HANDLE,DWORD);
UINT STDCALL GetDIBColorTable(HDC,UINT,UINT,RGBQUAD *);
UINT STDCALL SetDIBColorTable(HDC,UINT,UINT,CONST RGBQUAD *);
BOOL STDCALL SetColorAdjustment(HDC,CONST COLORADJUSTMENT *);
BOOL STDCALL GetColorAdjustment(HDC,LPCOLORADJUSTMENT);
HPALETTE STDCALL CreateHalftonePalette(HDC);
int STDCALL EndDoc(HDC);
int STDCALL StartPage(HDC);
int STDCALL EndPage(HDC);
int STDCALL AbortDoc(HDC);
int STDCALL SetAbortProc(HDC,ABORTPROC);
BOOL STDCALL AbortPath(HDC);
BOOL STDCALL ArcTo(HDC,int,int,int,int,int,int,int,int);
BOOL STDCALL BeginPath(HDC);
BOOL STDCALL CloseFigure(HDC);
BOOL STDCALL EndPath(HDC);
BOOL STDCALL FillPath(HDC);
BOOL STDCALL FlattenPath(HDC);
int STDCALL GetPath(HDC,LPPOINT,LPBYTE,int);
HRGN STDCALL PathToRegion(HDC);
BOOL STDCALL PolyDraw(HDC,CONST POINT *,CONST BYTE *,int);
BOOL STDCALL SelectClipPath(HDC,int);
int STDCALL SetArcDirection(HDC,int);
BOOL STDCALL SetMiterLimit(HDC,FLOAT,PFLOAT);
BOOL STDCALL StrokeAndFillPath(HDC);
BOOL STDCALL StrokePath(HDC);
BOOL STDCALL WidenPath(HDC);
HPEN STDCALL ExtCreatePen(DWORD,DWORD,CONST LOGBRUSH *,DWORD,CONST DWORD *);
BOOL STDCALL GetMiterLimit(HDC,PFLOAT);
int STDCALL GetArcDirection(HDC);
BOOL STDCALL MoveToEx(HDC,int,int,LPPOINT);
HRGN STDCALL CreatePolygonRgn(CONST POINT *,int,int);
BOOL STDCALL DPtoLP(HDC,LPPOINT,int);
BOOL STDCALL LPtoDP(HDC,LPPOINT,int);
BOOL STDCALL Polygon(HDC,CONST POINT *,int);
BOOL STDCALL Polyline(HDC,CONST POINT *,int);
BOOL STDCALL PolyBezier(HDC,CONST POINT *,DWORD);
BOOL STDCALL PolyBezierTo(HDC,CONST POINT *,DWORD);
BOOL STDCALL PolylineTo(HDC,CONST POINT *,DWORD);
BOOL STDCALL SetViewportExtEx(HDC,int,int,LPSIZE);
BOOL STDCALL SetViewportOrgEx(HDC,int,int,LPPOINT);
BOOL STDCALL SetWindowExtEx(HDC,int,int,LPSIZE);
BOOL STDCALL SetWindowOrgEx(HDC,int,int,LPPOINT);
BOOL STDCALL OffsetViewportOrgEx(HDC,int,int,LPPOINT);
BOOL STDCALL OffsetWindowOrgEx(HDC,int,int,LPPOINT);
BOOL STDCALL ScaleViewportExtEx(HDC,int,int,int,int,LPSIZE);
BOOL STDCALL ScaleWindowExtEx(HDC,int,int,int,int,LPSIZE);
BOOL STDCALL SetBitmapDimensionEx(HBITMAP,int,int,LPSIZE);
BOOL STDCALL SetBrushOrgEx(HDC,int,int,LPPOINT);
BOOL STDCALL GetDCOrgEx(HDC,LPPOINT);
BOOL STDCALL FixBrushOrgEx(HDC,int,int,LPPOINT);
BOOL STDCALL UnrealizeObject(HGDIOBJ);
BOOL STDCALL GdiFlush(void);
DWORD STDCALL GdiSetBatchLimit(DWORD);
DWORD STDCALL GdiGetBatchLimit(void);
int STDCALL SetICMMode(HDC,int);
BOOL STDCALL CheckColorsInGamut(HDC,LPVOID,LPVOID,DWORD);
HANDLE STDCALL GetColorSpace(HDC);
BOOL STDCALL SetColorSpace(HDC,HCOLORSPACE);
BOOL STDCALL DeleteColorSpace(HCOLORSPACE);
BOOL STDCALL GetDeviceGammaRamp(HDC,LPVOID);
BOOL STDCALL SetDeviceGammaRamp(HDC,LPVOID);
BOOL STDCALL ColorMatchToTarget(HDC,HDC,DWORD);
HPROPSHEETPAGE STDCALL CreatePropertySheetPageA(LPCPROPSHEETPAGE);
BOOL STDCALL DestroyPropertySheetPage(HPROPSHEETPAGE);
void STDCALL InitCommonControls(void);
#define ImageList_AddIcon(himl,hicon) ImageList_ReplaceIcon(himl,-1,hicon)
HIMAGELIST STDCALL ImageList_Create(int,int,UINT,int,int);
BOOL STDCALL ImageList_Destroy(HIMAGELIST);
int STDCALL ImageList_GetImageCount(HIMAGELIST);
int STDCALL ImageList_Add(HIMAGELIST,HBITMAP,HBITMAP);
int STDCALL ImageList_ReplaceIcon(HIMAGELIST,int,HICON);
COLORREF STDCALL ImageList_SetBkColor(HIMAGELIST,COLORREF);
COLORREF STDCALL ImageList_GetBkColor(HIMAGELIST himl);
BOOL STDCALL ImageList_SetOverlayImage(HIMAGELIST,int,int);
BOOL STDCALL ImageList_Draw(HIMAGELIST ,int ,HDC ,int ,int ,UINT);
BOOL STDCALL ImageList_Replace(HIMAGELIST,int,HBITMAP,HBITMAP);
int STDCALL ImageList_AddMasked(HIMAGELIST,HBITMAP,COLORREF);
BOOL STDCALL ImageList_DrawEx(HIMAGELIST,int,HDC,int,int,int,int,COLORREF,COLORREF,UINT);
BOOL STDCALL ImageList_Remove(HIMAGELIST,int);
HICON STDCALL ImageList_GetIcon(HIMAGELIST,int,UINT);
BOOL STDCALL ImageList_BeginDrag(HIMAGELIST,int,int,int);
void STDCALL ImageList_EndDrag(VOID);
BOOL STDCALL ImageList_DragEnter(HWND,int,int);
BOOL STDCALL ImageList_DragLeave(HWND);
BOOL STDCALL ImageList_DragMove(int,int);
BOOL STDCALL ImageList_SetDragCursorImage(HIMAGELIST,int,int,int);
BOOL STDCALL ImageList_DragShowNolock(BOOL);
HIMAGELIST STDCALL ImageList_GetDragImage(POINT *,POINT *);
BOOL STDCALL ImageList_GetIconSize(HIMAGELIST,int *,int *);
BOOL STDCALL ImageList_SetIconSize(HIMAGELIST,int,int);
BOOL STDCALL ImageList_GetImageInfo(HIMAGELIST,int,IMAGEINFO *);
HIMAGELIST STDCALL ImageList_Merge(HIMAGELIST,int ,HIMAGELIST,int,int,int);
HWND STDCALL CreateToolbarEx(HWND,DWORD,UINT,int,HINSTANCE,UINT,LPCTBBUTTON,int,int,int,int,int,UINT);
HBITMAP STDCALL CreateMappedBitmap(HINSTANCE,int,UINT,LPCOLORMAP,int);
void STDCALL MenuHelp(UINT,WPARAM,LPARAM,HMENU,HINSTANCE,HWND,UINT *);
BOOL STDCALL ShowHideMenuCtl(HWND,UINT,LPINT);
void STDCALL GetEffectiveClientRect(HWND,LPRECT,LPINT);
BOOL STDCALL MakeDragList(HWND);
void STDCALL DrawInsert(HWND,HWND,int);
int STDCALL LBItemFromPt(HWND,POINT,BOOL);
HWND STDCALL CreateUpDownControl(DWORD,int,int,int,int,HWND,int,HINSTANCE,HWND,int,int,int);
DWORD STDCALL CommDlgExtendedError(VOID);
#define Animate_Create(hP,id,Style,I) CreateWindow(ANIMATE_CLASS,NULL,Style,0,0,0,0,hP,(HMENU)(id),I,NULL)
#define Animate_Open(hw,Name) SendMessage(hw,ACM_OPEN,0,(LPARAM)(LPTSTR)(Name))
#define Animate_Play(hw,from,to,rep) SendMessage(hw,ACM_PLAY,(WPARAM)(rep),(LPARAM)MAKELONG(from,to))
#define Animate_Stop(hw) SendMessage(hw,ACM_STOP,0,0)
#define Animate_Close(h) Animate_Open(h,NULL)
#define Animate_Seek(h,f) Animate_Play(h,f,f,1)
#define PropSheet_AddPage(h,hp) SendMessage(h,PSM_ADDPAGE,0,(LPARAM)hp)
#define PropSheet_Apply(h) SendMessage(h,PSM_APPLY,0,0)
#define PropSheet_CancelToClose(hDlg) SendMessage(hDlg,PSM_CANCELTOCLOSE,0,0)
#define PropSheet_Changed(hDlg,hwndPage) SendMessage(hDlg,PSM_CHANGED,(WPARAM)hwndPage,0)
#define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg,PSM_GETCURRENTPAGEHWND,0,0)
#define PropSheet_GetTabControl(hDlg) SendMessage(hDlg,PSM_GETTABCONTROL,0,0)
#define PropSheet_IsDialogMessage(hDlg,pMsg) SendMessage(hDlg,PSM_ISDIALOGMESSAGE,0,(LPARAM)pMsg)
#define PropSheet_PressButton(hDlg,Button) SendMessage(hDlg,PSM_PRESSBUTTON,(WPARAM)Button,0)
#define PropSheet_QuerySiblings(hDlg,p1,p2) SendMessage(hDlg,PSM_QUERYSIBLINGS,(WPARAM)p1,(LPARAM)p2)
#define PropSheet_RebootSystem(hDlg) SendMessage(hDlg,PSM_REBOOTSYSTEM,0,0)
#define PropSheet_RemovePage(hDlg,index,hpage) SendMessage(hDlg,PSM_REMOVEPAGE,(WPARAM)(int)index,(LPARAM)hpage)
#define PropSheet_RestartWindows(hDlg) SendMessage(hDlg,PSM_RESTARTWINDOWS,0,0)
#define PropSheet_SetCurSel(hDlg,hpage,index) SendMessage(hDlg,PSM_SETCURSEL,(WPARAM)index,(LPARAM)hpage)
#define PropSheet_SetCurSelByID(hPropSheetDlg,id) SendMessage(hPropSheetDlg,PSM_SETCURSELID,0,(LPARAM)id)
#define PropSheet_SetFinishText(h,T) SendMessage(h,PSM_SETFINISHTEXT,0,(LPARAM)T)
#define PropSheet_SetTitle(h,S,T) SendMessage(h,PSM_SETTITLE,(WPARAM)S,(LPARAM)T)
#define PropSheet_SetWizButtons(h,F) SendMessage(h,PSM_SETWIZBUTTONS,0,(LPARAM)F)
#define PropSheet_UnChanged(hDlg,hP) SendMessage(hDlg,PSM_UNCHANGED,(WPARAM)(HWND)hP,0)
#define Header_DeleteItem(hHD,index) (BOOL)SendMessage((hHD),HDM_DELETEITEM,(WPARAM)(index),0L)
#define Header_GetItem(hHD,index,phdi) (BOOL)SendMessage((hHD),HDM_GETITEM,(WPARAM)(index),(LPARAM)(phdi))
#define Header_GetItemCount(hHD) (int)SendMessage((hHD),HDM_GETITEMCOUNT,0,0L)
#define Header_InsertItem(hHD,index,phdi) (int)SendMessage((hHD),HDM_INSERTITEM,(WPARAM)(index),(LPARAM)(phdi))
#define Header_Layout(hHD,p) (BOOL)SendMessage((hHD),HDM_LAYOUT,0,(LPARAM)(p))
#define Header_SetItem(hHD,i,p) (BOOL)SendMessage((hHD),HDM_SETITEM,(WPARAM)(i),(LPARAM)(p))
#define ListView_Arrange(hLV,code) SendMessage((hLV),LVM_ARRANGE,(WPARAM)(code),0)
#define ListView_CreateDragImage(h,i,l) SendMessage((h),LVM_CREATEDRAGIMAGE,(WPARAM)(i),(LPARAM)(l))
#define ListView_DeleteAllItems(hwnd) SendMessage(hwnd,LVM_DELETEALLITEMS,0,0)
#define ListView_DeleteColumn(h,iCol) SendMessage((h),LVM_DELETECOLUMN,(WPARAM)(iCol),0)
#define ListView_DeleteItem(h,iItem) SendMessage(h,LVM_DELETEITEM,(WPARAM)iItem,0)
#define ListView_EditLabel(hLV,i) SendMessage((hLV),LVM_EDITLABEL,(WPARAM)i,0)
#define ListView_EnsureVisible(hLV,i,fOK) SendMessage(hLV,LVM_ENSUREVISIBLE,(WPARAM)i,MAKELPARAM((fOK),0))
#define ListView_FindItem(hwnd,iStart,plvfi) SendMessage(hwnd,LVM_FINDITEM,(WPARAM)iStart,(LPARAM)plvfi)
#define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd,LVM_GETBKCOLOR,0,0)
#define ListView_GetCallbackMask(h) SendMessage(h,LVM_GETCALLBACKMASK,0,0)
#define ListView_GetColumn(hwnd,iCol,pcol) SendMessage((hwnd),LVM_GETCOLUMN,(WPARAM)(iCol),(LPARAM)(pcol))
#define ListView_GetColumnWidth(h,iCol) SendMessage((h),LVM_GETCOLUMNWIDTH,(WPARAM)(iCol),0)
#define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV),LVM_GETCOUNTPERPAGE,0,0)
#define ListView_GetEditControl(hwndLV) SendMessage((hwndLV),LVM_GETEDITCONTROL,0,0)
#define ListView_GetImageList(h,iIL) SendMessage(h,LVM_GETIMAGELIST,(WPARAM)iIL,0)
#define ListView_GetISearchString(hwndLV,lpsz) SendMessage((hwndLV),LVM_GETISEARCHSTRING,0,(LPARAM)lpsz)
#define ListView_GetItem(h,pitem) SendMessage(h,LVM_GETITEM,0,(LPARAM)(pitem))
#define ListView_GetItemCount(hwnd) SendMessage(hwnd,LVM_GETITEMCOUNT,0,0)
#define ListView_GetItemPosition(hwndLV,i,ppt) SendMessage(hwndLV,LVM_GETITEMPOSITION,(WPARAM)(int)i,(LPARAM)ppt)
#define ListView_GetItemRect(h,i,p,c) SendMessage(h,LVM_GETITEMRECT,(WPARAM)i,((p) ? (((RECT *)(p))->left = (c),(LPARAM)(p)):(LPARAM)NULL))
#define ListView_GetItemSpacing(hLV,fSmall) SendMessage((hLV),LVM_GETITEMSPACING,fSmall,0)
#define ListView_GetItemState(hLV,i,mask) SendMessage((hLV),LVM_GETITEMSTATE,(WPARAM)i,(LPARAM)mask)
#define ListView_GetItemText(hLV,i,iS,T,c) {LV_ITEM _gnu_l;_gnu_l.iSubItem=iS;_gnu_l.cchTextMax=c;_gnu_l.pszText=(char *)T;SendMessage((hLV),LVM_GETITEMTEXT,(WPARAM)i,(LPARAM)&_gnu_l);}
#define ListView_GetNextItem(hwnd,S,f) SendMessage(hwnd,LVM_GETNEXTITEM,(WPARAM)S,(LPARAM)f)
#define ListView_GetOrigin(hLV,ppt) SendMessage((hLV),LVM_GETORIGIN,(WPARAM)0,(LPARAM)(ppt))
#define ListView_GetSelectedCount(hLV) SendMessage((hLV),LVM_GETSELECTEDCOUNT,0,0)
#define ListView_GetStringWidth(hLV,psz) SendMessage(hLV,LVM_GETSTRINGWIDTH,0,(LPARAM)psz)
#define ListView_GetTextBkColor(hwnd) SendMessage((hwnd),LVM_GETTEXTBKCOLOR,0,0)
#define ListView_GetTextColor(hwnd) SendMessage((hwnd),LVM_GETTEXTCOLOR,0,0)
#define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV),LVM_GETTOPINDEX,0,0)
#define ListView_GetViewRect(h,prc) SendMessage((h),LVM_GETVIEWRECT,0,(LPARAM)(prc))
#define ListView_HitTest(hLV,pinfo) SendMessage(hLV,LVM_HITTEST,0,(LPARAM)pinfo)
#define ListView_InsertColumn(hwnd,iCol,pcol) SendMessage((hwnd),LVM_INSERTCOLUMN,(WPARAM)(int)(iCol),(LPARAM)(pcol))
#define ListView_InsertItem(hwnd,pitem) SendMessage(hwnd,LVM_INSERTITEM,0,(LPARAM)pitem)
#define ListView_RedrawItems(hLV,iFirst,iLast) SendMessage((hLV),LVM_REDRAWITEMS,(WPARAM)iFirst,(LPARAM)iLast)
#define ListView_Scroll(hLV,dx,dy) SendMessage((hLV),LVM_SCROLL,(WPARAM)dx,(LPARAM)dy)
#define ListView_SetBkColor(hwnd,clrBk) SendMessage(hwnd,LVM_SETBKCOLOR,0,(LPARAM)(COLORREF)clrBk)
#define ListView_SetCallbackMask(hwnd,mask) SendMessage(hwnd,LVM_SETCALLBACKMASK,(WPARAM)(UINT)(mask),0)
#define ListView_SetColumn(h,iCol,pcol) SendMessage((h),LVM_SETCOLUMN,(WPARAM)(iCol),(LPARAM)(pcol))
#define ListView_SetColumnWidth(hwnd,iCol,cx) SendMessage((hwnd),LVM_SETCOLUMNWIDTH,(WPARAM)(int)(iCol),MAKELPARAM((cx),0))
#define ListView_SetImageList(hwnd,himl,iImageList) SendMessage(hwnd,LVM_SETIMAGELIST,(WPARAM)(iImageList),(LPARAM)(himl))
#define ListView_SetItem(hwnd,pitem) SendMessage(hwnd,LVM_SETITEM,0,(LPARAM)pitem)
#define ListView_SetItemCount(hLV,cItems) SendMessage((hLV),LVM_SETITEMCOUNT,(WPARAM)cItems,0)
#define ListView_SetItemPosition(hLV,i,x,y) SendMessage(hLV,LVM_SETITEMPOSITION,(WPARAM)(int)(i),MAKELPARAM((x),(y)))
#define ListView_SetItemPosition32(hLV,i,x,y) {POINT ptNewPos = {x,y};SendMessage((hLV),LVM_SETITEMPOSITION32,(WPARAM)(i),(LPARAM)&ptNewPos);}
#define ListView_SetItemState(hLV,i,d,m) {LV_ITEM _gnu_l;_gnu_l.stateMask = m;_gnu_l.state=d;SendMessage((hLV),LVM_SETITEMSTATE,(WPARAM)i,(LPARAM)&_gnu_l);}
#define ListView_SetItemText(hLV,i,iS,T) {LV_ITEM _gnu_l;_gnu_l.iSubItem=iS;_gnu_l.pszText = (char *)T;SendMessage((hLV),LVM_SETITEMTEXT,(WPARAM)i,(LPARAM)&_gnu_l);}
#define ListView_SetTextBkColor(hwnd,clrTextBk) SendMessage((hwnd),LVM_SETTEXTBKCOLOR,0,(LPARAM)(clrTextBk))
#define ListView_SetTextColor(hwnd,clrText) SendMessage((hwnd),LVM_SETTEXTCOLOR,0,(LPARAM)(clrText))
#define ListView_SortItems(hLV,pfnCompare,lPrm) SendMessage((hLV),LVM_SORTITEMS,(WPARAM)lPrm,(LPARAM)pfnCompare)
#define ListView_Update(hLV,i) SendMessage((hLV),LVM_UPDATE,(WPARAM)i,0)
#define TreeView_InsertItem(hwnd,lpis) SendMessage((hwnd),TVM_INSERTITEM,0,(LPARAM)(lpis))
#define TreeView_DeleteItem(hwnd,hitem) SendMessage((hwnd),TVM_DELETEITEM,0,(LPARAM)(hitem))
#define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd),TVM_DELETEITEM,0,(LPARAM)TVI_ROOT)
#define TreeView_Expand(h,hitem,code) SendMessage((h),TVM_EXPAND,(WPARAM)code,(LPARAM)(hitem))
#define TreeView_GetItemRect(h,hitem,prc,c) (*(HTREEITEM *)prc = (hitem),(BOOL)SendMessage((h),TVM_GETITEMRECT,(WPARAM)(c),(LPARAM)(RECT *)(prc)))
#define TreeView_GetCount(hwnd) SendMessage((hwnd),TVM_GETCOUNT,0,0)
#define TreeView_GetIndent(hwnd) SendMessage((hwnd),TVM_GETINDENT,0,0)
#define TreeView_SetIndent(hwnd,indent) SendMessage((hwnd),TVM_SETINDENT,(WPARAM)indent,0)
#define TreeView_GetImageList(hwnd,iImage) SendMessage((hwnd),TVM_GETIMAGELIST,iImage,0)
#define TreeView_SetImageList(h,hi,iImage) SendMessage((h),TVM_SETIMAGELIST,iImage,(LPARAM)(hi))
#define TreeView_GetNextItem(h,hi,code) SendMessage((h),TVM_GETNEXTITEM,(WPARAM)code,(LPARAM)(hi))
#define TreeView_GetChild(hwnd,hitem) TreeView_GetNextItem(hwnd,hitem,TVGN_CHILD)
#define TreeView_GetNextSibling(hwnd,hitem) TreeView_GetNextItem(hwnd,hitem,TVGN_NEXT)
#define TreeView_GetPrevSibling(hwnd,hitem) TreeView_GetNextItem(hwnd,hitem,TVGN_PREVIOUS)
#define TreeView_GetParent(hwnd,hitem) TreeView_GetNextItem(hwnd,hitem,TVGN_PARENT)
#define TreeView_GetFirstVisible(h) TreeView_GetNextItem(h,NULL,TVGN_FIRSTVISIBLE)
#define TreeView_GetNextVisible(hwnd,hitem) TreeView_GetNextItem(hwnd,hitem,TVGN_NEXTVISIBLE)
#define TreeView_GetPrevVisible(hwnd,hitem) TreeView_GetNextItem(hwnd,hitem,TVGN_PREVIOUSVISIBLE)
#define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd,NULL,TVGN_CARET)
#define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd,NULL,TVGN_DROPHILITE)
#define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd,NULL,TVGN_ROOT)
#define TreeView_Select(hwnd,hitem,code) SendMessage((hwnd),TVM_SELECTITEM,(WPARAM)code,(LPARAM)(hitem))
#define TreeView_SelectItem(hwnd,hitem) TreeView_Select(hwnd,hitem,TVGN_CARET)
#define TreeView_SelectDropTarget(hwnd,hitem) TreeView_Select(hwnd,hitem,TVGN_DROPHILITE)
#define TreeView_SelectSetFirstVisible(hwnd,hitem) TreeView_Select(hwnd,hitem,TVGN_FIRSTVISIBLE)
#define TreeView_GetItem(hwnd,pitem) SendMessage((hwnd),TVM_GETITEM,0,(LPARAM)(TV_ITEM *)(pitem))
#define TreeView_SetItem(hwnd,pitem) (int)SendMessage((hwnd),TVM_SETITEM,0,(LPARAM)(TV_ITEM *)(pitem))
#define TreeView_EditLabel(hwnd,hitem) (HWND)SendMessage((hwnd),TVM_EDITLABEL,0,(LPARAM)(HTREEITEM)(hitem))
#define TreeView_GetEditControl(h) (HWND)SendMessage((h),TVM_GETEDITCONTROL,0,0)
#define TreeView_GetVisibleCount(hwnd) (unsigned int)SendMessage((hwnd),TVM_GETVISIBLECOUNT,0,0)
#define TreeView_HitTest(h,lpht) (HTREEITEM)SendMessage((h),TVM_HITTEST,0,(LPARAM)(LPTV_HITTESTINFO)(lpht))
#define TreeView_CreateDragImage(hwnd,hitem) (HIMAGELIST)SendMessage((hwnd),TVM_CREATEDRAGIMAGE,0,(LPARAM)(hitem))
#define TreeView_SortChildren(h,hitem,r) (BOOL)SendMessage((h),TVM_SORTCHILDREN,(WPARAM)r,(LPARAM)(hitem))
#define TreeView_EnsureVisible(hwnd,hitem) (BOOL)SendMessage((hwnd),TVM_ENSUREVISIBLE,0,(LPARAM)(hitem))
#define TreeView_SortChildrenCB(h,p,recurse) SendMessage((h),TVM_SORTCHILDRENCB,(WPARAM)recurse,(LPARAM)(p))
#define TreeView_EndEditLabelNow(hwnd,fCancel) SendMessage((hwnd),TVM_ENDEDITLABELNOW,(WPARAM)fCancel,0)
#define TreeView_GetISearchString(h,lpsz) SendMessage((h),TVM_GETISEARCHSTRING,0,(LPARAM)(LPTSTR)lpsz)
#define TabCtrl_GetImageList(h) SendMessage((h),TCM_GETIMAGELIST,0,0)
#define TabCtrl_SetImageList(hwnd,himl) SendMessage((hwnd),TCM_SETIMAGELIST,0,(LPARAM)(himl))
#define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd),TCM_GETITEMCOUNT,0,0)
#define TabCtrl_GetItem(hwnd,iItem,pitem) SendMessage((hwnd),TCM_GETITEM,(WPARAM)iItem,(LPARAM)(TC_ITEM *)(pitem))
#define TabCtrl_SetItem(hwnd,iItem,pitem) SendMessage((hwnd),TCM_SETITEM,(WPARAM)iItem,(LPARAM)(TC_ITEM *)(pitem))
#define TabCtrl_InsertItem(h,iItem,pitem) SendMessage((h),TCM_INSERTITEM,(WPARAM)iItem,(LPARAM)(TC_ITEM *)(pitem))
#define TabCtrl_DeleteItem(hwnd,i) SendMessage((hwnd),TCM_DELETEITEM,(WPARAM)(int)(i),0)
#define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd),TCM_DELETEALLITEMS,0,0)
#define TabCtrl_GetItemRect(hwnd,i,prc) SendMessage((hwnd),TCM_GETITEMRECT,(WPARAM)(i),(LPARAM)(prc))
#define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd),TCM_GETCURSEL,0,0)
#define TabCtrl_SetCurSel(hwnd,i) SendMessage((hwnd),TCM_SETCURSEL,(WPARAM)i,0)
#define TabCtrl_HitTest(hwndTC,pinfo) SendMessage((hwndTC),TCM_HITTEST,0,(LPARAM)(TC_HITTESTINFO *)(pinfo))
#define TabCtrl_SetItemExtra(hwndTC,cb) SendMessage((hwndTC),TCM_SETITEMEXTRA,(WPARAM)(cb),0)
#define TabCtrl_AdjustRect(hwnd,bLarger,prc) SendMessage(hwnd,TCM_ADJUSTRECT,(WPARAM)bLarger,(LPARAM)(RECT *)prc)
#define TabCtrl_SetItemSize(hwnd,x,y) SendMessage((hwnd),TCM_SETITEMSIZE,0,MAKELPARAM(x,y))
#define TabCtrl_RemoveImage(hwnd,i) SendMessage((hwnd),TCM_REMOVEIMAGE,i,0)
#define TabCtrl_SetPadding(hwnd,cx,cy) SendMessage((hwnd),TCM_SETPADDING,0,MAKELPARAM(cx,cy))
#define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd),TCM_GETROWCOUNT,0,0)
#define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd),TCM_GETTOOLTIPS,0,0)
#define TabCtrl_SetToolTips(hwnd,hwndTT) SendMessage((hwnd),TCM_SETTOOLTIPS,(WPARAM)hwndTT,0)
#define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd),TCM_GETCURFOCUS,0,0)
#define TabCtrl_SetCurFocus(hwnd,i) SendMessage((hwnd),TCM_SETCURFOCUS,i,0)
#define CommDlg_OpenSave_GetSpecA(_hdlg,_psz,_cbmax) SNDMSG(_hdlg,CDM_GETSPEC,(WPARAM)_cbmax,(LPARAM)_psz)
#define CommDlg_OpenSave_GetSpecW(_hdlg,_psz,_cbmax) SNDMSG(_hdlg,CDM_GETSPEC,(WPARAM)_cbmax,(LPARAM)_psz)
#define CommDlg_OpenSave_GetFilePathA(_hdlg,_psz,_cbmax) SNDMSG(_hdlg,CDM_GETFILEPATH,(WPARAM)_cbmax,(LPARAM)(LPSTR)_psz)
#define CommDlg_OpenSave_GetFilePathW(_hdlg,_psz,_cbmax) SNDMSG(_hdlg,CDM_GETFILEPATH,(WPARAM)_cbmax,(LPARAM)(LPWSTR)_psz)
#define CommDlg_OpenSave_GetFolderPathA(_hdlg,_psz,_cbmax) SNDMSG(_hdlg,CDM_GETFOLDERPATH,(WPARAM)_cbmax,(LPARAM)(LPSTR)_psz)
#define CommDlg_OpenSave_GetFolderPathW(_hdlg,_psz,_cbmax) SNDMSG(_hdlg,CDM_GETFOLDERPATH,(WPARAM)_cbmax,(LPARAM)(LPWSTR)_psz)
#define CommDlg_OpenSave_GetFolderIDList(_hdlg,_pidl,_cbmax) SNDMSG(_hdlg,CDM_GETFOLDERIDLIST,(WPARAM)_cbmax,(LPARAM)(LPVOID)_pidl)
#define CommDlg_OpenSave_SetControlText(h,id,text) SNDMSG(h,CDM_SETCONTROLTEXT,(WPARAM)id,(LPARAM)text)
#define CommDlg_OpenSave_HideControl(_hdlg,_id) SNDMSG(_hdlg,CDM_HIDECONTROL,(WPARAM)_id,0)
#define CommDlg_OpenSave_SetDefExt(h,psz) SNDMSG(h,CDM_SETDEFEXT,0,(LPARAM)psz)
LONG STDCALL RegCloseKey (HKEY);
LONG STDCALL RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
LONG STDCALL RegFlushKey(HKEY);
LONG STDCALL RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,LPDWORD);
LONG STDCALL RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL);
BOOL STDCALL IsValidCodePage(UINT);
UINT STDCALL GetACP(void);
UINT STDCALL GetOEMCP(void);
BOOL STDCALL GetCPInfo(UINT,LPCPINFO);
BOOL STDCALL IsDBCSLeadByte(BYTE);
BOOL STDCALL IsDBCSLeadByteEx(UINT,BYTE);
int STDCALL MultiByteToWideChar(UINT,DWORD,LPCSTR,int,LPWSTR,int);
int STDCALL WideCharToMultiByte(UINT,DWORD,LPCWSTR,int,LPSTR,int,LPCSTR,LPBOOL);
BOOL STDCALL IsValidLocale(LCID,DWORD);
LCID STDCALL ConvertDefaultLocale(LCID);
LCID STDCALL GetThreadLocale(void);
BOOL STDCALL SetThreadLocale(LCID);
LANGID STDCALL GetSystemDefaultLangID(void);
LANGID STDCALL GetUserDefaultLangID(void);
LCID STDCALL GetSystemDefaultLCID(void);
LCID STDCALL GetUserDefaultLCID(void);
BOOL STDCALL ReadConsoleOutputAttribute(HANDLE,LPWORD,DWORD,COORD,LPDWORD);
BOOL STDCALL WriteConsoleOutputAttribute(HANDLE,CONST WORD *,DWORD,COORD,LPDWORD);
BOOL STDCALL FillConsoleOutputAttribute(HANDLE,WORD,DWORD,COORD,LPDWORD);
BOOL STDCALL GetConsoleMode(HANDLE,LPDWORD);
BOOL STDCALL GetNumberOfConsoleInputEvents(HANDLE,LPDWORD);
BOOL STDCALL GetConsoleScreenBufferInfo(HANDLE,PCONSOLE_SCREEN_BUFFER_INFO);
COORD STDCALL GetLargestConsoleWindowSize(HANDLE);
BOOL STDCALL GetConsoleCursorInfo(HANDLE,PCONSOLE_CURSOR_INFO);
BOOL STDCALL GetNumberOfConsoleMouseButtons(LPDWORD);
BOOL STDCALL SetConsoleMode(HANDLE,DWORD);
BOOL STDCALL SetConsoleActiveScreenBuffer(HANDLE);
BOOL STDCALL FlushConsoleInputBuffer(HANDLE);
BOOL STDCALL SetConsoleScreenBufferSize(HANDLE,COORD);
BOOL STDCALL SetConsoleCursorPosition(HANDLE,COORD);
BOOL STDCALL SetConsoleCursorInfo(HANDLE,CONST CONSOLE_CURSOR_INFO *);
BOOL STDCALL SetConsoleWindowInfo(HANDLE,BOOL,CONST SMALL_RECT *);
BOOL STDCALL SetConsoleTextAttribute(HANDLE,WORD);
BOOL STDCALL SetConsoleCtrlHandler(PHANDLER_ROUTINE,BOOL);
BOOL STDCALL GenerateConsoleCtrlEvent(DWORD,DWORD);
BOOL STDCALL AllocConsole(VOID);
BOOL STDCALL FreeConsole(VOID);
HANDLE STDCALL CreateConsoleScreenBuffer(DWORD,DWORD,CONST SECURITY_ATTRIBUTES *,DWORD,LPVOID);
UINT STDCALL GetConsoleCP(VOID);
BOOL STDCALL SetConsoleCP(UINT);
UINT STDCALL GetConsoleOutputCP(VOID);
BOOL STDCALL SetConsoleOutputCP(UINT);
DWORD STDCALL WNetConnectionDialog(HWND,DWORD);
DWORD STDCALL WNetDisconnectDialog(HWND,DWORD);
DWORD STDCALL WNetCloseEnum( HANDLE);
BOOL STDCALL CloseServiceHandle(SC_HANDLE);
BOOL STDCALL ControlService(SC_HANDLE,DWORD,LPSERVICE_STATUS);
BOOL STDCALL DeleteService( SC_HANDLE);
SC_LOCK STDCALL LockServiceDatabase(SC_HANDLE);
BOOL STDCALL NotifyBootConfigStatus(BOOL);
BOOL STDCALL QueryServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
BOOL STDCALL QueryServiceStatus(SC_HANDLE,LPSERVICE_STATUS);
BOOL STDCALL SetServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
BOOL STDCALL SetServiceStatus(SERVICE_STATUS_HANDLE,LPSERVICE_STATUS);
BOOL STDCALL UnlockServiceDatabase(SC_LOCK);
#define MakeProcInstance(a,b) (a)
#define FreeProcInstance(a)	(a)
#define AnsiToOem CharToOemA
#define OemToAnsi OemToCharA
#define AnsiToOemBuff CharToOemBuffA
#define OemToAnsiBuff OemToCharBuffA
#define AnsiUpper CharUpperA
#define AnsiUpperBuff CharUpperBuffA
#define AnsiLower CharLowerA
#define AnsiLowerBuff CharLowerBuffA
#define AnsiNext CharNextA
#define AnsiPrev CharPrevA
#define DefineHandleTable(w) ((w),TRUE)
#define LimitEmsPages(dw)
#define SetSwapAreaSize(w) (w)
#define LockSegment(w) GlobalFix((HANDLE)(w))
#define UnlockSegment(w) GlobalUnfix((HANDLE)(w))
#define GetCurrentTime() GetTickCount()
#define Yield()
#define ZeroMemory RtlZeroMemory
#define RtlZeroMemory(dst,len) memset((dst),0,len)
/* Functions for tlhelp32 */
HANDLE WINAPI CreateToolhelp32Snapshot(DWORD dwFlags,DWORD th32ProcessID);
BOOL WINAPI Heap32ListFirst(HANDLE,LPHEAPLIST32);
BOOL WINAPI Heap32ListNext(HANDLE,LPHEAPLIST32);
BOOL WINAPI Heap32First(LPHEAPENTRY32,DWORD,DWORD);
BOOL WINAPI Heap32Next(LPHEAPENTRY32);
BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,DWORD,LPDWORD);
BOOL WINAPI Process32First(HANDLE,LPPROCESSENTRY32);
BOOL WINAPI Process32Next(HANDLE,LPPROCESSENTRY32);
BOOL WINAPI Thread32First(HANDLE,LPTHREADENTRY32);
BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32);
BOOL WINAPI Module32First(HANDLE,LPMODULEENTRY32);
BOOL WINAPI Module32Next(HANDLE,LPMODULEENTRY32);
#define MAKE_HRESULT(s,f,c) ((HRESULT)(((DWORD)(s)<<31)|((DWORD)(f)<<16)|((DWORD)(c))))
#ifdef RC_INVOKED
#define _HRESULT_TYPEDEF_(_sc) _sc
#else 
#define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
#endif
#define E_FAIL	_HRESULT_TYPEDEF_(0x80004005L)
#define E_UNEXPECTED	_HRESULT_TYPEDEF_(0x8000FFFFL)
#define E_NOTIMPL	_HRESULT_TYPEDEF_(0x80004001L)
#define E_OUTOFMEMORY	_HRESULT_TYPEDEF_(0x8007000EL)
#define E_INVALIDARG	_HRESULT_TYPEDEF_(0x80070057L)
#define E_NOINTERFACE	_HRESULT_TYPEDEF_(0x80004002L)
#define E_POINTER	_HRESULT_TYPEDEF_(0x80004003L)
#define E_HANDLE	_HRESULT_TYPEDEF_(0x80070006L)
/* Errors.h WIN32 error codes Numerical order */
#define NO_ERROR 0
#define ERROR_SUCCESS 0
#define ERROR_INVALID_FUNCTION 1
#define ERROR_FILE_NOT_FOUND 2
#define ERROR_PATH_NOT_FOUND 3
#define ERROR_TOO_MANY_OPEN_FILES 4
#define ERROR_ACCESS_DENIED 5
#define ERROR_INVALID_HANDLE 6
#define ERROR_ARENA_TRASHED 7
#define ERROR_NOT_ENOUGH_MEMORY 8
#define ERROR_INVALID_BLOCK 9
#define ERROR_BAD_ENVIRONMENT 10
#define ERROR_BAD_FORMAT 11
#define ERROR_INVALID_ACCESS 12
#define ERROR_INVALID_DATA 13
#define ERROR_OUTOFMEMORY 14
#define ERROR_INVALID_DRIVE 15
#define ERROR_CURRENT_DIRECTORY 16
#define ERROR_NOT_SAME_DEVICE 17
#define ERROR_NO_MORE_FILES 18
#define ERROR_WRITE_PROTECT 19
#define ERROR_BAD_UNIT 20
#define ERROR_NOT_READY 21
#define ERROR_BAD_COMMAND 22
#define ERROR_CRC 23
#define ERROR_BAD_LENGTH 24
#define ERROR_SEEK 25
#define ERROR_NOT_DOS_DISK 26
#define ERROR_SECTOR_NOT_FOUND 27
#define ERROR_OUT_OF_PAPER 28
#define ERROR_WRITE_FAULT 29
#define ERROR_READ_FAULT 30
#define ERROR_GEN_FAILURE 31
#define ERROR_SHARING_VIOLATION 32
#define ERROR_LOCK_VIOLATION 33
#define ERROR_WRONG_DISK 34
#define ERROR_SHARING_BUFFER_EXCEEDED 36
#define ERROR_HANDLE_EOF 38
#define ERROR_HANDLE_DISK_FULL 39
#define ERROR_NOT_SUPPORTED 50
#define ERROR_REM_NOT_LIST 51
#define ERROR_DUP_NAME 52
#define ERROR_BAD_NETPATH 53
#define ERROR_NETWORK_BUSY 54
#define ERROR_DEV_NOT_EXIST 55
#define ERROR_TOO_MANY_CMDS 56
#define ERROR_ADAP_HDW_ERR 57
#define ERROR_BAD_NET_RESP 58
#define ERROR_UNEXP_NET_ERR 59
#define ERROR_BAD_REM_ADAP 60
#define ERROR_PRINTQ_FULL 61
#define ERROR_NO_SPOOL_SPACE 62
#define ERROR_PRINT_CANCELLED 63
#define ERROR_NETNAME_DELETED 64
#define ERROR_NETWORK_ACCESS_DENIED 65
#define ERROR_BAD_DEV_TYPE 66
#define ERROR_BAD_NET_NAME 67
#define ERROR_TOO_MANY_NAMES 68
#define ERROR_TOO_MANY_SESS 69
#define ERROR_SHARING_PAUSED 70
#define ERROR_REQ_NOT_ACCEP 71
#define ERROR_REDIR_PAUSED 72
#define ERROR_FILE_EXISTS 80
#define ERROR_CANNOT_MAKE 82
#define ERROR_FAIL_I24 83
#define ERROR_OUT_OF_STRUCTURES 84
#define ERROR_ALREADY_ASSIGNED 85
#define ERROR_INVALID_PASSWORD 86
#define ERROR_INVALID_PARAMETER 87
#define ERROR_NET_WRITE_FAULT 88
#define ERROR_NO_PROC_SLOTS 89
#define ERROR_TOO_MANY_SEMAPHORES 100
#define ERROR_EXCL_SEM_ALREADY_OWNED 101
#define ERROR_SEM_IS_SET 102
#define ERROR_TOO_MANY_SEM_REQUESTS 103
#define ERROR_INVALID_AT_INTERRUPT_TIME 104
#define ERROR_SEM_OWNER_DIED 105
#define ERROR_SEM_USER_LIMIT 106
#define ERROR_DISK_CHANGE 107
#define ERROR_DRIVE_LOCKED 108
#define ERROR_BROKEN_PIPE 109
#define ERROR_OPEN_FAILED 110
#define ERROR_BUFFER_OVERFLOW 111
#define ERROR_DISK_FULL 112
#define ERROR_NO_MORE_SEARCH_HANDLES 113
#define ERROR_INVALID_TARGET_HANDLE 114
#define ERROR_INVALID_CATEGORY 117
#define ERROR_INVALID_VERIFY_SWITCH 118
#define ERROR_BAD_DRIVER_LEVEL 119
#define ERROR_CALL_NOT_IMPLEMENTED 120
#define ERROR_SEM_TIMEOUT 121
#define ERROR_INSUFFICIENT_BUFFER 122
#define ERROR_INVALID_NAME 123
#define ERROR_INVALID_LEVEL 124
#define ERROR_NO_VOLUME_LABEL 125
#define ERROR_MOD_NOT_FOUND 126
#define ERROR_PROC_NOT_FOUND 127
#define ERROR_WAIT_NO_CHILDREN 128
#define ERROR_CHILD_NOT_COMPLETE 129
#define ERROR_DIRECT_ACCESS_HANDLE 130
#define ERROR_NEGATIVE_SEEK 131
#define ERROR_SEEK_ON_DEVICE 132
#define ERROR_IS_JOIN_TARGET 133
#define ERROR_IS_JOINED 134
#define ERROR_IS_SUBSTED 135
#define ERROR_NOT_JOINED 136
#define ERROR_NOT_SUBSTED 137
#define ERROR_JOIN_TO_JOIN 138
#define ERROR_SUBST_TO_SUBST 139
#define ERROR_JOIN_TO_SUBST 140
#define ERROR_SUBST_TO_JOIN 141
#define ERROR_BUSY_DRIVE 142
#define ERROR_SAME_DRIVE 143
#define ERROR_DIR_NOT_ROOT 144
#define ERROR_DIR_NOT_EMPTY 145
#define ERROR_IS_SUBST_PATH 146
#define ERROR_IS_JOIN_PATH 147
#define ERROR_PATH_BUSY 148
#define ERROR_IS_SUBST_TARGET 149
#define ERROR_SYSTEM_TRACE 150
#define ERROR_INVALID_EVENT_COUNT 151
#define ERROR_TOO_MANY_MUXWAITERS 152
#define ERROR_INVALID_LIST_FORMAT 153
#define ERROR_LABEL_TOO_LONG 154
#define ERROR_TOO_MANY_TCBS 155
#define ERROR_SIGNAL_REFUSED 156
#define ERROR_DISCARDED 157
#define ERROR_NOT_LOCKED 158
#define ERROR_BAD_THREADID_ADDR 159
#define ERROR_BAD_ARGUMENTS 160
#define ERROR_BAD_PATHNAME 161
#define ERROR_SIGNAL_PENDING 162
#define ERROR_MAX_THRDS_REACHED 164
#define ERROR_LOCK_FAILED 167
#define ERROR_BUSY 170
#define ERROR_CANCEL_VIOLATION 173
#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174
#define ERROR_INVALID_SEGMENT_NUMBER 180
#define ERROR_INVALID_ORDINAL 182
#define ERROR_ALREADY_EXISTS 183
#define ERROR_INVALID_FLAG_NUMBER 186
#define ERROR_SEM_NOT_FOUND 187
#define ERROR_INVALID_STARTING_CODESEG 188
#define ERROR_INVALID_STACKSEG 189
#define ERROR_INVALID_MODULETYPE 190
#define ERROR_INVALID_EXE_SIGNATURE 191
#define ERROR_EXE_MARKED_INVALID 192
#define ERROR_BAD_EXE_FORMAT 193
#define ERROR_ITERATED_DATA_EXCEEDS_64k 194
#define ERROR_INVALID_MINALLOCSIZE 195
#define ERROR_DYNLINK_FROM_INVALID_RING 196
#define ERROR_IOPL_NOT_ENABLED 197
#define ERROR_INVALID_SEGDPL 198
#define ERROR_AUTODATASEG_EXCEEDS_64k 199
#define ERROR_RING2SEG_MUST_BE_MOVABLE 200
#define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 201
#define ERROR_INFLOOP_IN_RELOC_CHAIN 202
#define ERROR_ENVVAR_NOT_FOUND 203
#define ERROR_NO_SIGNAL_SENT 205
#define ERROR_FILENAME_EXCED_RANGE 206
#define ERROR_RING2_STACK_IN_USE 207
#define ERROR_META_EXPANSION_TOO_LONG 208
#define ERROR_INVALID_SIGNAL_NUMBER 209
#define ERROR_THREAD_1_INACTIVE 210
#define ERROR_LOCKED 212
#define ERROR_TOO_MANY_MODULES 214
#define ERROR_NESTING_NOT_ALLOWED 215
#define ERROR_BAD_PIPE 230
#define ERROR_PIPE_BUSY 231
#define ERROR_NO_DATA 232
#define ERROR_PIPE_NOT_CONNECTED 233
#define ERROR_MORE_DATA 234
#define ERROR_VC_DISCONNECTED 240
#define ERROR_INVALID_EA_NAME 254
#define ERROR_EA_LIST_INCONSISTENT 255
#define ERROR_NO_MORE_ITEMS 259
#define ERROR_CANNOT_COPY 266
#define ERROR_DIRECTORY 267
#define ERROR_EAS_DIDNT_FIT 275
#define ERROR_EA_FILE_CORRUPT 276
#define ERROR_EA_TABLE_FULL 277
#define ERROR_INVALID_EA_HANDLE 278
#define ERROR_EAS_NOT_SUPPORTED 282
#define ERROR_NOT_OWNER 288
#define ERROR_TOO_MANY_POSTS 298
#define ERROR_PARTIAL_COPY 299
#define ERROR_MR_MID_NOT_FOUND 317
#define ERROR_INVALID_ADDRESS 487
#define ERROR_ARITHMETIC_OVERFLOW 534
#define ERROR_PIPE_CONNECTED 535
#define ERROR_PIPE_LISTENING 536
#define ERROR_EA_ACCESS_DENIED 994
#define ERROR_OPERATION_ABORTED 995
#define ERROR_IO_INCOMPLETE 996
#define ERROR_IO_PENDING 997
#define ERROR_NOACCESS 998
#define ERROR_SWAPERROR 999
#define ERROR_STACK_OVERFLOW 1001
#define ERROR_INVALID_MESSAGE 1002
#define ERROR_CAN_NOT_COMPLETE 1003
#define ERROR_INVALID_FLAGS 1004
#define ERROR_UNRECOGNIZED_VOLUME 1005
#define ERROR_FILE_INVALID 1006
#define ERROR_FULLSCREEN_MODE 1007
#define ERROR_NO_TOKEN 1008
#define ERROR_BADDB 1009
#define ERROR_BADKEY 1010
#define ERROR_CANTOPEN 1011
#define ERROR_CANTREAD 1012
#define ERROR_CANTWRITE 1013
#define ERROR_REGISTRY_RECOVERED 1014
#define ERROR_REGISTRY_CORRUPT 1015
#define ERROR_REGISTRY_IO_FAILED 1016
#define ERROR_NOT_REGISTRY_FILE 1017
#define ERROR_KEY_DELETED 1018
#define ERROR_NO_LOG_SPACE 1019
#define ERROR_KEY_HAS_CHILDREN 1020
#define ERROR_CHILD_MUST_BE_VOLATILE 1021
#define ERROR_NOTIFY_ENUM_DIR 1022
#define ERROR_DEPENDENT_SERVICES_RUNNING 1051
#define ERROR_INVALID_SERVICE_CONTROL 1052
#define ERROR_SERVICE_REQUEST_TIMEOUT 1053
#define ERROR_SERVICE_NO_THREAD 1054
#define ERROR_SERVICE_DATABASE_LOCKED 1055
#define ERROR_SERVICE_ALREADY_RUNNING 1056
#define ERROR_INVALID_SERVICE_ACCOUNT 1057
#define ERROR_SERVICE_DISABLED 1058
#define ERROR_CIRCULAR_DEPENDENCY 1059
#define ERROR_SERVICE_DOES_NOT_EXIST 1060
#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061
#define ERROR_SERVICE_NOT_ACTIVE 1062
#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063
#define ERROR_EXCEPTION_IN_SERVICE 1064
#define ERROR_DATABASE_DOES_NOT_EXIST 1065
#define ERROR_SERVICE_SPECIFIC_ERROR 1066
#define ERROR_PROCESS_ABORTED 1067
#define ERROR_SERVICE_DEPENDENCY_FAIL 1068
#define ERROR_SERVICE_LOGON_FAILED 1069
#define ERROR_SERVICE_START_HANG 1070
#define ERROR_INVALID_SERVICE_LOCK 1071
#define ERROR_SERVICE_MARKED_FOR_DELETE 1072
#define ERROR_SERVICE_EXISTS 1073
#define ERROR_ALREADY_RUNNING_LKG 1074
#define ERROR_SERVICE_DEPENDENCY_DELETED 1075
#define ERROR_BOOT_ALREADY_ACCEPTED 1076
#define ERROR_SERVICE_NEVER_STARTED 1077
#define ERROR_DUPLICATE_SERVICE_NAME 1078
#define ERROR_END_OF_MEDIA 1100
#define ERROR_FILEMARK_DETECTED 1101
#define ERROR_BEGINNING_OF_MEDIA 1102
#define ERROR_SETMARK_DETECTED 1103
#define ERROR_NO_DATA_DETECTED 1104
#define ERROR_PARTITION_FAILURE 1105
#define ERROR_INVALID_BLOCK_LENGTH 1106
#define ERROR_DEVICE_NOT_PARTITIONED 1107
#define ERROR_UNABLE_TO_LOCK_MEDIA 1108
#define ERROR_UNABLE_TO_UNLOAD_MEDIA 1109
#define ERROR_MEDIA_CHANGED 1110
#define ERROR_BUS_RESET 1111
#define ERROR_NO_MEDIA_IN_DRIVE 1112
#define ERROR_NO_UNICODE_TRANSLATION 1113
#define ERROR_DLL_INIT_FAILED 1114
#define ERROR_SHUTDOWN_IN_PROGRESS 1115
#define ERROR_NO_SHUTDOWN_IN_PROGRESS 1116
#define ERROR_IO_DEVICE 1117
#define ERROR_SERIAL_NO_DEVICE 1118
#define ERROR_IRQ_BUSY 1119
#define ERROR_MORE_WRITES 1120
#define ERROR_COUNTER_TIMEOUT 1121
#define ERROR_FLOPPY_ID_MARK_NOT_FOUND 1122
#define ERROR_FLOPPY_WRONG_CYLINDER 1123
#define ERROR_FLOPPY_UNKNOWN_ERROR 1124
#define ERROR_FLOPPY_BAD_REGISTERS 1125
#define ERROR_DISK_RECALIBRATE_FAILED 1126
#define ERROR_DISK_OPERATION_FAILED 1127
#define ERROR_DISK_RESET_FAILED 1128
#define ERROR_EOM_OVERFLOW 1129
#define ERROR_NOT_ENOUGH_SERVER_MEMORY 1130
#define ERROR_POSSIBLE_DEADLOCK 1131
#define ERROR_MAPPED_ALIGNMENT 1132
#define ERROR_SET_POWER_STATE_VETOED 1140
#define ERROR_SET_POWER_STATE_FAILED 1141
#define ERROR_OLD_WIN_VERSION 1150
#define ERROR_APP_WRONG_OS 1151
#define ERROR_SINGLE_INSTANCE_APP 1152
#define ERROR_RMODE_APP 1153
#define ERROR_INVALID_DLL 1154
#define ERROR_NO_ASSOCIATION 1155
#define ERROR_DDE_FAIL 1156
#define ERROR_DLL_NOT_FOUND 1157
#define ERROR_BAD_USERNAME 2202
#define ERROR_NOT_CONNECTED 2250
#define ERROR_OPEN_FILES 2401
#define ERROR_ACTIVE_CONNECTIONS 2402
#define ERROR_DEVICE_IN_USE 2404
#define ERROR_BAD_DEVICE 1200
#define ERROR_CONNECTION_UNAVAIL 1201
#define ERROR_DEVICE_ALREADY_REMEMBERED 1202
#define ERROR_NO_NET_OR_BAD_PATH 1203
#define ERROR_BAD_PROVIDER 1204
#define ERROR_CANNOT_OPEN_PROFILE 1205
#define ERROR_BAD_PROFILE 1206
#define ERROR_NOT_CONTAINER 1207
#define ERROR_EXTENDED_ERROR 1208
#define ERROR_INVALID_GROUPNAME 1209
#define ERROR_INVALID_COMPUTERNAME 1210
#define ERROR_INVALID_EVENTNAME 1211
#define ERROR_INVALID_DOMAINNAME 1212
#define ERROR_INVALID_SERVICENAME 1213
#define ERROR_INVALID_NETNAME 1214
#define ERROR_INVALID_SHARENAME 1215
#define ERROR_INVALID_PASSWORDNAME 1216
#define ERROR_INVALID_MESSAGENAME 1217
#define ERROR_INVALID_MESSAGEDEST 1218
#define ERROR_SESSION_CREDENTIAL_CONFLICT 1219
#define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 1220
#define ERROR_DUP_DOMAINNAME 1221
#define ERROR_NO_NETWORK 1222
#define ERROR_CANCELLED 1223
#define ERROR_USER_MAPPED_FILE 1224
#define ERROR_CONNECTION_REFUSED 1225
#define ERROR_GRACEFUL_DISCONNECT 1226
#define ERROR_ADDRESS_ALREADY_ASSOCIATED 1227
#define ERROR_ADDRESS_NOT_ASSOCIATED 1228
#define ERROR_CONNECTION_INVALID 1229
#define ERROR_CONNECTION_ACTIVE 1230
#define ERROR_NETWORK_UNREACHABLE 1231
#define ERROR_HOST_UNREACHABLE 1232
#define ERROR_PROTOCOL_UNREACHABLE 1233
#define ERROR_PORT_UNREACHABLE 1234
#define ERROR_REQUEST_ABORTED 1235
#define ERROR_CONNECTION_ABORTED 1236
#define ERROR_RETRY 1237
#define ERROR_CONNECTION_COUNT_LIMIT 1238
#define ERROR_LOGIN_TIME_RESTRICTION 1239
#define ERROR_LOGIN_WKSTA_RESTRICTION 1240
#define ERROR_INCORRECT_ADDRESS 1241
#define ERROR_ALREADY_REGISTERED 1242
#define ERROR_SERVICE_NOT_FOUND 1243
#define ERROR_NOT_AUTHENTICATED 1244
#define ERROR_NOT_LOGGED_ON 1245
#define ERROR_CONTINUE 1246
#define ERROR_ALREADY_INITIALIZED 1247
#define ERROR_NO_MORE_DEVICES 1248
#define ERROR_NOT_ALL_ASSIGNED 1300
#define ERROR_SOME_NOT_MAPPED 1301
#define ERROR_NO_QUOTAS_FOR_ACCOUNT 1302
#define ERROR_LOCAL_USER_SESSION_KEY 1303
#define ERROR_NULL_LM_PASSWORD 1304
#define ERROR_UNKNOWN_REVISION 1305
#define ERROR_REVISION_MISMATCH 1306
#define ERROR_INVALID_OWNER 1307
#define ERROR_INVALID_PRIMARY_GROUP 1308
#define ERROR_NO_IMPERSONATION_TOKEN 1309
#define ERROR_CANT_DISABLE_MANDATORY 1310
#define ERROR_NO_LOGON_SERVERS 1311
#define ERROR_NO_SUCH_LOGON_SESSION 1312
#define ERROR_NO_SUCH_PRIVILEGE 1313
#define ERROR_PRIVILEGE_NOT_HELD 1314
#define ERROR_INVALID_ACCOUNT_NAME 1315
#define ERROR_USER_EXISTS 1316
#define ERROR_NO_SUCH_USER 1317
#define ERROR_GROUP_EXISTS 1318
#define ERROR_NO_SUCH_GROUP 1319
#define ERROR_MEMBER_IN_GROUP 1320
#define ERROR_MEMBER_NOT_IN_GROUP 1321
#define ERROR_LAST_ADMIN 1322
#define ERROR_WRONG_PASSWORD 1323
#define ERROR_ILL_FORMED_PASSWORD 1324
#define ERROR_PASSWORD_RESTRICTION 1325
#define ERROR_LOGON_FAILURE 1326
#define ERROR_ACCOUNT_RESTRICTION 1327
#define ERROR_INVALID_LOGON_HOURS 1328
#define ERROR_INVALID_WORKSTATION 1329
#define ERROR_PASSWORD_EXPIRED 1330
#define ERROR_ACCOUNT_DISABLED 1331
#define ERROR_NONE_MAPPED 1332
#define ERROR_TOO_MANY_LUIDS_REQUESTED 1333
#define ERROR_LUIDS_EXHAUSTED 1334
#define ERROR_INVALID_SUB_AUTHORITY 1335
#define ERROR_INVALID_ACL 1336
#define ERROR_INVALID_SID 1337
#define ERROR_INVALID_SECURITY_DESCR 1338
#define ERROR_BAD_INHERITANCE_ACL 1340
#define ERROR_SERVER_DISABLED 1341
#define ERROR_SERVER_NOT_DISABLED 1342
#define ERROR_INVALID_ID_AUTHORITY 1343
#define ERROR_ALLOTTED_SPACE_EXCEEDED 1344
#define ERROR_INVALID_GROUP_ATTRIBUTES 1345
#define ERROR_BAD_IMPERSONATION_LEVEL 1346
#define ERROR_CANT_OPEN_ANONYMOUS 1347
#define ERROR_BAD_VALIDATION_CLASS 1348
#define ERROR_BAD_TOKEN_TYPE 1349
#define ERROR_NO_SECURITY_ON_OBJECT 1350
#define ERROR_CANT_ACCESS_DOMAIN_INFO 1351
#define ERROR_INVALID_SERVER_STATE 1352
#define ERROR_INVALID_DOMAIN_STATE 1353
#define ERROR_INVALID_DOMAIN_ROLE 1354
#define ERROR_NO_SUCH_DOMAIN 1355
#define ERROR_DOMAIN_EXISTS 1356
#define ERROR_DOMAIN_LIMIT_EXCEEDED 1357
#define ERROR_INTERNAL_DB_CORRUPTION 1358
#define ERROR_INTERNAL_ERROR 1359
#define ERROR_GENERIC_NOT_MAPPED 1360
#define ERROR_BAD_DESCRIPTOR_FORMAT 1361
#define ERROR_NOT_LOGON_PROCESS 1362
#define ERROR_LOGON_SESSION_EXISTS 1363
#define ERROR_NO_SUCH_PACKAGE 1364
#define ERROR_BAD_LOGON_SESSION_STATE 1365
#define ERROR_LOGON_SESSION_COLLISION 1366
#define ERROR_INVALID_LOGON_TYPE 1367
#define ERROR_CANNOT_IMPERSONATE 1368
#define ERROR_RXACT_INVALID_STATE 1369
#define ERROR_RXACT_COMMIT_FAILURE 1370
#define ERROR_SPECIAL_ACCOUNT 1371
#define ERROR_SPECIAL_GROUP 1372
#define ERROR_SPECIAL_USER 1373
#define ERROR_MEMBERS_PRIMARY_GROUP 1374
#define ERROR_TOKEN_ALREADY_IN_USE 1375
#define ERROR_NO_SUCH_ALIAS 1376
#define ERROR_MEMBER_NOT_IN_ALIAS 1377
#define ERROR_MEMBER_IN_ALIAS 1378
#define ERROR_ALIAS_EXISTS 1379
#define ERROR_LOGON_NOT_GRANTED 1380
#define ERROR_TOO_MANY_SECRETS 1381
#define ERROR_SECRET_TOO_LONG 1382
#define ERROR_INTERNAL_DB_ERROR 1383
#define ERROR_TOO_MANY_CONTEXT_IDS 1384
#define ERROR_LOGON_TYPE_NOT_GRANTED 1385
#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386
#define ERROR_NO_SUCH_MEMBER 1387
#define ERROR_INVALID_MEMBER 1388
#define ERROR_TOO_MANY_SIDS 1389
#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390
#define ERROR_NO_INHERITANCE 1391
#define ERROR_FILE_CORRUPT 1392
#define ERROR_DISK_CORRUPT 1393
#define ERROR_NO_USER_SESSION_KEY 1394
#define ERROR_LICENSE_QUOTA_EXCEEDED 1395
#define ERROR_INVALID_WINDOW_HANDLE 1400
#define ERROR_INVALID_MENU_HANDLE 1401
#define ERROR_INVALID_CURSOR_HANDLE 1402
#define ERROR_INVALID_ACCEL_HANDLE 1403
#define ERROR_INVALID_HOOK_HANDLE 1404
#define ERROR_INVALID_DWP_HANDLE 1405
#define ERROR_TLW_WITH_WSCHILD 1406
#define ERROR_CANNOT_FIND_WND_CLASS 1407
#define ERROR_WINDOW_OF_OTHER_THREAD 1408
#define ERROR_HOTKEY_ALREADY_REGISTERED 1409
#define ERROR_CLASS_ALREADY_EXISTS 1410
#define ERROR_CLASS_DOES_NOT_EXIST 1411
#define ERROR_CLASS_HAS_WINDOWS 1412
#define ERROR_INVALID_INDEX 1413
#define ERROR_INVALID_ICON_HANDLE 1414
#define ERROR_PRIVATE_DIALOG_INDEX 1415
#define ERROR_LISTBOX_ID_NOT_FOUND 1416
#define ERROR_NO_WILDCARD_CHARACTERS 1417
#define ERROR_CLIPBOARD_NOT_OPEN 1418
#define ERROR_HOTKEY_NOT_REGISTERED 1419
#define ERROR_WINDOW_NOT_DIALOG 1420
#define ERROR_CONTROL_ID_NOT_FOUND 1421
#define ERROR_INVALID_COMBOBOX_MESSAGE 1422
#define ERROR_WINDOW_NOT_COMBOBOX 1423
#define ERROR_INVALID_EDIT_HEIGHT 1424
#define ERROR_DC_NOT_FOUND 1425
#define ERROR_INVALID_HOOK_FILTER 1426
#define ERROR_INVALID_FILTER_PROC 1427
#define ERROR_HOOK_NEEDS_HMOD 1428
#define ERROR_GLOBAL_ONLY_HOOK 1429
#define ERROR_JOURNAL_HOOK_SET 1430
#define ERROR_HOOK_NOT_INSTALLED 1431
#define ERROR_INVALID_LB_MESSAGE 1432
#define ERROR_SETCOUNT_ON_BAD_LB 1433
#define ERROR_LB_WITHOUT_TABSTOPS 1434
#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435
#define ERROR_CHILD_WINDOW_MENU 1436
#define ERROR_NO_SYSTEM_MENU 1437
#define ERROR_INVALID_MSGBOX_STYLE 1438
#define ERROR_INVALID_SPI_VALUE 1439
#define ERROR_SCREEN_ALREADY_LOCKED 1440
#define ERROR_HWNDS_HAVE_DIFF_PARENT 1441
#define ERROR_NOT_CHILD_WINDOW 1442
#define ERROR_INVALID_GW_COMMAND 1443
#define ERROR_INVALID_THREAD_ID 1444
#define ERROR_NON_MDICHILD_WINDOW 1445
#define ERROR_POPUP_ALREADY_ACTIVE 1446
#define ERROR_NO_SCROLLBARS 1447
#define ERROR_INVALID_SCROLLBAR_RANGE 1448
#define ERROR_INVALID_SHOWWIN_COMMAND 1449
#define ERROR_NO_SYSTEM_RESOURCES 1450
#define ERROR_NONPAGED_SYSTEM_RESOURCES 1451
#define ERROR_PAGED_SYSTEM_RESOURCES 1452
#define ERROR_WORKING_SET_QUOTA 1453
#define ERROR_PAGEFILE_QUOTA 1454
#define ERROR_COMMITMENT_LIMIT 1455
#define ERROR_MENU_ITEM_NOT_FOUND 1456
#define ERROR_EVENTLOG_FILE_CORRUPT 1500
#define ERROR_EVENTLOG_CANT_START 1501
#define ERROR_LOG_FILE_FULL 1502
#define ERROR_EVENTLOG_FILE_CHANGED 1503
#define RPC_S_INVALID_STRING_BINDING 1700
#define RPC_S_WRONG_KIND_OF_BINDING 1701
#define RPC_S_INVALID_BINDING 1702
#define RPC_S_PROTSEQ_NOT_SUPPORTED 1703
#define RPC_S_INVALID_RPC_PROTSEQ 1704
#define RPC_S_INVALID_STRING_UUID 1705
#define RPC_S_INVALID_ENDPOINT_FORMAT 1706
#define RPC_S_INVALID_NET_ADDR 1707
#define RPC_S_NO_ENDPOINT_FOUND 1708
#define RPC_S_INVALID_TIMEOUT 1709
#define RPC_S_OBJECT_NOT_FOUND 1710
#define RPC_S_ALREADY_REGISTERED 1711
#define RPC_S_TYPE_ALREADY_REGISTERED 1712
#define RPC_S_ALREADY_LISTENING 1713
#define RPC_S_NO_PROTSEQS_REGISTERED 1714
#define RPC_S_NOT_LISTENING 1715
#define RPC_S_UNKNOWN_MGR_TYPE 1716
#define RPC_S_UNKNOWN_IF 1717
#define RPC_S_NO_BINDINGS 1718
#define RPC_S_NO_PROTSEQS 1719
#define RPC_S_CANT_CREATE_ENDPOINT 1720
#define RPC_S_OUT_OF_RESOURCES 1721
#define RPC_S_SERVER_UNAVAILABLE 1722
#define RPC_S_SERVER_TOO_BUSY 1723
#define RPC_S_INVALID_NETWORK_OPTIONS 1724
#define RPC_S_NO_CALL_ACTIVE 1725
#define RPC_S_CALL_FAILED 1726
#define RPC_S_CALL_FAILED_DNE 1727
#define RPC_S_PROTOCOL_ERROR 1728
#define RPC_S_UNSUPPORTED_TRANS_SYN 1730
#define RPC_S_UNSUPPORTED_TYPE 1732
#define RPC_S_INVALID_TAG 1733
#define RPC_S_INVALID_BOUND 1734
#define RPC_S_NO_ENTRY_NAME 1735
#define RPC_S_INVALID_NAME_SYNTAX 1736
#define RPC_S_UNSUPPORTED_NAME_SYNTAX 1737
#define RPC_S_UUID_NO_ADDRESS 1739
#define RPC_S_DUPLICATE_ENDPOINT 1740
#define RPC_S_UNKNOWN_AUTHN_TYPE 1741
#define RPC_S_MAX_CALLS_TOO_SMALL 1742
#define RPC_S_STRING_TOO_LONG 1743
#define RPC_S_PROTSEQ_NOT_FOUND 1744
#define RPC_S_PROCNUM_OUT_OF_RANGE 1745
#define RPC_S_BINDING_HAS_NO_AUTH 1746
#define RPC_S_UNKNOWN_AUTHN_SERVICE 1747
#define RPC_S_UNKNOWN_AUTHN_LEVEL 1748
#define RPC_S_INVALID_AUTH_IDENTITY 1749
#define RPC_S_UNKNOWN_AUTHZ_SERVICE 1750
#define EPT_S_INVALID_ENTRY 1751
#define EPT_S_CANT_PERFORM_OP 1752
#define EPT_S_NOT_REGISTERED 1753
#define RPC_S_NOTHING_TO_EXPORT 1754
#define RPC_S_INCOMPLETE_NAME 1755
#define RPC_S_INVALID_VERS_OPTION 1756
#define RPC_S_NO_MORE_MEMBERS 1757
#define RPC_S_NOT_ALL_OBJS_UNEXPORTED 1758
#define RPC_S_INTERFACE_NOT_FOUND 1759
#define RPC_S_ENTRY_ALREADY_EXISTS 1760
#define RPC_S_ENTRY_NOT_FOUND 1761
#define RPC_S_NAME_SERVICE_UNAVAILABLE 1762
#define RPC_S_INVALID_NAF_ID 1763
#define RPC_S_CANNOT_SUPPORT 1764
#define RPC_S_NO_CONTEXT_AVAILABLE 1765
#define RPC_S_INTERNAL_ERROR 1766
#define RPC_S_ZERO_DIVIDE 1767
#define RPC_S_ADDRESS_ERROR 1768
#define RPC_S_FP_DIV_ZERO 1769
#define RPC_S_FP_UNDERFLOW 1770
#define RPC_S_FP_OVERFLOW 1771
#define RPC_X_NO_MORE_ENTRIES 1772
#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 1773
#define RPC_X_SS_CHAR_TRANS_SHORT_FILE 1774
#define RPC_X_SS_IN_NULL_CONTEXT 1775
#define RPC_X_SS_CONTEXT_DAMAGED 1777
#define RPC_X_SS_HANDLES_MISMATCH 1778
#define RPC_X_SS_CANNOT_GET_CALL_HANDLE 1779
#define RPC_X_NULL_REF_POINTER 1780
#define RPC_X_ENUM_VALUE_OUT_OF_RANGE 1781
#define RPC_X_BYTE_COUNT_TOO_SMALL 1782
#define RPC_X_BAD_STUB_DATA 1783
#define ERROR_INVALID_USER_BUFFER 1784
#define ERROR_UNRECOGNIZED_MEDIA 1785
#define ERROR_NO_TRUST_LSA_SECRET 1786
#define ERROR_NO_TRUST_SAM_ACCOUNT 1787
#define ERROR_TRUSTED_DOMAIN_FAILURE 1788
#define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789
#define ERROR_TRUST_FAILURE 1790
#define RPC_S_CALL_IN_PROGRESS 1791
#define ERROR_NETLOGON_NOT_STARTED 1792
#define ERROR_ACCOUNT_EXPIRED 1793
#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794
#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795
#define ERROR_UNKNOWN_PORT 1796
#define ERROR_UNKNOWN_PRINTER_DRIVER 1797
#define ERROR_UNKNOWN_PRINTPROCESSOR 1798
#define ERROR_INVALID_SEPARATOR_FILE 1799
#define ERROR_INVALID_PRIORITY 1800
#define ERROR_INVALID_PRINTER_NAME 1801
#define ERROR_PRINTER_ALREADY_EXISTS 1802
#define ERROR_INVALID_PRINTER_COMMAND 1803
#define ERROR_INVALID_DATATYPE 1804
#define ERROR_INVALID_ENVIRONMENT 1805
#define RPC_S_NO_MORE_BINDINGS 1806
#define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807
#define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808
#define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 1809
#define ERROR_DOMAIN_TRUST_INCONSISTENT 1810
#define ERROR_SERVER_HAS_OPEN_HANDLES 1811
#define ERROR_RESOURCE_DATA_NOT_FOUND 1812
#define ERROR_RESOURCE_TYPE_NOT_FOUND 1813
#define ERROR_RESOURCE_NAME_NOT_FOUND 1814
#define ERROR_RESOURCE_LANG_NOT_FOUND 1815
#define ERROR_NOT_ENOUGH_QUOTA 1816
#define RPC_S_NO_INTERFACES 1817
#define RPC_S_CALL_CANCELLED 1818
#define RPC_S_BINDING_INCOMPLETE 1819
#define RPC_S_COMM_FAILURE 1820
#define RPC_S_UNSUPPORTED_AUTHN_LEVEL 1821
#define RPC_S_NO_PRINC_NAME 1822
#define RPC_S_NOT_RPC_ERROR 1823
#define RPC_S_UUID_LOCAL_ONLY 1824
#define RPC_S_SEC_PKG_ERROR 1825
#define RPC_S_NOT_CANCELLED 1826
#define RPC_X_INVALID_ES_ACTION 1827
#define RPC_X_WRONG_ES_VERSION 1828
#define RPC_X_WRONG_STUB_VERSION 1829
#define RPC_S_GROUP_MEMBER_NOT_FOUND 1898
#define EPT_S_CANT_CREATE 1899
#define RPC_S_INVALID_OBJECT 1900
#define ERROR_INVALID_TIME 1901
#define ERROR_INVALID_FORM_NAME 1902
#define ERROR_INVALID_FORM_SIZE 1903
#define ERROR_ALREADY_WAITING 1904
#define ERROR_PRINTER_DELETED 1905
#define ERROR_INVALID_PRINTER_STATE 1906
#define ERROR_PASSWORD_MUST_CHANGE 1907
#define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 1908
#define ERROR_ACCOUNT_LOCKED_OUT 1909
#define ERROR_NO_BROWSER_SERVERS_FOUND 6118
#define ERROR_INVALID_PIXEL_FORMAT 2000
#define ERROR_BAD_DRIVER 2001
#define ERROR_INVALID_WINDOW_STYLE 2002
#define ERROR_METAFILE_NOT_SUPPORTED 2003
#define ERROR_TRANSFORM_NOT_SUPPORTED 2004
#define ERROR_CLIPPING_NOT_SUPPORTED 2005
#define ERROR_UNKNOWN_PRINT_MONITOR 3000
#define ERROR_PRINTER_DRIVER_IN_USE 3001
#define ERROR_SPOOL_FILE_NOT_FOUND 3002
#define ERROR_SPL_NO_STARTDOC 3003
#define ERROR_SPL_NO_ADDJOB 3004
#define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005
#define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006
#define ERROR_WINS_INTERNAL 4000
#define ERROR_CAN_NOT_DEL_LOCAL_WINS 4001
#define ERROR_STATIC_INIT 4002
#define ERROR_INC_BACKUP 4003
#define ERROR_FULL_BACKUP 4004
#define ERROR_REC_NON_EXISTENT 4005
#define ERROR_RPL_NOT_ALLOWED 4006
#define ERROR_NO_BROWSER_SERVERS_FOUND 6118
#define FAILED(S) ((HRESULT)(S<0))
#ifndef vm_page_size
#endif // RC_INVOKED
#define vm_page_size 4096
#define UNREFERENCED_PARAMETER(a)
#endif
