From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26025 invoked by alias); 24 Jun 2002 01:16:09 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 25981 invoked by uid 71); 24 Jun 2002 01:16:05 -0000 Resent-Date: 24 Jun 2002 01:16:04 -0000 Resent-Message-ID: <20020624011604.25977.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, sym_phon5@hotmail.com Received: (qmail 24479 invoked by uid 61); 24 Jun 2002 01:12:57 -0000 Message-Id: <20020624011257.24478.qmail@sources.redhat.com> Date: Sun, 23 Jun 2002 19:36:00 -0000 From: sym_phon5@hotmail.com Reply-To: sym_phon5@hotmail.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7103: Internal compiler error with mingw-gcc-3.1 X-SW-Source: 2002-06/txt/msg00551.txt.bz2 List-Id: >Number: 7103 >Category: c++ >Synopsis: Internal compiler error with mingw-gcc-3.1 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Jun 23 18:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jacob W. Abrams >Release: gcc-3_1-20020516-1 (mingw) >Organization: >Environment: windows-98se-ix86 mingw-runtime-2.0 >Description: When compiling the file instdrv.cpp (a small file associated with a windows dll called winio for outputting to the parallel port), the following error message results (no such problem occured when using gcc-2.95.3 for mingw): C:\mingw\dev\winio\Dll>gcc -c -v -save-temps instdrv.cpp Reading specs from C:/MINGW/BIN/../lib/gcc-lib/mingw32/3.1/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=f77,c++,objc,ada --disable-win32-registry --disable-shared Thread model: win32 gcc version 3.1 C:\MINGW\BIN\..\lib\gcc-lib\mingw32\3.1\cpp0.exe -lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -iprefix C:\MINGW\BIN\../lib/gcc-lib/mingw32/3.1/ -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D_WIN32 -D__WIN32 -D__WIN32__ -DWIN32 -D__MINGW32__ -D__MSVCRT__ -DWINNT -D_X86_=1 -D_WIN32 -D__WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__ -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__WIN32 -D__WINNT -Asystem=winnt -D__NO_INLINE__ -D__STDC_HOSTED__=1 -remap -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__ -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__fastcall=__attribute__((__fastcall__)) -D_stdcall=__attribute__((__stdcall__)) -D_cdecl=__attribute__((__cdecl__)) -D_fastcall=__attribute__((__fastcall__)) -D__declspec(x)=__attribute__((x)) instdrv.cpp instdrv.ii GNU CPP version 3.1 (cpplib) (80386, BSD syntax) ignoring nonexistent directory "/usr/local/mingw32/include" #include "..." search starts here: #include <...> search starts here: C:/MINGW/include/g++-v3 C:/MINGW/include/g++-v3/mingw32 C:/MINGW/include/g++-v3/backward C:/MINGW/include C:/MINGW/lib/gcc-lib/mingw32/3.1/include C:/MINGW/mingw32/include /mingw/include/g++-v3 /mingw/include/g++-v3/mingw32 /mingw/include/g++-v3/backward /mingw/include /mingw/include /mingw/lib/gcc-lib/mingw32/3.1/include /mingw/mingw32/include End of search list. C:\MINGW\BIN\..\lib\gcc-lib\mingw32\3.1\cc1plus.exe -fpreprocessed instdrv.ii -quiet -dumpbase instdrv.cpp -version -o c:\windows\TEMP/ccNjVcgb.s GNU CPP version 3.1 (cpplib) (80386, BSD syntax) GNU C++ version 3.1 (mingw32) compiled by GNU C version 3.1. instdrv.cpp: In function `bool RemoveWinIoDriver()': instdrv.cpp:83: Internal compiler error in rest_of_compilation, at toplev.c: 3478 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: gcc -c -v -save-temps instdrv.cpp >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="instdrv.ii" Content-Disposition: inline; filename="instdrv.ii" # 1 "instdrv.cpp" # 1 "" # 1 "" # 1 "instdrv.cpp" # 1 "C:/MINGW/include/windows.h" 1 3 # 17 "C:/MINGW/include/windows.h" 3 # 47 "C:/MINGW/include/windows.h" 3 # 1 "C:/MINGW/include/stdarg.h" 1 3 # 1 "C:/MINGW/lib/gcc-lib/mingw32/3.1/include/stdarg.h" 1 3 # 44 "C:/MINGW/lib/gcc-lib/mingw32/3.1/include/stdarg.h" 3 typedef __builtin_va_list __gnuc_va_list; # 111 "C:/MINGW/lib/gcc-lib/mingw32/3.1/include/stdarg.h" 3 typedef __gnuc_va_list va_list; # 7 "C:/MINGW/include/stdarg.h" 2 3 # 48 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/windef.h" 1 3 # 5 "C:/MINGW/include/windef.h" 3 extern "C" { # 200 "C:/MINGW/include/windef.h" 3 typedef unsigned long DWORD; typedef int WINBOOL,*PWINBOOL,*LPWINBOOL; typedef WINBOOL BOOL; typedef unsigned char BYTE; typedef BOOL *PBOOL,*LPBOOL; typedef unsigned short WORD; typedef float FLOAT; typedef FLOAT *PFLOAT; typedef BYTE *PBYTE,*LPBYTE; typedef int *PINT,*LPINT; typedef WORD *PWORD,*LPWORD; typedef long *LPLONG; typedef DWORD *PDWORD,*LPDWORD; typedef void *PVOID,*LPVOID; typedef const void *PCVOID,*LPCVOID; typedef int INT; typedef unsigned int UINT,*PUINT,*LPUINT; # 1 "C:/MINGW/include/winnt.h" 1 3 # 5 "C:/MINGW/include/winnt.h" 3 # 31 "C:/MINGW/include/winnt.h" 3 extern "C" { # 1 "C:/MINGW/include/winerror.h" 1 3 # 5 "C:/MINGW/include/winerror.h" 3 # 35 "C:/MINGW/include/winnt.h" 2 3 # 1 "C:/MINGW/include/string.h" 1 3 # 31 "C:/MINGW/include/string.h" 3 # 1 "C:/MINGW/include/_mingw.h" 1 3 # 32 "C:/MINGW/include/string.h" 2 3 # 40 "C:/MINGW/include/string.h" 3 # 1 "C:/MINGW/include/stddef.h" 1 3 # 1 "C:/MINGW/lib/gcc-lib/mingw32/3.1/include/stddef.h" 1 3 # 203 "C:/MINGW/lib/gcc-lib/mingw32/3.1/include/stddef.h" 3 typedef unsigned int size_t; # 7 "C:/MINGW/include/stddef.h" 2 3 # 41 "C:/MINGW/include/string.h" 2 3 extern "C" { void* memchr (const void*, int, size_t); int memcmp (const void*, const void*, size_t); void* memcpy (void*, const void*, size_t); void* memmove (void*, const void*, size_t); void* memset (void*, int, size_t); char* strcat (char*, const char*); char* strchr (const char*, int); int strcmp (const char*, const char*); int strcoll (const char*, const char*); char* strcpy (char*, const char*); size_t strcspn (const char*, const char*); char* strerror (int); char* _strerror (const char *); size_t strlen (const char*); char* strncat (char*, const char*, size_t); int strncmp (const char*, const char*, size_t); char* strncpy (char*, const char*, size_t); char* strpbrk (const char*, const char*); char* strrchr (const char*, int); size_t strspn (const char*, const char*); char* strstr (const char*, const char*); char* strtok (char*, const char*); size_t strxfrm (char*, const char*, size_t); void* _memccpy (void*, const void*, int, size_t); int _memicmp (const void*, const void*, size_t); char* _strdup (const char*); int _strcmpi (const char*, const char*); int _stricmp (const char*, const char*); int _stricoll (const char*, const char*); char* _strlwr (char*); int _strnicmp (const char*, const char*, size_t); char* _strnset (char*, int, size_t); char* _strrev (char*); char* _strset (char*, int); char* _strupr (char*); void _swab (const char*, char*, size_t); unsigned char* _mbschr (unsigned char*, unsigned char*); unsigned char* _mbsncat (unsigned char*, const unsigned char*, size_t); unsigned char* _mbstok (unsigned char*, unsigned char*); int _strncoll(const char*, const char*, size_t); int _strnicoll(const char*, const char*, size_t); wchar_t* wcscat (wchar_t*, const wchar_t*); wchar_t* wcschr (const wchar_t*, wchar_t); int wcscmp (const wchar_t*, const wchar_t*); int wcscoll (const wchar_t*, const wchar_t*); wchar_t* wcscpy (wchar_t*, const wchar_t*); size_t wcscspn (const wchar_t*, const wchar_t*); size_t wcslen (const wchar_t*); wchar_t* wcsncat (wchar_t*, const wchar_t*, size_t); int wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* wcspbrk(const wchar_t*, const wchar_t*); wchar_t* wcsrchr(const wchar_t*, wchar_t); size_t wcsspn(const wchar_t*, const wchar_t*); wchar_t* wcsstr(const wchar_t*, const wchar_t*); wchar_t* wcstok(wchar_t*, const wchar_t*); size_t wcsxfrm(wchar_t*, const wchar_t*, size_t); # 137 "C:/MINGW/include/string.h" 3 wchar_t* _wcsdup (wchar_t*); int _wcsicmp (const wchar_t*, const wchar_t*); int _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* _wcslwr (wchar_t*); int _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* _wcsrev (wchar_t*); wchar_t* _wcsset (wchar_t*, wchar_t); wchar_t* _wcsupr (wchar_t*); int _wcsncoll(const wchar_t*, const wchar_t*, size_t); int _wcsnicoll(const wchar_t*, const wchar_t*, size_t); # 165 "C:/MINGW/include/string.h" 3 void* memccpy (void*, const void*, int, size_t); int memicmp (const void*, const void*, size_t); char* strdup (const char*); int strcmpi (const char*, const char*); int stricmp (const char*, const char*); int strcasecmp (const char*, const char*); int stricoll (const char*, const char*); char* strlwr (char*); int strnicmp (const char*, const char*, size_t); int strncasecmp (const char*, const char*, size_t); char* strnset (char*, int, size_t); char* strrev (char*); char* strset (char*, int); char* strupr (char*); void swab (const char*, char*, size_t); int wcscmpi (const wchar_t*, const wchar_t*); wchar_t* wcsdup (wchar_t*); int wcsicmp (const wchar_t*, const wchar_t*); int wcsicoll (const wchar_t*, const wchar_t*); wchar_t* wcslwr (wchar_t*); int wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* wcsnset (wchar_t*, wchar_t, size_t); wchar_t* wcsrev (wchar_t*); wchar_t* wcsset (wchar_t*, wchar_t); wchar_t* wcsupr (wchar_t*); } # 38 "C:/MINGW/include/winnt.h" 2 3 # 49 "C:/MINGW/include/winnt.h" 3 typedef char CHAR; typedef short SHORT; typedef long LONG; typedef CHAR CCHAR; typedef unsigned char UCHAR,*PUCHAR; typedef unsigned short USHORT,*PUSHORT; typedef unsigned long ULONG,*PULONG; typedef char *PSZ; # 69 "C:/MINGW/include/winnt.h" 3 typedef wchar_t WCHAR; typedef WCHAR *PWCHAR,*LPWCH,*PWCH,*NWPSTR,*LPWSTR,*PWSTR; typedef const WCHAR *LPCWCH,*PCWCH,*LPCWSTR,*PCWSTR; typedef CHAR *PCHAR,*LPCH,*PCH,*NPSTR,*LPSTR,*PSTR; typedef const CHAR *LPCCH,*PCSTR,*LPCSTR; # 84 "C:/MINGW/include/winnt.h" 3 typedef CHAR TCHAR; typedef CHAR _TCHAR; typedef TCHAR TBYTE,*PTCH,*PTBYTE; typedef TCHAR *LPTCH,*PTSTR,*LPTSTR,*LP,*PTCHAR; typedef const TCHAR *LPCTSTR; # 109 "C:/MINGW/include/winnt.h" 3 typedef SHORT *PSHORT; typedef LONG *PLONG; typedef void *HANDLE; typedef HANDLE *PHANDLE,*LPHANDLE; typedef DWORD LCID; typedef PDWORD PLCID; typedef WORD LANGID; # 130 "C:/MINGW/include/winnt.h" 3 typedef long long LONGLONG; typedef unsigned long long DWORDLONG; typedef LONGLONG *PLONGLONG; typedef DWORDLONG *PDWORDLONG; typedef DWORDLONG ULONGLONG,*PULONGLONG; typedef LONGLONG USN; # 148 "C:/MINGW/include/winnt.h" 3 typedef BYTE BOOLEAN,*PBOOLEAN; # 1 "C:/MINGW/include/basetsd.h" 1 3 # 5 "C:/MINGW/include/basetsd.h" 3 # 48 "C:/MINGW/include/basetsd.h" 3 extern "C" { typedef int LONG32, *PLONG32; typedef int INT32, *PINT32; typedef unsigned int ULONG32, *PULONG32; typedef unsigned int DWORD32, *PDWORD32; typedef unsigned int UINT32, *PUINT32; # 97 "C:/MINGW/include/basetsd.h" 3 typedef int INT_PTR, *PINT_PTR; typedef unsigned int UINT_PTR, *PUINT_PTR; typedef long LONG_PTR, *PLONG_PTR; typedef unsigned long ULONG_PTR, *PULONG_PTR; typedef unsigned short UHALF_PTR, *PUHALF_PTR; typedef short HALF_PTR, *PHALF_PTR; typedef unsigned long HANDLE_PTR; typedef ULONG_PTR SIZE_T, *PSIZE_T; typedef LONG_PTR SSIZE_T, *PSSIZE_T; typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; typedef long long LONG64, *PLONG64; typedef long long INT64, *PINT64; typedef unsigned long long ULONG64, *PULONG64; typedef unsigned long long DWORD64, *PDWORD64; typedef unsigned long long UINT64, *PUINT64; } # 153 "C:/MINGW/include/winnt.h" 2 3 # 1121 "C:/MINGW/include/winnt.h" 3 typedef DWORD ACCESS_MASK, *PACCESS_MASK; typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID, *REFGUID, *LPGUID; typedef struct _GENERIC_MAPPING { ACCESS_MASK GenericRead; ACCESS_MASK GenericWrite; ACCESS_MASK GenericExecute; ACCESS_MASK GenericAll; } GENERIC_MAPPING, *PGENERIC_MAPPING; typedef struct _ACE_HEADER { BYTE AceType; BYTE AceFlags; WORD AceSize; } ACE_HEADER, *PACE_HEADER; typedef struct _ACCESS_ALLOWED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_ALLOWED_ACE, *PACCESS_ALLOWED_ACE; typedef struct _ACCESS_DENIED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_DENIED_ACE, *PACCESS_DENIED_ACE; typedef struct _SYSTEM_AUDIT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_AUDIT_ACE; typedef SYSTEM_AUDIT_ACE *PSYSTEM_AUDIT_ACE; typedef struct _SYSTEM_ALARM_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE; typedef struct _ACCESS_ALLOWED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_ALLOWED_OBJECT_ACE,*PACCESS_ALLOWED_OBJECT_ACE; typedef struct _ACCESS_DENIED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_DENIED_OBJECT_ACE,*PACCESS_DENIED_OBJECT_ACE; typedef struct _SYSTEM_AUDIT_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_AUDIT_OBJECT_ACE,*PSYSTEM_AUDIT_OBJECT_ACE; typedef struct _SYSTEM_ALARM_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_ALARM_OBJECT_ACE,*PSYSTEM_ALARM_OBJECT_ACE; 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; # 1225 "C:/MINGW/include/winnt.h" 3 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; BYTE ExtendedRegisters[512]; } CONTEXT; # 1744 "C:/MINGW/include/winnt.h" 3 typedef CONTEXT *PCONTEXT,*LPCONTEXT; typedef struct _EXCEPTION_RECORD { DWORD ExceptionCode; DWORD ExceptionFlags; struct _EXCEPTION_RECORD *ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; DWORD ExceptionInformation[15]; } EXCEPTION_RECORD,*PEXCEPTION_RECORD; typedef struct _EXCEPTION_POINTERS { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS; typedef union _LARGE_INTEGER { struct { DWORD LowPart; LONG HighPart; } u; __extension__ struct { DWORD LowPart; LONG HighPart; }; LONGLONG QuadPart; } LARGE_INTEGER, *PLARGE_INTEGER; typedef union _ULARGE_INTEGER { struct { DWORD LowPart; DWORD HighPart; } u; __extension__ struct { DWORD LowPart; DWORD HighPart; }; ULONGLONG QuadPart; } ULARGE_INTEGER, *PULARGE_INTEGER; typedef LARGE_INTEGER LUID,*PLUID; #pragma pack(push,4) typedef struct _LUID_AND_ATTRIBUTES { LUID Luid; DWORD Attributes; } LUID_AND_ATTRIBUTES; #pragma pack(pop) typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[1]; typedef LUID_AND_ATTRIBUTES_ARRAY *PLUID_AND_ATTRIBUTES_ARRAY; typedef struct _PRIVILEGE_SET { DWORD PrivilegeCount; DWORD Control; LUID_AND_ATTRIBUTES Privilege[1]; } PRIVILEGE_SET,*PPRIVILEGE_SET; typedef struct _SECURITY_ATTRIBUTES { DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle; } SECURITY_ATTRIBUTES,*PSECURITY_ATTRIBUTES,*LPSECURITY_ATTRIBUTES; typedef enum _SECURITY_IMPERSONATION_LEVEL { SecurityAnonymous, SecurityIdentification, SecurityImpersonation, SecurityDelegation } SECURITY_IMPERSONATION_LEVEL; typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE,*PSECURITY_CONTEXT_TRACKING_MODE; typedef struct _SECURITY_QUALITY_OF_SERVICE { DWORD Length; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; BOOLEAN EffectiveOnly; } SECURITY_QUALITY_OF_SERVICE,*PSECURITY_QUALITY_OF_SERVICE; typedef PVOID PACCESS_TOKEN; typedef struct _SE_IMPERSONATION_STATE { PACCESS_TOKEN Token; BOOLEAN CopyOnOpen; BOOLEAN EffectiveOnly; SECURITY_IMPERSONATION_LEVEL Level; } SE_IMPERSONATION_STATE,*PSE_IMPERSONATION_STATE; typedef struct _SID_IDENTIFIER_AUTHORITY { BYTE Value[6]; } SID_IDENTIFIER_AUTHORITY,*PSID_IDENTIFIER_AUTHORITY,*LPSID_IDENTIFIER_AUTHORITY; typedef PVOID PSID; typedef struct _SID { BYTE Revision; BYTE SubAuthorityCount; SID_IDENTIFIER_AUTHORITY IdentifierAuthority; DWORD SubAuthority[1]; } SID, *PISID; typedef struct _SID_AND_ATTRIBUTES { PSID Sid; DWORD Attributes; } SID_AND_ATTRIBUTES; typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[1]; typedef SID_AND_ATTRIBUTES_ARRAY *PSID_AND_ATTRIBUTES_ARRAY; typedef struct _TOKEN_SOURCE { CHAR SourceName[8]; LUID SourceIdentifier; } TOKEN_SOURCE,*PTOKEN_SOURCE; typedef struct _TOKEN_CONTROL { LUID TokenId; LUID AuthenticationId; LUID ModifiedId; TOKEN_SOURCE TokenSource; } TOKEN_CONTROL,*PTOKEN_CONTROL; typedef struct _TOKEN_DEFAULT_DACL { PACL DefaultDacl; } TOKEN_DEFAULT_DACL,*PTOKEN_DEFAULT_DACL; typedef struct _TOKEN_GROUPS { DWORD GroupCount; SID_AND_ATTRIBUTES Groups[1]; } TOKEN_GROUPS,*PTOKEN_GROUPS,*LPTOKEN_GROUPS; typedef struct _TOKEN_OWNER { PSID Owner; } TOKEN_OWNER,*PTOKEN_OWNER; typedef struct _TOKEN_PRIMARY_GROUP { PSID PrimaryGroup; } TOKEN_PRIMARY_GROUP,*PTOKEN_PRIMARY_GROUP; typedef struct _TOKEN_PRIVILEGES { DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[1]; } TOKEN_PRIVILEGES,*PTOKEN_PRIVILEGES,*LPTOKEN_PRIVILEGES; typedef enum tagTOKEN_TYPE { TokenPrimary=1,TokenImpersonation }TOKEN_TYPE; 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, *PTOKEN_USER; typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION; 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, *PISECURITY_DESCRIPTOR; typedef enum _TOKEN_INFORMATION_CLASS { TokenUser=1,TokenGroups,TokenPrivileges,TokenOwner, TokenPrimaryGroup,TokenDefaultDacl,TokenSource,TokenType, TokenImpersonationLevel,TokenStatistics,TokenRestrictedSids, TokenSessionId } TOKEN_INFORMATION_CLASS; typedef enum _SID_NAME_USE { SidTypeUser=1,SidTypeGroup,SidTypeDomain,SidTypeAlias,SidTypeWellKnownGroup, SidTypeDeletedAccount,SidTypeInvalid,SidTypeUnknown } SID_NAME_USE,*PSID_NAME_USE; typedef struct _QUOTA_LIMITS { SIZE_T PagedPoolLimit; SIZE_T NonPagedPoolLimit; SIZE_T MinimumWorkingSetSize; SIZE_T MaximumWorkingSetSize; SIZE_T PagefileLimit; LARGE_INTEGER TimeLimit; } QUOTA_LIMITS,*PQUOTA_LIMITS; typedef struct _IO_COUNTERS { ULONGLONG ReadOperationCount; ULONGLONG WriteOperationCount; ULONGLONG OtherOperationCount; ULONGLONG ReadTransferCount; ULONGLONG WriteTransferCount; ULONGLONG OtherTransferCount; } IO_COUNTERS, *PIO_COUNTERS; typedef struct _FILE_NOTIFY_INFORMATION { DWORD NextEntryOffset; DWORD Action; DWORD FileNameLength; WCHAR FileName[1]; } FILE_NOTIFY_INFORMATION,*PFILE_NOTIFY_INFORMATION; typedef struct _TAPE_ERASE { DWORD Type; BOOLEAN Immediate; } TAPE_ERASE,*PTAPE_ERASE; typedef struct _TAPE_GET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; DWORD DefaultBlockSize; DWORD MaximumBlockSize; DWORD MinimumBlockSize; DWORD MaximumPartitionCount; DWORD FeaturesLow; DWORD FeaturesHigh; DWORD EOTWarningZoneSize; } TAPE_GET_DRIVE_PARAMETERS,*PTAPE_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,*PTAPE_GET_MEDIA_PARAMETERS; typedef struct _TAPE_GET_POSITION { ULONG Type; ULONG Partition; ULONG OffsetLow; ULONG OffsetHigh; } TAPE_GET_POSITION,*PTAPE_GET_POSITION; typedef struct _TAPE_PREPARE { DWORD Operation; BOOLEAN Immediate; } TAPE_PREPARE,*PTAPE_PREPARE; typedef struct _TAPE_SET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; ULONG EOTWarningZoneSize; } TAPE_SET_DRIVE_PARAMETERS,*PTAPE_SET_DRIVE_PARAMETERS; typedef struct _TAPE_SET_MEDIA_PARAMETERS { ULONG BlockSize; } TAPE_SET_MEDIA_PARAMETERS,*PTAPE_SET_MEDIA_PARAMETERS; typedef struct _TAPE_SET_POSITION { DWORD Method; DWORD Partition; LARGE_INTEGER Offset; BOOLEAN Immediate; } TAPE_SET_POSITION,*PTAPE_SET_POSITION; typedef struct _TAPE_WRITE_MARKS { DWORD Type; DWORD Count; BOOLEAN Immediate; } TAPE_WRITE_MARKS,*PTAPE_WRITE_MARKS; typedef struct _TAPE_CREATE_PARTITION { DWORD Method; DWORD Count; DWORD Size; } TAPE_CREATE_PARTITION,*PTAPE_CREATE_PARTITION; typedef struct _MEMORY_BASIC_INFORMATION { PVOID BaseAddress; PVOID AllocationBase; DWORD AllocationProtect; DWORD RegionSize; DWORD State; DWORD Protect; DWORD Type; } MEMORY_BASIC_INFORMATION,*PMEMORY_BASIC_INFORMATION; typedef struct _MESSAGE_RESOURCE_ENTRY { WORD Length; WORD Flags; BYTE Text[1]; } MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY; typedef struct _MESSAGE_RESOURCE_BLOCK { DWORD LowId; DWORD HighId; DWORD OffsetToEntries; } MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK; typedef struct _MESSAGE_RESOURCE_DATA { DWORD NumberOfBlocks; MESSAGE_RESOURCE_BLOCK Blocks[1]; } MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA; typedef struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; } LIST_ENTRY,*PLIST_ENTRY; typedef struct _RTL_CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _RTL_CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Spare[2]; } RTL_CRITICAL_SECTION_DEBUG,*PRTL_CRITICAL_SECTION_DEBUG; typedef struct _RTL_CRITICAL_SECTION { PRTL_CRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; DWORD Reserved; } RTL_CRITICAL_SECTION,*PRTL_CRITICAL_SECTION; 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,*PEVENTLOGRECORD; typedef struct _OSVERSIONINFOA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; } OSVERSIONINFOA,*POSVERSIONINFOA,*LPOSVERSIONINFOA; typedef struct _OSVERSIONINFOW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; } OSVERSIONINFOW,*POSVERSIONINFOW,*LPOSVERSIONINFOW; typedef struct _OSVERSIONINFOEXA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA; typedef struct _OSVERSIONINFOEXW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW; #pragma pack(push,2) 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; #pragma pack(pop) #pragma pack(push,4) 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 Reserved1; 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[16]; } 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; #pragma pack(pop) #pragma pack(push,2) 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; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_NT_HEADERS { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER OptionalHeader; } IMAGE_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[8]; 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; #pragma pack(pop) #pragma pack(push,2) 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,*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[18]; } File; struct { DWORD Length; WORD NumberOfRelocations; WORD NumberOfLinenumbers; DWORD CheckSum; SHORT Number; BYTE Selection; } Section; } IMAGE_AUX_SYMBOL,*PIMAGE_AUX_SYMBOL; 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; typedef struct _IMAGE_RELOCATION { __extension__ union { DWORD VirtualAddress; DWORD RelocCount; } ; DWORD SymbolTableIndex; WORD Type; } IMAGE_RELOCATION,*PIMAGE_RELOCATION; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_BASE_RELOCATION { DWORD VirtualAddress; DWORD SizeOfBlock; } IMAGE_BASE_RELOCATION,*PIMAGE_BASE_RELOCATION; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_LINENUMBER { union { DWORD SymbolTableIndex; DWORD VirtualAddress; } Type; WORD Linenumber; } IMAGE_LINENUMBER,*PIMAGE_LINENUMBER; #pragma pack(pop) #pragma pack(push,4) 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 { __extension__ union { DWORD Characteristics; PIMAGE_THUNK_DATA OriginalFirstThunk; } ; 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(__attribute__((__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; __extension__ typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY { __extension__ union { __extension__ struct { DWORD NameOffset:31; DWORD NameIsString:1; }; DWORD Name; WORD Id; } ; __extension__ union { DWORD OffsetToData; __extension__ struct { DWORD OffsetToDirectory:31; DWORD DataIsDirectory:1; } ; } ; } 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 _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; 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; #pragma pack(pop) typedef enum _CM_SERVICE_NODE_TYPE { DriverType=1, FileSystemType=2, Win32ServiceOwnProcess=16, Win32ServiceShareProcess=32, AdapterType=4, RecognizerType=8 } SERVICE_NODE_TYPE; typedef enum _CM_SERVICE_LOAD_TYPE { BootLoad=0, SystemLoad=1, AutoLoad=2, DemandLoad=3, DisableLoad=4 } SERVICE_LOAD_TYPE; typedef enum _CM_ERROR_CONTROL_TYPE { IgnoreError=0, NormalError=1, SevereError=2, CriticalError=3 } SERVICE_ERROR_TYPE; typedef struct _NT_TIB { struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList; PVOID StackBase; PVOID StackLimit; PVOID SubSystemTib; __extension__ union { PVOID FiberData; DWORD Version; } ; PVOID ArbitraryUserPointer; struct _NT_TIB *Self; } NT_TIB,*PNT_TIB; typedef struct _REPARSE_DATA_BUFFER { DWORD ReparseTag; WORD ReparseDataLength; WORD Reserved; __extension__ union { struct { WORD SubstituteNameOffset; WORD SubstituteNameLength; WORD PrintNameOffset; WORD PrintNameLength; WCHAR PathBuffer[1]; } SymbolicLinkReparseBuffer; struct { WORD SubstituteNameOffset; WORD SubstituteNameLength; WORD PrintNameOffset; WORD PrintNameLength; WCHAR PathBuffer[1]; } MountPointReparseBuffer; struct { BYTE DataBuffer[1]; } GenericReparseBuffer; } ; } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER; typedef struct _REPARSE_GUID_DATA_BUFFER { DWORD ReparseTag; WORD ReparseDataLength; WORD Reserved; GUID ReparseGuid; struct { BYTE DataBuffer[1]; } GenericReparseBuffer; } REPARSE_GUID_DATA_BUFFER, *PREPARSE_GUID_DATA_BUFFER; typedef struct _REPARSE_POINT_INFORMATION { WORD ReparseDataLength; WORD UnparsedNameLength; } REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION; typedef OSVERSIONINFOA OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO; typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX; PVOID GetCurrentFiber(void); PVOID GetFiberData(void); PVOID GetCurrentFiber(void); extern __inline__ PVOID GetCurrentFiber(void) { void* ret; __asm__ volatile ( "movl %%fs:0x10,%0" : "=r" (ret) : ); return ret; } PVOID GetFiberData(void); extern __inline__ PVOID GetFiberData(void) { void* ret; __asm__ volatile ( "movl %%fs:0x10,%0\n" "movl (%0),%0" : "=r" (ret) : ); return ret; } # 2673 "C:/MINGW/include/winnt.h" 3 } # 226 "C:/MINGW/include/windef.h" 2 3 typedef UINT WPARAM; typedef LONG LPARAM; typedef LONG LRESULT; typedef LONG HRESULT; typedef WORD ATOM; typedef HANDLE HGLOBAL; typedef HANDLE HLOCAL; typedef HANDLE GLOBALHANDLE; typedef HANDLE LOCALHANDLE; typedef void *HGDIOBJ; typedef struct HACCEL__{int i;}*HACCEL; typedef struct HBITMAP__{int i;}*HBITMAP; typedef struct HBRUSH__{int i;}*HBRUSH; typedef struct HCOLORSPACE__{int i;}*HCOLORSPACE; typedef struct HDC__{int i;}*HDC; typedef struct HGLRC__{int i;}*HGLRC; typedef struct HDESK__{int i;}*HDESK; typedef struct HENHMETAFILE__{int i;}*HENHMETAFILE; typedef struct HFONT__{int i;}*HFONT; typedef struct HICON__{int i;}*HICON; typedef struct HKEY__{int i;}*HKEY; typedef struct HMONITOR__{int i;}*HMONITOR; typedef struct HTERMINAL__{int i;}*HTERMINAL; typedef struct HWINEVENTHOOK__{int i;}*HWINEVENTHOOK; typedef HKEY *PHKEY; typedef struct HMENU__{int i;}*HMENU; typedef struct HMETAFILE__{int i;}*HMETAFILE; typedef struct HINSTANCE__{int i;}*HINSTANCE; typedef HINSTANCE HMODULE; typedef struct HPALETTE__{int i;}*HPALETTE; typedef struct HPEN__{int i;}*HPEN; typedef struct HRGN__{int i;}*HRGN; typedef struct HRSRC__{int i;}*HRSRC; typedef struct HSTR__{int i;}*HSTR; typedef struct HTASK__{int i;}*HTASK; typedef struct HWND__{int i;}*HWND; typedef struct HWINSTA__{int i;}*HWINSTA; typedef struct HKL__{int i;}*HKL; typedef int HFILE; typedef HICON HCURSOR; typedef DWORD COLORREF; typedef int (__attribute__((__stdcall__)) *FARPROC)(); typedef int (__attribute__((__stdcall__)) *NEARPROC)(); typedef int (__attribute__((__stdcall__)) *PROC)(); typedef struct tagRECT { LONG left; LONG top; LONG right; LONG bottom; } RECT,*PRECT,*LPRECT; typedef const RECT *LPCRECT; typedef struct tagRECTL { LONG left; LONG top; LONG right; LONG bottom; } RECTL,*PRECTL,*LPRECTL; typedef const RECTL *LPCRECTL; typedef struct tagPOINT { LONG x; LONG y; } POINT,POINTL,*PPOINT,*LPPOINT,*PPOINTL,*LPPOINTL; typedef struct tagSIZE { LONG cx; LONG cy; } SIZE,SIZEL,*PSIZE,*LPSIZE,*PSIZEL,*LPSIZEL; typedef struct tagPOINTS { SHORT x; SHORT y; } POINTS,*PPOINTS,*LPPOINTS; } # 49 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/wincon.h" 1 3 # 5 "C:/MINGW/include/wincon.h" 3 extern "C" { # 55 "C:/MINGW/include/wincon.h" 3 typedef struct _CHAR_INFO { union { WCHAR UnicodeChar; CHAR AsciiChar; } Char; WORD Attributes; } CHAR_INFO,*PCHAR_INFO; typedef struct _SMALL_RECT { SHORT Left; SHORT Top; SHORT Right; SHORT Bottom; } SMALL_RECT,*PSMALL_RECT; 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 _CONSOLE_SCREEN_BUFFER_INFO { COORD dwSize; COORD dwCursorPosition; WORD wAttributes; SMALL_RECT srWindow; COORD dwMaximumWindowSize; } CONSOLE_SCREEN_BUFFER_INFO,*PCONSOLE_SCREEN_BUFFER_INFO; typedef BOOL(__attribute__((__stdcall__)) *PHANDLER_ROUTINE)(DWORD); typedef struct _KEY_EVENT_RECORD { BOOL bKeyDown; WORD wRepeatCount; WORD wVirtualKeyCode; WORD wVirtualScanCode; union { WCHAR UnicodeChar; CHAR AsciiChar; } uChar; DWORD dwControlKeyState; } __attribute__((packed)) 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 _FOCUS_EVENT_RECORD { BOOL bSetFocus; } FOCUS_EVENT_RECORD; typedef struct _INPUT_RECORD { WORD EventType; 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; BOOL __attribute__((__stdcall__)) AllocConsole(void); HANDLE __attribute__((__stdcall__)) CreateConsoleScreenBuffer(DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,PVOID); BOOL __attribute__((__stdcall__)) FillConsoleOutputAttribute(HANDLE,WORD,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) FillConsoleOutputCharacterA(HANDLE,CHAR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) FillConsoleOutputCharacterW(HANDLE,WCHAR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) FlushConsoleInputBuffer(HANDLE); BOOL __attribute__((__stdcall__)) FreeConsole(void); BOOL __attribute__((__stdcall__)) GenerateConsoleCtrlEvent(DWORD,DWORD); UINT __attribute__((__stdcall__)) GetConsoleCP(void); BOOL __attribute__((__stdcall__)) GetConsoleCursorInfo(HANDLE,PCONSOLE_CURSOR_INFO); BOOL __attribute__((__stdcall__)) GetConsoleMode(HANDLE,PDWORD); UINT __attribute__((__stdcall__)) GetConsoleOutputCP(void); BOOL __attribute__((__stdcall__)) GetConsoleScreenBufferInfo(HANDLE,PCONSOLE_SCREEN_BUFFER_INFO); DWORD __attribute__((__stdcall__)) GetConsoleTitleA(LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetConsoleTitleW(LPWSTR,DWORD); COORD __attribute__((__stdcall__)) GetLargestConsoleWindowSize(HANDLE); BOOL __attribute__((__stdcall__)) GetNumberOfConsoleInputEvents(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetNumberOfConsoleMouseButtons(PDWORD); BOOL __attribute__((__stdcall__)) PeekConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) PeekConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleA(HANDLE,PVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) ReadConsoleW(HANDLE,PVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputAttribute(HANDLE,LPWORD,DWORD,COORD,LPDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputCharacterW(HANDLE,LPWSTR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) ReadConsoleOutputA(HANDLE,PCHAR_INFO,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) ReadConsoleOutputW(HANDLE,PCHAR_INFO,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) ScrollConsoleScreenBufferA(HANDLE,const SMALL_RECT*,const SMALL_RECT*,COORD,const CHAR_INFO*); BOOL __attribute__((__stdcall__)) ScrollConsoleScreenBufferW(HANDLE,const SMALL_RECT*,const SMALL_RECT*,COORD,const CHAR_INFO*); BOOL __attribute__((__stdcall__)) SetConsoleActiveScreenBuffer(HANDLE); BOOL __attribute__((__stdcall__)) SetConsoleCP(UINT); BOOL __attribute__((__stdcall__)) SetConsoleCtrlHandler(PHANDLER_ROUTINE,BOOL); BOOL __attribute__((__stdcall__)) SetConsoleCursorInfo(HANDLE,const CONSOLE_CURSOR_INFO*); BOOL __attribute__((__stdcall__)) SetConsoleCursorPosition(HANDLE,COORD); BOOL __attribute__((__stdcall__)) SetConsoleMode(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetConsoleOutputCP(UINT); BOOL __attribute__((__stdcall__)) SetConsoleScreenBufferSize(HANDLE,COORD); BOOL __attribute__((__stdcall__)) SetConsoleTextAttribute(HANDLE,WORD); BOOL __attribute__((__stdcall__)) SetConsoleTitleA(LPCSTR); BOOL __attribute__((__stdcall__)) SetConsoleTitleW(LPCWSTR); BOOL __attribute__((__stdcall__)) SetConsoleWindowInfo(HANDLE,BOOL,const SMALL_RECT*); BOOL __attribute__((__stdcall__)) WriteConsoleA(HANDLE,PCVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) WriteConsoleW(HANDLE,PCVOID,DWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) WriteConsoleInputA(HANDLE,const INPUT_RECORD*,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleInputW(HANDLE,const INPUT_RECORD*,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleOutputA(HANDLE,const CHAR_INFO*,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) WriteConsoleOutputW(HANDLE,const CHAR_INFO*,COORD,COORD,PSMALL_RECT); BOOL __attribute__((__stdcall__)) WriteConsoleOutputAttribute(HANDLE,const WORD*,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleOutputCharacterA(HANDLE,LPCSTR,DWORD,COORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteConsoleOutputCharacterW(HANDLE,LPCWSTR,DWORD,COORD,PDWORD); # 205 "C:/MINGW/include/wincon.h" 3 } # 50 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/basetyps.h" 1 3 # 5 "C:/MINGW/include/basetyps.h" 3 # 96 "C:/MINGW/include/basetyps.h" 3 typedef GUID UUID; typedef GUID IID; typedef GUID CLSID; typedef CLSID *LPCLSID; typedef IID *LPIID; typedef IID *REFIID; typedef CLSID *REFCLSID; typedef GUID FMTID; typedef FMTID *REFFMTID; typedef unsigned long error_status_t; typedef unsigned long PROPID; # 51 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winbase.h" 1 3 # 5 "C:/MINGW/include/winbase.h" 3 extern "C" { # 504 "C:/MINGW/include/winbase.h" 3 typedef struct _FILETIME { DWORD dwLowDateTime; DWORD dwHighDateTime; } FILETIME,*PFILETIME,*LPFILETIME; 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 _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 _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 DWORD (__attribute__((__stdcall__)) *LPTHREAD_START_ROUTINE)(LPVOID); 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,*LPCREATE_PROCESS_DEBUG_INFO; typedef struct _CREATE_THREAD_DEBUG_INFO { HANDLE hThread; LPVOID lpThreadLocalBase; LPTHREAD_START_ROUTINE lpStartAddress; } CREATE_THREAD_DEBUG_INFO,*LPCREATE_THREAD_DEBUG_INFO; typedef struct _EXCEPTION_DEBUG_INFO { EXCEPTION_RECORD ExceptionRecord; DWORD dwFirstChance; } EXCEPTION_DEBUG_INFO,*LPEXCEPTION_DEBUG_INFO; typedef struct _EXIT_THREAD_DEBUG_INFO { DWORD dwExitCode; } EXIT_THREAD_DEBUG_INFO,*LPEXIT_THREAD_DEBUG_INFO; typedef struct _EXIT_PROCESS_DEBUG_INFO { DWORD dwExitCode; } EXIT_PROCESS_DEBUG_INFO,*LPEXIT_PROCESS_DEBUG_INFO; typedef struct _LOAD_DLL_DEBUG_INFO { HANDLE hFile; LPVOID lpBaseOfDll; DWORD dwDebugInfoFileOffset; DWORD nDebugInfoSize; LPVOID lpImageName; WORD fUnicode; } LOAD_DLL_DEBUG_INFO,*LPLOAD_DLL_DEBUG_INFO; typedef struct _UNLOAD_DLL_DEBUG_INFO { LPVOID lpBaseOfDll; } UNLOAD_DLL_DEBUG_INFO,*LPUNLOAD_DLL_DEBUG_INFO; typedef struct _OUTPUT_DEBUG_STRING_INFO { LPSTR lpDebugStringData; WORD fUnicode; WORD nDebugStringLength; } OUTPUT_DEBUG_STRING_INFO,*LPOUTPUT_DEBUG_STRING_INFO; typedef struct _RIP_INFO { DWORD dwError; DWORD dwType; } RIP_INFO,*LPRIP_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 _OVERLAPPED { DWORD Internal; DWORD InternalHigh; DWORD Offset; DWORD OffsetHigh; HANDLE hEvent; } OVERLAPPED,*POVERLAPPED,*LPOVERLAPPED; typedef struct _STARTUPINFOA { DWORD cb; LPSTR lpReserved; LPSTR lpDesktop; LPSTR lpTitle; DWORD dwX; DWORD dwY; DWORD dwXSize; DWORD dwYSize; DWORD dwXCountChars; DWORD dwYCountChars; DWORD dwFillAttribute; DWORD dwFlags; WORD wShowWindow; WORD cbReserved2; PBYTE lpReserved2; HANDLE hStdInput; HANDLE hStdOutput; HANDLE hStdError; } STARTUPINFOA,*LPSTARTUPINFOA; typedef struct _STARTUPINFOW { DWORD cb; LPWSTR lpReserved; LPWSTR lpDesktop; LPWSTR lpTitle; DWORD dwX; DWORD dwY; DWORD dwXSize; DWORD dwYSize; DWORD dwXCountChars; DWORD dwYCountChars; DWORD dwFillAttribute; DWORD dwFlags; WORD wShowWindow; WORD cbReserved2; PBYTE lpReserved2; HANDLE hStdInput; HANDLE hStdOutput; HANDLE hStdError; } STARTUPINFOW,*LPSTARTUPINFOW; typedef struct _PROCESS_INFORMATION { HANDLE hProcess; HANDLE hThread; DWORD dwProcessId; DWORD dwThreadId; } PROCESS_INFORMATION,*LPPROCESS_INFORMATION; typedef struct _CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Spare [2]; } CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG; typedef struct _CRITICAL_SECTION { PCRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; DWORD SpinCount; } CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION; typedef struct _SYSTEMTIME { WORD wYear; WORD wMonth; WORD wDayOfWeek; WORD wDay; WORD wHour; WORD wMinute; WORD wSecond; WORD wMilliseconds; } SYSTEMTIME,*LPSYSTEMTIME; typedef struct _WIN32_FILE_ATTRIBUTE_DATA { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; } WIN32_FILE_ATTRIBUTE_DATA,*LPWIN32_FILE_ATTRIBUTE_DATA; typedef struct _WIN32_FIND_DATAA { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; DWORD dwReserved0; DWORD dwReserved1; CHAR cFileName[260]; CHAR cAlternateFileName[14]; } WIN32_FIND_DATAA,*LPWIN32_FIND_DATAA; typedef struct _WIN32_FIND_DATAW { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; DWORD dwReserved0; DWORD dwReserved1; WCHAR cFileName[260]; WCHAR cAlternateFileName[14]; } WIN32_FIND_DATAW,*LPWIN32_FIND_DATAW; typedef struct _WIN32_STREAM_ID { DWORD dwStreamId; DWORD dwStreamAttributes; LARGE_INTEGER Size; DWORD dwStreamNameSize; WCHAR cStreamName[1]; } WIN32_STREAM_ID; typedef enum _FINDEX_INFO_LEVELS { FindExInfoStandard, FindExInfoMaxInfoLevel } FINDEX_INFO_LEVELS; typedef enum _FINDEX_SEARCH_OPS { FindExSearchNameMatch, FindExSearchLimitToDirectories, FindExSearchLimitToDevices, FindExSearchMaxSearchOp } FINDEX_SEARCH_OPS; typedef enum _ACL_INFORMATION_CLASS { AclRevisionInformation=1, AclSizeInformation } ACL_INFORMATION_CLASS; typedef struct tagHW_PROFILE_INFOA { DWORD dwDockInfo; CHAR szHwProfileGuid[39]; CHAR szHwProfileName[80]; } HW_PROFILE_INFOA,*LPHW_PROFILE_INFOA; typedef struct tagHW_PROFILE_INFOW { DWORD dwDockInfo; WCHAR szHwProfileGuid[39]; WCHAR szHwProfileName[80]; } HW_PROFILE_INFOW,*LPHW_PROFILE_INFOW; typedef enum _GET_FILEEX_INFO_LEVELS { GetFileExInfoStandard, GetFileExMaxInfoLevel } GET_FILEEX_INFO_LEVELS; typedef struct _SYSTEM_INFO { __extension__ union { DWORD dwOemId; __extension__ struct { WORD wProcessorArchitecture; WORD wReserved; } ; } ; DWORD dwPageSize; PVOID lpMinimumApplicationAddress; PVOID 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,*LPSYSTEM_POWER_STATUS; 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 _MEMORYSTATUS { DWORD dwLength; DWORD dwMemoryLoad; DWORD dwTotalPhys; DWORD dwAvailPhys; DWORD dwTotalPageFile; DWORD dwAvailPageFile; DWORD dwTotalVirtual; DWORD dwAvailVirtual; } MEMORYSTATUS,*LPMEMORYSTATUS; 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 _PROCESS_HEAP_ENTRY { PVOID lpData; DWORD cbData; BYTE cbOverhead; BYTE iRegionIndex; WORD wFlags; __extension__ union { struct { HANDLE hMem; DWORD dwReserved[3]; } Block; struct { DWORD dwCommittedSize; DWORD dwUnCommittedSize; LPVOID lpFirstBlock; LPVOID lpLastBlock; } Region; } ; } PROCESS_HEAP_ENTRY,*LPPROCESS_HEAP_ENTRY; typedef struct _OFSTRUCT { BYTE cBytes; BYTE fFixedDisk; WORD nErrCode; WORD Reserved1; WORD Reserved2; CHAR szPathName[128]; } OFSTRUCT,*LPOFSTRUCT,*POFSTRUCT; typedef struct _WIN_CERTIFICATE { DWORD dwLength; WORD wRevision; WORD wCertificateType; BYTE bCertificate[1]; } WIN_CERTIFICATE, *LPWIN_CERTIFICATE; typedef DWORD(__attribute__((__stdcall__)) *LPPROGRESS_ROUTINE)(LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,DWORD,DWORD,HANDLE,HANDLE,LPVOID); typedef void(__attribute__((__stdcall__)) *LPFIBER_START_ROUTINE)(PVOID); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESLANGPROC)(HMODULE,LPCTSTR,LPCTSTR,WORD,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESNAMEPROC)(HMODULE,LPCTSTR,LPTSTR,LONG); typedef BOOL(__attribute__((__stdcall__)) *ENUMRESTYPEPROC)(HMODULE,LPTSTR,LONG); typedef void(__attribute__((__stdcall__)) *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED); typedef LONG(__attribute__((__stdcall__)) *PTOP_LEVEL_EXCEPTION_FILTER)(LPEXCEPTION_POINTERS); typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER; typedef void(__attribute__((__stdcall__)) *PAPCFUNC)(DWORD); typedef void(__attribute__((__stdcall__)) *PTIMERAPCROUTINE)(PVOID,DWORD,DWORD); int __attribute__((__stdcall__)) WinMain(HINSTANCE,HINSTANCE,LPSTR,int); int __attribute__((__stdcall__)) wWinMain(HINSTANCE,HINSTANCE,LPWSTR,int); long __attribute__((__stdcall__)) _hread(HFILE,LPVOID,long); long __attribute__((__stdcall__)) _hwrite(HFILE,LPCSTR,long); HFILE __attribute__((__stdcall__)) _lclose(HFILE); HFILE __attribute__((__stdcall__)) _lcreat(LPCSTR,int); LONG __attribute__((__stdcall__)) _llseek(HFILE,LONG,int); HFILE __attribute__((__stdcall__)) _lopen(LPCSTR,int); UINT __attribute__((__stdcall__)) _lread(HFILE,LPVOID,UINT); UINT __attribute__((__stdcall__)) _lwrite(HFILE,LPCSTR,UINT); BOOL __attribute__((__stdcall__)) AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,PDWORD,PDWORD,PBOOL); BOOL __attribute__((__stdcall__)) AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL); BOOL __attribute__((__stdcall__)) AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,PDWORD,PBOOL,PBOOL); BOOL __attribute__((__stdcall__)) AddAccessAllowedAce(PACL,DWORD,DWORD,PSID); BOOL __attribute__((__stdcall__)) AddAccessDeniedAce(PACL,DWORD,DWORD,PSID); BOOL __attribute__((__stdcall__)) AddAce(PACL,DWORD,DWORD,PVOID,DWORD); ATOM __attribute__((__stdcall__)) AddAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) AddAtomW(LPCWSTR); BOOL __attribute__((__stdcall__)) AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL); BOOL __attribute__((__stdcall__)) AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD); BOOL __attribute__((__stdcall__)) AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD); BOOL __attribute__((__stdcall__)) AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID*); BOOL __attribute__((__stdcall__)) AllocateLocallyUniqueId(PLUID); BOOL __attribute__((__stdcall__)) AreAllAccessesGranted(DWORD,DWORD); BOOL __attribute__((__stdcall__)) AreAnyAccessesGranted(DWORD,DWORD); BOOL __attribute__((__stdcall__)) AreFileApisANSI(void); BOOL __attribute__((__stdcall__)) BackupEventLogA(HANDLE,LPCSTR); BOOL __attribute__((__stdcall__)) BackupEventLogW(HANDLE,LPCWSTR); BOOL __attribute__((__stdcall__)) BackupRead(HANDLE,PBYTE,DWORD,PDWORD,BOOL,BOOL,PVOID); BOOL __attribute__((__stdcall__)) BackupSeek(HANDLE,DWORD,DWORD,PDWORD,PDWORD,PVOID); BOOL __attribute__((__stdcall__)) BackupWrite(HANDLE,PBYTE,DWORD,PDWORD,BOOL,BOOL,PVOID); BOOL __attribute__((__stdcall__)) Beep(DWORD,DWORD); HANDLE __attribute__((__stdcall__)) BeginUpdateResourceA(LPCSTR,BOOL); HANDLE __attribute__((__stdcall__)) BeginUpdateResourceW(LPCWSTR,BOOL); BOOL __attribute__((__stdcall__)) BuildCommDCBA(LPCSTR,LPDCB); BOOL __attribute__((__stdcall__)) BuildCommDCBW(LPCWSTR,LPDCB); BOOL __attribute__((__stdcall__)) BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS); BOOL __attribute__((__stdcall__)) BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS); BOOL __attribute__((__stdcall__)) CallNamedPipeA(LPCSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD); BOOL __attribute__((__stdcall__)) CallNamedPipeW(LPCWSTR,PVOID,DWORD,PVOID,DWORD,PDWORD,DWORD); BOOL __attribute__((__stdcall__)) CancelIo(HANDLE); BOOL __attribute__((__stdcall__)) CancelWaitableTimer(HANDLE); BOOL __attribute__((__stdcall__)) ClearCommBreak(HANDLE); BOOL __attribute__((__stdcall__)) ClearCommError(HANDLE,PDWORD,LPCOMSTAT); BOOL __attribute__((__stdcall__)) ClearEventLogA(HANDLE,LPCSTR); BOOL __attribute__((__stdcall__)) ClearEventLogW(HANDLE,LPCWSTR); BOOL __attribute__((__stdcall__)) CloseEventLog(HANDLE); BOOL __attribute__((__stdcall__)) CloseHandle(HANDLE); BOOL __attribute__((__stdcall__)) CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG); BOOL __attribute__((__stdcall__)) CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG); LONG __attribute__((__stdcall__)) CompareFileTime(const FILETIME*,const FILETIME*); BOOL __attribute__((__stdcall__)) ConnectNamedPipe(HANDLE,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) ContinueDebugEvent(DWORD,DWORD,DWORD); PVOID __attribute__((__stdcall__)) ConvertThreadToFiber(PVOID); BOOL __attribute__((__stdcall__)) CopyFileA(LPCSTR,LPCSTR,BOOL); BOOL __attribute__((__stdcall__)) CopyFileW(LPCWSTR,LPCWSTR,BOOL); BOOL __attribute__((__stdcall__)) CopyFileExA(LPCSTR,LPCSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); BOOL __attribute__((__stdcall__)) CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD); # 996 "C:/MINGW/include/winbase.h" 3 BOOL __attribute__((__stdcall__)) CopySid(DWORD,PSID,PSID); BOOL __attribute__((__stdcall__)) CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR); LPVOID __attribute__((__stdcall__)) CreateFiber(DWORD,LPFIBER_START_ROUTINE,LPVOID); HANDLE __attribute__((__stdcall__)) CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); HANDLE __attribute__((__stdcall__)) CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); HANDLE __attribute__((__stdcall__)) CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR); HANDLE __attribute__((__stdcall__)) CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateIoCompletionPort(HANDLE,HANDLE,DWORD,DWORD); HANDLE __attribute__((__stdcall__)) CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); HANDLE __attribute__((__stdcall__)) CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HANDLE __attribute__((__stdcall__)) CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); BOOL __attribute__((__stdcall__)) CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD); BOOL __attribute__((__stdcall__)) CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING); BOOL __attribute__((__stdcall__)) CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); BOOL __attribute__((__stdcall__)) CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); BOOL __attribute__((__stdcall__)) CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); BOOL __attribute__((__stdcall__)) CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); HANDLE __attribute__((__stdcall__)) CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); HANDLE __attribute__((__stdcall__)) CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR); DWORD __attribute__((__stdcall__)) CreateTapePartition(HANDLE,DWORD,DWORD,DWORD); HANDLE __attribute__((__stdcall__)) CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,PVOID,DWORD,PDWORD); HANDLE __attribute__((__stdcall__)) CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); BOOL __attribute__((__stdcall__)) DebugActiveProcess(DWORD); void __attribute__((__stdcall__)) DebugBreak(void); BOOL __attribute__((__stdcall__)) DefineDosDeviceA(DWORD,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) DefineDosDeviceW(DWORD,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) DeleteAce(PACL,DWORD); ATOM __attribute__((__stdcall__)) DeleteAtom(ATOM); void __attribute__((__stdcall__)) DeleteCriticalSection(PCRITICAL_SECTION); void __attribute__((__stdcall__)) DeleteFiber(PVOID); BOOL __attribute__((__stdcall__)) DeleteFileA(LPCSTR); BOOL __attribute__((__stdcall__)) DeleteFileW(LPCWSTR); BOOL __attribute__((__stdcall__)) DeregisterEventSource(HANDLE); BOOL __attribute__((__stdcall__)) DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR*); BOOL __attribute__((__stdcall__)) DeviceIoControl(HANDLE,DWORD,PVOID,DWORD,PVOID,DWORD,PDWORD,POVERLAPPED); BOOL __attribute__((__stdcall__)) DisableThreadLibraryCalls(HMODULE); BOOL __attribute__((__stdcall__)) DisconnectNamedPipe(HANDLE); BOOL __attribute__((__stdcall__)) DosDateTimeToFileTime(WORD,WORD,LPFILETIME); BOOL __attribute__((__stdcall__)) DuplicateHandle(HANDLE,HANDLE,HANDLE,PHANDLE,DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) DuplicateToken(HANDLE,SECURITY_IMPERSONATION_LEVEL,PHANDLE); BOOL __attribute__((__stdcall__)) DuplicateTokenEx(HANDLE,DWORD,LPSECURITY_ATTRIBUTES,SECURITY_IMPERSONATION_LEVEL,TOKEN_TYPE,PHANDLE); BOOL __attribute__((__stdcall__)) EndUpdateResourceA(HANDLE,BOOL); BOOL __attribute__((__stdcall__)) EndUpdateResourceW(HANDLE,BOOL); void __attribute__((__stdcall__)) EnterCriticalSection(LPCRITICAL_SECTION); BOOL __attribute__((__stdcall__)) EnumResourceLanguagesA(HINSTANCE,LPCSTR,LPCSTR,ENUMRESLANGPROC,LONG); BOOL __attribute__((__stdcall__)) EnumResourceLanguagesW(HINSTANCE,LPCWSTR,LPCWSTR,ENUMRESLANGPROC,LONG); BOOL __attribute__((__stdcall__)) EnumResourceNamesA(HINSTANCE,LPCSTR,ENUMRESNAMEPROC,LONG); BOOL __attribute__((__stdcall__)) EnumResourceNamesW(HINSTANCE,LPCWSTR,ENUMRESNAMEPROC,LONG); BOOL __attribute__((__stdcall__)) EnumResourceTypesA(HINSTANCE,ENUMRESTYPEPROC,LONG); BOOL __attribute__((__stdcall__)) EnumResourceTypesW(HINSTANCE,ENUMRESTYPEPROC,LONG); BOOL __attribute__((__stdcall__)) EqualPrefixSid(PSID,PSID); BOOL __attribute__((__stdcall__)) EqualSid(PSID,PSID); DWORD __attribute__((__stdcall__)) EraseTape(HANDLE,DWORD,BOOL); BOOL __attribute__((__stdcall__)) EscapeCommFunction(HANDLE,DWORD); __attribute__((noreturn)) void __attribute__((__stdcall__)) ExitProcess(UINT); __attribute__((noreturn)) void __attribute__((__stdcall__)) ExitThread(DWORD); DWORD __attribute__((__stdcall__)) ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD); void __attribute__((__stdcall__)) FatalAppExitA(UINT,LPCSTR); void __attribute__((__stdcall__)) FatalAppExitW(UINT,LPCWSTR); void __attribute__((__stdcall__)) FatalExit(int); BOOL __attribute__((__stdcall__)) FileTimeToDosDateTime(const FILETIME *,LPWORD,LPWORD); BOOL __attribute__((__stdcall__)) FileTimeToLocalFileTime(FILETIME *,LPFILETIME); BOOL __attribute__((__stdcall__)) FileTimeToSystemTime(const FILETIME *,LPSYSTEMTIME); ATOM __attribute__((__stdcall__)) FindAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) FindAtomW(LPCWSTR); BOOL __attribute__((__stdcall__)) FindClose(HANDLE); BOOL __attribute__((__stdcall__)) FindCloseChangeNotification(HANDLE); HANDLE __attribute__((__stdcall__)) FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD); HANDLE __attribute__((__stdcall__)) FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD); HANDLE __attribute__((__stdcall__)) FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA); HANDLE __attribute__((__stdcall__)) FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW); HANDLE __attribute__((__stdcall__)) FindFirstFileExA(LPCSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD); HANDLE __attribute__((__stdcall__)) FindFirstFileExW(LPCWSTR,FINDEX_INFO_LEVELS,PVOID,FINDEX_SEARCH_OPS,PVOID,DWORD); BOOL __attribute__((__stdcall__)) FindFirstFreeAce(PACL,PVOID*); BOOL __attribute__((__stdcall__)) FindNextChangeNotification(HANDLE); BOOL __attribute__((__stdcall__)) FindNextFileA(HANDLE,LPWIN32_FIND_DATAA); BOOL __attribute__((__stdcall__)) FindNextFileW(HANDLE,LPWIN32_FIND_DATAW); HRSRC __attribute__((__stdcall__)) FindResourceA(HMODULE,LPCSTR,LPCSTR); HRSRC __attribute__((__stdcall__)) FindResourceW(HINSTANCE,LPCWSTR,LPCWSTR); HRSRC __attribute__((__stdcall__)) FindResourceExA(HINSTANCE,LPCSTR,LPCSTR,WORD); HRSRC __attribute__((__stdcall__)) FindResourceExW(HINSTANCE,LPCWSTR,LPCWSTR,WORD); BOOL __attribute__((__stdcall__)) FlushFileBuffers(HANDLE); BOOL __attribute__((__stdcall__)) FlushInstructionCache(HANDLE,PCVOID,DWORD); BOOL __attribute__((__stdcall__)) FlushViewOfFile(PCVOID,DWORD); DWORD __attribute__((__stdcall__)) FormatMessageA(DWORD,PCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*); DWORD __attribute__((__stdcall__)) FormatMessageW(DWORD,PCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list*); BOOL __attribute__((__stdcall__)) FreeEnvironmentStringsA(LPSTR); BOOL __attribute__((__stdcall__)) FreeEnvironmentStringsW(LPWSTR); BOOL __attribute__((__stdcall__)) FreeLibrary(HMODULE); __attribute__((noreturn)) void __attribute__((__stdcall__)) FreeLibraryAndExitThread(HMODULE,DWORD); BOOL __attribute__((__stdcall__)) FreeResource(HGLOBAL); PVOID __attribute__((__stdcall__)) FreeSid(PSID); BOOL __attribute__((__stdcall__)) GetAce(PACL,DWORD,PVOID); BOOL __attribute__((__stdcall__)) GetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS); UINT __attribute__((__stdcall__)) GetAtomNameA(ATOM,LPSTR,int); UINT __attribute__((__stdcall__)) GetAtomNameW(ATOM,LPWSTR,int); BOOL __attribute__((__stdcall__)) GetBinaryTypeA(LPCSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetBinaryTypeW(LPCWSTR,PDWORD); LPSTR __attribute__((__stdcall__)) GetCommandLineA(void); LPWSTR __attribute__((__stdcall__)) GetCommandLineW(void); BOOL __attribute__((__stdcall__)) GetCommConfig(HANDLE,LPCOMMCONFIG,PDWORD); BOOL __attribute__((__stdcall__)) GetCommMask(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetCommModemStatus(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetCommProperties(HANDLE,LPCOMMPROP); BOOL __attribute__((__stdcall__)) GetCommState(HANDLE,LPDCB); BOOL __attribute__((__stdcall__)) GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); DWORD __attribute__((__stdcall__)) GetCompressedFileSizeA(LPCSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetCompressedFileSizeW(LPCWSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetComputerNameA(LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetComputerNameW(LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetCurrentDirectoryA(DWORD,LPSTR); DWORD __attribute__((__stdcall__)) GetCurrentDirectoryW(DWORD,LPWSTR); BOOL __attribute__((__stdcall__)) GetCurrentHwProfileA(LPHW_PROFILE_INFOA); BOOL __attribute__((__stdcall__)) GetCurrentHwProfileW(LPHW_PROFILE_INFOW); HANDLE __attribute__((__stdcall__)) GetCurrentProcess(void); DWORD __attribute__((__stdcall__)) GetCurrentProcessId(void); HANDLE __attribute__((__stdcall__)) GetCurrentThread(void); DWORD __attribute__((__stdcall__)) GetCurrentThreadId(void); BOOL __attribute__((__stdcall__)) GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD); BOOL __attribute__((__stdcall__)) GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceA(LPCSTR,PDWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceW(LPCWSTR,PDWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); BOOL __attribute__((__stdcall__)) GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); UINT __attribute__((__stdcall__)) GetDriveTypeA(LPCSTR); UINT __attribute__((__stdcall__)) GetDriveTypeW(LPCWSTR); LPSTR __attribute__((__stdcall__)) GetEnvironmentStrings(void); LPSTR __attribute__((__stdcall__)) GetEnvironmentStringsA(void); LPWSTR __attribute__((__stdcall__)) GetEnvironmentStringsW(void); DWORD __attribute__((__stdcall__)) GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetExitCodeProcess(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetExitCodeThread(HANDLE,PDWORD); DWORD __attribute__((__stdcall__)) GetFileAttributesA(LPCSTR); DWORD __attribute__((__stdcall__)) GetFileAttributesW(LPCWSTR); BOOL __attribute__((__stdcall__)) GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,PVOID); BOOL __attribute__((__stdcall__)) GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,PVOID); BOOL __attribute__((__stdcall__)) GetFileInformationByHandle(HANDLE,LPBY_HANDLE_FILE_INFORMATION); BOOL __attribute__((__stdcall__)) GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetFileSize(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); DWORD __attribute__((__stdcall__)) GetFileType(HANDLE); DWORD __attribute__((__stdcall__)) GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*); DWORD __attribute__((__stdcall__)) GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*); BOOL __attribute__((__stdcall__)) GetHandleInformation(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetLengthSid(PSID); void __attribute__((__stdcall__)) GetLocalTime(LPSYSTEMTIME); DWORD __attribute__((__stdcall__)) GetLogicalDrives(void); DWORD __attribute__((__stdcall__)) GetLogicalDriveStringsA(DWORD,LPSTR); DWORD __attribute__((__stdcall__)) GetLogicalDriveStringsW(DWORD,LPWSTR); DWORD __attribute__((__stdcall__)) GetLongPathNameA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetLongPathNameW(LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetMailslotInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetModuleFileNameA(HINSTANCE,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetModuleFileNameW(HINSTANCE,LPWSTR,DWORD); HMODULE __attribute__((__stdcall__)) GetModuleHandleA(LPCSTR); HMODULE __attribute__((__stdcall__)) GetModuleHandleW(LPCWSTR); BOOL __attribute__((__stdcall__)) GetNamedPipeHandleStateA(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) GetNamedPipeHandleStateW(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetNamedPipeInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetNumberOfEventLogRecords(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetOldestEventLogRecord(HANDLE,PDWORD); BOOL __attribute__((__stdcall__)) GetOverlappedResult(HANDLE,LPOVERLAPPED,PDWORD,BOOL); DWORD __attribute__((__stdcall__)) GetPriorityClass(HANDLE); BOOL __attribute__((__stdcall__)) GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); UINT __attribute__((__stdcall__)) GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR); UINT __attribute__((__stdcall__)) GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD,LPCSTR); DWORD __attribute__((__stdcall__)) GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) GetPrivateProfileStructA(LPCSTR,LPCSTR,PVOID,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) GetPrivateProfileStructW(LPCWSTR,LPCWSTR,PVOID,UINT,LPCWSTR); FARPROC __attribute__((__stdcall__)) GetProcAddress(HINSTANCE,LPCSTR); BOOL __attribute__((__stdcall__)) GetProcessAffinityMask(HANDLE,PDWORD,PDWORD); HANDLE __attribute__((__stdcall__)) GetProcessHeap(void); DWORD __attribute__((__stdcall__)) GetProcessHeaps(DWORD,PHANDLE); BOOL __attribute__((__stdcall__)) GetProcessPriorityBoost(HANDLE,PBOOL); BOOL __attribute__((__stdcall__)) GetProcessShutdownParameters(PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); DWORD __attribute__((__stdcall__)) GetProcessVersion(DWORD); HWINSTA __attribute__((__stdcall__)) GetProcessWindowStation(void); BOOL __attribute__((__stdcall__)) GetProcessWorkingSetSize(HANDLE,PDWORD,PDWORD); UINT __attribute__((__stdcall__)) GetProfileIntA(LPCSTR,LPCSTR,INT); UINT __attribute__((__stdcall__)) GetProfileIntW(LPCWSTR,LPCWSTR,INT); DWORD __attribute__((__stdcall__)) GetProfileSectionA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetProfileSectionW(LPCWSTR,LPWSTR,DWORD); DWORD __attribute__((__stdcall__)) GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) GetQueuedCompletionStatus(HANDLE,PDWORD,PDWORD,LPOVERLAPPED*,DWORD); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,PDWORD); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID*,LPBOOL); DWORD __attribute__((__stdcall__)) GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID*,LPBOOL); BOOL __attribute__((__stdcall__)) GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPBOOL,PACL*,LPBOOL); DWORD __attribute__((__stdcall__)) GetShortPathNameA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) GetShortPathNameW(LPCWSTR,LPWSTR,DWORD); PSID_IDENTIFIER_AUTHORITY __attribute__((__stdcall__)) GetSidIdentifierAuthority(PSID); DWORD __attribute__((__stdcall__)) GetSidLengthRequired(UCHAR); PDWORD __attribute__((__stdcall__)) GetSidSubAuthority(PSID,DWORD); PUCHAR __attribute__((__stdcall__)) GetSidSubAuthorityCount(PSID); void __attribute__((__stdcall__)) GetStartupInfoA(LPSTARTUPINFOA); void __attribute__((__stdcall__)) GetStartupInfoW(LPSTARTUPINFOW); HANDLE __attribute__((__stdcall__)) GetStdHandle(DWORD); UINT __attribute__((__stdcall__)) GetSystemDirectoryA(LPSTR,UINT); UINT __attribute__((__stdcall__)) GetSystemDirectoryW(LPWSTR,UINT); void __attribute__((__stdcall__)) GetSystemInfo(LPSYSTEM_INFO); BOOL __attribute__((__stdcall__)) GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); void __attribute__((__stdcall__)) GetSystemTime(LPSYSTEMTIME); BOOL __attribute__((__stdcall__)) GetSystemTimeAdjustment(PDWORD,PDWORD,PBOOL); void __attribute__((__stdcall__)) GetSystemTimeAsFileTime(LPFILETIME); DWORD __attribute__((__stdcall__)) GetTapeParameters(HANDLE,DWORD,PDWORD,PVOID); DWORD __attribute__((__stdcall__)) GetTapePosition(HANDLE,DWORD,PDWORD,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetTapeStatus(HANDLE); UINT __attribute__((__stdcall__)) GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR); UINT __attribute__((__stdcall__)) GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR); DWORD __attribute__((__stdcall__)) GetTempPathA(DWORD,LPSTR); DWORD __attribute__((__stdcall__)) GetTempPathW(DWORD,LPWSTR); BOOL __attribute__((__stdcall__)) GetThreadContext(HANDLE,LPCONTEXT); int __attribute__((__stdcall__)) GetThreadPriority(HANDLE); BOOL __attribute__((__stdcall__)) GetThreadPriorityBoost(HANDLE,PBOOL); BOOL __attribute__((__stdcall__)) GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY); BOOL __attribute__((__stdcall__)) GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME); DWORD __attribute__((__stdcall__)) GetTickCount(void); DWORD __attribute__((__stdcall__)) GetTimeZoneInformation(LPTIME_ZONE_INFORMATION); BOOL __attribute__((__stdcall__)) GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetUserNameA (LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetUserNameW(LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetVersion(void); BOOL __attribute__((__stdcall__)) GetVersionExA(LPOSVERSIONINFOA); BOOL __attribute__((__stdcall__)) GetVersionExW(LPOSVERSIONINFOW); BOOL __attribute__((__stdcall__)) GetVolumeInformationA(LPCSTR,LPSTR,DWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD); UINT __attribute__((__stdcall__)) GetWindowsDirectoryA(LPSTR,UINT); UINT __attribute__((__stdcall__)) GetWindowsDirectoryW(LPWSTR,UINT); DWORD __attribute__((__stdcall__)) GetWindowThreadProcessId(HWND,PDWORD); ATOM __attribute__((__stdcall__)) GlobalAddAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) GlobalAddAtomW( LPCWSTR); HGLOBAL __attribute__((__stdcall__)) GlobalAlloc(UINT,DWORD); UINT __attribute__((__stdcall__)) GlobalCompact(DWORD); ATOM __attribute__((__stdcall__)) GlobalDeleteAtom(ATOM); HGLOBAL GlobalDiscard(HGLOBAL); ATOM __attribute__((__stdcall__)) GlobalFindAtomA(LPCSTR); ATOM __attribute__((__stdcall__)) GlobalFindAtomW(LPCWSTR); void __attribute__((__stdcall__)) GlobalFix(HGLOBAL); UINT __attribute__((__stdcall__)) GlobalFlags(HGLOBAL); HGLOBAL __attribute__((__stdcall__)) GlobalFree(HGLOBAL); UINT __attribute__((__stdcall__)) GlobalGetAtomNameA(ATOM,LPSTR,int); UINT __attribute__((__stdcall__)) GlobalGetAtomNameW(ATOM,LPWSTR,int); HGLOBAL __attribute__((__stdcall__)) GlobalHandle(PCVOID); LPVOID __attribute__((__stdcall__)) GlobalLock(HGLOBAL); void __attribute__((__stdcall__)) GlobalMemoryStatus(LPMEMORYSTATUS); HGLOBAL __attribute__((__stdcall__)) GlobalReAlloc(HGLOBAL,DWORD,UINT); DWORD __attribute__((__stdcall__)) GlobalSize(HGLOBAL); void __attribute__((__stdcall__)) GlobalUnfix(HGLOBAL); BOOL __attribute__((__stdcall__)) GlobalUnlock(HGLOBAL); BOOL __attribute__((__stdcall__)) GlobalUnWire(HGLOBAL); PVOID __attribute__((__stdcall__)) GlobalWire(HGLOBAL); PVOID __attribute__((__stdcall__)) HeapAlloc(HANDLE,DWORD,DWORD); UINT __attribute__((__stdcall__)) HeapCompact(HANDLE,DWORD); HANDLE __attribute__((__stdcall__)) HeapCreate(DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) HeapDestroy(HANDLE); BOOL __attribute__((__stdcall__)) HeapFree(HANDLE,DWORD,PVOID); BOOL __attribute__((__stdcall__)) HeapLock(HANDLE); PVOID __attribute__((__stdcall__)) HeapReAlloc(HANDLE,DWORD,PVOID,DWORD); DWORD __attribute__((__stdcall__)) HeapSize(HANDLE,DWORD,PCVOID); BOOL __attribute__((__stdcall__)) HeapUnlock(HANDLE); BOOL __attribute__((__stdcall__)) HeapValidate(HANDLE,DWORD,PCVOID); BOOL __attribute__((__stdcall__)) HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY); BOOL __attribute__((__stdcall__)) ImpersonateLoggedOnUser(HANDLE); BOOL __attribute__((__stdcall__)) ImpersonateNamedPipeClient(HANDLE); BOOL __attribute__((__stdcall__)) ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL); BOOL __attribute__((__stdcall__)) InitAtomTable(DWORD); BOOL __attribute__((__stdcall__)) InitializeAcl(PACL,DWORD,DWORD); void __attribute__((__stdcall__)) InitializeCriticalSection(LPCRITICAL_SECTION); BOOL __attribute__((__stdcall__)) InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR,DWORD); BOOL __attribute__((__stdcall__)) InitializeSid (PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); LONG __attribute__((__stdcall__)) InterlockedCompareExchange(LPLONG,LONG,LONG); LONG __attribute__((__stdcall__)) InterlockedDecrement(LPLONG); LONG __attribute__((__stdcall__)) InterlockedExchange(LPLONG,LONG); LONG __attribute__((__stdcall__)) InterlockedExchangeAdd(PLONG,LONG); LONG __attribute__((__stdcall__)) InterlockedIncrement(LPLONG); BOOL __attribute__((__stdcall__)) IsBadCodePtr(FARPROC); BOOL __attribute__((__stdcall__)) IsBadHugeReadPtr(PCVOID,UINT); BOOL __attribute__((__stdcall__)) IsBadHugeWritePtr(PVOID,UINT); BOOL __attribute__((__stdcall__)) IsBadReadPtr(PCVOID,UINT); BOOL __attribute__((__stdcall__)) IsBadStringPtrA(LPCSTR,UINT); BOOL __attribute__((__stdcall__)) IsBadStringPtrW(LPCWSTR,UINT); BOOL __attribute__((__stdcall__)) IsBadWritePtr(PVOID,UINT); BOOL __attribute__((__stdcall__)) IsDebuggerPresent(void); BOOL __attribute__((__stdcall__)) IsProcessorFeaturePresent(DWORD); BOOL __attribute__((__stdcall__)) IsTextUnicode(PCVOID,int,LPINT); BOOL __attribute__((__stdcall__)) IsValidAcl(PACL); BOOL __attribute__((__stdcall__)) IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) IsValidSid(PSID); void __attribute__((__stdcall__)) LeaveCriticalSection(LPCRITICAL_SECTION); HINSTANCE __attribute__((__stdcall__)) LoadLibraryA(LPCSTR); HINSTANCE __attribute__((__stdcall__)) LoadLibraryExA(LPCSTR,HANDLE,DWORD); HINSTANCE __attribute__((__stdcall__)) LoadLibraryExW(LPCWSTR,HANDLE,DWORD); HINSTANCE __attribute__((__stdcall__)) LoadLibraryW(LPCWSTR); DWORD __attribute__((__stdcall__)) LoadModule(LPCSTR,PVOID); HGLOBAL __attribute__((__stdcall__)) LoadResource(HINSTANCE,HRSRC); HLOCAL __attribute__((__stdcall__)) LocalAlloc(UINT,UINT); UINT __attribute__((__stdcall__)) LocalCompact(UINT); HLOCAL LocalDiscard(HLOCAL); BOOL __attribute__((__stdcall__)) LocalFileTimeToFileTime(const FILETIME *,LPFILETIME); UINT __attribute__((__stdcall__)) LocalFlags(HLOCAL); HLOCAL __attribute__((__stdcall__)) LocalFree(HLOCAL); HLOCAL __attribute__((__stdcall__)) LocalHandle(LPCVOID); PVOID __attribute__((__stdcall__)) LocalLock(HLOCAL); HLOCAL __attribute__((__stdcall__)) LocalReAlloc(HLOCAL,UINT,UINT); UINT __attribute__((__stdcall__)) LocalShrink(HLOCAL,UINT); UINT __attribute__((__stdcall__)) LocalSize(HLOCAL); BOOL __attribute__((__stdcall__)) LocalUnlock(HLOCAL); BOOL __attribute__((__stdcall__)) LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED); PVOID __attribute__((__stdcall__)) LockResource(HGLOBAL); BOOL __attribute__((__stdcall__)) LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE); BOOL __attribute__((__stdcall__)) LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE); BOOL __attribute__((__stdcall__)) LookupAccountNameA(LPCSTR,LPCSTR,PSID,PDWORD,LPSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupAccountSidA(LPCSTR,PSID,LPSTR,PDWORD,LPSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupAccountSidW(LPCWSTR,PSID,LPWSTR,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); BOOL __attribute__((__stdcall__)) LookupPrivilegeDisplayNameA(LPCSTR,LPCSTR,LPSTR,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeDisplayNameW(LPCWSTR,LPCWSTR,LPWSTR,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeNameA(LPCSTR,PLUID,LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeNameW(LPCWSTR,PLUID,LPWSTR,PDWORD); BOOL __attribute__((__stdcall__)) LookupPrivilegeValueA(LPCSTR,LPCSTR,PLUID); BOOL __attribute__((__stdcall__)) LookupPrivilegeValueW(LPCWSTR,LPCWSTR,PLUID); LPSTR __attribute__((__stdcall__)) lstrcatA(LPSTR,LPCSTR); LPWSTR __attribute__((__stdcall__)) lstrcatW(LPWSTR,LPCWSTR); int __attribute__((__stdcall__)) lstrcmpA(LPCSTR,LPCSTR); int __attribute__((__stdcall__)) lstrcmpiA(LPCSTR,LPCSTR); int __attribute__((__stdcall__)) lstrcmpiW( LPCWSTR,LPCWSTR); int __attribute__((__stdcall__)) lstrcmpW(LPCWSTR,LPCWSTR); LPSTR __attribute__((__stdcall__)) lstrcpyA(LPSTR,LPCSTR); LPSTR __attribute__((__stdcall__)) lstrcpynA(LPSTR,LPCSTR,int); LPWSTR __attribute__((__stdcall__)) lstrcpynW(LPWSTR,LPCWSTR,int); LPWSTR __attribute__((__stdcall__)) lstrcpyW(LPWSTR,LPCWSTR); int __attribute__((__stdcall__)) lstrlenA(LPCSTR); int __attribute__((__stdcall__)) lstrlenW(LPCWSTR); BOOL __attribute__((__stdcall__)) MakeAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD,PACL,PDWORD,PACL,PDWORD,PSID,PDWORD,PSID,PDWORD); BOOL __attribute__((__stdcall__)) MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PDWORD); void __attribute__((__stdcall__)) MapGenericMask(PDWORD,PGENERIC_MAPPING); PVOID __attribute__((__stdcall__)) MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD); PVOID __attribute__((__stdcall__)) MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,PVOID); BOOL __attribute__((__stdcall__)) MoveFileA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) MoveFileExA(LPCSTR,LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) MoveFileExW(LPCWSTR,LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) MoveFileW(LPCWSTR,LPCWSTR); int __attribute__((__stdcall__)) MulDiv(int,int,int); BOOL __attribute__((__stdcall__)) NotifyChangeEventLog(HANDLE,HANDLE); BOOL __attribute__((__stdcall__)) ObjectCloseAuditAlarmA(LPCSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectCloseAuditAlarmW(LPCWSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectDeleteAuditAlarmA(LPCSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectDeleteAuditAlarmW(LPCWSTR,PVOID,BOOL); BOOL __attribute__((__stdcall__)) ObjectOpenAuditAlarmA(LPCSTR,PVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL); BOOL __attribute__((__stdcall__)) ObjectOpenAuditAlarmW(LPCWSTR,PVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,HANDLE,DWORD,DWORD,PPRIVILEGE_SET,BOOL,BOOL,PBOOL); BOOL __attribute__((__stdcall__)) ObjectPrivilegeAuditAlarmA(LPCSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); BOOL __attribute__((__stdcall__)) ObjectPrivilegeAuditAlarmW(LPCWSTR,PVOID,HANDLE,DWORD,PPRIVILEGE_SET,BOOL); HANDLE __attribute__((__stdcall__)) OpenBackupEventLogA(LPCSTR,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenBackupEventLogW(LPCWSTR,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenEventA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenEventLogA (LPCSTR,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenEventLogW(LPCWSTR,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenEventW(DWORD,BOOL,LPCWSTR); HFILE __attribute__((__stdcall__)) OpenFile(LPCSTR,LPOFSTRUCT,UINT); HANDLE __attribute__((__stdcall__)) OpenFileMappingA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenFileMappingW(DWORD,BOOL,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenMutexA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenMutexW(DWORD,BOOL,LPCWSTR); HANDLE __attribute__((__stdcall__)) OpenProcess(DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) OpenProcessToken(HANDLE,DWORD,PHANDLE); HANDLE __attribute__((__stdcall__)) OpenSemaphoreA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenSemaphoreW(DWORD,BOOL,LPCWSTR); BOOL __attribute__((__stdcall__)) OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE); HANDLE __attribute__((__stdcall__)) OpenWaitableTimerA(DWORD,BOOL,LPCSTR); HANDLE __attribute__((__stdcall__)) OpenWaitableTimerW(DWORD,BOOL,LPCWSTR); void __attribute__((__stdcall__)) OutputDebugStringA(LPCSTR); void __attribute__((__stdcall__)) OutputDebugStringW(LPCWSTR); BOOL __attribute__((__stdcall__)) PeekNamedPipe(HANDLE,PVOID,DWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) PostQueuedCompletionStatus(HANDLE,DWORD,DWORD,LPOVERLAPPED); DWORD __attribute__((__stdcall__)) PrepareTape(HANDLE,DWORD,BOOL); BOOL __attribute__((__stdcall__)) PrivilegeCheck (HANDLE,PPRIVILEGE_SET,PBOOL); BOOL __attribute__((__stdcall__)) PrivilegedServiceAuditAlarmA(LPCSTR,LPCSTR,HANDLE,PPRIVILEGE_SET,BOOL); BOOL __attribute__((__stdcall__)) PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDLE,PPRIVILEGE_SET,BOOL); BOOL __attribute__((__stdcall__)) PulseEvent(HANDLE); BOOL __attribute__((__stdcall__)) PurgeComm(HANDLE,DWORD); DWORD __attribute__((__stdcall__)) QueryDosDeviceA(LPCSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) QueryPerformanceCounter(PLARGE_INTEGER); BOOL __attribute__((__stdcall__)) QueryPerformanceFrequency(PLARGE_INTEGER); DWORD __attribute__((__stdcall__)) QueueUserAPC(PAPCFUNC,HANDLE,DWORD); void __attribute__((__stdcall__)) RaiseException(DWORD,DWORD,DWORD,const DWORD*); BOOL __attribute__((__stdcall__)) ReadDirectoryChangesW(HANDLE,PVOID,DWORD,BOOL,DWORD,PDWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) ReadEventLogA(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *); BOOL __attribute__((__stdcall__)) ReadEventLogW(HANDLE,DWORD,DWORD,PVOID,DWORD,DWORD *,DWORD *); BOOL __attribute__((__stdcall__)) ReadFile(HANDLE,PVOID,DWORD,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) ReadFileEx(HANDLE,PVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) ReadProcessMemory(HANDLE,PCVOID,PVOID,DWORD,PDWORD); HANDLE __attribute__((__stdcall__)) RegisterEventSourceA (LPCSTR,LPCSTR); HANDLE __attribute__((__stdcall__)) RegisterEventSourceW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) ReleaseMutex(HANDLE); BOOL __attribute__((__stdcall__)) ReleaseSemaphore(HANDLE,LONG,LPLONG); BOOL __attribute__((__stdcall__)) RemoveDirectoryA(LPCSTR); BOOL __attribute__((__stdcall__)) RemoveDirectoryW(LPCWSTR); BOOL __attribute__((__stdcall__)) ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR*,PVOID); BOOL __attribute__((__stdcall__)) ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR*,PVOID); BOOL __attribute__((__stdcall__)) ResetEvent(HANDLE); DWORD __attribute__((__stdcall__)) ResumeThread(HANDLE); BOOL __attribute__((__stdcall__)) RevertToSelf(void); DWORD __attribute__((__stdcall__)) SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*); DWORD __attribute__((__stdcall__)) SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*); BOOL __attribute__((__stdcall__)) SetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS); BOOL __attribute__((__stdcall__)) SetCommBreak(HANDLE); BOOL __attribute__((__stdcall__)) SetCommConfig(HANDLE,LPCOMMCONFIG,DWORD); BOOL __attribute__((__stdcall__)) SetCommMask(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetCommState(HANDLE,LPDCB); BOOL __attribute__((__stdcall__)) SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS); BOOL __attribute__((__stdcall__)) SetComputerNameA(LPCSTR); BOOL __attribute__((__stdcall__)) SetComputerNameW(LPCWSTR); BOOL __attribute__((__stdcall__)) SetCurrentDirectoryA(LPCSTR); BOOL __attribute__((__stdcall__)) SetCurrentDirectoryW(LPCWSTR); BOOL __attribute__((__stdcall__)) SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD); BOOL __attribute__((__stdcall__)) SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD); BOOL __attribute__((__stdcall__)) SetEndOfFile(HANDLE); BOOL __attribute__((__stdcall__)) SetEnvironmentVariableA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) SetEnvironmentVariableW(LPCWSTR,LPCWSTR); UINT __attribute__((__stdcall__)) SetErrorMode(UINT); BOOL __attribute__((__stdcall__)) SetEvent(HANDLE); void __attribute__((__stdcall__)) SetFileApisToANSI(void); void __attribute__((__stdcall__)) SetFileApisToOEM(void); BOOL __attribute__((__stdcall__)) SetFileAttributesA(LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) SetFileAttributesW(LPCWSTR,DWORD); DWORD __attribute__((__stdcall__)) SetFilePointer(HANDLE,LONG,PLONG,DWORD); BOOL __attribute__((__stdcall__)) SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*); UINT __attribute__((__stdcall__)) SetHandleCount(UINT); BOOL __attribute__((__stdcall__)) SetHandleInformation(HANDLE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetKernelObjectSecurity(HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); void __attribute__((__stdcall__)) SetLastError(DWORD); void __attribute__((__stdcall__)) SetLastErrorEx(DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetLocalTime(const SYSTEMTIME*); BOOL __attribute__((__stdcall__)) SetMailslotInfo(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetNamedPipeHandleState(HANDLE,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) SetPriorityClass(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetPrivateObjectSecurity(SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR *,PGENERIC_MAPPING,HANDLE); BOOL __attribute__((__stdcall__)) SetProcessAffinityMask(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetProcessPriorityBoost(HANDLE,BOOL); BOOL __attribute__((__stdcall__)) SetProcessShutdownParameters(DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetProcessWorkingSetSize(HANDLE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,SECURITY_DESCRIPTOR_CONTROL,SECURITY_DESCRIPTOR_CONTROL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL); BOOL __attribute__((__stdcall__)) SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL __attribute__((__stdcall__)) SetStdHandle(DWORD,HANDLE); BOOL __attribute__((__stdcall__)) SetSystemPowerState(BOOL,BOOL); BOOL __attribute__((__stdcall__)) SetSystemTime(const SYSTEMTIME*); BOOL __attribute__((__stdcall__)) SetSystemTimeAdjustment(DWORD,BOOL); DWORD __attribute__((__stdcall__)) SetTapeParameters(HANDLE,DWORD,PVOID); DWORD __attribute__((__stdcall__)) SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL); DWORD __attribute__((__stdcall__)) SetThreadAffinityMask(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetThreadContext(HANDLE,const CONTEXT*); DWORD __attribute__((__stdcall__)) SetThreadIdealProcessor(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetThreadPriority(HANDLE,int); BOOL __attribute__((__stdcall__)) SetThreadPriorityBoost(HANDLE,BOOL); BOOL __attribute__((__stdcall__)) SetThreadToken (PHANDLE,HANDLE); BOOL __attribute__((__stdcall__)) SetTimeZoneInformation(const TIME_ZONE_INFORMATION *); BOOL __attribute__((__stdcall__)) SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD); LPTOP_LEVEL_EXCEPTION_FILTER __attribute__((__stdcall__)) SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER); BOOL __attribute__((__stdcall__)) SetupComm(HANDLE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) SetVolumeLabelA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) SetVolumeLabelW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,PVOID,BOOL); BOOL __attribute__((__stdcall__)) SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL); DWORD __attribute__((__stdcall__)) SizeofResource(HINSTANCE,HRSRC); void __attribute__((__stdcall__)) Sleep(DWORD); DWORD __attribute__((__stdcall__)) SleepEx(DWORD,BOOL); DWORD __attribute__((__stdcall__)) SuspendThread(HANDLE); void __attribute__((__stdcall__)) SwitchToFiber(PVOID); BOOL __attribute__((__stdcall__)) SwitchToThread(void); BOOL __attribute__((__stdcall__)) SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME); BOOL __attribute__((__stdcall__)) SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME); BOOL __attribute__((__stdcall__)) TerminateProcess(HANDLE,UINT); BOOL __attribute__((__stdcall__)) TerminateThread(HANDLE,DWORD); DWORD __attribute__((__stdcall__)) TlsAlloc(void); BOOL __attribute__((__stdcall__)) TlsFree(DWORD); PVOID __attribute__((__stdcall__)) TlsGetValue(DWORD); BOOL __attribute__((__stdcall__)) TlsSetValue(DWORD,PVOID); BOOL __attribute__((__stdcall__)) TransactNamedPipe(HANDLE,PVOID,DWORD,PVOID,DWORD,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) TransmitCommChar(HANDLE,char); BOOL __attribute__((__stdcall__)) TryEnterCriticalSection(LPCRITICAL_SECTION); LONG __attribute__((__stdcall__)) UnhandledExceptionFilter(LPEXCEPTION_POINTERS); BOOL __attribute__((__stdcall__)) UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) UnmapViewOfFile(PVOID); BOOL __attribute__((__stdcall__)) UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD); BOOL __attribute__((__stdcall__)) UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD); BOOL __attribute__((__stdcall__)) VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG); BOOL __attribute__((__stdcall__)) VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG); PVOID __attribute__((__stdcall__)) VirtualAlloc(PVOID,DWORD,DWORD,DWORD); PVOID __attribute__((__stdcall__)) VirtualAllocEx(HANDLE,PVOID,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) VirtualFree(PVOID,DWORD,DWORD); BOOL __attribute__((__stdcall__)) VirtualFreeEx(HANDLE,PVOID,DWORD,DWORD); BOOL __attribute__((__stdcall__)) VirtualLock(PVOID,DWORD); BOOL __attribute__((__stdcall__)) VirtualProtect(PVOID,DWORD,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) VirtualProtectEx(HANDLE,PVOID,DWORD,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) VirtualQuery(LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD); DWORD __attribute__((__stdcall__)) VirtualQueryEx(HANDLE,LPCVOID,PMEMORY_BASIC_INFORMATION,DWORD); BOOL __attribute__((__stdcall__)) VirtualUnlock(PVOID,DWORD); BOOL __attribute__((__stdcall__)) WaitCommEvent(HANDLE,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) WaitForDebugEvent(LPDEBUG_EVENT,DWORD); DWORD __attribute__((__stdcall__)) WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD); DWORD __attribute__((__stdcall__)) WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL); DWORD __attribute__((__stdcall__)) WaitForSingleObject(HANDLE,DWORD); DWORD __attribute__((__stdcall__)) WaitForSingleObjectEx(HANDLE,DWORD,BOOL); BOOL __attribute__((__stdcall__)) WaitNamedPipeA(LPCSTR,DWORD); BOOL __attribute__((__stdcall__)) WaitNamedPipeW(LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) WinLoadTrustProvider(GUID*); BOOL __attribute__((__stdcall__)) WriteFile(HANDLE,PCVOID,DWORD,PDWORD,LPOVERLAPPED); BOOL __attribute__((__stdcall__)) WriteFileEx(HANDLE,PCVOID,DWORD,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStructA(LPCSTR,LPCSTR,PVOID,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) WritePrivateProfileStructW(LPCWSTR,LPCWSTR,PVOID,UINT,LPCWSTR); BOOL __attribute__((__stdcall__)) WriteProcessMemory(HANDLE,PVOID,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) WriteProfileSectionA(LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WriteProfileSectionW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR); DWORD __attribute__((__stdcall__)) WriteTapemark(HANDLE,DWORD,DWORD,BOOL); # 1712 "C:/MINGW/include/winbase.h" 3 typedef STARTUPINFOA STARTUPINFO,*LPSTARTUPINFO; typedef WIN32_FIND_DATAA WIN32_FIND_DATA,*LPWIN32_FIND_DATA; typedef HW_PROFILE_INFOA HW_PROFILE_INFO,*LPHW_PROFILE_INFO; # 1850 "C:/MINGW/include/winbase.h" 3 } # 52 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/wingdi.h" 1 3 # 5 "C:/MINGW/include/wingdi.h" 3 extern "C" { # 1165 "C:/MINGW/include/wingdi.h" 3 typedef struct _ABC { int abcA; UINT abcB; int abcC; } ABC,*LPABC; typedef struct _ABCFLOAT { FLOAT abcfA; FLOAT abcfB; FLOAT abcfC; } ABCFLOAT,*LPABCFLOAT; typedef struct tagBITMAP { LONG bmType; LONG bmWidth; LONG bmHeight; LONG bmWidthBytes; WORD bmPlanes; WORD bmBitsPixel; LPVOID bmBits; } BITMAP,*PBITMAP,*LPBITMAP; typedef struct tagBITMAPCOREHEADER { DWORD bcSize; WORD bcWidth; WORD bcHeight; WORD bcPlanes; WORD bcBitCount; } BITMAPCOREHEADER,*LPBITMAPCOREHEADER,*PBITMAPCOREHEADER; #pragma pack(push,1) typedef struct tagRGBTRIPLE { BYTE rgbtBlue; BYTE rgbtGreen; BYTE rgbtRed; } RGBTRIPLE; #pragma pack(pop) #pragma pack(push,2) typedef struct tagBITMAPFILEHEADER { WORD bfType; DWORD bfSize; WORD bfReserved1; WORD bfReserved2; DWORD bfOffBits; } BITMAPFILEHEADER,*LPBITMAPFILEHEADER,*PBITMAPFILEHEADER; #pragma pack(pop) typedef struct _BITMAPCOREINFO { BITMAPCOREHEADER bmciHeader; RGBTRIPLE bmciColors[1]; } BITMAPCOREINFO,*LPBITMAPCOREINFO,*PBITMAPCOREINFO; 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,*PBITMAPINFOHEADER; typedef struct tagRGBQUAD { BYTE rgbBlue; BYTE rgbGreen; BYTE rgbRed; BYTE rgbReserved; } RGBQUAD; typedef struct tagBITMAPINFO { BITMAPINFOHEADER bmiHeader; RGBQUAD bmiColors[1]; } BITMAPINFO,*LPBITMAPINFO,*PBITMAPINFO; typedef long FXPT16DOT16,*LPFXPT16DOT16; typedef long FXPT2DOT30,*LPFXPT2DOT30; typedef struct tagCIEXYZ { FXPT2DOT30 ciexyzX; FXPT2DOT30 ciexyzY; FXPT2DOT30 ciexyzZ; } CIEXYZ,*LPCIEXYZ; typedef struct tagCIEXYZTRIPLE { CIEXYZ ciexyzRed; CIEXYZ ciexyzGreen; CIEXYZ ciexyzBlue; } 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 tagFONTSIGNATURE { DWORD fsUsb[4]; DWORD fsCsb[2]; } FONTSIGNATURE,*LPFONTSIGNATURE; typedef struct { UINT ciCharset; UINT ciACP; FONTSIGNATURE fs; } CHARSETINFO,*LPCHARSETINFO; 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 _devicemodeA { BYTE dmDeviceName[32]; 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; BYTE dmFormName[32]; WORD dmLogPixels; DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; DWORD dmDisplayFlags; DWORD dmDisplayFrequency; DWORD dmICMMethod; DWORD dmICMIntent; DWORD dmMediaType; DWORD dmDitherType; DWORD dmICCManufacturer; DWORD dmICCModel; } DEVMODEA,*LPDEVMODEA,*PDEVMODEA; typedef struct _devicemodeW { WCHAR dmDeviceName[32]; 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; WCHAR dmFormName[32]; WORD dmLogPixels; DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; DWORD dmDisplayFlags; DWORD dmDisplayFrequency; DWORD dmICMMethod; DWORD dmICMIntent; DWORD dmMediaType; DWORD dmDitherType; DWORD dmICCManufacturer; DWORD dmICCModel; } DEVMODEW,*LPDEVMODEW,*PDEVMODEW; typedef struct tagDIBSECTION { BITMAP dsBm; BITMAPINFOHEADER dsBmih; DWORD dsBitfields[3]; HANDLE dshSection; DWORD dsOffset; } DIBSECTION; typedef struct _DOCINFOA { int cbSize; LPCTSTR lpszDocName; LPCTSTR lpszOutput; LPCTSTR lpszDatatype; DWORD fwType; } DOCINFOA,*LPDOCINFOA; typedef struct _DOCINFOW { int cbSize; LPCWSTR lpszDocName; LPCWSTR lpszOutput; LPCWSTR lpszDatatype; DWORD fwType; } DOCINFOW,*LPDOCINFOW; 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,*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 LOGBRUSH PATTERN,*PPATTERN,*LPPATTERN; typedef struct tagEMRCREATEBRUSHINDIRECT { EMR emr; DWORD ihBrush; LOGBRUSH lb; } EMRCREATEBRUSHINDIRECT,*PEMRCREATEBRUSHINDIRECT; typedef LONG LCSCSTYPE; typedef LONG LCSGAMUTMATCH; typedef struct tagLOGCOLORSPACEA { DWORD lcsSignature; DWORD lcsVersion; DWORD lcsSize; LCSCSTYPE lcsCSType; LCSGAMUTMATCH lcsIntent; CIEXYZTRIPLE lcsEndpoints; DWORD lcsGammaRed; DWORD lcsGammaGreen; DWORD lcsGammaBlue; CHAR lcsFilename[260]; } LOGCOLORSPACEA,*LPLOGCOLORSPACEA; typedef struct tagLOGCOLORSPACEW { DWORD lcsSignature; DWORD lcsVersion; DWORD lcsSize; LCSCSTYPE lcsCSType; LCSGAMUTMATCH lcsIntent; CIEXYZTRIPLE lcsEndpoints; DWORD lcsGammaRed; DWORD lcsGammaGreen; DWORD lcsGammaBlue; WCHAR lcsFilename[260]; } LOGCOLORSPACEW,*LPLOGCOLORSPACEW; typedef struct tagEMRCREATECOLORSPACE { EMR emr; DWORD ihCS; LOGCOLORSPACEW 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,*NPLOGPALETTE,*PLOGPALETTE,*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 tagLOGFONTA { 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; CHAR lfFaceName[32]; } LOGFONTA,*PLOGFONTA,*LPLOGFONTA; typedef struct tagLOGFONTW { 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; WCHAR lfFaceName[32]; } LOGFONTW,*PLOGFONTW,*LPLOGFONTW; typedef struct tagEXTLOGFONTA { LOGFONTA elfLogFont; BYTE elfFullName[64]; BYTE elfStyle[32]; DWORD elfVersion; DWORD elfStyleSize; DWORD elfMatch; DWORD elfReserved; BYTE elfVendorId[4]; DWORD elfCulture; PANOSE elfPanose; } EXTLOGFONTA,*PEXTLOGFONTA,*LPEXTLOGFONTA; typedef struct tagEXTLOGFONTW { LOGFONTW elfLogFont; WCHAR elfFullName[64]; WCHAR elfStyle[32]; DWORD elfVersion; DWORD elfStyleSize; DWORD elfMatch; DWORD elfReserved; BYTE elfVendorId[4]; DWORD elfCulture; PANOSE elfPanose; } EXTLOGFONTW,*PEXTLOGFONTW,*LPEXTLOGFONTW; typedef struct tagEMREXTCREATEFONTINDIRECTW { EMR emr; DWORD ihFont; EXTLOGFONTW elfw; } EMREXTCREATEFONTINDIRECTW,*PEMREXTCREATEFONTINDIRECTW; typedef struct tagEXTLOGPEN { UINT elpPenStyle; UINT elpWidth; UINT elpBrushStyle; COLORREF elpColor; LONG elpHatch; DWORD elpNumEntries; DWORD elpStyleEntry[1]; } EXTLOGPEN,*PEXTLOGPEN,*LPEXTLOGPEN; 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 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; #pragma pack(push,2) typedef struct tagMETAHEADER { WORD mtType; WORD mtHeaderSize; WORD mtVersion; DWORD mtSize; WORD mtNoObjects; DWORD mtMaxRecord; WORD mtNoParameters; } METAHEADER,*PMETAHEADER,*LPMETAHEADER; #pragma pack(pop) 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 tagMETARECORD { DWORD rdSize; WORD rdFunction; WORD rdParm[1]; } METARECORD,*PMETARECORD,*LPMETARECORD; typedef struct tagENHMETARECORD { DWORD iType; DWORD nSize; DWORD dParm[1]; } ENHMETARECORD,*LPENHMETARECORD; typedef struct tagHANDLETABLE { HGDIOBJ objectHandle[1]; } HANDLETABLE,*LPHANDLETABLE; typedef struct tagTEXTMETRICA { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; BYTE tmFirstChar; BYTE tmLastChar; BYTE tmDefaultChar; BYTE tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; } TEXTMETRICA,*PTEXTMETRICA,*LPTEXTMETRICA; typedef struct tagTEXTMETRICW { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; WCHAR tmFirstChar; WCHAR tmLastChar; WCHAR tmDefaultChar; WCHAR tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; } TEXTMETRICW,*PTEXTMETRICW,*LPTEXTMETRICW; 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 tagGCP_RESULTSA { DWORD lStructSize; LPSTR lpOutString; UINT *lpOrder; INT *lpDx; INT *lpCaretPos; LPSTR lpClass; UINT *lpGlyphs; UINT nGlyphs; UINT nMaxFit; } GCP_RESULTSA,*LPGCP_RESULTSA; typedef struct tagGCP_RESULTSW { DWORD lStructSize; LPWSTR lpOutString; UINT *lpOrder; INT *lpDx; INT *lpCaretPos; LPWSTR lpClass; UINT *lpGlyphs; UINT nGlyphs; UINT nMaxFit; } GCP_RESULTSW,*LPGCP_RESULTSW; typedef struct _GLYPHMETRICS { UINT gmBlackBoxX; UINT gmBlackBoxY; POINT gmptGlyphOrigin; short gmCellIncX; short gmCellIncY; } GLYPHMETRICS,*LPGLYPHMETRICS; typedef struct tagKERNINGPAIR { WORD wFirst; WORD wSecond; int iKernAmount; } KERNINGPAIR,*LPKERNINGPAIR; typedef struct _FIXED { WORD fract; short value; } FIXED; typedef struct _MAT2 { FIXED eM11; FIXED eM12; FIXED eM21; FIXED eM22; } MAT2,*LPMAT2; typedef struct _OUTLINETEXTMETRICA { UINT otmSize; TEXTMETRICA 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; } OUTLINETEXTMETRICA,*POUTLINETEXTMETRICA,*LPOUTLINETEXTMETRICA; typedef struct _OUTLINETEXTMETRICW { UINT otmSize; TEXTMETRICW 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; } OUTLINETEXTMETRICW,*POUTLINETEXTMETRICW,*LPOUTLINETEXTMETRICW; typedef struct _RASTERIZER_STATUS { short nSize; short wFlags; short nLanguageID; } RASTERIZER_STATUS,*LPRASTERIZER_STATUS; typedef struct _POLYTEXTA { int x; int y; UINT n; LPCSTR lpstr; UINT uiFlags; RECT rcl; int *pdx; } POLYTEXTA; typedef struct _POLYTEXTW { int x; int y; UINT n; LPCWSTR lpstr; UINT uiFlags; RECT rcl; int *pdx; } POLYTEXTW; 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; typedef struct tagMETAFILEPICT { LONG mm; LONG xExt; LONG yExt; HMETAFILE hMF; } METAFILEPICT,*LPMETAFILEPICT; typedef struct tagLOCALESIGNATURE { DWORD lsUsb[4]; DWORD lsCsbDefault[2]; DWORD lsCsbSupported[2]; } LOCALESIGNATURE,*PLOCALESIGNATURE,*LPLOCALESIGNATURE; typedef LONG LCSTYPE; #pragma pack(push,4) typedef struct tagNEWTEXTMETRICA { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; BYTE tmFirstChar; BYTE tmLastChar; BYTE tmDefaultChar; BYTE tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; DWORD ntmFlags; UINT ntmSizeEM; UINT ntmCellHeight; UINT ntmAvgWidth; } NEWTEXTMETRICA,*PNEWTEXTMETRICA,*LPNEWTEXTMETRICA; typedef struct tagNEWTEXTMETRICW { LONG tmHeight; LONG tmAscent; LONG tmDescent; LONG tmInternalLeading; LONG tmExternalLeading; LONG tmAveCharWidth; LONG tmMaxCharWidth; LONG tmWeight; LONG tmOverhang; LONG tmDigitizedAspectX; LONG tmDigitizedAspectY; WCHAR tmFirstChar; WCHAR tmLastChar; WCHAR tmDefaultChar; WCHAR tmBreakChar; BYTE tmItalic; BYTE tmUnderlined; BYTE tmStruckOut; BYTE tmPitchAndFamily; BYTE tmCharSet; DWORD ntmFlags; UINT ntmSizeEM; UINT ntmCellHeight; UINT ntmAvgWidth; } NEWTEXTMETRICW,*PNEWTEXTMETRICW,*LPNEWTEXTMETRICW; #pragma pack(pop) typedef struct tagNEWTEXTMETRICEXA { NEWTEXTMETRICA ntmTm; FONTSIGNATURE ntmFontSig; } NEWTEXTMETRICEXA; typedef struct tagNEWTEXTMETRICEXW { NEWTEXTMETRICW ntmTm; FONTSIGNATURE ntmFontSig; } NEWTEXTMETRICEXW; typedef struct tagPELARRAY { LONG paXCount; LONG paYCount; LONG paXExt; LONG paYExt; BYTE paRGBs; } PELARRAY,*PPELARRAY,*LPPELARRAY; typedef struct tagENUMLOGFONTA { LOGFONTA elfLogFont; BYTE elfFullName[64]; BYTE elfStyle[32]; } ENUMLOGFONTA,*LPENUMLOGFONTA; typedef struct tagENUMLOGFONTW { LOGFONTW elfLogFont; WCHAR elfFullName[64]; WCHAR elfStyle[32]; } ENUMLOGFONTW,*LPENUMLOGFONTW; typedef struct tagENUMLOGFONTEXA { LOGFONTA elfLogFont; BYTE elfFullName[64]; BYTE elfStyle[32]; BYTE elfScript[32]; } ENUMLOGFONTEXA,*LPENUMLOGFONTEXA; typedef struct tagENUMLOGFONTEXW { LOGFONTW elfLogFont; WCHAR elfFullName[64]; BYTE elfStyle[32]; BYTE elfScript[32]; } ENUMLOGFONTEXW,*LPENUMLOGFONTEXW; typedef struct tagPOINTFX { FIXED x; FIXED y; } POINTFX,*LPPOINTFX; typedef struct tagTTPOLYCURVE { WORD wType; WORD cpfx; POINTFX apfx[1]; } TTPOLYCURVE,*LPTTPOLYCURVE; typedef struct tagTTPOLYGONHEADER { DWORD cb; DWORD dwType; POINTFX pfxStart; } TTPOLYGONHEADER,*LPTTPOLYGONHEADER; typedef struct _POINTFLOAT { FLOAT x; FLOAT y; } POINTFLOAT,*PPOINTFLOAT; typedef struct _GLYPHMETRICSFLOAT { FLOAT gmfBlackBoxX; FLOAT gmfBlackBoxY; POINTFLOAT gmfptGlyphOrigin; FLOAT gmfCellIncX; FLOAT gmfCellIncY; } GLYPHMETRICSFLOAT,*PGLYPHMETRICSFLOAT,*LPGLYPHMETRICSFLOAT; typedef struct tagLAYERPLANEDESCRIPTOR { 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 iLayerPlane; BYTE bReserved; COLORREF crTransparent; } LAYERPLANEDESCRIPTOR,*PLAYERPLANEDESCRIPTOR,*LPLAYERPLANEDESCRIPTOR; typedef struct _BLENDFUNCTION { BYTE BlendOp; BYTE BlendFlags; BYTE SourceConstantAlpha; BYTE AlphaFormat; } BLENDFUNCTION,*PBLENDFUNCTION,*LPBLENDFUNCTION; typedef BOOL (__attribute__((__stdcall__)) *ABORTPROC)(HDC,int); typedef int (__attribute__((__stdcall__)) *MFENUMPROC)(HDC,HANDLETABLE*,METARECORD*,int,LPARAM); typedef int (__attribute__((__stdcall__)) *ENHMFENUMPROC)(HDC,HANDLETABLE*,ENHMETARECORD*,int,LPARAM); typedef int (__attribute__((__stdcall__)) *OLDFONTENUMPROCA)(const LOGFONTA*,const TEXTMETRICA*,DWORD,LPARAM); typedef int (__attribute__((__stdcall__)) *OLDFONTENUMPROCW)(const LOGFONTW*,const TEXTMETRICW*,DWORD,LPARAM); typedef OLDFONTENUMPROCA FONTENUMPROCA; typedef OLDFONTENUMPROCW FONTENUMPROCW; typedef int (__attribute__((__stdcall__)) *ICMENUMPROCA)(LPSTR,LPARAM); typedef int (__attribute__((__stdcall__)) *ICMENUMPROCW)(LPWSTR,LPARAM); typedef void (__attribute__((__stdcall__)) *GOBJENUMPROC)(LPVOID,LPARAM); typedef void (__attribute__((__stdcall__)) *LINEDDAPROC)(int,int,LPARAM); typedef UINT (__attribute__((__stdcall__)) *LPFNDEVMODE)(HWND,HMODULE,LPDEVMODEA,LPSTR,LPSTR,LPDEVMODEA,LPSTR,UINT); typedef DWORD (__attribute__((__stdcall__)) *LPFNDEVCAPS)(LPSTR,LPSTR,UINT,LPSTR,LPDEVMODEA); int __attribute__((__stdcall__)) AbortDoc(HDC); BOOL __attribute__((__stdcall__)) AbortPath(HDC); int __attribute__((__stdcall__)) AddFontResourceA(LPCSTR); int __attribute__((__stdcall__)) AddFontResourceW(LPCWSTR); BOOL __attribute__((__stdcall__)) AngleArc(HDC,int,int,DWORD,FLOAT,FLOAT); BOOL __attribute__((__stdcall__)) AnimatePalette(HPALETTE,UINT,UINT,const PALETTEENTRY*); BOOL __attribute__((__stdcall__)) Arc(HDC,int,int,int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) ArcTo(HDC,int,int,int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) BeginPath(HDC); BOOL __attribute__((__stdcall__)) BitBlt(HDC,int,int,int,int,HDC,int,int,DWORD); BOOL __attribute__((__stdcall__)) CancelDC(HDC); BOOL __attribute__((__stdcall__)) CheckColorsInGamut(HDC,PVOID,PVOID,DWORD); BOOL __attribute__((__stdcall__)) Chord(HDC,int,int,int,int,int,int,int,int); int __attribute__((__stdcall__)) ChoosePixelFormat(HDC,const PIXELFORMATDESCRIPTOR*); HENHMETAFILE __attribute__((__stdcall__)) CloseEnhMetaFile(HDC); BOOL __attribute__((__stdcall__)) CloseFigure(HDC); HMETAFILE __attribute__((__stdcall__)) CloseMetaFile(HDC); BOOL __attribute__((__stdcall__)) ColorMatchToTarget(HDC,HDC,DWORD); int __attribute__((__stdcall__)) CombineRgn(HRGN,HRGN,HRGN,int); BOOL __attribute__((__stdcall__)) CombineTransform(LPXFORM,const XFORM*,const XFORM*); HENHMETAFILE __attribute__((__stdcall__)) CopyEnhMetaFileA(HENHMETAFILE,LPCSTR); HENHMETAFILE __attribute__((__stdcall__)) CopyEnhMetaFileW(HENHMETAFILE,LPCWSTR); HMETAFILE __attribute__((__stdcall__)) CopyMetaFileA(HMETAFILE,LPCSTR); HMETAFILE __attribute__((__stdcall__)) CopyMetaFileW(HMETAFILE,LPCWSTR); HBITMAP __attribute__((__stdcall__)) CreateBitmap(int,int,UINT,UINT,PCVOID); HBITMAP __attribute__((__stdcall__)) CreateBitmapIndirect(const BITMAP*); HBRUSH __attribute__((__stdcall__)) CreateBrushIndirect(const LOGBRUSH*); HCOLORSPACE __attribute__((__stdcall__)) CreateColorSpaceA(LPLOGCOLORSPACEA); HCOLORSPACE __attribute__((__stdcall__)) CreateColorSpaceW(LPLOGCOLORSPACEW); HBITMAP __attribute__((__stdcall__)) CreateCompatibleBitmap(HDC,int,int); HDC __attribute__((__stdcall__)) CreateCompatibleDC(HDC); HDC __attribute__((__stdcall__)) CreateDCA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); HDC __attribute__((__stdcall__)) CreateDCW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); HBITMAP __attribute__((__stdcall__)) CreateDIBitmap(HDC,const BITMAPINFOHEADER*,DWORD,PCVOID,const BITMAPINFO*,UINT); HBRUSH __attribute__((__stdcall__)) CreateDIBPatternBrush(HGLOBAL,UINT); HBRUSH __attribute__((__stdcall__)) CreateDIBPatternBrushPt(PCVOID,UINT); HBITMAP __attribute__((__stdcall__)) CreateDIBSection(HDC,const BITMAPINFO*,UINT,void**,HANDLE,DWORD); HBITMAP __attribute__((__stdcall__)) CreateDiscardableBitmap(HDC,int,int); HRGN __attribute__((__stdcall__)) CreateEllipticRgn(int,int,int,int); HRGN __attribute__((__stdcall__)) CreateEllipticRgnIndirect(LPCRECT); HDC __attribute__((__stdcall__)) CreateEnhMetaFileA(HDC,LPCSTR,LPCRECT,LPCSTR); HDC __attribute__((__stdcall__)) CreateEnhMetaFileW(HDC,LPCWSTR,LPCRECT,LPCWSTR); HFONT __attribute__((__stdcall__)) CreateFontA(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCSTR); HFONT __attribute__((__stdcall__)) CreateFontW(int,int,int,int,int,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPCWSTR); HFONT __attribute__((__stdcall__)) CreateFontIndirectA(const LOGFONTA*); HFONT __attribute__((__stdcall__)) CreateFontIndirectW(const LOGFONTW*); HPALETTE __attribute__((__stdcall__)) CreateHalftonePalette(HDC); HBRUSH __attribute__((__stdcall__)) CreateHatchBrush(int,COLORREF); HDC __attribute__((__stdcall__)) CreateICA(LPCSTR,LPCSTR,LPCSTR,const DEVMODEA*); HDC __attribute__((__stdcall__)) CreateICW(LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*); HDC __attribute__((__stdcall__)) CreateMetaFileA(LPCSTR); HDC __attribute__((__stdcall__)) CreateMetaFileW(LPCWSTR); HPALETTE __attribute__((__stdcall__)) CreatePalette(const LOGPALETTE*); HBRUSH __attribute__((__stdcall__)) CreatePatternBrush(HBITMAP); HPEN __attribute__((__stdcall__)) CreatePen(int,int,COLORREF); HPEN __attribute__((__stdcall__)) CreatePenIndirect(const LOGPEN*); HRGN __attribute__((__stdcall__)) CreatePolygonRgn(const POINT*,int,int); HRGN __attribute__((__stdcall__)) CreatePolyPolygonRgn(const POINT*,const INT*,int,int); HRGN __attribute__((__stdcall__)) CreateRectRgn(int,int,int,int); HRGN __attribute__((__stdcall__)) CreateRectRgnIndirect(LPCRECT); HRGN __attribute__((__stdcall__)) CreateRoundRectRgn(int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) CreateScalableFontResourceA(DWORD,LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) CreateScalableFontResourceW(DWORD,LPCWSTR,LPCWSTR,LPCWSTR); HBRUSH __attribute__((__stdcall__)) CreateSolidBrush(COLORREF); BOOL __attribute__((__stdcall__)) DeleteColorSpace(HCOLORSPACE); BOOL __attribute__((__stdcall__)) DeleteDC(HDC); BOOL __attribute__((__stdcall__)) DeleteEnhMetaFile(HENHMETAFILE); BOOL __attribute__((__stdcall__)) DeleteMetaFile(HMETAFILE); BOOL __attribute__((__stdcall__)) DeleteObject(HGDIOBJ); int __attribute__((__stdcall__)) DescribePixelFormat(HDC,int,UINT,LPPIXELFORMATDESCRIPTOR); DWORD __attribute__((__stdcall__)) DeviceCapabilitiesA(LPCSTR,LPCSTR,WORD,LPSTR,const DEVMODEA*); DWORD __attribute__((__stdcall__)) DeviceCapabilitiesW(LPCWSTR,LPCWSTR,WORD,LPWSTR,const DEVMODEW*); BOOL __attribute__((__stdcall__)) DPtoLP(HDC,LPPOINT,int); int __attribute__((__stdcall__)) DrawEscape(HDC,int,int,LPCSTR); BOOL __attribute__((__stdcall__)) Ellipse(HDC,int,int,int,int); int __attribute__((__stdcall__)) EndDoc(HDC); int __attribute__((__stdcall__)) EndPage(HDC); BOOL __attribute__((__stdcall__)) EndPath(HDC); BOOL __attribute__((__stdcall__)) EnumEnhMetaFile(HDC,HENHMETAFILE,ENHMFENUMPROC,PVOID,LPCRECT); int __attribute__((__stdcall__)) EnumFontFamiliesA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumFontFamiliesW(HDC,LPCWSTR,FONTENUMPROCW,LPARAM); int __attribute__((__stdcall__)) EnumFontFamiliesExA(HDC,PLOGFONTA,FONTENUMPROCA,LPARAM,DWORD); int __attribute__((__stdcall__)) EnumFontFamiliesExW(HDC,PLOGFONTW,FONTENUMPROCW,LPARAM,DWORD); int __attribute__((__stdcall__)) EnumFontsA(HDC,LPCSTR,FONTENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumFontsW(HDC,LPCWSTR,FONTENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM); int __attribute__((__stdcall__)) EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM); BOOL __attribute__((__stdcall__)) EnumMetaFile(HDC,HMETAFILE,MFENUMPROC,LPARAM); int __attribute__((__stdcall__)) EnumObjects(HDC,int,GOBJENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EqualRgn(HRGN,HRGN); int __attribute__((__stdcall__)) Escape(HDC,int,int,LPCSTR,PVOID); int __attribute__((__stdcall__)) ExcludeClipRect(HDC,int,int,int,int); int __attribute__((__stdcall__)) ExcludeUpdateRgn(HDC,HWND); HPEN __attribute__((__stdcall__)) ExtCreatePen(DWORD,DWORD,const LOGBRUSH*,DWORD,const DWORD*); HRGN __attribute__((__stdcall__)) ExtCreateRegion(const XFORM*,DWORD,const RGNDATA*); int __attribute__((__stdcall__)) ExtEscape(HDC,int,int,LPCSTR,int,LPSTR); BOOL __attribute__((__stdcall__)) ExtFloodFill(HDC,int,int,COLORREF,UINT); int __attribute__((__stdcall__)) ExtSelectClipRgn(HDC,HRGN,int); BOOL __attribute__((__stdcall__)) ExtTextOutA(HDC,int,int,UINT,LPCRECT,LPCSTR,UINT,const INT*); BOOL __attribute__((__stdcall__)) ExtTextOutW(HDC,int,int,UINT,LPCRECT,LPCWSTR,UINT,const INT*); BOOL __attribute__((__stdcall__)) FillPath(HDC); int __attribute__((__stdcall__)) FillRect(HDC,LPCRECT,HBRUSH); int __attribute__((__stdcall__)) FillRgn(HDC,HRGN,HBRUSH); BOOL __attribute__((__stdcall__)) FixBrushOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) FlattenPath(HDC); BOOL __attribute__((__stdcall__)) FloodFill(HDC,int,int,COLORREF); BOOL __attribute__((__stdcall__)) GdiComment(HDC,UINT,const BYTE*); BOOL __attribute__((__stdcall__)) GdiFlush(void); DWORD __attribute__((__stdcall__)) GdiGetBatchLimit(void); DWORD __attribute__((__stdcall__)) GdiSetBatchLimit(DWORD); # 2487 "C:/MINGW/include/wingdi.h" 3 int __attribute__((__stdcall__)) GetArcDirection(HDC); BOOL __attribute__((__stdcall__)) GetAspectRatioFilterEx(HDC,LPSIZE); LONG __attribute__((__stdcall__)) GetBitmapBits(HBITMAP,LONG,PVOID); BOOL __attribute__((__stdcall__)) GetBitmapDimensionEx(HBITMAP,LPSIZE); COLORREF __attribute__((__stdcall__)) GetBkColor(HDC); int __attribute__((__stdcall__)) GetBkMode(HDC); UINT __attribute__((__stdcall__)) GetBoundsRect(HDC,LPRECT,UINT); BOOL __attribute__((__stdcall__)) GetBrushOrgEx(HDC,LPPOINT); BOOL __attribute__((__stdcall__)) GetCharABCWidthsA(HDC,UINT,UINT,LPABC); BOOL __attribute__((__stdcall__)) GetCharABCWidthsW(HDC,UINT,UINT,LPABC); BOOL __attribute__((__stdcall__)) GetCharABCWidthsFloatA(HDC,UINT,UINT,LPABCFLOAT); BOOL __attribute__((__stdcall__)) GetCharABCWidthsFloatW(HDC,UINT,UINT,LPABCFLOAT); DWORD __attribute__((__stdcall__)) GetCharacterPlacementA(HDC,LPCSTR,int,int,LPGCP_RESULTSA,DWORD); DWORD __attribute__((__stdcall__)) GetCharacterPlacementW(HDC,LPCWSTR,int,int,LPGCP_RESULTSW,DWORD); BOOL __attribute__((__stdcall__)) GetCharWidth32A(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidth32W(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidthA(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidthW(HDC,UINT,UINT,LPINT); BOOL __attribute__((__stdcall__)) GetCharWidthFloatA(HDC,UINT,UINT,PFLOAT); BOOL __attribute__((__stdcall__)) GetCharWidthFloatW(HDC,UINT,UINT,PFLOAT); int __attribute__((__stdcall__)) GetClipBox(HDC,LPRECT); int __attribute__((__stdcall__)) GetClipRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) GetColorAdjustment(HDC,LPCOLORADJUSTMENT); HANDLE __attribute__((__stdcall__)) GetColorSpace(HDC); HGDIOBJ __attribute__((__stdcall__)) GetCurrentObject(HDC,UINT); BOOL __attribute__((__stdcall__)) GetCurrentPositionEx(HDC,LPPOINT); HCURSOR __attribute__((__stdcall__)) GetCursor(void); BOOL __attribute__((__stdcall__)) GetDCOrgEx(HDC,LPPOINT); int __attribute__((__stdcall__)) GetDeviceCaps(HDC,int); BOOL __attribute__((__stdcall__)) GetDeviceGammaRamp(HDC,PVOID); UINT __attribute__((__stdcall__)) GetDIBColorTable(HDC,UINT,UINT,RGBQUAD*); int __attribute__((__stdcall__)) GetDIBits(HDC,HBITMAP,UINT,UINT,PVOID,LPBITMAPINFO,UINT); HENHMETAFILE __attribute__((__stdcall__)) GetEnhMetaFileA(LPCSTR); HENHMETAFILE __attribute__((__stdcall__)) GetEnhMetaFileW(LPCWSTR); UINT __attribute__((__stdcall__)) GetEnhMetaFileBits(HENHMETAFILE,UINT,LPBYTE); UINT __attribute__((__stdcall__)) GetEnhMetaFileDescriptionA(HENHMETAFILE,UINT,LPSTR); UINT __attribute__((__stdcall__)) GetEnhMetaFileDescriptionW(HENHMETAFILE,UINT,LPWSTR); UINT __attribute__((__stdcall__)) GetEnhMetaFileHeader(HENHMETAFILE,UINT,LPENHMETAHEADER); UINT __attribute__((__stdcall__)) GetEnhMetaFilePaletteEntries(HENHMETAFILE,UINT,LPPALETTEENTRY); UINT __attribute__((__stdcall__)) GetEnhMetaFilePixelFormat(HENHMETAFILE,DWORD,PIXELFORMATDESCRIPTOR*); DWORD __attribute__((__stdcall__)) GetFontData(HDC,DWORD,DWORD,PVOID,DWORD); DWORD __attribute__((__stdcall__)) GetFontLanguageInfo(HDC); DWORD __attribute__((__stdcall__)) GetGlyphOutlineA(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,PVOID,const MAT2*); DWORD __attribute__((__stdcall__)) GetGlyphOutlineW(HDC,UINT,UINT,LPGLYPHMETRICS,DWORD,PVOID,const MAT2*); int __attribute__((__stdcall__)) GetGraphicsMode(HDC); BOOL __attribute__((__stdcall__)) GetICMProfileA(HDC,DWORD,LPSTR); BOOL __attribute__((__stdcall__)) GetICMProfileW(HDC,DWORD,LPWSTR); DWORD __attribute__((__stdcall__)) GetKerningPairsA(HDC,DWORD,LPKERNINGPAIR); DWORD __attribute__((__stdcall__)) GetKerningPairsW(HDC,DWORD,LPKERNINGPAIR); BOOL __attribute__((__stdcall__)) GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACEA,DWORD); BOOL __attribute__((__stdcall__)) GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACEW,DWORD); int __attribute__((__stdcall__)) GetMapMode(HDC); HMETAFILE __attribute__((__stdcall__)) GetMetaFileA(LPCSTR); HMETAFILE __attribute__((__stdcall__)) GetMetaFileW(LPCWSTR); UINT __attribute__((__stdcall__)) GetMetaFileBitsEx(HMETAFILE,UINT,PVOID); int __attribute__((__stdcall__)) GetMetaRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) GetMiterLimit(HDC,PFLOAT); COLORREF __attribute__((__stdcall__)) GetNearestColor(HDC,COLORREF); UINT __attribute__((__stdcall__)) GetNearestPaletteIndex(HPALETTE,COLORREF); int __attribute__((__stdcall__)) GetObjectA(HGDIOBJ,int,PVOID); int __attribute__((__stdcall__)) GetObjectW(HGDIOBJ,int,PVOID); DWORD __attribute__((__stdcall__)) GetObjectType(HGDIOBJ); UINT __attribute__((__stdcall__)) GetOutlineTextMetricsA(HDC,UINT,LPOUTLINETEXTMETRICA); UINT __attribute__((__stdcall__)) GetOutlineTextMetricsW(HDC,UINT,LPOUTLINETEXTMETRICW); UINT __attribute__((__stdcall__)) GetPaletteEntries(HPALETTE,UINT,UINT,LPPALETTEENTRY); int __attribute__((__stdcall__)) GetPath(HDC,LPPOINT,PBYTE,int); COLORREF __attribute__((__stdcall__)) GetPixel(HDC,int,int); int __attribute__((__stdcall__)) GetPixelFormat(HDC); int __attribute__((__stdcall__)) GetPolyFillMode(HDC); BOOL __attribute__((__stdcall__)) GetRasterizerCaps(LPRASTERIZER_STATUS,UINT); int __attribute__((__stdcall__)) GetRandomRgn (HDC,HRGN,INT); DWORD __attribute__((__stdcall__)) GetRegionData(HRGN,DWORD,LPRGNDATA); int __attribute__((__stdcall__)) GetRgnBox(HRGN,LPRECT); int __attribute__((__stdcall__)) GetROP2(HDC); HGDIOBJ __attribute__((__stdcall__)) GetStockObject(int); int __attribute__((__stdcall__)) GetStretchBltMode(HDC); UINT __attribute__((__stdcall__)) GetSystemPaletteEntries(HDC,UINT,UINT,LPPALETTEENTRY); UINT __attribute__((__stdcall__)) GetSystemPaletteUse(HDC); UINT __attribute__((__stdcall__)) GetTextAlign(HDC); int __attribute__((__stdcall__)) GetTextCharacterExtra(HDC); int __attribute__((__stdcall__)) GetTextCharset(HDC); int __attribute__((__stdcall__)) GetTextCharsetInfo(HDC,LPFONTSIGNATURE,DWORD); COLORREF __attribute__((__stdcall__)) GetTextColor(HDC); BOOL __attribute__((__stdcall__)) GetTextExtentExPointA(HDC,LPCSTR,int,int,LPINT,LPINT,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentExPointW( HDC,LPCWSTR,int,int,LPINT,LPINT,LPSIZE ); BOOL __attribute__((__stdcall__)) GetTextExtentPointA(HDC,LPCSTR,int,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentPointW(HDC,LPCWSTR,int,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); BOOL __attribute__((__stdcall__)) GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); int __attribute__((__stdcall__)) GetTextFaceA(HDC,int,LPSTR); int __attribute__((__stdcall__)) GetTextFaceW(HDC,int,LPWSTR); BOOL __attribute__((__stdcall__)) GetTextMetricsA(HDC,LPTEXTMETRICA); BOOL __attribute__((__stdcall__)) GetTextMetricsW(HDC,LPTEXTMETRICW); BOOL __attribute__((__stdcall__)) GetViewportExtEx(HDC,LPSIZE); BOOL __attribute__((__stdcall__)) GetViewportOrgEx(HDC,LPPOINT); BOOL __attribute__((__stdcall__)) GetWindowExtEx(HDC,LPSIZE); BOOL __attribute__((__stdcall__)) GetWindowOrgEx(HDC,LPPOINT); UINT __attribute__((__stdcall__)) GetWinMetaFileBits(HENHMETAFILE,UINT,LPBYTE,INT,HDC); BOOL __attribute__((__stdcall__)) GetWorldTransform(HDC,LPXFORM); int __attribute__((__stdcall__)) IntersectClipRect(HDC,int,int,int,int); BOOL __attribute__((__stdcall__)) InvertRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) LineDDA(int,int,int,int,LINEDDAPROC,LPARAM); BOOL __attribute__((__stdcall__)) LineTo(HDC,int,int); BOOL __attribute__((__stdcall__)) LPtoDP(HDC,LPPOINT,int); BOOL __attribute__((__stdcall__)) MaskBlt(HDC,int,int,int,int,HDC,int,int,HBITMAP,int,int,DWORD); BOOL __attribute__((__stdcall__)) ModifyWorldTransform(HDC,const XFORM*,DWORD); BOOL __attribute__((__stdcall__)) MoveToEx(HDC,int,int,LPPOINT); int __attribute__((__stdcall__)) OffsetClipRgn(HDC,int,int); int __attribute__((__stdcall__)) OffsetRgn(HRGN,int,int); BOOL __attribute__((__stdcall__)) OffsetViewportOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) OffsetWindowOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) PaintRgn(HDC,HRGN); BOOL __attribute__((__stdcall__)) PatBlt(HDC,int,int,int,int,DWORD); HRGN __attribute__((__stdcall__)) PathToRegion(HDC); BOOL __attribute__((__stdcall__)) Pie(HDC,int,int,int,int,int,int,int,int); BOOL __attribute__((__stdcall__)) PlayEnhMetaFile(HDC,HENHMETAFILE,LPCRECT); BOOL __attribute__((__stdcall__)) PlayEnhMetaFileRecord(HDC,LPHANDLETABLE,const ENHMETARECORD*,UINT); BOOL __attribute__((__stdcall__)) PlayMetaFile(HDC,HMETAFILE); BOOL __attribute__((__stdcall__)) PlayMetaFileRecord(HDC,LPHANDLETABLE,LPMETARECORD,UINT); BOOL __attribute__((__stdcall__)) PlgBlt(HDC,const POINT*,HDC,int,int,int,int,HBITMAP,int,int); BOOL __attribute__((__stdcall__)) PolyBezier(HDC,const POINT*,DWORD); BOOL __attribute__((__stdcall__)) PolyBezierTo(HDC,const POINT*,DWORD); BOOL __attribute__((__stdcall__)) PolyDraw(HDC,const POINT*,const BYTE*,int); BOOL __attribute__((__stdcall__)) Polygon(HDC,const POINT*,int); BOOL __attribute__((__stdcall__)) Polyline(HDC,const POINT*,int); BOOL __attribute__((__stdcall__)) PolylineTo(HDC,const POINT*,DWORD); BOOL __attribute__((__stdcall__)) PolyPolygon(HDC,const POINT*,const INT*,int); BOOL __attribute__((__stdcall__)) PolyPolyline(HDC,const POINT*,const DWORD*,DWORD); BOOL __attribute__((__stdcall__)) PolyTextOutA(HDC,const POLYTEXTA*,int); BOOL __attribute__((__stdcall__)) PolyTextOutW(HDC,const POLYTEXTW*,int); BOOL __attribute__((__stdcall__)) PtInRegion(HRGN,int,int); BOOL __attribute__((__stdcall__)) PtVisible(HDC,int,int); UINT __attribute__((__stdcall__)) RealizePalette(HDC); BOOL __attribute__((__stdcall__)) Rectangle(HDC,int,int,int,int); BOOL __attribute__((__stdcall__)) RectInRegion(HRGN,LPCRECT); BOOL __attribute__((__stdcall__)) RectVisible(HDC,LPCRECT); BOOL __attribute__((__stdcall__)) RemoveFontResourceA(LPCSTR); BOOL __attribute__((__stdcall__)) RemoveFontResourceW(LPCWSTR); HDC __attribute__((__stdcall__)) ResetDCA(HDC,const DEVMODEA*); HDC __attribute__((__stdcall__)) ResetDCW(HDC,const DEVMODEW*); BOOL __attribute__((__stdcall__)) ResizePalette(HPALETTE,UINT); BOOL __attribute__((__stdcall__)) RestoreDC(HDC,int); BOOL __attribute__((__stdcall__)) RoundRect(HDC,int,int,int,int,int,int); int __attribute__((__stdcall__)) SaveDC(HDC); BOOL __attribute__((__stdcall__)) ScaleViewportExtEx(HDC,int,int,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) ScaleWindowExtEx(HDC,int,int,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) SelectClipPath(HDC,int); int __attribute__((__stdcall__)) SelectClipRgn(HDC,HRGN); HGDIOBJ __attribute__((__stdcall__)) SelectObject(HDC,HGDIOBJ); HPALETTE __attribute__((__stdcall__)) SelectPalette(HDC,HPALETTE,BOOL); int __attribute__((__stdcall__)) SetAbortProc(HDC,ABORTPROC); int __attribute__((__stdcall__)) SetArcDirection(HDC,int); LONG __attribute__((__stdcall__)) SetBitmapBits(HBITMAP,DWORD,PCVOID); BOOL __attribute__((__stdcall__)) SetBitmapDimensionEx(HBITMAP,int,int,LPSIZE); COLORREF __attribute__((__stdcall__)) SetBkColor(HDC,COLORREF); int __attribute__((__stdcall__)) SetBkMode(HDC,int); UINT __attribute__((__stdcall__)) SetBoundsRect(HDC,LPCRECT,UINT); BOOL __attribute__((__stdcall__)) SetBrushOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) SetColorAdjustment(HDC,const COLORADJUSTMENT*); BOOL __attribute__((__stdcall__)) SetColorSpace(HDC,HCOLORSPACE); BOOL __attribute__((__stdcall__)) SetDeviceGammaRamp(HDC,PVOID); UINT __attribute__((__stdcall__)) SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); int __attribute__((__stdcall__)) SetDIBits(HDC,HBITMAP,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); int __attribute__((__stdcall__)) SetDIBitsToDevice(HDC,int,int,DWORD,DWORD,int,int,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); HENHMETAFILE __attribute__((__stdcall__)) SetEnhMetaFileBits(UINT,const BYTE*); int __attribute__((__stdcall__)) SetGraphicsMode(HDC,int); int __attribute__((__stdcall__)) SetICMMode(HDC,int); BOOL __attribute__((__stdcall__)) SetICMProfileA(HDC,LPSTR); BOOL __attribute__((__stdcall__)) SetICMProfileW(HDC,LPWSTR); int __attribute__((__stdcall__)) SetMapMode(HDC,int); DWORD __attribute__((__stdcall__)) SetMapperFlags(HDC,DWORD); HMETAFILE __attribute__((__stdcall__)) SetMetaFileBitsEx(UINT,const BYTE *); int __attribute__((__stdcall__)) SetMetaRgn(HDC); BOOL __attribute__((__stdcall__)) SetMiterLimit(HDC,FLOAT,PFLOAT); UINT __attribute__((__stdcall__)) SetPaletteEntries(HPALETTE,UINT,UINT,const PALETTEENTRY*); COLORREF __attribute__((__stdcall__)) SetPixel(HDC,int,int,COLORREF); BOOL __attribute__((__stdcall__)) SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR*); BOOL __attribute__((__stdcall__)) SetPixelV(HDC,int,int,COLORREF); int __attribute__((__stdcall__)) SetPolyFillMode(HDC,int); BOOL __attribute__((__stdcall__)) SetRectRgn(HRGN,int,int,int,int); int __attribute__((__stdcall__)) SetROP2(HDC,int); int __attribute__((__stdcall__)) SetStretchBltMode(HDC,int); UINT __attribute__((__stdcall__)) SetSystemPaletteUse(HDC,UINT); UINT __attribute__((__stdcall__)) SetTextAlign(HDC,UINT); int __attribute__((__stdcall__)) SetTextCharacterExtra(HDC,int); COLORREF __attribute__((__stdcall__)) SetTextColor(HDC,COLORREF); BOOL __attribute__((__stdcall__)) SetTextJustification(HDC,int,int); BOOL __attribute__((__stdcall__)) SetViewportExtEx(HDC,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) SetViewportOrgEx(HDC,int,int,LPPOINT); BOOL __attribute__((__stdcall__)) SetWindowExtEx(HDC,int,int,LPSIZE); BOOL __attribute__((__stdcall__)) SetWindowOrgEx(HDC,int,int,LPPOINT); HENHMETAFILE __attribute__((__stdcall__)) SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT*); BOOL __attribute__((__stdcall__)) SetWorldTransform(HDC,const XFORM *); int __attribute__((__stdcall__)) StartDocA(HDC,const DOCINFOA*); int __attribute__((__stdcall__)) StartDocW(HDC,const DOCINFOW*); int __attribute__((__stdcall__)) StartPage(HDC); BOOL __attribute__((__stdcall__)) StretchBlt(HDC,int,int,int,int,HDC,int,int,int,int,DWORD); int __attribute__((__stdcall__)) StretchDIBits(HDC,int,int,int,int,int,int,int,int,const void *,const BITMAPINFO *,UINT,DWORD); BOOL __attribute__((__stdcall__)) StrokeAndFillPath(HDC); BOOL __attribute__((__stdcall__)) StrokePath(HDC); BOOL __attribute__((__stdcall__)) SwapBuffers(HDC); BOOL __attribute__((__stdcall__)) TextOutA(HDC,int,int,LPCSTR,int); BOOL __attribute__((__stdcall__)) TextOutW(HDC,int,int,LPCWSTR,int); BOOL __attribute__((__stdcall__)) TranslateCharsetInfo(PDWORD,LPCHARSETINFO,DWORD); BOOL __attribute__((__stdcall__)) UnrealizeObject(HGDIOBJ); BOOL __attribute__((__stdcall__)) UpdateColors(HDC); BOOL __attribute__((__stdcall__)) UpdateICMRegKeyA(DWORD,DWORD,LPSTR,UINT); BOOL __attribute__((__stdcall__)) UpdateICMRegKeyW(DWORD,DWORD,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) WidenPath(HDC); BOOL __attribute__((__stdcall__)) wglCopyContext(HGLRC,HGLRC,UINT); HGLRC __attribute__((__stdcall__)) wglCreateContext(HDC); HGLRC __attribute__((__stdcall__)) wglCreateLayerContext(HDC,int); BOOL __attribute__((__stdcall__)) wglDeleteContext(HGLRC); BOOL __attribute__((__stdcall__)) wglDescribeLayerPlane(HDC,int,int,UINT,LPLAYERPLANEDESCRIPTOR); HGLRC __attribute__((__stdcall__)) wglGetCurrentContext(void); HDC __attribute__((__stdcall__)) wglGetCurrentDC(void); int __attribute__((__stdcall__)) wglGetLayerPaletteEntries(HDC,int,int,int,COLORREF*); PROC __attribute__((__stdcall__)) wglGetProcAddress(LPCSTR); BOOL __attribute__((__stdcall__)) wglMakeCurrent(HDC,HGLRC); BOOL __attribute__((__stdcall__)) wglRealizeLayerPalette(HDC,int,BOOL); int __attribute__((__stdcall__)) wglSetLayerPaletteEntries(HDC,int,int,int,const COLORREF*); BOOL __attribute__((__stdcall__)) wglShareLists(HGLRC,HGLRC); BOOL __attribute__((__stdcall__)) wglSwapLayerBuffers(HDC,UINT); BOOL __attribute__((__stdcall__)) wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT); BOOL __attribute__((__stdcall__)) wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT); # 2778 "C:/MINGW/include/wingdi.h" 3 typedef BYTE BCHAR; typedef DOCINFOA DOCINFO, *LPDOCINFO; typedef LOGFONTA LOGFONT,*PLOGFONT,*LPLOGFONT; typedef TEXTMETRICA TEXTMETRIC,*PTEXTMETRIC,*LPTEXTMETRIC; typedef DEVMODEA DEVMODE,*PDEVMODE,*LPDEVMODE; typedef EXTLOGFONTA EXTLOGFONT,*PEXTLOGFONT,*LPEXTLOGFONT; typedef GCP_RESULTSA GCP_RESULTS,*LPGCP_RESULTS; typedef OUTLINETEXTMETRICA OUTLINETEXTMETRIC,*POUTLINETEXTMETRIC,*LPOUTLINETEXTMETRIC; typedef POLYTEXTA POLYTEXT; typedef LOGCOLORSPACEA LOGCOLORSPACE,*LPLOGCOLORSPACE; typedef NEWTEXTMETRICA NEWTEXTMETRIC,*PNEWTEXTMETRIC,*LPNEWTEXTMETRIC; typedef NEWTEXTMETRICEXA NEWTEXTMETRICEX; typedef ENUMLOGFONTA ENUMLOGFONT,*LPENUMLOGFONT; typedef ENUMLOGFONTEXA ENUMLOGFONTEX,*LPENUMLOGFONTEX; # 2842 "C:/MINGW/include/wingdi.h" 3 } # 54 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winuser.h" 1 3 # 5 "C:/MINGW/include/winuser.h" 3 extern "C" { # 1901 "C:/MINGW/include/winuser.h" 3 typedef BOOL(__attribute__((__stdcall__)) *DLGPROC)(HWND,UINT,WPARAM,LPARAM); typedef void(__attribute__((__stdcall__)) *TIMERPROC)(HWND,UINT,UINT,DWORD); typedef BOOL(__attribute__((__stdcall__)) *GRAYSTRINGPROC)(HDC,LPARAM,int); typedef LRESULT(__attribute__((__stdcall__)) *HOOKPROC)(int,WPARAM,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCA)(HWND,LPCSTR,HANDLE); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCW)(HWND,LPCWSTR,HANDLE); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCEXA)(HWND,LPSTR,HANDLE,DWORD); typedef BOOL(__attribute__((__stdcall__)) *PROPENUMPROCEXW)(HWND,LPWSTR,HANDLE,DWORD); typedef int(__attribute__((__stdcall__)) *EDITWORDBREAKPROCA)(LPSTR,int,int,int); typedef int(__attribute__((__stdcall__)) *EDITWORDBREAKPROCW)(LPWSTR,int,int,int); typedef LRESULT(__attribute__((__stdcall__)) *WNDPROC)(HWND,UINT,WPARAM,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *DRAWSTATEPROC)(HDC,LPARAM,WPARAM,int,int); typedef BOOL(__attribute__((__stdcall__)) *WNDENUMPROC)(HWND,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *ENUMWINDOWSPROC)(HWND,LPARAM); typedef BOOL(__attribute__((__stdcall__))* MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *NAMEENUMPROCA)(LPSTR,LPARAM); typedef BOOL(__attribute__((__stdcall__)) *NAMEENUMPROCW)(LPWSTR,LPARAM); typedef NAMEENUMPROCA DESKTOPENUMPROCA; typedef NAMEENUMPROCW DESKTOPENUMPROCW; typedef NAMEENUMPROCA WINSTAENUMPROCA; typedef NAMEENUMPROCW WINSTAENUMPROCW; typedef void(__attribute__((__stdcall__)) *SENDASYNCPROC)(HWND,UINT,DWORD,LRESULT); typedef struct HHOOK__{int i;}*HHOOK; typedef struct HDWP__{int i;}*HDWP; typedef struct tagACCEL { BYTE fVirt; WORD key; WORD cmd; } ACCEL,*LPACCEL; typedef struct tagACCESSTIMEOUT { UINT cbSize; DWORD dwFlags; DWORD iTimeOutMSec; } ACCESSTIMEOUT, *LPACCESSTIMEOUT; typedef struct tagANIMATIONINFO { UINT cbSize; int iMinAnimate; } ANIMATIONINFO,*LPANIMATIONINFO; typedef struct tagCREATESTRUCTA { LPVOID lpCreateParams; HINSTANCE hInstance; HMENU hMenu; HWND hwndParent; int cy; int cx; int y; int x; LONG style; LPCSTR lpszName; LPCSTR lpszClass; DWORD dwExStyle; } CREATESTRUCTA,*LPCREATESTRUCTA; typedef struct tagCREATESTRUCTW { LPVOID lpCreateParams; HINSTANCE hInstance; HMENU hMenu; HWND hwndParent; int cy; int cx; int y; int x; LONG style; LPCWSTR lpszName; LPCWSTR lpszClass; DWORD dwExStyle; } CREATESTRUCTW,*LPCREATESTRUCTW; typedef struct tagCBT_CREATEWNDA { LPCREATESTRUCTA lpcs; HWND hwndInsertAfter; } CBT_CREATEWNDA, *LPCBT_CREATEWNDA; typedef struct tagCBT_CREATEWNDW { LPCREATESTRUCTW lpcs; HWND hwndInsertAfter; } CBT_CREATEWNDW, *LPCBT_CREATEWNDW; typedef struct tagCBTACTIVATESTRUCT { BOOL fMouse; HWND hWndActive; } CBTACTIVATESTRUCT,*LPCBTACTIVATESTRUCT; typedef struct tagCLIENTCREATESTRUCT { HANDLE hWindowMenu; UINT idFirstChild; } CLIENTCREATESTRUCT,*LPCLIENTCREATESTRUCT; typedef struct tagCOMPAREITEMSTRUCT { UINT CtlType; UINT CtlID; HWND hwndItem; UINT itemID1; DWORD itemData1; UINT itemID2; DWORD itemData2; DWORD dwLocaleId; } COMPAREITEMSTRUCT,*LPCOMPAREITEMSTRUCT; typedef struct tagCOPYDATASTRUCT { DWORD dwData; DWORD cbData; PVOID lpData; } COPYDATASTRUCT,*PCOPYDATASTRUCT; 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,*PCWPSTRUCT; typedef struct tagDEBUGHOOKINFO { DWORD idThread; DWORD idThreadInstaller; LPARAM lParam; WPARAM wParam; int code; } DEBUGHOOKINFO,*PDEBUGHOOKINFO,*LPDEBUGHOOKINFO; typedef struct tagDELETEITEMSTRUCT { UINT CtlType; UINT CtlID; UINT itemID; HWND hwndItem; UINT itemData; } DELETEITEMSTRUCT,*PDELETEITEMSTRUCT,*LPDELETEITEMSTRUCT; #pragma pack(push,2) typedef struct { DWORD style; DWORD dwExtendedStyle; short x; short y; short cx; short cy; WORD id; } DLGITEMTEMPLATE,*LPDLGITEMTEMPLATE; typedef struct { DWORD style; DWORD dwExtendedStyle; WORD cdit; short x; short y; short cx; short cy; } DLGTEMPLATE,*LPDLGTEMPLATE; typedef const DLGTEMPLATE *LPCDLGTEMPLATE; #pragma pack(pop) typedef struct tagDRAWITEMSTRUCT { UINT CtlType; UINT CtlID; UINT itemID; UINT itemAction; UINT itemState; HWND hwndItem; HDC hDC; RECT rcItem; DWORD itemData; } DRAWITEMSTRUCT,*LPDRAWITEMSTRUCT,*PDRAWITEMSTRUCT; typedef struct { UINT cbSize; int iTabLength; int iLeftMargin; int iRightMargin; UINT uiLengthDrawn; } DRAWTEXTPARAMS,*LPDRAWTEXTPARAMS; typedef struct tagPAINTSTRUCT { HDC hdc; BOOL fErase; RECT rcPaint; BOOL fRestore; BOOL fIncUpdate; BYTE rgbReserved[32]; } PAINTSTRUCT,*LPPAINTSTRUCT; typedef struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG,*LPMSG,*PMSG; typedef struct _ICONINFO { BOOL fIcon; DWORD xHotspot; DWORD yHotspot; HBITMAP hbmMask; HBITMAP hbmColor; } ICONINFO,*PICONINFO; typedef struct tagNMHDR { HWND hwndFrom; UINT idFrom; UINT code; } NMHDR,*LPNMHDR; typedef struct _WNDCLASSA { UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HANDLE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; } WNDCLASSA,*LPWNDCLASSA,*PWNDCLASSA; typedef struct _WNDCLASSW { UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HANDLE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCWSTR lpszMenuName; LPCWSTR lpszClassName; } WNDCLASSW,*LPWNDCLASSW,*PWNDCLASSW; typedef struct _WNDCLASSEXA { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HANDLE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCSTR lpszMenuName; LPCSTR lpszClassName; HICON hIconSm; } WNDCLASSEXA,*LPWNDCLASSEXA,*PWNDCLASSEXA; typedef struct _WNDCLASSEXW { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HANDLE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCWSTR lpszMenuName; LPCWSTR lpszClassName; HICON hIconSm; } WNDCLASSEXW,*LPWNDCLASSEXW,*PWNDCLASSEXW; typedef struct tagMENUITEMINFOA { UINT cbSize; UINT fMask; UINT fType; UINT fState; UINT wID; HMENU hSubMenu; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; LPSTR dwTypeData; UINT cch; } MENUITEMINFOA,*LPMENUITEMINFOA; typedef const MENUITEMINFOA *LPCMENUITEMINFOA; typedef struct tagMENUITEMINFOW { UINT cbSize; UINT fMask; UINT fType; UINT fState; UINT wID; HMENU hSubMenu; HBITMAP hbmpChecked; HBITMAP hbmpUnchecked; DWORD dwItemData; LPWSTR dwTypeData; UINT cch; } MENUITEMINFOW,*LPMENUITEMINFOW; typedef const MENUITEMINFOW *LPCMENUITEMINFOW; typedef struct tagSCROLLINFO { UINT cbSize; UINT fMask; int nMin; int nMax; UINT nPage; int nPos; int nTrackPos; } SCROLLINFO,*LPSCROLLINFO; typedef const SCROLLINFO *LPCSCROLLINFO; typedef struct _WINDOWPLACEMENT { UINT length; UINT flags; UINT showCmd; POINT ptMinPosition; POINT ptMaxPosition; RECT rcNormalPosition; } WINDOWPLACEMENT,*LPWINDOWPLACEMENT,*PWINDOWPLACEMENT; typedef struct { WORD versionNumber; WORD offset; } MENUITEMTEMPLATEHEADER; typedef struct { WORD mtOption; WORD mtID; WCHAR mtString[1]; } MENUITEMTEMPLATE; typedef void MENUTEMPLATE,MENUTEMPLATEA,MENUTEMPLATEW,*LPMENUTEMPLATEA,*LPMENUTEMPLATEW,*LPMENUTEMPLATE; typedef struct tagHELPINFO { UINT cbSize; int iContextType; int iCtrlId; HANDLE hItemHandle; DWORD dwContextId; POINT MousePos; } HELPINFO,*LPHELPINFO; typedef void(__attribute__((__stdcall__)) *MSGBOXCALLBACK)(LPHELPINFO); typedef struct { UINT cbSize; HWND hwndOwner; HINSTANCE hInstance; LPCSTR lpszText; LPCSTR lpszCaption; DWORD dwStyle; LPCSTR lpszIcon; DWORD dwContextHelpId; MSGBOXCALLBACK lpfnMsgBoxCallback; DWORD dwLanguageId; } MSGBOXPARAMSA,*PMSGBOXPARAMSA,*LPMSGBOXPARAMSA; typedef struct { UINT cbSize; HWND hwndOwner; HINSTANCE hInstance; LPCWSTR lpszText; LPCWSTR lpszCaption; DWORD dwStyle; LPCWSTR lpszIcon; DWORD dwContextHelpId; MSGBOXCALLBACK lpfnMsgBoxCallback; DWORD dwLanguageId; } MSGBOXPARAMSW,*PMSGBOXPARAMSW,*LPMSGBOXPARAMSW; typedef struct tagUSEROBJECTFLAGS { BOOL fInherit; BOOL fReserved; DWORD dwFlags; } USEROBJECTFLAGS; typedef struct tagFILTERKEYS { UINT cbSize; DWORD dwFlags; DWORD iWaitMSec; DWORD iDelayMSec; DWORD iRepeatMSec; DWORD iBounceMSec; } FILTERKEYS; typedef struct tagHIGHCONTRASTA { UINT cbSize; DWORD dwFlags; LPSTR lpszDefaultScheme; } HIGHCONTRASTA,*LPHIGHCONTRASTA; typedef struct tagHIGHCONTRASTW { UINT cbSize; DWORD dwFlags; LPWSTR lpszDefaultScheme; } HIGHCONTRASTW,*LPHIGHCONTRASTW; typedef struct tagICONMETRICSA { UINT cbSize; int iHorzSpacing; int iVertSpacing; int iTitleWrap; LOGFONTA lfFont; } ICONMETRICSA,*LPICONMETRICSA; typedef struct tagICONMETRICSW { UINT cbSize; int iHorzSpacing; int iVertSpacing; int iTitleWrap; LOGFONTW lfFont; } ICONMETRICSW,*LPICONMETRICSW; typedef struct tagMINIMIZEDMETRICS { UINT cbSize; int iWidth; int iHorzGap; int iVertGap; int iArrange; } MINIMIZEDMETRICS,*LPMINIMIZEDMETRICS; typedef struct tagMOUSEKEYS{ UINT cbSize; DWORD dwFlags; DWORD iMaxSpeed; DWORD iTimeToMaxSpeed; DWORD iCtrlSpeed; DWORD dwReserved1; DWORD dwReserved2; } MOUSEKEYS, *LPMOUSEKEYS; typedef struct tagNONCLIENTMETRICSA { UINT cbSize; int iBorderWidth; int iScrollWidth; int iScrollHeight; int iCaptionWidth; int iCaptionHeight; LOGFONTA lfCaptionFont; int iSmCaptionWidth; int iSmCaptionHeight; LOGFONTA lfSmCaptionFont; int iMenuWidth; int iMenuHeight; LOGFONTA lfMenuFont; LOGFONTA lfStatusFont; LOGFONTA lfMessageFont; } NONCLIENTMETRICSA,*LPNONCLIENTMETRICSA; typedef struct tagNONCLIENTMETRICSW { UINT cbSize; int iBorderWidth; int iScrollWidth; int iScrollHeight; int iCaptionWidth; int iCaptionHeight; LOGFONTW lfCaptionFont; int iSmCaptionWidth; int iSmCaptionHeight; LOGFONTW lfSmCaptionFont; int iMenuWidth; int iMenuHeight; LOGFONTW lfMenuFont; LOGFONTW lfStatusFont; LOGFONTW lfMessageFont; } NONCLIENTMETRICSW,*LPNONCLIENTMETRICSW; typedef struct tagSERIALKEYSA { UINT cbSize; DWORD dwFlags; LPSTR lpszActivePort; LPSTR lpszPort; UINT iBaudRate; UINT iPortState; UINT iActive; } SERIALKEYSA,*LPSERIALKEYSA; typedef struct tagSERIALKEYSW { UINT cbSize; DWORD dwFlags; LPWSTR lpszActivePort; LPWSTR lpszPort; UINT iBaudRate; UINT iPortState; UINT iActive; } SERIALKEYSW,*LPSERIALKEYSW; typedef struct tagSOUNDSENTRYA { UINT cbSize; DWORD dwFlags; DWORD iFSTextEffect; DWORD iFSTextEffectMSec; DWORD iFSTextEffectColorBits; DWORD iFSGrafEffect; DWORD iFSGrafEffectMSec; DWORD iFSGrafEffectColor; DWORD iWindowsEffect; DWORD iWindowsEffectMSec; LPSTR lpszWindowsEffectDLL; DWORD iWindowsEffectOrdinal; } SOUNDSENTRYA,*LPSOUNDSENTRYA; typedef struct tagSOUNDSENTRYW { UINT cbSize; DWORD dwFlags; DWORD iFSTextEffect; DWORD iFSTextEffectMSec; DWORD iFSTextEffectColorBits; DWORD iFSGrafEffect; DWORD iFSGrafEffectMSec; DWORD iFSGrafEffectColor; DWORD iWindowsEffect; DWORD iWindowsEffectMSec; LPWSTR lpszWindowsEffectDLL; DWORD iWindowsEffectOrdinal; } SOUNDSENTRYW,*LPSOUNDSENTRYW; typedef struct tagSTICKYKEYS { DWORD cbSize; DWORD dwFlags; } STICKYKEYS,*LPSTICKYKEYS; typedef struct tagTOGGLEKEYS { DWORD cbSize; DWORD dwFlags; } TOGGLEKEYS; typedef struct tagMOUSEHOOKSTRUCT { POINT pt; HWND hwnd; UINT wHitTestCode; DWORD dwExtraInfo; } MOUSEHOOKSTRUCT, *LPMOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT; typedef struct tagTRACKMOUSEEVENT { DWORD cbSize; DWORD dwFlags; HWND hwndTrack; DWORD dwHoverTime; } TRACKMOUSEEVENT,*LPTRACKMOUSEEVENT; typedef struct tagTPMPARAMS { UINT cbSize; RECT rcExclude; } TPMPARAMS,*LPTPMPARAMS; typedef struct tagEVENTMSG { UINT message; UINT paramL; UINT paramH; DWORD time; HWND hwnd; } EVENTMSG,*PEVENTMSGMSG,*LPEVENTMSGMSG, *PEVENTMSG, *LPEVENTMSG; typedef struct _WINDOWPOS { HWND hwnd; HWND hwndInsertAfter; int x; int y; int cx; int cy; UINT flags; } WINDOWPOS,*PWINDOWPOS,*LPWINDOWPOS; typedef struct tagMDICREATESTRUCTA { LPCSTR szClass; LPCSTR szTitle; HANDLE hOwner; int x; int y; int cx; int cy; DWORD style; LPARAM lParam; } MDICREATESTRUCTA,*LPMDICREATESTRUCTA; typedef struct tagMDICREATESTRUCTW { LPCWSTR szClass; LPCWSTR szTitle; HANDLE hOwner; int x; int y; int cx; int cy; DWORD style; LPARAM lParam; } MDICREATESTRUCTW,*LPMDICREATESTRUCTW; typedef struct tagMINMAXINFO { POINT ptReserved; POINT ptMaxSize; POINT ptMaxPosition; POINT ptMinTrackSize; POINT ptMaxTrackSize; } MINMAXINFO,*PMINMAXINFO,*LPMINMAXINFO; typedef struct tagMDINEXTMENU { HMENU hmenuIn; HMENU hmenuNext; HWND hwndNext; } MDINEXTMENU,*PMDINEXTMENU,*LPMDINEXTMENU; typedef struct tagMEASUREITEMSTRUCT { UINT CtlType; UINT CtlID; UINT itemID; UINT itemWidth; UINT itemHeight; DWORD itemData; } MEASUREITEMSTRUCT,*PMEASUREITEMSTRUCT,*LPMEASUREITEMSTRUCT; typedef struct tagDROPSTRUCT { HWND hwndSource; HWND hwndSink; DWORD wFmt; DWORD dwData; POINT ptDrop; DWORD dwControlData; } DROPSTRUCT,*PDROPSTRUCT,*LPDROPSTRUCT; typedef DWORD HELPPOLY; typedef struct tagMULTIKEYHELPA { DWORD mkSize; CHAR mkKeylist; CHAR szKeyphrase[1]; } MULTIKEYHELPA,*PMULTIKEYHELPA,*LPMULTIKEYHELPA; typedef struct tagMULTIKEYHELPW { DWORD mkSize; WCHAR mkKeylist; WCHAR szKeyphrase[1]; } MULTIKEYHELPW,*PMULTIKEYHELPW,*LPMULTIKEYHELPW; typedef struct tagHELPWININFOA { int wStructSize; int x; int y; int dx; int dy; int wMax; CHAR rgchMember[2]; } HELPWININFOA,*PHELPWININFOA,*LPHELPWININFOA; typedef struct tagHELPWININFOW { int wStructSize; int x; int y; int dx; int dy; int wMax; WCHAR rgchMember[2]; } HELPWININFOW,*PHELPWININFOW,*LPHELPWININFOW; typedef struct tagSTYLESTRUCT { DWORD styleOld; DWORD styleNew; } STYLESTRUCT,*LPSTYLESTRUCT; typedef struct tagALTTABINFO { DWORD cbSize; int cItems; int cColumns; int cRows; int iColFocus; int iRowFocus; int cxItem; int cyItem; POINT ptStart; } ALTTABINFO, *PALTTABINFO, *LPALTTABINFO; typedef struct tagCOMBOBOXINFO { DWORD cbSize; RECT rcItem; RECT rcButton; DWORD stateButton; HWND hwndCombo; HWND hwndItem; HWND hwndList; } COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO; typedef struct tagCURSORINFO { DWORD cbSize; DWORD flags; HCURSOR hCursor; POINT ptScreenPos; } CURSORINFO,*PCURSORINFO,*LPCURSORINFO; typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; HMENU hMenu; HWND hwndMenu; BOOL fBarFocused:1; BOOL fFocused:1; } MENUBARINFO, *PMENUBARINFO; typedef struct tagMENUINFO { DWORD cbSize; DWORD fMask; DWORD dwStyle; UINT cyMax; HBRUSH hbrBack; DWORD dwContextHelpID; ULONG_PTR dwMenuData; } MENUINFO, *LPMENUINFO; typedef MENUINFO const *LPCMENUINFO; typedef struct tagSCROLLBARINFO { DWORD cbSize; RECT rcScrollBar; int dxyLineButton; int xyThumbTop; int xyThumbBottom; int reserved; DWORD rgstate[5 + 1]; } SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO; typedef struct tagTITLEBARINFO { DWORD cbSize; RECT rcTitleBar; DWORD rgstate[5 + 1]; } TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO; typedef struct tagWINDOWINFO { DWORD cbSize; RECT rcWindow; RECT rcClient; DWORD dwStyle; DWORD dwExStyle; DWORD dwWindowStatus; UINT cxWindowBorders; UINT cyWindowBorders; ATOM atomWindowType; WORD wCreatorVersion; } WINDOWINFO, *PWINDOWINFO, *LPWINDOWINFO; typedef struct tagLASTINPUTINFO { UINT cbSize; DWORD dwTime; } LASTINPUTINFO, * PLASTINPUTINFO; typedef struct tagMONITORINFO { DWORD cbSize; RECT rcMonitor; RECT rcWork; DWORD dwFlags; } MONITORINFO,*LPMONITORINFO; typedef struct tagKBDLLHOOKSTRUCT { DWORD vkCode; DWORD scanCode; DWORD flags; DWORD time; DWORD dwExtraInfo; } KBDLLHOOKSTRUCT, *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT; # 2614 "C:/MINGW/include/winuser.h" 3 HKL __attribute__((__stdcall__)) ActivateKeyboardLayout(HKL,UINT); BOOL __attribute__((__stdcall__)) AdjustWindowRect(LPRECT,DWORD,BOOL); BOOL __attribute__((__stdcall__)) AdjustWindowRectEx(LPRECT,DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) AnyPopup(void); BOOL __attribute__((__stdcall__)) AppendMenuA(HMENU,UINT,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) AppendMenuW(HMENU,UINT,UINT,LPCWSTR); UINT __attribute__((__stdcall__)) ArrangeIconicWindows(HWND); BOOL __attribute__((__stdcall__)) AttachThreadInput(DWORD,DWORD,BOOL); HDWP __attribute__((__stdcall__)) BeginDeferWindowPos(int); HDC __attribute__((__stdcall__)) BeginPaint(HWND,LPPAINTSTRUCT); BOOL __attribute__((__stdcall__)) BringWindowToTop(HWND); long __attribute__((__stdcall__)) BroadcastSystemMessage(DWORD,LPDWORD,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) CallMsgFilter(PMSG,int); LRESULT __attribute__((__stdcall__)) CallNextHookEx(HHOOK,int,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) CallWindowProcA(WNDPROC,HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) CallWindowProcW(WNDPROC,HWND,UINT,WPARAM,LPARAM); WORD __attribute__((__stdcall__)) CascadeWindows(HWND,UINT,LPCRECT,UINT,const HWND*); BOOL __attribute__((__stdcall__)) ChangeClipboardChain(HWND,HWND); LONG __attribute__((__stdcall__)) ChangeDisplaySettingsA(PDEVMODEA,DWORD); LONG __attribute__((__stdcall__)) ChangeDisplaySettingsW(PDEVMODEW,DWORD); BOOL __attribute__((__stdcall__)) ChangeMenuA(HMENU,UINT,LPCSTR,UINT,UINT); BOOL __attribute__((__stdcall__)) ChangeMenuW(HMENU,UINT,LPCWSTR,UINT,UINT); LPSTR __attribute__((__stdcall__)) CharLowerA(LPSTR); LPWSTR __attribute__((__stdcall__)) CharLowerW(LPWSTR); DWORD __attribute__((__stdcall__)) CharLowerBuffA(LPSTR,DWORD); DWORD __attribute__((__stdcall__)) CharLowerBuffW(LPWSTR,DWORD); LPSTR __attribute__((__stdcall__)) CharNextA(LPCSTR); LPWSTR __attribute__((__stdcall__)) CharNextW(LPCWSTR); LPSTR __attribute__((__stdcall__)) CharNextExA(WORD,LPCSTR,DWORD); LPWSTR __attribute__((__stdcall__)) CharNextExW(WORD,LPCWSTR,DWORD); LPSTR __attribute__((__stdcall__)) CharPrevA(LPCSTR,LPCSTR); LPWSTR __attribute__((__stdcall__)) CharPrevW(LPCWSTR,LPCWSTR); LPSTR __attribute__((__stdcall__)) CharPrevExA(WORD,LPCSTR,LPCSTR,DWORD); LPWSTR __attribute__((__stdcall__)) CharPrevExW(WORD,LPCWSTR,LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) CharToOemA(LPCSTR,LPSTR); BOOL __attribute__((__stdcall__)) CharToOemW(LPCWSTR,LPSTR); BOOL __attribute__((__stdcall__)) CharToOemBuffA(LPCSTR,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) CharToOemBuffW(LPCWSTR,LPSTR,DWORD); LPSTR __attribute__((__stdcall__)) CharUpperA(LPSTR); LPWSTR __attribute__((__stdcall__)) CharUpperW(LPWSTR); DWORD __attribute__((__stdcall__)) CharUpperBuffA(LPSTR,DWORD); DWORD __attribute__((__stdcall__)) CharUpperBuffW(LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) CheckDlgButton(HWND,int,UINT); DWORD __attribute__((__stdcall__)) CheckMenuItem(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) CheckMenuRadioItem(HMENU,UINT,UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) CheckRadioButton(HWND,int,int,int); HWND __attribute__((__stdcall__)) ChildWindowFromPoint(HWND,POINT); HWND __attribute__((__stdcall__)) ChildWindowFromPointEx(HWND,POINT,UINT); BOOL __attribute__((__stdcall__)) ClientToScreen(HWND,LPPOINT); BOOL __attribute__((__stdcall__)) ClipCursor(LPCRECT); BOOL __attribute__((__stdcall__)) CloseClipboard(void); BOOL __attribute__((__stdcall__)) CloseDesktop(HDESK); BOOL __attribute__((__stdcall__)) CloseWindow(HWND); BOOL __attribute__((__stdcall__)) CloseWindowStation(HWINSTA); int __attribute__((__stdcall__)) CopyAcceleratorTableA(HACCEL,LPACCEL,int); int __attribute__((__stdcall__)) CopyAcceleratorTableW(HACCEL,LPACCEL,int); HCURSOR __attribute__((__stdcall__)) CopyCursor(HCURSOR); HICON __attribute__((__stdcall__)) CopyIcon(HICON); HANDLE __attribute__((__stdcall__)) CopyImage(HANDLE,UINT,int,int,UINT); BOOL __attribute__((__stdcall__)) CopyRect(LPRECT,LPCRECT); int __attribute__((__stdcall__)) CountClipboardFormats(void); HACCEL __attribute__((__stdcall__)) CreateAcceleratorTableA(LPACCEL,int); HACCEL __attribute__((__stdcall__)) CreateAcceleratorTableW(LPACCEL,int); BOOL __attribute__((__stdcall__)) CreateCaret(HWND,HBITMAP,int,int); HCURSOR __attribute__((__stdcall__)) CreateCursor(HINSTANCE,int,int,int,int,PCVOID,PCVOID); HDESK __attribute__((__stdcall__)) CreateDesktopA(LPSTR,LPSTR,LPDEVMODEA,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HDESK __attribute__((__stdcall__)) CreateDesktopW(LPWSTR,LPWSTR,LPDEVMODEW,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HWND __attribute__((__stdcall__)) CreateDialogIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); HWND __attribute__((__stdcall__)) CreateDialogIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); HWND __attribute__((__stdcall__)) CreateDialogParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); HWND __attribute__((__stdcall__)) CreateDialogParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); HICON __attribute__((__stdcall__)) CreateIcon(HINSTANCE,int,int,BYTE,BYTE,const BYTE*,const BYTE*); HICON __attribute__((__stdcall__)) CreateIconFromResource(PBYTE,DWORD,BOOL,DWORD); HICON __attribute__((__stdcall__)) CreateIconFromResourceEx(PBYTE,DWORD,BOOL,DWORD,int,int,UINT); HICON __attribute__((__stdcall__)) CreateIconIndirect(PICONINFO); HWND __attribute__((__stdcall__)) CreateMDIWindowA(LPSTR,LPSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM); HWND __attribute__((__stdcall__)) CreateMDIWindowW(LPWSTR,LPWSTR,DWORD,int,int,int,int,HWND,HINSTANCE,LPARAM); HMENU __attribute__((__stdcall__)) CreateMenu(void); HMENU __attribute__((__stdcall__)) CreatePopupMenu(void); HWND __attribute__((__stdcall__)) CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID); HWND __attribute__((__stdcall__)) CreateWindowExW(DWORD,LPCWSTR,LPCWSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID); HWINSTA __attribute__((__stdcall__)) CreateWindowStationA(LPSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); HWINSTA __attribute__((__stdcall__)) CreateWindowStationW(LPWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); LRESULT __attribute__((__stdcall__)) DefDlgProcA(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefDlgProcW(HWND,UINT,WPARAM,LPARAM); HDWP __attribute__((__stdcall__)) DeferWindowPos(HDWP,HWND,HWND,int,int,int,int,UINT); LRESULT __attribute__((__stdcall__)) DefFrameProcA(HWND,HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefFrameProcW(HWND,HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefMDIChildProcA(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefMDIChildProcW(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefWindowProcA(HWND,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) DefWindowProcW(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) DeleteMenu(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) DestroyAcceleratorTable(HACCEL); BOOL __attribute__((__stdcall__)) DestroyCaret(void); BOOL __attribute__((__stdcall__)) DestroyCursor(HCURSOR); BOOL __attribute__((__stdcall__)) DestroyIcon(HICON); BOOL __attribute__((__stdcall__)) DestroyMenu(HMENU); BOOL __attribute__((__stdcall__)) DestroyWindow(HWND); int __attribute__((__stdcall__)) DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); int __attribute__((__stdcall__)) DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); int __attribute__((__stdcall__)) DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); int __attribute__((__stdcall__)) DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); LONG __attribute__((__stdcall__)) DispatchMessageA(const MSG*); LONG __attribute__((__stdcall__)) DispatchMessageW(const MSG*); int __attribute__((__stdcall__)) DlgDirListA(HWND,LPSTR,int,int,UINT); int __attribute__((__stdcall__)) DlgDirListW(HWND,LPWSTR,int,int,UINT); int __attribute__((__stdcall__)) DlgDirListComboBoxA(HWND,LPSTR,int,int,UINT); int __attribute__((__stdcall__)) DlgDirListComboBoxW(HWND,LPWSTR,int,int,UINT); BOOL __attribute__((__stdcall__)) DlgDirSelectComboBoxExA(HWND,LPSTR,int,int); BOOL __attribute__((__stdcall__)) DlgDirSelectComboBoxExW(HWND,LPWSTR,int,int); BOOL __attribute__((__stdcall__)) DlgDirSelectExA(HWND,LPSTR,int,int); BOOL __attribute__((__stdcall__)) DlgDirSelectExW(HWND,LPWSTR,int,int); BOOL __attribute__((__stdcall__)) DragDetect(HWND,POINT); DWORD __attribute__((__stdcall__)) DragObject(HWND,HWND,UINT,DWORD,HCURSOR); BOOL __attribute__((__stdcall__)) DrawAnimatedRects(HWND,int,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) DrawCaption(HWND,HDC,LPCRECT,UINT); BOOL __attribute__((__stdcall__)) DrawEdge(HDC,LPRECT,UINT,UINT); BOOL __attribute__((__stdcall__)) DrawFocusRect(HDC,LPCRECT); BOOL __attribute__((__stdcall__)) DrawFrameControl(HDC,LPRECT,UINT,UINT); BOOL __attribute__((__stdcall__)) DrawIcon(HDC,int,int,HICON); BOOL __attribute__((__stdcall__)) DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT); BOOL __attribute__((__stdcall__)) DrawMenuBar(HWND); BOOL __attribute__((__stdcall__)) DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); BOOL __attribute__((__stdcall__)) DrawStateW(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); int __attribute__((__stdcall__)) DrawTextA(HDC,LPCSTR,int,LPRECT,UINT); int __attribute__((__stdcall__)) DrawTextW(HDC,LPCWSTR,int,LPRECT,UINT); int __attribute__((__stdcall__)) DrawTextExA(HDC,LPSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS); int __attribute__((__stdcall__)) DrawTextExW(HDC,LPWSTR,int,LPRECT,UINT,LPDRAWTEXTPARAMS); BOOL __attribute__((__stdcall__)) EmptyClipboard(void); BOOL __attribute__((__stdcall__)) EnableMenuItem(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) EnableScrollBar(HWND,UINT,UINT); BOOL __attribute__((__stdcall__)) EnableWindow(HWND,BOOL); BOOL __attribute__((__stdcall__)) EndDeferWindowPos(HDWP); BOOL __attribute__((__stdcall__)) EndDialog(HWND,int); BOOL __attribute__((__stdcall__)) EndMenu(void); BOOL __attribute__((__stdcall__)) EndPaint(HWND,const PAINTSTRUCT*); BOOL __attribute__((__stdcall__)) EnumChildWindows(HWND,ENUMWINDOWSPROC,LPARAM); UINT __attribute__((__stdcall__)) EnumClipboardFormats(UINT); BOOL __attribute__((__stdcall__)) EnumDesktopsA(HWINSTA,DESKTOPENUMPROCA,LPARAM); BOOL __attribute__((__stdcall__)) EnumDesktopsW(HWINSTA,DESKTOPENUMPROCW,LPARAM); BOOL __attribute__((__stdcall__)) EnumDesktopWindows(HDESK,ENUMWINDOWSPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumDisplayMonitors(HDC,LPCRECT,MONITORENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumDisplaySettingsA(LPCSTR,DWORD,PDEVMODEA); BOOL __attribute__((__stdcall__)) EnumDisplaySettingsW(LPCWSTR,DWORD,PDEVMODEW); int __attribute__((__stdcall__)) EnumPropsA(HWND,PROPENUMPROCA); int __attribute__((__stdcall__)) EnumPropsW(HWND,PROPENUMPROCW); int __attribute__((__stdcall__)) EnumPropsExA(HWND,PROPENUMPROCEXA,LPARAM); int __attribute__((__stdcall__)) EnumPropsExW(HWND,PROPENUMPROCEXW,LPARAM); BOOL __attribute__((__stdcall__)) EnumThreadWindows(DWORD,WNDENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumWindows(WNDENUMPROC,LPARAM); BOOL __attribute__((__stdcall__)) EnumWindowStationsA(WINSTAENUMPROCA,LPARAM); BOOL __attribute__((__stdcall__)) EnumWindowStationsW(WINSTAENUMPROCW,LPARAM); BOOL __attribute__((__stdcall__)) EqualRect(LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) ExitWindowsEx(UINT,DWORD); HWND __attribute__((__stdcall__)) FindWindowA(LPCSTR,LPCSTR); HWND __attribute__((__stdcall__)) FindWindowExA(HWND,HWND,LPCSTR,LPCSTR); HWND __attribute__((__stdcall__)) FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR); HWND __attribute__((__stdcall__)) FindWindowW(LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) FlashWindow(HWND,BOOL); int __attribute__((__stdcall__)) FrameRect(HDC,LPCRECT,HBRUSH); BOOL __attribute__((__stdcall__)) FrameRgn(HDC,HRGN,HBRUSH,int,int); HWND __attribute__((__stdcall__)) GetActiveWindow(void); SHORT __attribute__((__stdcall__)) GetAsyncKeyState(int); HWND __attribute__((__stdcall__)) GetCapture(void); UINT __attribute__((__stdcall__)) GetCaretBlinkTime(void); BOOL __attribute__((__stdcall__)) GetCaretPos(LPPOINT); BOOL __attribute__((__stdcall__)) GetClassInfoA(HINSTANCE,LPCSTR,PWNDCLASSA); BOOL __attribute__((__stdcall__)) GetClassInfoExA(HINSTANCE,LPCSTR,PWNDCLASSEXA); BOOL __attribute__((__stdcall__)) GetClassInfoW(HINSTANCE,LPCWSTR,PWNDCLASSW); BOOL __attribute__((__stdcall__)) GetClassInfoExW(HINSTANCE,LPCWSTR,PWNDCLASSEXW); DWORD __attribute__((__stdcall__)) GetClassLongA(HWND,int); DWORD __attribute__((__stdcall__)) GetClassLongW(HWND,int); int __attribute__((__stdcall__)) GetClassNameA(HWND,LPSTR,int); int __attribute__((__stdcall__)) GetClassNameW(HWND,LPWSTR,int); WORD __attribute__((__stdcall__)) GetClassWord(HWND,int); BOOL __attribute__((__stdcall__)) GetClientRect(HWND,LPRECT); HANDLE __attribute__((__stdcall__)) GetClipboardData(UINT); int __attribute__((__stdcall__)) GetClipboardFormatNameA(UINT,LPSTR,int); int __attribute__((__stdcall__)) GetClipboardFormatNameW(UINT,LPWSTR,int); HWND __attribute__((__stdcall__)) GetClipboardOwner(void); HWND __attribute__((__stdcall__)) GetClipboardViewer(void); BOOL __attribute__((__stdcall__)) GetClipCursor(LPRECT); BOOL __attribute__((__stdcall__)) GetCursorPos(LPPOINT); HDC __attribute__((__stdcall__)) GetDC(HWND); HDC __attribute__((__stdcall__)) GetDCEx(HWND,HRGN,DWORD); HWND __attribute__((__stdcall__)) GetDesktopWindow(void); long __attribute__((__stdcall__)) GetDialogBaseUnits(void); int __attribute__((__stdcall__)) GetDlgCtrlID(HWND); HWND __attribute__((__stdcall__)) GetDlgItem(HWND,int); UINT __attribute__((__stdcall__)) GetDlgItemInt(HWND,int,PBOOL,BOOL); UINT __attribute__((__stdcall__)) GetDlgItemTextA(HWND,int,LPSTR,int); UINT __attribute__((__stdcall__)) GetDlgItemTextW(HWND,int,LPWSTR,int); UINT __attribute__((__stdcall__)) GetDoubleClickTime(void); HWND __attribute__((__stdcall__)) GetFocus(void); HWND __attribute__((__stdcall__)) GetForegroundWindow(void); BOOL __attribute__((__stdcall__)) GetIconInfo(HICON,PICONINFO); BOOL __attribute__((__stdcall__)) GetInputState(void); UINT __attribute__((__stdcall__)) GetKBCodePage(void); HKL __attribute__((__stdcall__)) GetKeyboardLayout(DWORD); int __attribute__((__stdcall__)) GetKeyboardLayoutList(int,HKL*); BOOL __attribute__((__stdcall__)) GetKeyboardLayoutNameA(LPSTR); BOOL __attribute__((__stdcall__)) GetKeyboardLayoutNameW(LPWSTR); BOOL __attribute__((__stdcall__)) GetKeyboardState(PBYTE); int __attribute__((__stdcall__)) GetKeyboardType(int); int __attribute__((__stdcall__)) GetKeyNameTextA(LONG,LPSTR,int); int __attribute__((__stdcall__)) GetKeyNameTextW(LONG,LPWSTR,int); SHORT __attribute__((__stdcall__)) GetKeyState(int); HWND __attribute__((__stdcall__)) GetLastActivePopup(HWND); DWORD __attribute__((__stdcall__)) GetLastError(void); HMENU __attribute__((__stdcall__)) GetMenu(HWND); LONG __attribute__((__stdcall__)) GetMenuCheckMarkDimensions(void); DWORD __attribute__((__stdcall__)) GetMenuContextHelpId(HMENU); UINT __attribute__((__stdcall__)) GetMenuDefaultItem(HMENU,UINT,UINT); int __attribute__((__stdcall__)) GetMenuItemCount(HMENU); UINT __attribute__((__stdcall__)) GetMenuItemID(HMENU,int); BOOL __attribute__((__stdcall__)) GetMenuItemInfoA(HMENU,UINT,BOOL,LPMENUITEMINFOA); BOOL __attribute__((__stdcall__)) GetMenuItemInfoW(HMENU,UINT,BOOL,LPMENUITEMINFOW); BOOL __attribute__((__stdcall__)) GetMenuItemRect(HWND,HMENU,UINT,LPRECT); UINT __attribute__((__stdcall__)) GetMenuState(HMENU,UINT,UINT); int __attribute__((__stdcall__)) GetMenuStringA(HMENU,UINT,LPSTR,int,UINT); int __attribute__((__stdcall__)) GetMenuStringW(HMENU,UINT,LPWSTR,int,UINT); BOOL __attribute__((__stdcall__)) GetMessageA(LPMSG,HWND,UINT,UINT); BOOL __attribute__((__stdcall__)) GetMessageW(LPMSG,HWND,UINT,UINT); LONG __attribute__((__stdcall__)) GetMessageExtraInfo(void); DWORD __attribute__((__stdcall__)) GetMessagePos(void); LONG __attribute__((__stdcall__)) GetMessageTime(void); HWND __attribute__((__stdcall__)) GetNextDlgGroupItem(HWND,HWND,BOOL); HWND __attribute__((__stdcall__)) GetNextDlgTabItem(HWND,HWND,BOOL); HWND __attribute__((__stdcall__)) GetOpenClipboardWindow(void); HWND __attribute__((__stdcall__)) GetParent(HWND); int __attribute__((__stdcall__)) GetPriorityClipboardFormat(UINT*,int); HANDLE __attribute__((__stdcall__)) GetPropA(HWND,LPCSTR); HANDLE __attribute__((__stdcall__)) GetPropW(HWND,LPCWSTR); DWORD __attribute__((__stdcall__)) GetQueueStatus(UINT); BOOL __attribute__((__stdcall__)) GetScrollInfo(HWND,int,LPSCROLLINFO); int __attribute__((__stdcall__)) GetScrollPos(HWND,int); BOOL __attribute__((__stdcall__)) GetScrollRange(HWND,int,LPINT,LPINT); HMENU __attribute__((__stdcall__)) GetSubMenu(HMENU,int); DWORD __attribute__((__stdcall__)) GetSysColor(int); HBRUSH __attribute__((__stdcall__)) GetSysColorBrush(int); HMENU __attribute__((__stdcall__)) GetSystemMenu(HWND,BOOL); int __attribute__((__stdcall__)) GetSystemMetrics(int); DWORD __attribute__((__stdcall__)) GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT); DWORD __attribute__((__stdcall__)) GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT); LONG __attribute__((__stdcall__)) GetWindowLongA(HWND,int); LONG __attribute__((__stdcall__)) GetWindowLongW(HWND,int); HDESK __attribute__((__stdcall__)) GetThreadDesktop(DWORD); HWND __attribute__((__stdcall__)) GetTopWindow(HWND); BOOL __attribute__((__stdcall__)) GetUpdateRect(HWND,LPRECT,BOOL); int __attribute__((__stdcall__)) GetUpdateRgn(HWND,HRGN,BOOL); BOOL __attribute__((__stdcall__)) GetUserObjectInformationA(HANDLE,int,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetUserObjectInformationW(HANDLE,int,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); HWND __attribute__((__stdcall__)) GetWindow(HWND,UINT); DWORD __attribute__((__stdcall__)) GetWindowContextHelpId(HWND); HDC __attribute__((__stdcall__)) GetWindowDC(HWND); BOOL __attribute__((__stdcall__)) GetWindowExtEx(HDC,LPSIZE); BOOL __attribute__((__stdcall__)) GetWindowPlacement(HWND,WINDOWPLACEMENT*); BOOL __attribute__((__stdcall__)) GetWindowRect(HWND,LPRECT); int __attribute__((__stdcall__)) GetWindowRgn(HWND,HRGN); int __attribute__((__stdcall__)) GetWindowTextA(HWND,LPSTR,int); int __attribute__((__stdcall__)) GetWindowTextLengthA(HWND); int __attribute__((__stdcall__)) GetWindowTextLengthW(HWND); int __attribute__((__stdcall__)) GetWindowTextW(HWND,LPWSTR,int); WORD __attribute__((__stdcall__)) GetWindowWord(HWND,int); BOOL __attribute__((__stdcall__)) GetAltTabInfoA(HWND,int,PALTTABINFO,LPSTR,UINT); BOOL __attribute__((__stdcall__)) GetAltTabInfoW(HWND,int,PALTTABINFO,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) GetComboBoxInfo(HWND,PCOMBOBOXINFO); BOOL __attribute__((__stdcall__)) GetCursorInfo(PCURSORINFO); BOOL __attribute__((__stdcall__)) GetLastInputInfo(PLASTINPUTINFO); DWORD __attribute__((__stdcall__)) GetListBoxInfo(HWND); BOOL __attribute__((__stdcall__)) GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO); BOOL __attribute__((__stdcall__)) GetMenuInfo(HMENU,LPMENUINFO); BOOL __attribute__((__stdcall__)) GetScrollBarInfo(HWND,LONG,PSCROLLBARINFO); BOOL __attribute__((__stdcall__)) GetTitleBarInfo(HWND,PTITLEBARINFO); BOOL __attribute__((__stdcall__)) GetWindowInfo(HWND,PWINDOWINFO); BOOL __attribute__((__stdcall__)) GetMonitorInfoA(HMONITOR,LPMONITORINFO); BOOL __attribute__((__stdcall__)) GetMonitorInfoW(HMONITOR,LPMONITORINFO); UINT __attribute__((__stdcall__)) GetWindowModuleFileNameA(HWND,LPSTR,UINT); UINT __attribute__((__stdcall__)) GetWindowModuleFileNameW(HWND,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) GrayStringA(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int); BOOL __attribute__((__stdcall__)) GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int); BOOL __attribute__((__stdcall__)) HideCaret(HWND); BOOL __attribute__((__stdcall__)) HiliteMenuItem(HWND,HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) InflateRect(LPRECT,int,int); BOOL __attribute__((__stdcall__)) InSendMessage(void); BOOL __attribute__((__stdcall__)) InsertMenuA(HMENU,UINT,UINT,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) InsertMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); BOOL __attribute__((__stdcall__)) InsertMenuItemA(HMENU,UINT,BOOL,LPCMENUITEMINFOA); BOOL __attribute__((__stdcall__)) InsertMenuItemW(HMENU,UINT,BOOL,LPCMENUITEMINFOW); BOOL __attribute__((__stdcall__)) IntersectRect(LPRECT,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) InvalidateRect(HWND,LPCRECT,BOOL); BOOL __attribute__((__stdcall__)) InvalidateRgn(HWND,HRGN,BOOL); BOOL __attribute__((__stdcall__)) InvertRect(HDC,LPCRECT); BOOL __attribute__((__stdcall__)) IsCharAlphaA(CHAR ch); BOOL __attribute__((__stdcall__)) IsCharAlphaNumericA(CHAR); BOOL __attribute__((__stdcall__)) IsCharAlphaNumericW(WCHAR); BOOL __attribute__((__stdcall__)) IsCharAlphaW(WCHAR); BOOL __attribute__((__stdcall__)) IsCharLowerA(CHAR); BOOL __attribute__((__stdcall__)) IsCharLowerW(WCHAR); BOOL __attribute__((__stdcall__)) IsCharUpperA(CHAR); BOOL __attribute__((__stdcall__)) IsCharUpperW(WCHAR); BOOL __attribute__((__stdcall__)) IsChild(HWND,HWND); BOOL __attribute__((__stdcall__)) IsClipboardFormatAvailable(UINT); BOOL __attribute__((__stdcall__)) IsDialogMessageA(HWND,LPMSG); BOOL __attribute__((__stdcall__)) IsDialogMessageW(HWND,LPMSG); UINT __attribute__((__stdcall__)) IsDlgButtonChecked(HWND,int); BOOL __attribute__((__stdcall__)) IsIconic(HWND); BOOL __attribute__((__stdcall__)) IsMenu(HMENU); BOOL __attribute__((__stdcall__)) IsRectEmpty(LPCRECT); BOOL __attribute__((__stdcall__)) IsWindow(HWND); BOOL __attribute__((__stdcall__)) IsWindowEnabled(HWND); BOOL __attribute__((__stdcall__)) IsWindowUnicode(HWND); BOOL __attribute__((__stdcall__)) IsWindowVisible(HWND); BOOL __attribute__((__stdcall__)) IsZoomed(HWND); void __attribute__((__stdcall__)) keybd_event(BYTE,BYTE,DWORD,DWORD); BOOL __attribute__((__stdcall__)) KillTimer(HWND,UINT); HACCEL __attribute__((__stdcall__)) LoadAcceleratorsA(HINSTANCE,LPCSTR); HACCEL __attribute__((__stdcall__)) LoadAcceleratorsW(HINSTANCE,LPCWSTR); HBITMAP __attribute__((__stdcall__)) LoadBitmapA(HINSTANCE,LPCSTR); HBITMAP __attribute__((__stdcall__)) LoadBitmapW(HINSTANCE,LPCWSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorA(HINSTANCE,LPCSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorFromFileA(LPCSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorFromFileW(LPCWSTR); HCURSOR __attribute__((__stdcall__)) LoadCursorW(HINSTANCE,LPCWSTR); HICON __attribute__((__stdcall__)) LoadIconA(HINSTANCE,LPCSTR); HICON __attribute__((__stdcall__)) LoadIconW(HINSTANCE,LPCWSTR); HANDLE __attribute__((__stdcall__)) LoadImageA(HINSTANCE,LPCSTR,UINT,int,int,UINT); HANDLE __attribute__((__stdcall__)) LoadImageW(HINSTANCE,LPCWSTR,UINT,int,int,UINT); HKL __attribute__((__stdcall__)) LoadKeyboardLayoutA(LPCSTR,UINT); HKL __attribute__((__stdcall__)) LoadKeyboardLayoutW(LPCWSTR,UINT); HMENU __attribute__((__stdcall__)) LoadMenuA(HINSTANCE,LPCSTR); HMENU __attribute__((__stdcall__)) LoadMenuIndirectA(const MENUTEMPLATE*); HMENU __attribute__((__stdcall__)) LoadMenuIndirectW(const MENUTEMPLATE*); HMENU __attribute__((__stdcall__)) LoadMenuW(HINSTANCE,LPCWSTR); int __attribute__((__stdcall__)) LoadStringA(HINSTANCE,UINT,LPSTR,int); int __attribute__((__stdcall__)) LoadStringW(HINSTANCE,UINT,LPWSTR,int); BOOL __attribute__((__stdcall__)) LockWindowUpdate(HWND); int __attribute__((__stdcall__)) LookupIconIdFromDirectory(PBYTE,BOOL); int __attribute__((__stdcall__)) LookupIconIdFromDirectoryEx(PBYTE,BOOL,int,int,UINT); BOOL __attribute__((__stdcall__)) MapDialogRect(HWND,LPRECT); UINT __attribute__((__stdcall__)) MapVirtualKeyA(UINT,UINT); UINT __attribute__((__stdcall__)) MapVirtualKeyExA(UINT,UINT,HKL); UINT __attribute__((__stdcall__)) MapVirtualKeyExW(UINT,UINT,HKL); UINT __attribute__((__stdcall__)) MapVirtualKeyW(UINT,UINT); int __attribute__((__stdcall__)) MapWindowPoints(HWND,HWND,LPPOINT,UINT); int __attribute__((__stdcall__)) MenuItemFromPoint(HWND,HMENU,POINT); BOOL __attribute__((__stdcall__)) MessageBeep(UINT); int __attribute__((__stdcall__)) MessageBoxA(HWND,LPCSTR,LPCSTR,UINT); int __attribute__((__stdcall__)) MessageBoxW(HWND,LPCWSTR,LPCWSTR,UINT); int __attribute__((__stdcall__)) MessageBoxExA(HWND,LPCSTR,LPCSTR,UINT,WORD); int __attribute__((__stdcall__)) MessageBoxExW(HWND,LPCWSTR,LPCWSTR,UINT,WORD); int __attribute__((__stdcall__)) MessageBoxIndirectA(LPMSGBOXPARAMSA); int __attribute__((__stdcall__)) MessageBoxIndirectW(LPMSGBOXPARAMSW); BOOL __attribute__((__stdcall__)) ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR); BOOL __attribute__((__stdcall__)) ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); void __attribute__((__stdcall__)) mouse_event(DWORD,DWORD,DWORD,DWORD,DWORD); BOOL __attribute__((__stdcall__)) MoveWindow(HWND,int,int,int,int,BOOL); DWORD __attribute__((__stdcall__)) MsgWaitForMultipleObjects(DWORD,LPHANDLE,BOOL,DWORD,DWORD); DWORD __attribute__((__stdcall__)) MsgWaitForMultipleObjectsEx(DWORD,LPHANDLE,DWORD,DWORD,DWORD); DWORD __attribute__((__stdcall__)) OemKeyScan(WORD); BOOL __attribute__((__stdcall__)) OemToCharA(LPCSTR,LPSTR); BOOL __attribute__((__stdcall__)) OemToCharBuffA(LPCSTR,LPSTR,DWORD); BOOL __attribute__((__stdcall__)) OemToCharBuffW(LPCSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) OemToCharW(LPCSTR,LPWSTR); BOOL __attribute__((__stdcall__)) OffsetRect(LPRECT,int,int); BOOL __attribute__((__stdcall__)) OpenClipboard(HWND); HDESK __attribute__((__stdcall__)) OpenDesktopA(LPSTR,DWORD,BOOL,DWORD); HDESK __attribute__((__stdcall__)) OpenDesktopW(LPWSTR,DWORD,BOOL,DWORD); BOOL __attribute__((__stdcall__)) OpenIcon(HWND); HDESK __attribute__((__stdcall__)) OpenInputDesktop(DWORD,BOOL,DWORD); HWINSTA __attribute__((__stdcall__)) OpenWindowStationA(LPSTR,BOOL,DWORD); HWINSTA __attribute__((__stdcall__)) OpenWindowStationW(LPWSTR,BOOL,DWORD); BOOL __attribute__((__stdcall__)) PaintDesktop(HDC); BOOL __attribute__((__stdcall__)) PeekMessageA(LPMSG,HWND,UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) PeekMessageW(LPMSG,HWND,UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) PostMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) PostMessageW(HWND,UINT,WPARAM,LPARAM); void __attribute__((__stdcall__)) PostQuitMessage(int); BOOL __attribute__((__stdcall__)) PostThreadMessageA(DWORD,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) PostThreadMessageW(DWORD,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) PtInRect(LPCRECT,POINT); BOOL __attribute__((__stdcall__)) RedrawWindow(HWND,LPCRECT,HRGN,UINT); ATOM __attribute__((__stdcall__)) RegisterClassA(const WNDCLASSA*); ATOM __attribute__((__stdcall__)) RegisterClassW(const WNDCLASSW*); ATOM __attribute__((__stdcall__)) RegisterClassExA(const WNDCLASSEXA*); ATOM __attribute__((__stdcall__)) RegisterClassExW(const WNDCLASSEXW*); UINT __attribute__((__stdcall__)) RegisterClipboardFormatA(LPCSTR); UINT __attribute__((__stdcall__)) RegisterClipboardFormatW(LPCWSTR); BOOL __attribute__((__stdcall__)) RegisterHotKey(HWND,int,UINT,UINT); UINT __attribute__((__stdcall__)) RegisterWindowMessageA(LPCSTR); UINT __attribute__((__stdcall__)) RegisterWindowMessageW(LPCWSTR); BOOL __attribute__((__stdcall__)) ReleaseCapture(void); int __attribute__((__stdcall__)) ReleaseDC(HWND,HDC); BOOL __attribute__((__stdcall__)) RemoveMenu(HMENU,UINT,UINT); HANDLE __attribute__((__stdcall__)) RemovePropA(HWND,LPCSTR); HANDLE __attribute__((__stdcall__)) RemovePropW(HWND,LPCWSTR); BOOL __attribute__((__stdcall__)) ReplyMessage(LRESULT); BOOL __attribute__((__stdcall__)) ScreenToClient(HWND,LPPOINT); BOOL __attribute__((__stdcall__)) ScrollDC(HDC,int,int,LPCRECT,LPCRECT,HRGN,LPRECT); BOOL __attribute__((__stdcall__)) ScrollWindow(HWND,int,int,LPCRECT,LPCRECT); int __attribute__((__stdcall__)) ScrollWindowEx(HWND,int,int,LPCRECT,LPCRECT,HRGN,LPRECT,UINT); LONG __attribute__((__stdcall__)) SendDlgItemMessageA(HWND,int,UINT,WPARAM,LPARAM); LONG __attribute__((__stdcall__)) SendDlgItemMessageW(HWND,int,UINT,WPARAM,LPARAM); LRESULT __attribute__((__stdcall__)) SendMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) SendMessageCallbackA(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD); BOOL __attribute__((__stdcall__)) SendMessageCallbackW(HWND,UINT,WPARAM,LPARAM,SENDASYNCPROC,DWORD); LRESULT __attribute__((__stdcall__)) SendMessageTimeoutA(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD); LRESULT __attribute__((__stdcall__)) SendMessageTimeoutW(HWND,UINT,WPARAM,LPARAM,UINT,UINT,PDWORD); LRESULT __attribute__((__stdcall__)) SendMessageW(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) SendNotifyMessageA(HWND,UINT,WPARAM,LPARAM); BOOL __attribute__((__stdcall__)) SendNotifyMessageW(HWND,UINT,WPARAM,LPARAM); HWND __attribute__((__stdcall__)) SetActiveWindow(HWND); HWND __attribute__((__stdcall__)) SetCapture(HWND hWnd); BOOL __attribute__((__stdcall__)) SetCaretBlinkTime(UINT); BOOL __attribute__((__stdcall__)) SetCaretPos(int,int); DWORD __attribute__((__stdcall__)) SetClassLongA(HWND,int,LONG); DWORD __attribute__((__stdcall__)) SetClassLongW(HWND,int,LONG); WORD __attribute__((__stdcall__)) SetClassWord(HWND,int,WORD); HANDLE __attribute__((__stdcall__)) SetClipboardData(UINT,HANDLE); HWND __attribute__((__stdcall__)) SetClipboardViewer(HWND); HCURSOR __attribute__((__stdcall__)) SetCursor(HCURSOR); BOOL __attribute__((__stdcall__)) SetCursorPos(int,int); void __attribute__((__stdcall__)) SetDebugErrorLevel(DWORD); BOOL __attribute__((__stdcall__)) SetDlgItemInt(HWND,int,UINT,BOOL); BOOL __attribute__((__stdcall__)) SetDlgItemTextA(HWND,int,LPCSTR); BOOL __attribute__((__stdcall__)) SetDlgItemTextW(HWND,int,LPCWSTR); BOOL __attribute__((__stdcall__)) SetDoubleClickTime(UINT); HWND __attribute__((__stdcall__)) SetFocus(HWND); BOOL __attribute__((__stdcall__)) SetForegroundWindow(HWND); BOOL __attribute__((__stdcall__)) SetKeyboardState(PBYTE); BOOL __attribute__((__stdcall__)) SetMenu(HWND,HMENU); BOOL __attribute__((__stdcall__)) SetMenuContextHelpId(HMENU,DWORD); BOOL __attribute__((__stdcall__)) SetMenuDefaultItem(HMENU,UINT,UINT); BOOL __attribute__((__stdcall__)) SetMenuInfo(HMENU,LPCMENUINFO); BOOL __attribute__((__stdcall__)) SetMenuItemBitmaps(HMENU,UINT,UINT,HBITMAP,HBITMAP); BOOL __attribute__((__stdcall__)) SetMenuItemInfoA(HMENU,UINT,BOOL,LPCMENUITEMINFOA); BOOL __attribute__((__stdcall__)) SetMenuItemInfoW( HMENU,UINT,BOOL,LPCMENUITEMINFOW); LPARAM __attribute__((__stdcall__)) SetMessageExtraInfo(LPARAM); BOOL __attribute__((__stdcall__)) SetMessageQueue(int); HWND __attribute__((__stdcall__)) SetParent(HWND,HWND); BOOL __attribute__((__stdcall__)) SetProcessWindowStation(HWINSTA); BOOL __attribute__((__stdcall__)) SetPropA(HWND,LPCSTR,HANDLE); BOOL __attribute__((__stdcall__)) SetPropW(HWND,LPCWSTR,HANDLE); BOOL __attribute__((__stdcall__)) SetRect(LPRECT,int,int,int,int); BOOL __attribute__((__stdcall__)) SetRectEmpty(LPRECT); int __attribute__((__stdcall__)) SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL); int __attribute__((__stdcall__)) SetScrollPos(HWND,int,int,BOOL); BOOL __attribute__((__stdcall__)) SetScrollRange(HWND,int,int,int,BOOL); BOOL __attribute__((__stdcall__)) SetSysColors(int,const INT *,const COLORREF *); BOOL __attribute__((__stdcall__)) SetSystemCursor(HCURSOR,DWORD); BOOL __attribute__((__stdcall__)) SetThreadDesktop(HDESK); UINT __attribute__((__stdcall__)) SetTimer(HWND,UINT,UINT,TIMERPROC); BOOL __attribute__((__stdcall__)) SetUserObjectInformationA(HANDLE,int,PVOID,DWORD); BOOL __attribute__((__stdcall__)) SetUserObjectInformationW(HANDLE,int,PVOID,DWORD); BOOL __attribute__((__stdcall__)) SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetWindowContextHelpId(HWND,DWORD); LONG __attribute__((__stdcall__)) SetWindowLongA(HWND,int,LONG); LONG __attribute__((__stdcall__)) SetWindowLongW(HWND,int,LONG); BOOL __attribute__((__stdcall__)) SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*); BOOL __attribute__((__stdcall__)) SetWindowPos(HWND,HWND,int,int,int,int,UINT); int __attribute__((__stdcall__)) SetWindowRgn(HWND,HRGN,BOOL); HOOKPROC __attribute__((__stdcall__)) SetWindowsHookA(int,HOOKPROC); HHOOK __attribute__((__stdcall__)) SetWindowsHookExA(int,HOOKPROC,HINSTANCE,DWORD); HHOOK __attribute__((__stdcall__)) SetWindowsHookExW(int,HOOKPROC,HINSTANCE,DWORD); BOOL __attribute__((__stdcall__)) SetWindowTextA(HWND,LPCSTR); BOOL __attribute__((__stdcall__)) SetWindowTextW(HWND,LPCWSTR); WORD __attribute__((__stdcall__)) SetWindowWord(HWND,int,WORD); BOOL __attribute__((__stdcall__)) ShowCaret(HWND); int __attribute__((__stdcall__)) ShowCursor(BOOL); BOOL __attribute__((__stdcall__)) ShowOwnedPopups(HWND,BOOL); BOOL __attribute__((__stdcall__)) ShowScrollBar(HWND,int,BOOL); BOOL __attribute__((__stdcall__)) ShowWindow(HWND,int); BOOL __attribute__((__stdcall__)) ShowWindowAsync(HWND,int); BOOL __attribute__((__stdcall__)) SubtractRect(LPRECT,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) SwapMouseButton(BOOL); BOOL __attribute__((__stdcall__)) SwitchDesktop(HDESK); BOOL __attribute__((__stdcall__)) SystemParametersInfoA(UINT,UINT,PVOID,UINT); BOOL __attribute__((__stdcall__)) SystemParametersInfoW(UINT,UINT,PVOID,UINT); LONG __attribute__((__stdcall__)) TabbedTextOutA(HDC,int,int,LPCSTR,int,int,LPINT,int); LONG __attribute__((__stdcall__)) TabbedTextOutW(HDC,int,int,LPCWSTR,int,int,LPINT,int); WORD __attribute__((__stdcall__)) TileWindows(HWND,UINT,LPCRECT,UINT,const HWND *); int __attribute__((__stdcall__)) ToAscii(UINT,UINT,PBYTE,LPWORD,UINT); int __attribute__((__stdcall__)) ToAsciiEx(UINT,UINT,PBYTE,LPWORD,UINT,HKL); int __attribute__((__stdcall__)) ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); int __attribute__((__stdcall__)) ToUnicodeEx(UINT,UINT,PBYTE,LPWSTR,int,UINT,HKL); BOOL __attribute__((__stdcall__)) TrackMouseEvent(LPTRACKMOUSEEVENT); BOOL __attribute__((__stdcall__)) TrackPopupMenu(HMENU,UINT,int,int,int,HWND,LPCRECT); BOOL __attribute__((__stdcall__)) TrackPopupMenuEx(HMENU,UINT,int,int,HWND,LPTPMPARAMS); int __attribute__((__stdcall__)) TranslateAcceleratorA(HWND,HACCEL,LPMSG); int __attribute__((__stdcall__)) TranslateAcceleratorW(HWND,HACCEL,LPMSG); BOOL __attribute__((__stdcall__)) TranslateMDISysAccel(HWND,LPMSG); BOOL __attribute__((__stdcall__)) TranslateMessage(const MSG*); BOOL __attribute__((__stdcall__)) UnhookWindowsHook(int,HOOKPROC); BOOL __attribute__((__stdcall__)) UnhookWindowsHookEx(HHOOK); BOOL __attribute__((__stdcall__)) UnionRect(LPRECT,LPCRECT,LPCRECT); BOOL __attribute__((__stdcall__)) UnloadKeyboardLayout(HKL); BOOL __attribute__((__stdcall__)) UnregisterClassA(LPCSTR,HINSTANCE); BOOL __attribute__((__stdcall__)) UnregisterClassW(LPCWSTR,HINSTANCE); BOOL __attribute__((__stdcall__)) UnregisterHotKey(HWND,int); BOOL __attribute__((__stdcall__)) UpdateWindow(HWND); BOOL __attribute__((__stdcall__)) ValidateRect(HWND,LPCRECT); BOOL __attribute__((__stdcall__)) ValidateRgn(HWND,HRGN); SHORT __attribute__((__stdcall__)) VkKeyScanA(CHAR); SHORT __attribute__((__stdcall__)) VkKeyScanExA(CHAR,HKL); SHORT __attribute__((__stdcall__)) VkKeyScanExW(WCHAR,HKL); SHORT __attribute__((__stdcall__)) VkKeyScanW(WCHAR); DWORD __attribute__((__stdcall__)) WaitForInputIdle(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) WaitMessage(void); HWND __attribute__((__stdcall__)) WindowFromDC(HDC hDC); HWND __attribute__((__stdcall__)) WindowFromPoint(POINT); UINT __attribute__((__stdcall__)) WinExec(LPCSTR,UINT); BOOL __attribute__((__stdcall__)) WinHelpA(HWND,LPCSTR,UINT,DWORD); BOOL __attribute__((__stdcall__)) WinHelpW(HWND,LPCWSTR,UINT,DWORD); int __attribute__((__cdecl__)) wsprintfA(LPSTR,LPCSTR,...); int __attribute__((__cdecl__)) wsprintfW(LPWSTR,LPCWSTR,...); int __attribute__((__stdcall__)) wvsprintfA(LPSTR,LPCSTR,va_list arglist); int __attribute__((__stdcall__)) wvsprintfW(LPWSTR,LPCWSTR,va_list arglist); # 3329 "C:/MINGW/include/winuser.h" 3 typedef WNDCLASSA WNDCLASS,*LPWNDCLASS,*PWNDCLASS; typedef WNDCLASSEXA WNDCLASSEX,*LPWNDCLASSEX,*PWNDCLASSEX; typedef MENUITEMINFOA MENUITEMINFO,*LPMENUITEMINFO; typedef LPCMENUITEMINFOA LPCMENUITEMINFO; typedef MSGBOXPARAMSA MSGBOXPARAMS,*PMSGBOXPARAMS,*LPMSGBOXPARAMS; typedef HIGHCONTRASTA HIGHCONTRAST,*LPHIGHCONTRAST; typedef ICONMETRICSA ICONMETRICS,*LPICONMETRICS; typedef NONCLIENTMETRICSA NONCLIENTMETRICS,*LPNONCLIENTMETRICS; typedef SERIALKEYSA SERIALKEYS,*LPSERIALKEYS; typedef SOUNDSENTRYA SOUNDSENTRY,*LPSOUNDSENTRY; typedef CREATESTRUCTA CREATESTRUCT, *LPCREATESTRUCT; typedef CBT_CREATEWNDA CBT_CREATEWND, *LPCBT_CREATEWND; typedef MDICREATESTRUCTA MDICREATESTRUCT,*LPMDICREATESTRUCT; typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP; # 3476 "C:/MINGW/include/winuser.h" 3 } # 57 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winnls.h" 1 3 # 5 "C:/MINGW/include/winnls.h" 3 extern "C" { # 422 "C:/MINGW/include/winnls.h" 3 typedef DWORD LCTYPE; typedef DWORD CALTYPE; typedef DWORD CALID; typedef DWORD LGRPID; typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *CALINFO_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__))* CALINFO_ENUMPROCEXA)(LPSTR, CALID); typedef BOOL (__attribute__((__stdcall__))* CALINFO_ENUMPROCEXW)(LPWSTR, CALID); typedef BOOL (__attribute__((__stdcall__))* LANGUAGEGROUP_ENUMPROCA)(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR); typedef BOOL (__attribute__((__stdcall__))* LANGUAGEGROUP_ENUMPROCW)(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR); typedef BOOL (__attribute__((__stdcall__))* LANGGROUPLOCALE_ENUMPROCA)(LGRPID, LCID, LPSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__))* LANGGROUPLOCALE_ENUMPROCW)(LGRPID, LCID, LPWSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__))* UILANGUAGE_ENUMPROCW)(LPWSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__))* UILANGUAGE_ENUMPROCA)(LPSTR, LONG_PTR); typedef BOOL (__attribute__((__stdcall__)) *LOCALE_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *LOCALE_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *CODEPAGE_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *CODEPAGE_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *DATEFMT_ENUMPROCW)(LPWSTR); typedef BOOL (__attribute__((__stdcall__))* DATEFMT_ENUMPROCEXA)(LPSTR, CALID); typedef BOOL (__attribute__((__stdcall__))* DATEFMT_ENUMPROCEXW)(LPWSTR, CALID); typedef BOOL (__attribute__((__stdcall__)) *TIMEFMT_ENUMPROCA)(LPSTR); typedef BOOL (__attribute__((__stdcall__)) *TIMEFMT_ENUMPROCW)(LPWSTR); typedef struct _cpinfo { UINT MaxCharSize; BYTE DefaultChar[2]; BYTE LeadByte[12]; } CPINFO,*LPCPINFO; typedef struct _cpinfoexA { UINT MaxCharSize; BYTE DefaultChar[2]; BYTE LeadByte[12]; WCHAR UnicodeDefaultChar; UINT CodePage; CHAR CodePageName[260]; } CPINFOEXA, *LPCPINFOEXA; typedef struct _cpinfoexW { UINT MaxCharSize; BYTE DefaultChar[2]; BYTE LeadByte[12]; WCHAR UnicodeDefaultChar; UINT CodePage; WCHAR CodePageName[260]; } CPINFOEXW, *LPCPINFOEXW; typedef struct _currencyfmtA { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPSTR lpDecimalSep; LPSTR lpThousandSep; UINT NegativeOrder; UINT PositiveOrder; LPSTR lpCurrencySymbol; } CURRENCYFMTA, *LPCURRENCYFMTA; typedef struct _currencyfmtW { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPWSTR lpDecimalSep; LPWSTR lpThousandSep; UINT NegativeOrder; UINT PositiveOrder; LPWSTR lpCurrencySymbol; } CURRENCYFMTW, *LPCURRENCYFMTW; typedef struct _numberfmtA { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPSTR lpDecimalSep; LPSTR lpThousandSep; UINT NegativeOrder; } NUMBERFMTA, *LPNUMBERFMTA; typedef struct _numberfmtW { UINT NumDigits; UINT LeadingZero; UINT Grouping; LPWSTR lpDecimalSep; LPWSTR lpThousandSep; UINT NegativeOrder; } NUMBERFMTW, *LPNUMBERFMTW; int __attribute__((__stdcall__)) CompareStringA(LCID,DWORD,LPCSTR,int,LPCSTR,int); int __attribute__((__stdcall__)) CompareStringW(LCID,DWORD,LPCWSTR,int,LPCWSTR,int); LCID __attribute__((__stdcall__)) ConvertDefaultLocale(LCID); BOOL __attribute__((__stdcall__)) EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE); BOOL __attribute__((__stdcall__)) EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE); BOOL __attribute__((__stdcall__)) EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD); BOOL __attribute__((__stdcall__)) EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD); BOOL __attribute__((__stdcall__)) EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD); BOOL __attribute__((__stdcall__)) EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD); BOOL __attribute__((__stdcall__)) EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD); int __attribute__((__stdcall__)) FoldStringA(DWORD,LPCSTR,int,LPSTR,int); int __attribute__((__stdcall__)) FoldStringW(DWORD,LPCWSTR,int,LPWSTR,int); UINT __attribute__((__stdcall__)) GetACP(void); BOOL __attribute__((__stdcall__)) GetCPInfo(UINT,LPCPINFO); BOOL __attribute__((__stdcall__)) GetCPInfoExA(UINT,DWORD,LPCPINFOEXA); BOOL __attribute__((__stdcall__)) GetCPInfoExW(UINT,DWORD,LPCPINFOEXW); int __attribute__((__stdcall__)) GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,int); int __attribute__((__stdcall__)) GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,int); int __attribute__((__stdcall__)) GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,int); int __attribute__((__stdcall__)) GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,int); int __attribute__((__stdcall__)) GetLocaleInfoA(LCID,LCTYPE,LPSTR,int); int __attribute__((__stdcall__)) GetLocaleInfoW(LCID,LCTYPE,LPWSTR,int); int __attribute__((__stdcall__)) GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,int); int __attribute__((__stdcall__)) GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,int); UINT __attribute__((__stdcall__)) GetOEMCP(void); BOOL __attribute__((__stdcall__)) GetStringTypeA(LCID,DWORD,LPCSTR,int,LPWORD); BOOL __attribute__((__stdcall__)) GetStringTypeW(DWORD,LPCWSTR,int,LPWORD); BOOL __attribute__((__stdcall__)) GetStringTypeExA(LCID,DWORD,LPCSTR,int,LPWORD); BOOL __attribute__((__stdcall__)) GetStringTypeExW(LCID,DWORD,LPCWSTR,int,LPWORD); LANGID __attribute__((__stdcall__)) GetSystemDefaultLangID(void); LCID __attribute__((__stdcall__)) GetSystemDefaultLCID(void); LCID __attribute__((__stdcall__)) GetThreadLocale(void); int __attribute__((__stdcall__)) GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,int); int __attribute__((__stdcall__)) GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,int); LANGID __attribute__((__stdcall__)) GetUserDefaultLangID(void); LCID __attribute__((__stdcall__)) GetUserDefaultLCID(void); BOOL __attribute__((__stdcall__)) IsDBCSLeadByte(BYTE); BOOL __attribute__((__stdcall__)) IsDBCSLeadByteEx(UINT,BYTE); BOOL __attribute__((__stdcall__)) IsValidCodePage(UINT); BOOL __attribute__((__stdcall__)) IsValidLocale(LCID,DWORD); int __attribute__((__stdcall__)) LCMapStringA(LCID,DWORD,LPCSTR,int,LPSTR,int); int __attribute__((__stdcall__)) LCMapStringW(LCID,DWORD,LPCWSTR,int,LPWSTR,int); int __attribute__((__stdcall__)) MultiByteToWideChar(UINT,DWORD,LPCSTR,int,LPWSTR,int); BOOL __attribute__((__stdcall__)) SetLocaleInfoA(LCID,LCTYPE,LPCSTR); BOOL __attribute__((__stdcall__)) SetLocaleInfoW(LCID,LCTYPE,LPCWSTR); BOOL __attribute__((__stdcall__)) SetThreadLocale(LCID); int __attribute__((__stdcall__)) WideCharToMultiByte(UINT,DWORD,LPCWSTR,int,LPSTR,int,LPCSTR,LPBOOL); # 621 "C:/MINGW/include/winnls.h" 3 typedef CPINFOEXA CPINFOEX; typedef LPCPINFOEXA LPCPINFOEX; typedef CURRENCYFMTA CURRENCYFMT; typedef LPCURRENCYFMTA LPCURRENCYFMT; typedef NUMBERFMTA NUMBERFMT; typedef LPNUMBERFMTA LPNUMBERFMT; # 652 "C:/MINGW/include/winnls.h" 3 } # 60 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winver.h" 1 3 # 5 "C:/MINGW/include/winver.h" 3 extern "C" { # 85 "C:/MINGW/include/winver.h" 3 typedef struct tagVS_FIXEDFILEINFO { DWORD dwSignature; DWORD dwStrucVersion; DWORD dwFileVersionMS; DWORD dwFileVersionLS; DWORD dwProductVersionMS; DWORD dwProductVersionLS; DWORD dwFileFlagsMask; DWORD dwFileFlags; DWORD dwFileOS; DWORD dwFileType; DWORD dwFileSubtype; DWORD dwFileDateMS; DWORD dwFileDateLS; } VS_FIXEDFILEINFO; DWORD __attribute__((__stdcall__)) VerFindFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,PUINT,LPSTR,PUINT); DWORD __attribute__((__stdcall__)) VerFindFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT,LPWSTR,PUINT); DWORD __attribute__((__stdcall__)) VerInstallFileA(DWORD,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,PUINT); DWORD __attribute__((__stdcall__)) VerInstallFileW(DWORD,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,LPWSTR,PUINT); DWORD __attribute__((__stdcall__)) GetFileVersionInfoSizeA(LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) GetFileVersionInfoSizeW(LPWSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetFileVersionInfoA(LPSTR,DWORD,DWORD,PVOID); BOOL __attribute__((__stdcall__)) GetFileVersionInfoW(LPWSTR,DWORD,DWORD,PVOID); DWORD __attribute__((__stdcall__)) VerLanguageNameA(DWORD,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) VerLanguageNameW(DWORD,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) VerQueryValueA(PCVOID,LPSTR,PVOID*,PUINT); BOOL __attribute__((__stdcall__)) VerQueryValueW(PCVOID,LPWSTR,PVOID*,PUINT); # 131 "C:/MINGW/include/winver.h" 3 } # 63 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winnetwk.h" 1 3 # 5 "C:/MINGW/include/winnetwk.h" 3 extern "C" { # 160 "C:/MINGW/include/winnetwk.h" 3 typedef struct _NETRESOURCEA { DWORD dwScope; DWORD dwType; DWORD dwDisplayType; DWORD dwUsage; LPSTR lpLocalName; LPSTR lpRemoteName; LPSTR lpComment ; LPSTR lpProvider; }NETRESOURCEA,*LPNETRESOURCEA; typedef struct _NETRESOURCEW { DWORD dwScope; DWORD dwType; DWORD dwDisplayType; DWORD dwUsage; LPWSTR lpLocalName; LPWSTR lpRemoteName; LPWSTR lpComment ; LPWSTR lpProvider; }NETRESOURCEW,*LPNETRESOURCEW; typedef struct _CONNECTDLGSTRUCTA{ DWORD cbStructure; HWND hwndOwner; LPNETRESOURCEA lpConnRes; DWORD dwFlags; DWORD dwDevNum; } CONNECTDLGSTRUCTA,*LPCONNECTDLGSTRUCTA; typedef struct _CONNECTDLGSTRUCTW{ DWORD cbStructure; HWND hwndOwner; LPNETRESOURCEW lpConnRes; DWORD dwFlags; DWORD dwDevNum; } CONNECTDLGSTRUCTW,*LPCONNECTDLGSTRUCTW; typedef struct _DISCDLGSTRUCTA{ DWORD cbStructure; HWND hwndOwner; LPSTR lpLocalName; LPSTR lpRemoteName; DWORD dwFlags; } DISCDLGSTRUCTA,*LPDISCDLGSTRUCTA; typedef struct _DISCDLGSTRUCTW{ DWORD cbStructure; HWND hwndOwner; LPWSTR lpLocalName; LPWSTR lpRemoteName; DWORD dwFlags; } DISCDLGSTRUCTW,*LPDISCDLGSTRUCTW; typedef struct _UNIVERSAL_NAME_INFOA { LPSTR lpUniversalName; }UNIVERSAL_NAME_INFOA,*LPUNIVERSAL_NAME_INFOA; typedef struct _UNIVERSAL_NAME_INFOW { LPWSTR lpUniversalName; }UNIVERSAL_NAME_INFOW,*LPUNIVERSAL_NAME_INFOW; typedef struct _REMOTE_NAME_INFOA { LPSTR lpUniversalName; LPSTR lpConnectionName; LPSTR lpRemainingPath; }REMOTE_NAME_INFOA,*LPREMOTE_NAME_INFOA; typedef struct _REMOTE_NAME_INFOW { LPWSTR lpUniversalName; LPWSTR lpConnectionName; LPWSTR lpRemainingPath; }REMOTE_NAME_INFOW,*LPREMOTE_NAME_INFOW; typedef struct _NETINFOSTRUCT{ DWORD cbStructure; DWORD dwProviderVersion; DWORD dwStatus; DWORD dwCharacteristics; DWORD dwHandle; WORD wNetType; DWORD dwPrinters; DWORD dwDrives; } NETINFOSTRUCT,*LPNETINFOSTRUCT; typedef UINT(__attribute__((__stdcall__)) *PFNGETPROFILEPATHA)(LPCSTR,LPSTR,UINT); typedef UINT(__attribute__((__stdcall__)) *PFNGETPROFILEPATHW)(LPCWSTR,LPWSTR,UINT); typedef UINT(__attribute__((__stdcall__)) *PFNRECONCILEPROFILEA)(LPCSTR,LPCSTR,DWORD); typedef UINT(__attribute__((__stdcall__)) *PFNRECONCILEPROFILEW)(LPCWSTR,LPCWSTR,DWORD); typedef BOOL(__attribute__((__stdcall__)) *PFNPROCESSPOLICIESA)(HWND,LPCSTR,LPCSTR,LPCSTR,DWORD); typedef BOOL(__attribute__((__stdcall__)) *PFNPROCESSPOLICIESW)(HWND,LPCWSTR,LPCWSTR,LPCWSTR,DWORD); typedef struct _NETCONNECTINFOSTRUCT{ DWORD cbStructure; DWORD dwFlags; DWORD dwSpeed; DWORD dwDelay; DWORD dwOptDataSize; } NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT; DWORD __attribute__((__stdcall__)) WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR); DWORD __attribute__((__stdcall__)) WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR); DWORD __attribute__((__stdcall__)) WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetCancelConnectionA(LPCSTR,BOOL); DWORD __attribute__((__stdcall__)) WNetCancelConnectionW(LPCWSTR,BOOL); DWORD __attribute__((__stdcall__)) WNetCancelConnection2A(LPCSTR,DWORD,BOOL); DWORD __attribute__((__stdcall__)) WNetCancelConnection2W(LPCWSTR,DWORD,BOOL); DWORD __attribute__((__stdcall__)) WNetGetConnectionA(LPCSTR,LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetConnectionW(LPCWSTR,LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) WNetSetConnectionA(LPCSTR,DWORD,PVOID); DWORD __attribute__((__stdcall__)) WNetSetConnectionW(LPCWSTR,DWORD,PVOID); DWORD __attribute__((__stdcall__)) WNetConnectionDialog(HWND,DWORD); DWORD __attribute__((__stdcall__)) WNetDisconnectDialog(HWND,DWORD); DWORD __attribute__((__stdcall__)) WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA); DWORD __attribute__((__stdcall__)) WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW); DWORD __attribute__((__stdcall__)) WNetDisconnectDialog1A(LPDISCDLGSTRUCTA); DWORD __attribute__((__stdcall__)) WNetDisconnectDialog1W(LPDISCDLGSTRUCTW); DWORD __attribute__((__stdcall__)) WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE); DWORD __attribute__((__stdcall__)) WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE); DWORD __attribute__((__stdcall__)) WNetEnumResourceA(HANDLE,PDWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetEnumResourceW(HANDLE,PDWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetCloseEnum(HANDLE); DWORD __attribute__((__stdcall__)) WNetGetUniversalNameA(LPCSTR,DWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetUniversalNameW(LPCWSTR,DWORD,PVOID,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetUserA(LPCSTR,LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetUserW(LPCWSTR,LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetProviderNameA(DWORD,LPSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetProviderNameW(DWORD,LPWSTR,PDWORD); DWORD __attribute__((__stdcall__)) WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT); DWORD __attribute__((__stdcall__)) WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT); DWORD __attribute__((__stdcall__)) WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPCSTR*); DWORD __attribute__((__stdcall__)) WNetGetResourceInformationW(LPNETRESOURCEA,LPVOID,LPDWORD,LPCWSTR*); DWORD __attribute__((__stdcall__)) WNetGetLastErrorA(PDWORD,LPSTR,DWORD,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) WNetGetLastErrorW(PDWORD,LPWSTR,DWORD,LPWSTR,DWORD); DWORD __attribute__((__stdcall__)) MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT); DWORD __attribute__((__stdcall__)) MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT); # 317 "C:/MINGW/include/winnetwk.h" 3 typedef NETRESOURCEA NETRESOURCE,*LPNETRESOURCE; typedef CONNECTDLGSTRUCTA CONNECTDLGSTRUCT,*LPCONNECTDLGSTRUCT; typedef DISCDLGSTRUCTA DISCDLGSTRUCT,*LPDISCDLGSTRUCT; typedef UNIVERSAL_NAME_INFOA UNIVERSAL_NAME_INFO,*LPUNIVERSAL_NAME_INFO; typedef REMOTE_NAME_INFOA REMOTE_NAME_INFO,*LPREMOTE_NAME_INFO; # 344 "C:/MINGW/include/winnetwk.h" 3 } # 66 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winreg.h" 1 3 # 5 "C:/MINGW/include/winreg.h" 3 extern "C" { # 41 "C:/MINGW/include/winreg.h" 3 typedef ACCESS_MASK REGSAM; typedef struct value_entA { LPSTR ve_valuename; DWORD ve_valuelen; DWORD ve_valueptr; DWORD ve_type; } VALENTA,*PVALENTA; typedef struct value_entW { LPWSTR ve_valuename; DWORD ve_valuelen; DWORD ve_valueptr; DWORD ve_type; } VALENTW,*PVALENTW; BOOL __attribute__((__stdcall__)) AbortSystemShutdownA(LPCSTR); BOOL __attribute__((__stdcall__)) AbortSystemShutdownW(LPCWSTR); BOOL __attribute__((__stdcall__)) InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL); BOOL __attribute__((__stdcall__)) InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL); LONG __attribute__((__stdcall__)) RegCloseKey(HKEY); LONG __attribute__((__stdcall__)) RegConnectRegistryA(LPCSTR,HKEY,PHKEY); LONG __attribute__((__stdcall__)) RegConnectRegistryW(LPCWSTR,HKEY,PHKEY); LONG __attribute__((__stdcall__)) RegCreateKeyA(HKEY,LPCSTR,PHKEY); LONG __attribute__((__stdcall__)) RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD); LONG __attribute__((__stdcall__)) RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD); LONG __attribute__((__stdcall__)) RegCreateKeyW(HKEY,LPCWSTR,PHKEY); LONG __attribute__((__stdcall__)) RegDeleteKeyA(HKEY,LPCSTR); LONG __attribute__((__stdcall__)) RegDeleteKeyW(HKEY,LPCWSTR); LONG __attribute__((__stdcall__)) RegDeleteValueA(HKEY,LPCSTR); LONG __attribute__((__stdcall__)) RegDeleteValueW(HKEY,LPCWSTR); LONG __attribute__((__stdcall__)) RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD); LONG __attribute__((__stdcall__)) RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD); LONG __attribute__((__stdcall__)) RegEnumKeyExA(HKEY,DWORD,LPSTR,PDWORD,PDWORD,LPSTR,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegEnumKeyExW(HKEY,DWORD,LPWSTR,PDWORD,PDWORD,LPWSTR,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegEnumValueA(HKEY,DWORD,LPSTR,PDWORD,PDWORD,PDWORD,LPBYTE,PDWORD); LONG __attribute__((__stdcall__)) RegEnumValueW(HKEY,DWORD,LPWSTR,PDWORD,PDWORD,PDWORD,LPBYTE,PDWORD); LONG __attribute__((__stdcall__)) RegFlushKey(HKEY); LONG __attribute__((__stdcall__)) RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PDWORD); LONG __attribute__((__stdcall__)) RegLoadKeyA(HKEY,LPCSTR,LPCSTR); LONG __attribute__((__stdcall__)) RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR); LONG __attribute__((__stdcall__)) RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL); LONG __attribute__((__stdcall__)) RegOpenKeyA(HKEY,LPCSTR,PHKEY); LONG __attribute__((__stdcall__)) RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY); LONG __attribute__((__stdcall__)) RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY); LONG __attribute__((__stdcall__)) RegOpenKeyW(HKEY,LPCWSTR,PHKEY); LONG __attribute__((__stdcall__)) RegQueryInfoKeyA(HKEY,LPSTR,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegQueryInfoKeyW(HKEY,LPWSTR,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PFILETIME); LONG __attribute__((__stdcall__)) RegQueryMultipleValuesA(HKEY,PVALENTA,DWORD,LPSTR,PDWORD); LONG __attribute__((__stdcall__)) RegQueryMultipleValuesW(HKEY,PVALENTW,DWORD,LPWSTR,PDWORD); LONG __attribute__((__stdcall__)) RegQueryValueA(HKEY,LPCSTR,LPSTR,PLONG); LONG __attribute__((__stdcall__)) RegQueryValueExA(HKEY,LPCSTR,PDWORD,PDWORD,LPBYTE,PDWORD); LONG __attribute__((__stdcall__)) RegQueryValueExW(HKEY,LPCWSTR,PDWORD,PDWORD,LPBYTE,PDWORD); LONG __attribute__((__stdcall__)) RegQueryValueW(HKEY,LPCWSTR,LPWSTR,PLONG); LONG __attribute__((__stdcall__)) RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR); LONG __attribute__((__stdcall__)) RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR); LONG __attribute__((__stdcall__)) RegRestoreKeyA(HKEY,LPCSTR,DWORD); LONG __attribute__((__stdcall__)) RegRestoreKeyW(HKEY,LPCWSTR,DWORD); LONG __attribute__((__stdcall__)) RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES); LONG __attribute__((__stdcall__)) RegSaveKeyW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES); LONG __attribute__((__stdcall__)) RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); LONG __attribute__((__stdcall__)) RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); LONG __attribute__((__stdcall__)) RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD); LONG __attribute__((__stdcall__)) RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE*,DWORD); LONG __attribute__((__stdcall__)) RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); LONG __attribute__((__stdcall__)) RegUnLoadKeyA(HKEY,LPCSTR); LONG __attribute__((__stdcall__)) RegUnLoadKeyW(HKEY,LPCWSTR); # 132 "C:/MINGW/include/winreg.h" 3 typedef VALENTA VALENT,*PVALENT; # 159 "C:/MINGW/include/winreg.h" 3 } # 69 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winsvc.h" 1 3 # 5 "C:/MINGW/include/winsvc.h" 3 extern "C" { # 70 "C:/MINGW/include/winsvc.h" 3 typedef struct _SERVICE_STATUS { DWORD dwServiceType; DWORD dwCurrentState; DWORD dwControlsAccepted; DWORD dwWin32ExitCode; DWORD dwServiceSpecificExitCode; DWORD dwCheckPoint; DWORD dwWaitHint; } SERVICE_STATUS,*LPSERVICE_STATUS; typedef struct _SERVICE_STATUS_PROCESS { DWORD dwServiceType; DWORD dwCurrentState; DWORD dwControlsAccepted; DWORD dwWin32ExitCode; DWORD dwServiceSpecificExitCode; DWORD dwCheckPoint; DWORD dwWaitHint; DWORD dwProcessId; DWORD dwServiceFlags; } SERVICE_STATUS_PROCESS, *LPSERVICE_STATUS_PROCESS; typedef enum _SC_STATUS_TYPE { SC_STATUS_PROCESS_INFO = 0 } SC_STATUS_TYPE; typedef enum _SC_ENUM_TYPE { SC_ENUM_PROCESS_INFO = 0 } SC_ENUM_TYPE; typedef struct _ENUM_SERVICE_STATUSA { LPSTR lpServiceName; LPSTR lpDisplayName; SERVICE_STATUS ServiceStatus; } ENUM_SERVICE_STATUSA,*LPENUM_SERVICE_STATUSA; typedef struct _ENUM_SERVICE_STATUSW { LPWSTR lpServiceName; LPWSTR lpDisplayName; SERVICE_STATUS ServiceStatus; } ENUM_SERVICE_STATUSW,*LPENUM_SERVICE_STATUSW; typedef struct _ENUM_SERVICE_STATUS_PROCESSA { LPSTR lpServiceName; LPSTR lpDisplayName; SERVICE_STATUS_PROCESS ServiceStatusProcess; } ENUM_SERVICE_STATUS_PROCESSA,*LPENUM_SERVICE_STATUS_PROCESSA; typedef struct _ENUM_SERVICE_STATUS_PROCESSW { LPWSTR lpServiceName; LPWSTR lpDisplayName; SERVICE_STATUS_PROCESS ServiceStatusProcess; } ENUM_SERVICE_STATUS_PROCESSW,*LPENUM_SERVICE_STATUS_PROCESSW; typedef struct _QUERY_SERVICE_CONFIGA { DWORD dwServiceType; DWORD dwStartType; DWORD dwErrorControl; LPSTR lpBinaryPathName; LPSTR lpLoadOrderGroup; DWORD dwTagId; LPSTR lpDependencies; LPSTR lpServiceStartName; LPSTR lpDisplayName; } QUERY_SERVICE_CONFIGA,*LPQUERY_SERVICE_CONFIGA; typedef struct _QUERY_SERVICE_CONFIGW { DWORD dwServiceType; DWORD dwStartType; DWORD dwErrorControl; LPWSTR lpBinaryPathName; LPWSTR lpLoadOrderGroup; DWORD dwTagId; LPWSTR lpDependencies; LPWSTR lpServiceStartName; LPWSTR lpDisplayName; } QUERY_SERVICE_CONFIGW,*LPQUERY_SERVICE_CONFIGW; typedef struct _QUERY_SERVICE_LOCK_STATUSA { DWORD fIsLocked; LPSTR lpLockOwner; DWORD dwLockDuration; } QUERY_SERVICE_LOCK_STATUSA,*LPQUERY_SERVICE_LOCK_STATUSA; typedef struct _QUERY_SERVICE_LOCK_STATUSW { DWORD fIsLocked; LPWSTR lpLockOwner; DWORD dwLockDuration; } QUERY_SERVICE_LOCK_STATUSW,*LPQUERY_SERVICE_LOCK_STATUSW; typedef void (__attribute__((__stdcall__)) *LPSERVICE_MAIN_FUNCTIONA)(DWORD,LPSTR*); typedef void (__attribute__((__stdcall__)) *LPSERVICE_MAIN_FUNCTIONW)(DWORD,LPWSTR*); typedef struct _SERVICE_TABLE_ENTRYA { LPSTR lpServiceName; LPSERVICE_MAIN_FUNCTIONA lpServiceProc; } SERVICE_TABLE_ENTRYA,*LPSERVICE_TABLE_ENTRYA; typedef struct _SERVICE_TABLE_ENTRYW { LPWSTR lpServiceName; LPSERVICE_MAIN_FUNCTIONW lpServiceProc; } SERVICE_TABLE_ENTRYW,*LPSERVICE_TABLE_ENTRYW; typedef struct SC_HANDLE__{int i;}*SC_HANDLE; typedef SC_HANDLE *LPSC_HANDLE; typedef PVOID SC_LOCK; typedef DWORD SERVICE_STATUS_HANDLE; typedef void(__attribute__((__stdcall__)) *LPHANDLER_FUNCTION)(DWORD); typedef DWORD (__attribute__((__stdcall__)) *LPHANDLER_FUNCTION_EX)(DWORD,DWORD,LPVOID,LPVOID); typedef struct _SERVICE_DESCRIPTIONA { LPSTR lpDescription; } SERVICE_DESCRIPTIONA,*LPSERVICE_DESCRIPTIONA; typedef struct _SERVICE_DESCRIPTIONW { LPWSTR lpDescription; } SERVICE_DESCRIPTIONW,*LPSERVICE_DESCRIPTIONW; typedef enum _SC_ACTION_TYPE { SC_ACTION_NONE = 0, SC_ACTION_RESTART = 1, SC_ACTION_REBOOT = 2, SC_ACTION_RUN_COMMAND = 3 } SC_ACTION_TYPE; typedef struct _SC_ACTION { SC_ACTION_TYPE Type; DWORD Delay; } SC_ACTION,*LPSC_ACTION; typedef struct _SERVICE_FAILURE_ACTIONSA { DWORD dwResetPeriod; LPSTR lpRebootMsg; LPSTR lpCommand; DWORD cActions; SC_ACTION * lpsaActions; } SERVICE_FAILURE_ACTIONSA,*LPSERVICE_FAILURE_ACTIONSA; typedef struct _SERVICE_FAILURE_ACTIONSW { DWORD dwResetPeriod; LPWSTR lpRebootMsg; LPWSTR lpCommand; DWORD cActions; SC_ACTION * lpsaActions; } SERVICE_FAILURE_ACTIONSW,*LPSERVICE_FAILURE_ACTIONSW; BOOL __attribute__((__stdcall__)) ChangeServiceConfigA(SC_HANDLE,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,LPDWORD,LPCSTR,LPCSTR,LPCSTR,LPCSTR); BOOL __attribute__((__stdcall__)) ChangeServiceConfigW(SC_HANDLE,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,LPDWORD,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) ChangeServiceConfig2A(SC_HANDLE,DWORD,LPVOID); BOOL __attribute__((__stdcall__)) ChangeServiceConfig2W(SC_HANDLE,DWORD,LPVOID); BOOL __attribute__((__stdcall__)) CloseServiceHandle(SC_HANDLE); BOOL __attribute__((__stdcall__)) ControlService(SC_HANDLE,DWORD,LPSERVICE_STATUS); SC_HANDLE __attribute__((__stdcall__)) CreateServiceA(SC_HANDLE,LPCSTR,LPCSTR,DWORD,DWORD,DWORD,DWORD,LPCSTR,LPCSTR,PDWORD,LPCSTR,LPCSTR,LPCSTR); SC_HANDLE __attribute__((__stdcall__)) CreateServiceW(SC_HANDLE,LPCWSTR,LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPCWSTR,LPCWSTR,PDWORD,LPCWSTR,LPCWSTR,LPCWSTR); BOOL __attribute__((__stdcall__)) DeleteService(SC_HANDLE); BOOL __attribute__((__stdcall__)) EnumDependentServicesA(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSA,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumDependentServicesW(SC_HANDLE,DWORD,LPENUM_SERVICE_STATUSW,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumServicesStatusA(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSA,DWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumServicesStatusW(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STATUSW,DWORD,PDWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumServicesStatusExA(SC_HANDLE,SC_ENUM_TYPE,DWORD,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD,LPDWORD,LPCSTR); BOOL __attribute__((__stdcall__)) EnumServicesStatusExW(SC_HANDLE,SC_ENUM_TYPE,DWORD,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD,LPDWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) GetServiceDisplayNameA(SC_HANDLE,LPCSTR,LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetServiceDisplayNameW(SC_HANDLE,LPCWSTR,LPWSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetServiceKeyNameA(SC_HANDLE,LPCSTR,LPSTR,PDWORD); BOOL __attribute__((__stdcall__)) GetServiceKeyNameW(SC_HANDLE,LPCWSTR,LPWSTR,PDWORD); SC_LOCK __attribute__((__stdcall__)) LockServiceDatabase(SC_HANDLE); BOOL __attribute__((__stdcall__)) NotifyBootConfigStatus(BOOL); SC_HANDLE __attribute__((__stdcall__)) OpenSCManagerA(LPCSTR,LPCSTR,DWORD); SC_HANDLE __attribute__((__stdcall__)) OpenSCManagerW(LPCWSTR,LPCWSTR,DWORD); SC_HANDLE __attribute__((__stdcall__)) OpenServiceA(SC_HANDLE,LPCSTR,DWORD); SC_HANDLE __attribute__((__stdcall__)) OpenServiceW(SC_HANDLE,LPCWSTR,DWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfigA(SC_HANDLE,LPQUERY_SERVICE_CONFIGA,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfigW(SC_HANDLE,LPQUERY_SERVICE_CONFIGW,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfig2A(SC_HANDLE,DWORD,LPBYTE,DWORD,LPDWORD); BOOL __attribute__((__stdcall__)) QueryServiceConfig2W(SC_HANDLE,DWORD,LPBYTE,DWORD,LPDWORD); BOOL __attribute__((__stdcall__)) QueryServiceLockStatusA(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSA,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceLockStatusW(SC_HANDLE,LPQUERY_SERVICE_LOCK_STATUSW,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) QueryServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD); BOOL __attribute__((__stdcall__)) QueryServiceStatus(SC_HANDLE,LPSERVICE_STATUS); BOOL __attribute__((__stdcall__)) QueryServiceStatusEx(SC_HANDLE,SC_STATUS_TYPE,LPBYTE,DWORD,LPDWORD); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerA(LPCSTR,LPHANDLER_FUNCTION); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerW(LPCWSTR,LPHANDLER_FUNCTION); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerExA(LPCSTR,LPHANDLER_FUNCTION_EX,LPVOID); SERVICE_STATUS_HANDLE __attribute__((__stdcall__)) RegisterServiceCtrlHandlerExW(LPCWSTR,LPHANDLER_FUNCTION_EX,LPVOID); BOOL __attribute__((__stdcall__)) SetServiceObjectSecurity(SC_HANDLE,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL __attribute__((__stdcall__)) SetServiceStatus(SERVICE_STATUS_HANDLE,LPSERVICE_STATUS); BOOL __attribute__((__stdcall__)) StartServiceA(SC_HANDLE,DWORD,LPCSTR*); BOOL __attribute__((__stdcall__)) StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRYA); BOOL __attribute__((__stdcall__)) StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRYW); BOOL __attribute__((__stdcall__)) StartServiceW(SC_HANDLE,DWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) UnlockServiceDatabase(SC_LOCK); # 274 "C:/MINGW/include/winsvc.h" 3 typedef ENUM_SERVICE_STATUSA ENUM_SERVICE_STATUS,*LPENUM_SERVICE_STATUS; typedef ENUM_SERVICE_STATUS_PROCESSA ENUM_SERVICE_STATUS_PROCESS; typedef LPENUM_SERVICE_STATUS_PROCESSA LPENUM_SERVICE_STATUS_PROCESS; typedef QUERY_SERVICE_CONFIGA QUERY_SERVICE_CONFIG,*LPQUERY_SERVICE_CONFIG; typedef QUERY_SERVICE_LOCK_STATUSA QUERY_SERVICE_LOCK_STATUS,*LPQUERY_SERVICE_LOCK_STATUS; typedef SERVICE_TABLE_ENTRYA SERVICE_TABLE_ENTRY,*LPSERVICE_TABLE_ENTRY; typedef LPSERVICE_MAIN_FUNCTIONA LPSERVICE_MAIN_FUNCTION; typedef SERVICE_DESCRIPTIONA SERVICE_DESCRIPTION; typedef LPSERVICE_DESCRIPTIONA LPSERVICE_DESCRIPTION; typedef SERVICE_FAILURE_ACTIONSA SERVICE_FAILURE_ACTIONS; typedef LPSERVICE_FAILURE_ACTIONSA LPSERVICE_FAILURE_ACTIONS; # 307 "C:/MINGW/include/winsvc.h" 3 } # 72 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/commdlg.h" 1 3 # 5 "C:/MINGW/include/commdlg.h" 3 extern "C" { #pragma pack(push,1) # 210 "C:/MINGW/include/commdlg.h" 3 typedef UINT (__attribute__((__stdcall__)) *__CDHOOKPROC)(HWND,UINT,WPARAM,LPARAM); typedef __CDHOOKPROC LPCCHOOKPROC; typedef __CDHOOKPROC LPCFHOOKPROC; typedef __CDHOOKPROC LPFRHOOKPROC; typedef __CDHOOKPROC LPOFNHOOKPROC; typedef __CDHOOKPROC LPPAGEPAINTHOOK; typedef __CDHOOKPROC LPPAGESETUPHOOK; typedef __CDHOOKPROC LPSETUPHOOKPROC; typedef __CDHOOKPROC LPPRINTHOOKPROC; typedef struct tagCHOOSECOLORA { DWORD lStructSize; HWND hwndOwner; HWND hInstance; COLORREF rgbResult; COLORREF* lpCustColors; DWORD Flags; LPARAM lCustData; LPCCHOOKPROC lpfnHook; LPCSTR lpTemplateName; } CHOOSECOLORA,*LPCHOOSECOLORA; typedef struct tagCHOOSECOLORW { DWORD lStructSize; HWND hwndOwner; HWND hInstance; COLORREF rgbResult; COLORREF* lpCustColors; DWORD Flags; LPARAM lCustData; LPCCHOOKPROC lpfnHook; LPCWSTR lpTemplateName; } CHOOSECOLORW,*LPCHOOSECOLORW; typedef struct tagCHOOSEFONTA { DWORD lStructSize; HWND hwndOwner; HDC hDC; LPLOGFONTA lpLogFont; INT iPointSize; DWORD Flags; DWORD rgbColors; LPARAM lCustData; LPCFHOOKPROC lpfnHook; LPCSTR lpTemplateName; HINSTANCE hInstance; LPSTR lpszStyle; WORD nFontType; WORD ___MISSING_ALIGNMENT__; INT nSizeMin; INT nSizeMax; } CHOOSEFONTA,*LPCHOOSEFONTA; typedef struct tagCHOOSEFONTW { DWORD lStructSize; HWND hwndOwner; HDC hDC; LPLOGFONTW lpLogFont; INT iPointSize; DWORD Flags; DWORD rgbColors; LPARAM lCustData; LPCFHOOKPROC lpfnHook; LPCWSTR lpTemplateName; HINSTANCE hInstance; LPWSTR lpszStyle; WORD nFontType; WORD ___MISSING_ALIGNMENT__; INT nSizeMin; INT nSizeMax; } CHOOSEFONTW,*LPCHOOSEFONTW; typedef struct tagDEVNAMES { WORD wDriverOffset; WORD wDeviceOffset; WORD wOutputOffset; WORD wDefault; } DEVNAMES,*LPDEVNAMES; typedef struct { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; DWORD Flags; LPSTR lpstrFindWhat; LPSTR lpstrReplaceWith; WORD wFindWhatLen; WORD wReplaceWithLen; LPARAM lCustData; LPFRHOOKPROC lpfnHook; LPCSTR lpTemplateName; } FINDREPLACEA,*LPFINDREPLACEA; typedef struct { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; DWORD Flags; LPWSTR lpstrFindWhat; LPWSTR lpstrReplaceWith; WORD wFindWhatLen; WORD wReplaceWithLen; LPARAM lCustData; LPFRHOOKPROC lpfnHook; LPCWSTR lpTemplateName; } FINDREPLACEW,*LPFINDREPLACEW; typedef struct tagOFNA { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; LPCSTR lpstrFilter; LPSTR lpstrCustomFilter; DWORD nMaxCustFilter; DWORD nFilterIndex; LPSTR lpstrFile; DWORD nMaxFile; LPSTR lpstrFileTitle; DWORD nMaxFileTitle; LPCSTR lpstrInitialDir; LPCSTR lpstrTitle; DWORD Flags; WORD nFileOffset; WORD nFileExtension; LPCSTR lpstrDefExt; DWORD lCustData; LPOFNHOOKPROC lpfnHook; LPCSTR lpTemplateName; } OPENFILENAMEA,*LPOPENFILENAMEA; typedef struct tagOFNW { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; LPCWSTR lpstrFilter; LPWSTR lpstrCustomFilter; DWORD nMaxCustFilter; DWORD nFilterIndex; LPWSTR lpstrFile; DWORD nMaxFile; LPWSTR lpstrFileTitle; DWORD nMaxFileTitle; LPCWSTR lpstrInitialDir; LPCWSTR lpstrTitle; DWORD Flags; WORD nFileOffset; WORD nFileExtension; LPCWSTR lpstrDefExt; DWORD lCustData; LPOFNHOOKPROC lpfnHook; LPCWSTR lpTemplateName; } OPENFILENAMEW,*LPOPENFILENAMEW; typedef struct _OFNOTIFYA { NMHDR hdr; LPOPENFILENAMEA lpOFN; LPSTR pszFile; } OFNOTIFYA,*LPOFNOTIFYA; typedef struct _OFNOTIFYW { NMHDR hdr; LPOPENFILENAMEW lpOFN; LPWSTR pszFile; } OFNOTIFYW,*LPOFNOTIFYW; typedef struct tagPSDA { DWORD lStructSize; HWND hwndOwner; HGLOBAL hDevMode; HGLOBAL hDevNames; DWORD Flags; POINT ptPaperSize; RECT rtMinMargin; RECT rtMargin; HINSTANCE hInstance; LPARAM lCustData; LPPAGESETUPHOOK lpfnPageSetupHook; LPPAGEPAINTHOOK lpfnPagePaintHook; LPCSTR lpPageSetupTemplateName; HGLOBAL hPageSetupTemplate; } PAGESETUPDLGA,*LPPAGESETUPDLGA; typedef struct tagPSDW { DWORD lStructSize; HWND hwndOwner; HGLOBAL hDevMode; HGLOBAL hDevNames; DWORD Flags; POINT ptPaperSize; RECT rtMinMargin; RECT rtMargin; HINSTANCE hInstance; LPARAM lCustData; LPPAGESETUPHOOK lpfnPageSetupHook; LPPAGEPAINTHOOK lpfnPagePaintHook; LPCWSTR lpPageSetupTemplateName; HGLOBAL hPageSetupTemplate; } PAGESETUPDLGW,*LPPAGESETUPDLGW; typedef struct tagPDA { 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; LPCSTR lpPrintTemplateName; LPCSTR lpSetupTemplateName; HANDLE hPrintTemplate; HANDLE hSetupTemplate; } PRINTDLGA,*LPPRINTDLGA; typedef struct tagPDW { 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; LPCWSTR lpPrintTemplateName; LPCWSTR lpSetupTemplateName; HANDLE hPrintTemplate; HANDLE hSetupTemplate; } PRINTDLGW,*LPPRINTDLGW; # 492 "C:/MINGW/include/commdlg.h" 3 BOOL __attribute__((__stdcall__)) ChooseColorA(LPCHOOSECOLORA); BOOL __attribute__((__stdcall__)) ChooseColorW(LPCHOOSECOLORW); BOOL __attribute__((__stdcall__)) ChooseFontA(LPCHOOSEFONTA); BOOL __attribute__((__stdcall__)) ChooseFontW(LPCHOOSEFONTW); DWORD __attribute__((__stdcall__)) CommDlgExtendedError(void); HWND __attribute__((__stdcall__)) FindTextA(LPFINDREPLACEA); HWND __attribute__((__stdcall__)) FindTextW(LPFINDREPLACEW); short __attribute__((__stdcall__)) GetFileTitleA(LPCSTR,LPSTR,WORD); short __attribute__((__stdcall__)) GetFileTitleW(LPCWSTR,LPWSTR,WORD); BOOL __attribute__((__stdcall__)) GetOpenFileNameA(LPOPENFILENAMEA); BOOL __attribute__((__stdcall__)) GetOpenFileNameW(LPOPENFILENAMEW); BOOL __attribute__((__stdcall__)) GetSaveFileNameA(LPOPENFILENAMEA); BOOL __attribute__((__stdcall__)) GetSaveFileNameW(LPOPENFILENAMEW); BOOL __attribute__((__stdcall__)) PageSetupDlgA(LPPAGESETUPDLGA); BOOL __attribute__((__stdcall__)) PageSetupDlgW(LPPAGESETUPDLGW); BOOL __attribute__((__stdcall__)) PrintDlgA(LPPRINTDLGA); BOOL __attribute__((__stdcall__)) PrintDlgW(LPPRINTDLGW); HWND __attribute__((__stdcall__)) ReplaceTextA(LPFINDREPLACEA); HWND __attribute__((__stdcall__)) ReplaceTextW(LPFINDREPLACEW); # 552 "C:/MINGW/include/commdlg.h" 3 typedef CHOOSECOLORA CHOOSECOLOR,*LPCHOOSECOLOR; typedef CHOOSEFONTA CHOOSEFONT,*LPCHOOSEFONT; typedef FINDREPLACEA FINDREPLACE,*LPFINDREPLACE; typedef OPENFILENAMEA OPENFILENAME,*LPOPENFILENAME; typedef OFNOTIFYA OFNOTIFY,*LPOFNOTIFY; typedef PAGESETUPDLGA PAGESETUPDLG,*LPPAGESETUPDLG; typedef PRINTDLGA PRINTDLG,*LPPRINTDLG; # 573 "C:/MINGW/include/commdlg.h" 3 #pragma pack(pop) } # 76 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/cderr.h" 1 3 # 5 "C:/MINGW/include/cderr.h" 3 # 77 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/dde.h" 1 3 # 5 "C:/MINGW/include/dde.h" 3 extern "C" { # 23 "C:/MINGW/include/dde.h" 3 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,fReserved:2; short cfFormat; BYTE Value[1]; } DDEPOKE; typedef struct { unsigned short unused:13, fRelease:1, fDeferUpd:1, fAckReq:1; short cfFormat; } DDELN; typedef struct { unsigned short unused:12,fAck:1,fRelease:1,fReserved:1,fAckReq:1; short cfFormat; BYTE rgb[1]; } DDEUP; BOOL __attribute__((__stdcall__)) DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE*,PSECURITY_QUALITY_OF_SERVICE); BOOL __attribute__((__stdcall__)) ImpersonateDdeClientWindow(HWND,HWND); LONG __attribute__((__stdcall__)) PackDDElParam(UINT,UINT,UINT); BOOL __attribute__((__stdcall__)) UnpackDDElParam(UINT,LONG,PUINT,PUINT); BOOL __attribute__((__stdcall__)) FreeDDElParam(UINT,LONG); LONG __attribute__((__stdcall__)) ReuseDDElParam(LONG,UINT,UINT,UINT,UINT); } # 78 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/ddeml.h" 1 3 # 5 "C:/MINGW/include/ddeml.h" 3 extern "C" { # 141 "C:/MINGW/include/ddeml.h" 3 typedef struct HCONVLIST__{int i;}*HCONVLIST; typedef struct HCONV__{int i;}*HCONV; typedef struct HSZ__{int i;}*HSZ; typedef struct HDDEDATA__{int i;}*HDDEDATA; typedef HDDEDATA __attribute__((__stdcall__)) FNCALLBACK(UINT,UINT,HCONV,HSZ,HSZ,HDDEDATA,DWORD,DWORD); typedef HDDEDATA(__attribute__((__stdcall__)) *PFNCALLBACK)(UINT,UINT,HCONV,HSZ,HSZ,HDDEDATA,DWORD,DWORD); typedef struct tagHSZPAIR { HSZ hszSvc; HSZ hszTopic; } HSZPAIR, *PHSZPAIR; typedef struct tagCONVCONTEXT { UINT cb; UINT wFlags; UINT wCountryID; int iCodePage; DWORD dwLangID; DWORD dwSecurity; SECURITY_QUALITY_OF_SERVICE qos; } CONVCONTEXT,*PCONVCONTEXT; 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,*PCONVINFO; typedef struct tagDDEML_MSG_HOOK_DATA { UINT uiLo; UINT uiHi; DWORD cbData; DWORD Data[8]; } DDEML_MSG_HOOK_DATA; BOOL __attribute__((__stdcall__)) DdeAbandonTransaction(DWORD,HCONV,DWORD); PBYTE __attribute__((__stdcall__)) DdeAccessData(HDDEDATA,PDWORD); HDDEDATA __attribute__((__stdcall__)) DdeAddData(HDDEDATA,PBYTE,DWORD,DWORD); HDDEDATA __attribute__((__stdcall__)) DdeClientTransaction(PBYTE,DWORD,HCONV,HSZ,UINT,UINT,DWORD,PDWORD); int __attribute__((__stdcall__)) DdeCmpStringHandles(HSZ,HSZ); HCONV __attribute__((__stdcall__)) DdeConnect(DWORD,HSZ,HSZ,PCONVCONTEXT); HCONVLIST __attribute__((__stdcall__)) DdeConnectList(DWORD,HSZ,HSZ,HCONVLIST,PCONVCONTEXT); HDDEDATA __attribute__((__stdcall__)) DdeCreateDataHandle(DWORD,PBYTE,DWORD,DWORD,HSZ,UINT,UINT); HSZ __attribute__((__stdcall__)) DdeCreateStringHandleA(DWORD,LPCSTR,int); HSZ __attribute__((__stdcall__)) DdeCreateStringHandleW(DWORD,LPCWSTR,int); BOOL __attribute__((__stdcall__)) DdeDisconnect(HCONV); BOOL __attribute__((__stdcall__)) DdeDisconnectList(HCONVLIST); BOOL __attribute__((__stdcall__)) DdeEnableCallback(DWORD,HCONV,UINT); BOOL __attribute__((__stdcall__)) DdeFreeDataHandle(HDDEDATA); BOOL __attribute__((__stdcall__)) DdeFreeStringHandle(DWORD,HSZ); DWORD __attribute__((__stdcall__)) DdeGetData(HDDEDATA,PBYTE,DWORD,DWORD); UINT __attribute__((__stdcall__)) DdeGetLastError(DWORD); BOOL __attribute__((__stdcall__)) DdeImpersonateClient(HCONV); UINT __attribute__((__stdcall__)) DdeInitializeA(PDWORD,PFNCALLBACK,DWORD,DWORD); UINT __attribute__((__stdcall__)) DdeInitializeW(PDWORD,PFNCALLBACK,DWORD,DWORD); BOOL __attribute__((__stdcall__)) DdeKeepStringHandle(DWORD,HSZ); HDDEDATA __attribute__((__stdcall__)) DdeNameService(DWORD,HSZ,HSZ,UINT); BOOL __attribute__((__stdcall__)) DdePostAdvise(DWORD,HSZ,HSZ); UINT __attribute__((__stdcall__)) DdeQueryConvInfo(HCONV,DWORD,PCONVINFO); HCONV __attribute__((__stdcall__)) DdeQueryNextServer(HCONVLIST,HCONV); DWORD __attribute__((__stdcall__)) DdeQueryStringA(DWORD,HSZ,LPSTR,DWORD,int); DWORD __attribute__((__stdcall__)) DdeQueryStringW(DWORD,HSZ,LPWSTR,DWORD,int); HCONV __attribute__((__stdcall__)) DdeReconnect(HCONV); BOOL __attribute__((__stdcall__)) DdeSetUserHandle(HCONV,DWORD,DWORD); BOOL __attribute__((__stdcall__)) DdeUnaccessData(HDDEDATA); BOOL __attribute__((__stdcall__)) DdeUninitialize(DWORD); # 243 "C:/MINGW/include/ddeml.h" 3 } # 79 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/dlgs.h" 1 3 # 5 "C:/MINGW/include/dlgs.h" 3 extern "C" { # 176 "C:/MINGW/include/dlgs.h" 3 typedef struct tagCRGB { BYTE bRed; BYTE bGreen; BYTE bBlue; BYTE bExtra; } CRGB; } # 80 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/lzexpand.h" 1 3 # 5 "C:/MINGW/include/lzexpand.h" 3 extern "C" { # 18 "C:/MINGW/include/lzexpand.h" 3 LONG __attribute__((__stdcall__)) CopyLZFile(INT,INT); INT __attribute__((__stdcall__)) GetExpandedNameA(LPSTR,LPSTR); INT __attribute__((__stdcall__)) GetExpandedNameW(LPWSTR,LPWSTR); void __attribute__((__stdcall__)) LZClose(INT); LONG __attribute__((__stdcall__)) LZCopy(INT,INT); void __attribute__((__stdcall__)) LZDone(void); INT __attribute__((__stdcall__)) LZInit(INT); INT __attribute__((__stdcall__)) LZOpenFileA(LPSTR,LPOFSTRUCT,WORD); INT __attribute__((__stdcall__)) LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD); INT __attribute__((__stdcall__)) LZRead(INT,LPSTR,INT); LONG __attribute__((__stdcall__)) LZSeek(INT,LONG,INT); INT __attribute__((__stdcall__)) LZStart(void); # 38 "C:/MINGW/include/lzexpand.h" 3 } # 81 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/mmsystem.h" 1 3 # 6 "C:/MINGW/include/mmsystem.h" 3 #pragma pack(push,1) extern "C" { # 899 "C:/MINGW/include/mmsystem.h" 3 typedef DWORD MCIERROR; typedef UINT MCIDEVICEID; typedef UINT(__attribute__((__stdcall__)) *YIELDPROC)(MCIDEVICEID,DWORD); typedef UINT MMVERSION; typedef UINT MMRESULT; typedef struct mmtime_tag { UINT wType; union { DWORD ms; DWORD sample; DWORD cb; DWORD ticks; struct { BYTE hour; BYTE min; BYTE sec; BYTE frame; BYTE fps; BYTE dummy; BYTE pad[2]; } smpte; struct { DWORD songptrpos; } midi; } u; } MMTIME,*PMMTIME,*LPMMTIME; typedef struct HDRVR__{int i;}*HDRVR; typedef struct tagDRVCONFIGINFO { DWORD dwDCISize; LPCWSTR lpszDCISectionName; LPCWSTR lpszDCIAliasName; } DRVCONFIGINFO,*PDRVCONFIGINFO,*LPDRVCONFIGINFO; typedef struct DRVCONFIGINFOEX { DWORD dwDCISize; LPCWSTR lpszDCISectionName; LPCWSTR lpszDCIAliasName; DWORD dnDevNode; } DRVCONFIGINFOEX,*PDRVCONFIGINFOEX,*LPDRVCONFIGINFOEX; typedef LRESULT(__attribute__((__stdcall__))* DRIVERPROC)(DWORD,HDRVR,UINT,LPARAM,LPARAM); typedef void (__attribute__((__stdcall__)) DRVCALLBACK)(HDRVR,UINT,DWORD,DWORD,DWORD); typedef DRVCALLBACK *LPDRVCALLBACK; typedef DRVCALLBACK *PDRVCALLBACK; typedef struct HWAVE__{int i;}*HWAVE; typedef struct HWAVEIN__{int i;}*HWAVEIN; typedef struct HWAVEOUT__{int i;}*HWAVEOUT; typedef HWAVEIN *LPHWAVEIN; typedef HWAVEOUT *LPHWAVEOUT; typedef DRVCALLBACK WAVECALLBACK; typedef WAVECALLBACK *LPWAVECALLBACK; typedef struct wavehdr_tag { LPSTR lpData; DWORD dwBufferLength; DWORD dwBytesRecorded; DWORD dwUser; DWORD dwFlags; DWORD dwLoops; struct wavehdr_tag *lpNext; DWORD reserved; } WAVEHDR,*PWAVEHDR,*LPWAVEHDR; typedef struct tagWAVEOUTCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; DWORD dwSupport; } WAVEOUTCAPSA,*PWAVEOUTCAPSA,*LPWAVEOUTCAPSA; typedef struct tagWAVEOUTCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; DWORD dwSupport; } WAVEOUTCAPSW,*PWAVEOUTCAPSW,*LPWAVEOUTCAPSW; typedef struct tagWAVEINCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; } WAVEINCAPSA,*PWAVEINCAPSA,*LPWAVEINCAPSA; typedef struct tagWAVEINCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD dwFormats; WORD wChannels; WORD wReserved1; } WAVEINCAPSW,*PWAVEINCAPSW,*LPWAVEINCAPSW; typedef struct waveformat_tag { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; } WAVEFORMAT,*PWAVEFORMAT,*LPWAVEFORMAT; typedef struct pcmwaveformat_tag { WAVEFORMAT wf; WORD wBitsPerSample; } PCMWAVEFORMAT, *PPCMWAVEFORMAT,*LPPCMWAVEFORMAT; typedef struct tWAVEFORMATEX { WORD wFormatTag; WORD nChannels; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wBitsPerSample; WORD cbSize; } WAVEFORMATEX,*PWAVEFORMATEX,*LPWAVEFORMATEX; typedef const WAVEFORMATEX *LPCWAVEFORMATEX; typedef struct HMIDI__{int i;}*HMIDI; typedef struct HMIDIIN__{int i;}*HMIDIIN; typedef struct HMIDIOUT__{int i;}*HMIDIOUT; typedef struct HMIDISTRM__{int i;}*HMIDISTRM; typedef HMIDI *LPHMIDI; typedef HMIDIIN *LPHMIDIIN; typedef HMIDIOUT *LPHMIDIOUT; typedef HMIDISTRM *LPHMIDISTRM; typedef DRVCALLBACK MIDICALLBACK; typedef MIDICALLBACK *LPMIDICALLBACK; typedef WORD PATCHARRAY[128]; typedef WORD *LPPATCHARRAY; typedef WORD KEYARRAY[128]; typedef WORD *LPKEYARRAY; typedef struct tagMIDIOUTCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; WORD wTechnology; WORD wVoices; WORD wNotes; WORD wChannelMask; DWORD dwSupport; } MIDIOUTCAPSA,*PMIDIOUTCAPSA,*LPMIDIOUTCAPSA; typedef struct tagMIDIOUTCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; WORD wTechnology; WORD wVoices; WORD wNotes; WORD wChannelMask; DWORD dwSupport; } MIDIOUTCAPSW,*PMIDIOUTCAPSW,*LPMIDIOUTCAPSW; typedef struct tagMIDIINCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD dwSupport; } MIDIINCAPSA,*PMIDIINCAPSA,*LPMIDIINCAPSA; typedef struct tagMIDIINCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD dwSupport; } MIDIINCAPSW,*PMIDIINCAPSW,*NPMIDIINCAPSW,*LPMIDIINCAPSW; typedef struct midihdr_tag { LPSTR lpData; DWORD dwBufferLength; DWORD dwBytesRecorded; DWORD dwUser; DWORD dwFlags; struct midihdr_tag *lpNext; DWORD reserved; DWORD dwOffset; DWORD dwReserved[8]; } MIDIHDR,*PMIDIHDR,*LPMIDIHDR; typedef struct midievent_tag { DWORD dwDeltaTime; DWORD dwStreamID; DWORD dwEvent; DWORD dwParms[1]; } MIDIEVENT; typedef struct midistrmbuffver_tag { DWORD dwVersion; DWORD dwMid; DWORD dwOEMVersion; } MIDISTRMBUFFVER; typedef struct midiproptimediv_tag { DWORD cbStruct; DWORD dwTimeDiv; } MIDIPROPTIMEDIV,*LPMIDIPROPTIMEDIV; typedef struct midiproptempo_tag { DWORD cbStruct; DWORD dwTempo; } MIDIPROPTEMPO,*LPMIDIPROPTEMPO; typedef struct tagAUXCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; WORD wTechnology; WORD wReserved1; DWORD dwSupport; } AUXCAPSA,*PAUXCAPSA,*LPAUXCAPSA; typedef struct tagAUXCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; WORD wTechnology; WORD wReserved1; DWORD dwSupport; } AUXCAPSW,*PAUXCAPSW,*LPAUXCAPSW; typedef struct HMIXEROBJ__{int i;}*HMIXEROBJ; typedef HMIXEROBJ *LPHMIXEROBJ; typedef struct HMIXER__{int i;}*HMIXER; typedef HMIXER *LPHMIXER; typedef struct tagMIXERCAPSA { WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; DWORD fdwSupport; DWORD cDestinations; } MIXERCAPSA,*PMIXERCAPSA,*LPMIXERCAPSA; typedef struct tagMIXERCAPSW { WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; DWORD fdwSupport; DWORD cDestinations; } MIXERCAPSW,*PMIXERCAPSW,*LPMIXERCAPSW; typedef struct tagMIXERLINEA { DWORD cbStruct; DWORD dwDestination; DWORD dwSource; DWORD dwLineID; DWORD fdwLine; DWORD dwUser; DWORD dwComponentType; DWORD cChannels; DWORD cConnections; DWORD cControls; CHAR szShortName[16]; CHAR szName[64]; struct { DWORD dwType; DWORD dwDeviceID; WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[32]; } Target; } MIXERLINEA,*PMIXERLINEA,*LPMIXERLINEA; typedef struct tagMIXERLINEW { DWORD cbStruct; DWORD dwDestination; DWORD dwSource; DWORD dwLineID; DWORD fdwLine; DWORD dwUser; DWORD dwComponentType; DWORD cChannels; DWORD cConnections; DWORD cControls; WCHAR szShortName[16]; WCHAR szName[64]; struct { DWORD dwType; DWORD dwDeviceID; WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[32]; } Target; } MIXERLINEW,*PMIXERLINEW,*LPMIXERLINEW; typedef struct tagMIXERCONTROLA { DWORD cbStruct; DWORD dwControlID; DWORD dwControlType; DWORD fdwControl; DWORD cMultipleItems; CHAR szShortName[16]; CHAR szName[64]; union { __extension__ struct { LONG lMinimum; LONG lMaximum; }; __extension__ struct { DWORD dwMinimum; DWORD dwMaximum; }; DWORD dwReserved[6]; } Bounds; union { DWORD cSteps; DWORD cbCustomData; DWORD dwReserved[6]; } Metrics; } MIXERCONTROLA,*PMIXERCONTROLA,*LPMIXERCONTROLA; typedef struct tagMIXERCONTROLW { DWORD cbStruct; DWORD dwControlID; DWORD dwControlType; DWORD fdwControl; DWORD cMultipleItems; WCHAR szShortName[16]; WCHAR szName[64]; union { __extension__ struct { LONG lMinimum; LONG lMaximum; }; __extension__ struct { DWORD dwMinimum; DWORD dwMaximum; }; DWORD dwReserved[6]; } Bounds; union { DWORD cSteps; DWORD cbCustomData; DWORD dwReserved[6]; } Metrics; } MIXERCONTROLW,*PMIXERCONTROLW,*LPMIXERCONTROLW; typedef struct tagMIXERLINECONTROLSA { DWORD cbStruct; DWORD dwLineID; __extension__ union { DWORD dwControlID; DWORD dwControlType; } ; DWORD cControls; DWORD cbmxctrl; LPMIXERCONTROLA pamxctrl; } MIXERLINECONTROLSA,*PMIXERLINECONTROLSA,*LPMIXERLINECONTROLSA; typedef struct tagMIXERLINECONTROLSW { DWORD cbStruct; DWORD dwLineID; __extension__ union { DWORD dwControlID; DWORD dwControlType; } ; DWORD cControls; DWORD cbmxctrl; LPMIXERCONTROLW pamxctrl; } MIXERLINECONTROLSW,*PMIXERLINECONTROLSW,*LPMIXERLINECONTROLSW; typedef struct tMIXERCONTROLDETAILS { DWORD cbStruct; DWORD dwControlID; DWORD cChannels; __extension__ union { HWND hwndOwner; DWORD cMultipleItems; } ; DWORD cbDetails; PVOID paDetails; } MIXERCONTROLDETAILS,*PMIXERCONTROLDETAILS,*LPMIXERCONTROLDETAILS; typedef struct tagMIXERCONTROLDETAILS_LISTTEXTA { DWORD dwParam1; DWORD dwParam2; CHAR szName[64]; } MIXERCONTROLDETAILS_LISTTEXTA,*PMIXERCONTROLDETAILS_LISTTEXTA,*LPMIXERCONTROLDETAILS_LISTTEXTA; typedef struct tagMIXERCONTROLDETAILS_LISTTEXTW { DWORD dwParam1; DWORD dwParam2; WCHAR szName[64]; } MIXERCONTROLDETAILS_LISTTEXTW,*PMIXERCONTROLDETAILS_LISTTEXTW,*LPMIXERCONTROLDETAILS_LISTTEXTW; typedef struct tMIXERCONTROLDETAILS_BOOLEAN { LONG fValue; } MIXERCONTROLDETAILS_BOOLEAN,*PMIXERCONTROLDETAILS_BOOLEAN,*LPMIXERCONTROLDETAILS_BOOLEAN; typedef struct tMIXERCONTROLDETAILS_SIGNED { LONG lValue; } MIXERCONTROLDETAILS_SIGNED,*PMIXERCONTROLDETAILS_SIGNED,*LPMIXERCONTROLDETAILS_SIGNED; typedef struct tMIXERCONTROLDETAILS_UNSIGNED { DWORD dwValue; } MIXERCONTROLDETAILS_UNSIGNED,*PMIXERCONTROLDETAILS_UNSIGNED,*LPMIXERCONTROLDETAILS_UNSIGNED; typedef void(__attribute__((__stdcall__)) TIMECALLBACK)(UINT,UINT,DWORD,DWORD,DWORD); typedef TIMECALLBACK *LPTIMECALLBACK; typedef struct timecaps_tag { UINT wPeriodMin; UINT wPeriodMax; } TIMECAPS,*PTIMECAPS,*LPTIMECAPS; typedef struct tagJOYCAPSA { WORD wMid; WORD wPid; CHAR szPname[32]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; UINT wRmin; UINT wRmax; UINT wUmin; UINT wUmax; UINT wVmin; UINT wVmax; UINT wCaps; UINT wMaxAxes; UINT wNumAxes; UINT wMaxButtons; CHAR szRegKey[32]; CHAR szOEMVxD[260]; } JOYCAPSA,*PJOYCAPSA,*LPJOYCAPSA; typedef struct tagJOYCAPSW { WORD wMid; WORD wPid; WCHAR szPname[32]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; UINT wRmin; UINT wRmax; UINT wUmin; UINT wUmax; UINT wVmin; UINT wVmax; UINT wCaps; UINT wMaxAxes; UINT wNumAxes; UINT wMaxButtons; WCHAR szRegKey[32]; WCHAR szOEMVxD[260]; } JOYCAPSW,*PJOYCAPSW,*LPJOYCAPSW; typedef struct joyinfo_tag { UINT wXpos; UINT wYpos; UINT wZpos; UINT wButtons; } JOYINFO,*PJOYINFO,*LPJOYINFO; typedef struct joyinfoex_tag { DWORD dwSize; DWORD dwFlags; DWORD dwXpos; DWORD dwYpos; DWORD dwZpos; DWORD dwRpos; DWORD dwUpos; DWORD dwVpos; DWORD dwButtons; DWORD dwButtonNumber; DWORD dwPOV; DWORD dwReserved1; DWORD dwReserved2; } JOYINFOEX,*PJOYINFOEX,*LPJOYINFOEX; typedef DWORD FOURCC; typedef char *HPSTR; typedef struct HMMIO__{int i;}*HMMIO; typedef LRESULT (__attribute__((__stdcall__)) MMIOPROC)(LPSTR,UINT,LPARAM,LPARAM); typedef MMIOPROC *LPMMIOPROC; typedef struct _MMIOINFO { DWORD dwFlags; FOURCC fccIOProc; LPMMIOPROC pIOProc; UINT wErrorRet; HTASK htask; LONG cchBuffer; HPSTR pchBuffer; HPSTR pchNext; HPSTR pchEndRead; HPSTR pchEndWrite; LONG lBufOffset; LONG lDiskOffset; DWORD adwInfo[3]; DWORD dwReserved1; DWORD dwReserved2; HMMIO hmmio; } MMIOINFO,*PMMIOINFO,*LPMMIOINFO; typedef const MMIOINFO *LPCMMIOINFO; typedef struct _MMCKINFO { FOURCC ckid; DWORD cksize; FOURCC fccType; DWORD dwDataOffset; DWORD dwFlags; } MMCKINFO,*PMMCKINFO,*LPMMCKINFO; typedef const MMCKINFO *LPCMMCKINFO; typedef struct tagMCI_GENERIC_PARMS { DWORD dwCallback; } MCI_GENERIC_PARMS,*PMCI_GENERIC_PARMS,*LPMCI_GENERIC_PARMS; typedef struct tagMCI_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; } MCI_OPEN_PARMSA,*PMCI_OPEN_PARMSA,*LPMCI_OPEN_PARMSA; typedef struct tagMCI_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; } MCI_OPEN_PARMSW,*PMCI_OPEN_PARMSW,*LPMCI_OPEN_PARMSW; typedef struct tagMCI_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; } MCI_PLAY_PARMS,*PMCI_PLAY_PARMS,*LPMCI_PLAY_PARMS; typedef struct tagMCI_SEEK_PARMS { DWORD dwCallback; DWORD dwTo; } MCI_SEEK_PARMS, *PMCI_SEEK_PARMS,*LPMCI_SEEK_PARMS; typedef struct tagMCI_STATUS_PARMS { DWORD dwCallback; DWORD dwReturn; DWORD dwItem; DWORD dwTrack; } MCI_STATUS_PARMS,*PMCI_STATUS_PARMS,*LPMCI_STATUS_PARMS; typedef struct tagMCI_INFO_PARMSA { DWORD dwCallback; LPSTR lpstrReturn; DWORD dwRetSize; } MCI_INFO_PARMSA,*LPMCI_INFO_PARMSA; typedef struct tagMCI_INFO_PARMSW { DWORD dwCallback; LPWSTR lpstrReturn; DWORD dwRetSize; } MCI_INFO_PARMSW,*LPMCI_INFO_PARMSW; typedef struct tagMCI_GETDEVCAPS_PARMS { DWORD dwCallback; DWORD dwReturn; DWORD dwItem; } MCI_GETDEVCAPS_PARMS,*PMCI_GETDEVCAPS_PARMS,*LPMCI_GETDEVCAPS_PARMS; typedef struct tagMCI_SYSINFO_PARMSA { DWORD dwCallback; LPSTR lpstrReturn; DWORD dwRetSize; DWORD dwNumber; UINT wDeviceType; } MCI_SYSINFO_PARMSA,*PMCI_SYSINFO_PARMSA,*LPMCI_SYSINFO_PARMSA; typedef struct tagMCI_SYSINFO_PARMSW { DWORD dwCallback; LPWSTR lpstrReturn; DWORD dwRetSize; DWORD dwNumber; UINT wDeviceType; } MCI_SYSINFO_PARMSW,*PMCI_SYSINFO_PARMSW,*LPMCI_SYSINFO_PARMSW; typedef struct tagMCI_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio; } MCI_SET_PARMS,*PMCI_SET_PARMS,*LPMCI_SET_PARMS; typedef struct tagMCI_BREAK_PARMS { DWORD dwCallback; int nVirtKey; HWND hwndBreak; } MCI_BREAK_PARMS,*PMCI_BREAK_PARMS,*LPMCI_BREAK_PARMS; typedef struct tagMCI_SAVE_PARMSA { DWORD dwCallback; LPCSTR lpfilename; } MCI_SAVE_PARMSA,*PMCI_SAVE_PARMSA,*LPMCI_SAVE_PARMSA; typedef struct tagMCI_SAVE_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; } MCI_SAVE_PARMSW,*PMCI_SAVE_PARMSW,*LPMCI_SAVE_PARMSW; typedef struct tagMCI_LOAD_PARMSA { DWORD dwCallback; LPCSTR lpfilename; } MCI_LOAD_PARMSA,*PMCI_LOAD_PARMSA,*LPMCI_LOAD_PARMSA; typedef struct tagMCI_LOAD_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; } MCI_LOAD_PARMSW,*PMCI_LOAD_PARMSW,*LPMCI_LOAD_PARMSW; typedef struct tagMCI_RECORD_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; } MCI_RECORD_PARMS,*LPMCI_RECORD_PARMS; typedef struct tagMCI_VD_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; DWORD dwSpeed; } MCI_VD_PLAY_PARMS,*PMCI_VD_PLAY_PARMS,*LPMCI_VD_PLAY_PARMS; typedef struct tagMCI_VD_STEP_PARMS { DWORD dwCallback; DWORD dwFrames; } MCI_VD_STEP_PARMS,*PMCI_VD_STEP_PARMS,*LPMCI_VD_STEP_PARMS; typedef struct tagMCI_VD_ESCAPE_PARMSA { DWORD dwCallback; LPCSTR lpstrCommand; } MCI_VD_ESCAPE_PARMSA,*PMCI_VD_ESCAPE_PARMSA,*LPMCI_VD_ESCAPE_PARMSA; typedef struct tagMCI_VD_ESCAPE_PARMSW { DWORD dwCallback; LPCWSTR lpstrCommand; } MCI_VD_ESCAPE_PARMSW,*PMCI_VD_ESCAPE_PARMSW,*LPMCI_VD_ESCAPE_PARMSW; typedef struct tagMCI_WAVE_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; DWORD dwBufferSeconds; } MCI_WAVE_OPEN_PARMSA,*PMCI_WAVE_OPEN_PARMSA,*LPMCI_WAVE_OPEN_PARMSA; typedef struct tagMCI_WAVE_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; DWORD dwBufferSeconds; } MCI_WAVE_OPEN_PARMSW,*PMCI_WAVE_OPEN_PARMSW,*LPMCI_WAVE_OPEN_PARMSW; typedef struct tagMCI_WAVE_DELETE_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; } MCI_WAVE_DELETE_PARMS, *PMCI_WAVE_DELETE_PARMS,*LPMCI_WAVE_DELETE_PARMS; typedef struct tagMCI_WAVE_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio; UINT wInput; UINT wOutput; WORD wFormatTag; WORD wReserved2; WORD nChannels; WORD wReserved3; DWORD nSamplesPerSec; DWORD nAvgBytesPerSec; WORD nBlockAlign; WORD wReserved4; WORD wBitsPerSample; WORD wReserved5; } MCI_WAVE_SET_PARMS,*PMCI_WAVE_SET_PARMS,*LPMCI_WAVE_SET_PARMS; LRESULT __attribute__((__stdcall__)) CloseDriver(HDRVR,LONG,LONG); HDRVR __attribute__((__stdcall__)) OpenDriver(LPCWSTR,LPCWSTR,LONG); LRESULT __attribute__((__stdcall__)) SendDriverMessage(HDRVR,UINT,LONG,LONG); HMODULE __attribute__((__stdcall__)) DrvGetModuleHandle(HDRVR); HMODULE __attribute__((__stdcall__)) GetDriverModuleHandle(HDRVR); LRESULT __attribute__((__stdcall__)) DefDriverProc(DWORD,HDRVR,UINT,LPARAM,LPARAM); UINT __attribute__((__stdcall__)) mmsystemGetVersion(void); BOOL __attribute__((__stdcall__)) sndPlaySoundA(LPCSTR,UINT); BOOL __attribute__((__stdcall__)) sndPlaySoundW(LPCWSTR,UINT); BOOL __attribute__((__stdcall__)) PlaySoundA(LPCSTR,HMODULE,DWORD); BOOL __attribute__((__stdcall__)) PlaySoundW(LPCWSTR,HMODULE,DWORD); UINT __attribute__((__stdcall__)) waveOutGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) waveOutGetDevCapsA(UINT,LPWAVEOUTCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetDevCapsW(UINT,LPWAVEOUTCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetVolume(HWAVEOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) waveOutSetVolume(HWAVEOUT,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutOpen(LPHWAVEOUT,UINT,LPCWAVEFORMATEX,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutClose(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutPrepareHeader(HWAVEOUT,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutUnprepareHeader(HWAVEOUT,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutWrite(HWAVEOUT,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveOutPause(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutRestart(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutReset(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutBreakLoop(HWAVEOUT); MMRESULT __attribute__((__stdcall__)) waveOutGetPosition(HWAVEOUT,LPMMTIME,UINT); MMRESULT __attribute__((__stdcall__)) waveOutGetPitch(HWAVEOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) waveOutSetPitch(HWAVEOUT,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutGetPlaybackRate(HWAVEOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) waveOutSetPlaybackRate(HWAVEOUT,DWORD); MMRESULT __attribute__((__stdcall__)) waveOutGetID(HWAVEOUT,LPUINT); MMRESULT __attribute__((__stdcall__)) waveOutMessage(HWAVEOUT,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) waveInGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) waveInGetDevCapsA(UINT,LPWAVEINCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetDevCapsW(UINT,LPWAVEINCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) waveInOpen(LPHWAVEIN,UINT,LPCWAVEFORMATEX,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) waveInClose(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInPrepareHeader(HWAVEIN,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveInUnprepareHeader(HWAVEIN,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveInAddBuffer(HWAVEIN,LPWAVEHDR,UINT); MMRESULT __attribute__((__stdcall__)) waveInStart(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInStop(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInReset(HWAVEIN); MMRESULT __attribute__((__stdcall__)) waveInGetPosition(HWAVEIN,LPMMTIME,UINT); MMRESULT __attribute__((__stdcall__)) waveInGetID(HWAVEIN,LPUINT); MMRESULT __attribute__((__stdcall__)) waveInMessage(HWAVEIN,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) midiOutGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) midiStreamOpen(LPHMIDISTRM,LPUINT,DWORD,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) midiStreamClose(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiStreamProperty(HMIDISTRM,LPBYTE,DWORD); MMRESULT __attribute__((__stdcall__)) midiStreamPosition(HMIDISTRM,LPMMTIME,UINT); MMRESULT __attribute__((__stdcall__)) midiStreamOut(HMIDISTRM,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiStreamPause(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiStreamRestart(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiStreamStop(HMIDISTRM); MMRESULT __attribute__((__stdcall__)) midiConnect(HMIDI,HMIDIOUT,PVOID); MMRESULT __attribute__((__stdcall__)) midiDisconnect(HMIDI,HMIDIOUT,PVOID); MMRESULT __attribute__((__stdcall__)) midiOutGetDevCapsA(UINT,LPMIDIOUTCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetDevCapsW(UINT,LPMIDIOUTCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetVolume(HMIDIOUT,PDWORD); MMRESULT __attribute__((__stdcall__)) midiOutSetVolume(HMIDIOUT,DWORD); MMRESULT __attribute__((__stdcall__)) midiOutGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutOpen(LPHMIDIOUT,UINT,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) midiOutClose(HMIDIOUT); MMRESULT __attribute__((__stdcall__)) midiOutPrepareHeader(HMIDIOUT,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutUnprepareHeader(HMIDIOUT,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutShortMsg(HMIDIOUT,DWORD); MMRESULT __attribute__((__stdcall__)) midiOutLongMsg(HMIDIOUT,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiOutReset(HMIDIOUT); MMRESULT __attribute__((__stdcall__)) midiOutCachePatches(HMIDIOUT,UINT,LPWORD,UINT); MMRESULT __attribute__((__stdcall__)) midiOutCacheDrumPatches(HMIDIOUT,UINT,LPWORD,UINT); MMRESULT __attribute__((__stdcall__)) midiOutGetID(HMIDIOUT,LPUINT); MMRESULT __attribute__((__stdcall__)) midiOutMessage(HMIDIOUT,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) midiInGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) midiInGetDevCapsA(UINT,LPMIDIINCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) midiInGetDevCapsW(UINT,LPMIDIINCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) midiInGetErrorTextA(MMRESULT,LPSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiInGetErrorTextW(MMRESULT,LPWSTR,UINT); MMRESULT __attribute__((__stdcall__)) midiInOpen(LPHMIDIIN,UINT,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) midiInClose(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInPrepareHeader(HMIDIIN,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiInUnprepareHeader(HMIDIIN,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiInAddBuffer(HMIDIIN,LPMIDIHDR,UINT); MMRESULT __attribute__((__stdcall__)) midiInStart(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInStop(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInReset(HMIDIIN); MMRESULT __attribute__((__stdcall__)) midiInGetID(HMIDIIN,LPUINT); MMRESULT __attribute__((__stdcall__)) midiInMessage(HMIDIIN,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) auxGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) auxGetDevCapsA(UINT,LPAUXCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) auxGetDevCapsW(UINT,LPAUXCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) auxSetVolume(UINT,DWORD); MMRESULT __attribute__((__stdcall__)) auxGetVolume(UINT,PDWORD); MMRESULT __attribute__((__stdcall__)) auxOutMessage(UINT,UINT,DWORD,DWORD); UINT __attribute__((__stdcall__)) mixerGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) mixerGetDevCapsA(UINT,LPMIXERCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) mixerGetDevCapsW(UINT,LPMIXERCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) mixerOpen(LPHMIXER,UINT,DWORD,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) mixerClose(HMIXER); DWORD __attribute__((__stdcall__)) mixerMessage(HMIXER,UINT,DWORD,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineInfoA(HMIXEROBJ,LPMIXERLINEA,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineInfoW(HMIXEROBJ,LPMIXERLINEW,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetID(HMIXEROBJ,PUINT,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineControlsA(HMIXEROBJ,LPMIXERLINECONTROLSA,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetLineControlsW(HMIXEROBJ,LPMIXERLINECONTROLSW,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetControlDetailsA(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); MMRESULT __attribute__((__stdcall__)) mixerGetControlDetailsW(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); MMRESULT __attribute__((__stdcall__)) mixerSetControlDetails(HMIXEROBJ,LPMIXERCONTROLDETAILS,DWORD); MMRESULT __attribute__((__stdcall__)) timeGetSystemTime(LPMMTIME,UINT); DWORD __attribute__((__stdcall__)) timeGetTime(void); MMRESULT __attribute__((__stdcall__)) timeSetEvent(UINT,UINT,LPTIMECALLBACK,DWORD,UINT); MMRESULT __attribute__((__stdcall__)) timeKillEvent(UINT); MMRESULT __attribute__((__stdcall__)) timeGetDevCaps(LPTIMECAPS,UINT); MMRESULT __attribute__((__stdcall__)) timeBeginPeriod(UINT); MMRESULT __attribute__((__stdcall__)) timeEndPeriod(UINT); UINT __attribute__((__stdcall__)) joyGetNumDevs(void); MMRESULT __attribute__((__stdcall__)) joyGetDevCapsA(UINT,LPJOYCAPSA,UINT); MMRESULT __attribute__((__stdcall__)) joyGetDevCapsW(UINT,LPJOYCAPSW,UINT); MMRESULT __attribute__((__stdcall__)) joyGetPos(UINT,LPJOYINFO); MMRESULT __attribute__((__stdcall__)) joyGetPosEx(UINT,LPJOYINFOEX); MMRESULT __attribute__((__stdcall__)) joyGetThreshold(UINT,LPUINT); MMRESULT __attribute__((__stdcall__)) joyReleaseCapture(UINT); MMRESULT __attribute__((__stdcall__)) joySetCapture(HWND,UINT,UINT,BOOL); MMRESULT __attribute__((__stdcall__)) joySetThreshold(UINT,UINT); FOURCC __attribute__((__stdcall__)) mmioStringToFOURCCA(LPCSTR,UINT); FOURCC __attribute__((__stdcall__)) mmioStringToFOURCCW(LPCWSTR,UINT); LPMMIOPROC __attribute__((__stdcall__)) mmioInstallIOProcA(FOURCC,LPMMIOPROC,DWORD); LPMMIOPROC __attribute__((__stdcall__)) mmioInstallIOProcW(FOURCC,LPMMIOPROC,DWORD); HMMIO __attribute__((__stdcall__)) mmioOpenA(LPSTR,LPMMIOINFO,DWORD); HMMIO __attribute__((__stdcall__)) mmioOpenW(LPWSTR,LPMMIOINFO,DWORD); MMRESULT __attribute__((__stdcall__)) mmioRenameA(LPCSTR,LPCSTR,LPCMMIOINFO,DWORD); MMRESULT __attribute__((__stdcall__)) mmioRenameW(LPCWSTR,LPCWSTR,LPCMMIOINFO,DWORD); MMRESULT __attribute__((__stdcall__)) mmioClose(HMMIO,UINT); LONG __attribute__((__stdcall__)) mmioRead(HMMIO,HPSTR,LONG); LONG __attribute__((__stdcall__)) mmioWrite(HMMIO,LPCSTR,LONG); LONG __attribute__((__stdcall__)) mmioSeek(HMMIO,LONG,int); MMRESULT __attribute__((__stdcall__)) mmioGetInfo(HMMIO,LPMMIOINFO,UINT); MMRESULT __attribute__((__stdcall__)) mmioSetInfo(HMMIO,LPCMMIOINFO,UINT); MMRESULT __attribute__((__stdcall__)) mmioSetBuffer(HMMIO,LPSTR,LONG,UINT); MMRESULT __attribute__((__stdcall__)) mmioFlush(HMMIO,UINT); MMRESULT __attribute__((__stdcall__)) mmioAdvance(HMMIO,LPMMIOINFO,UINT); LRESULT __attribute__((__stdcall__)) mmioSendMessage(HMMIO,UINT,LPARAM,LPARAM); MMRESULT __attribute__((__stdcall__)) mmioDescend(HMMIO,LPMMCKINFO,const MMCKINFO*,UINT); MMRESULT __attribute__((__stdcall__)) mmioAscend(HMMIO,LPMMCKINFO,UINT); MMRESULT __attribute__((__stdcall__)) mmioCreateChunk(HMMIO,LPMMCKINFO,UINT); MCIERROR __attribute__((__stdcall__)) mciSendCommandA(MCIDEVICEID,UINT,DWORD,DWORD); MCIERROR __attribute__((__stdcall__)) mciSendCommandW(MCIDEVICEID,UINT,DWORD,DWORD); MCIERROR __attribute__((__stdcall__)) mciSendStringA(LPCSTR,LPSTR,UINT,HWND); MCIERROR __attribute__((__stdcall__)) mciSendStringW(LPCWSTR,LPWSTR,UINT,HWND); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDA(LPCSTR); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDW(LPCWSTR); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDFromElementIDA(DWORD,LPCSTR); MCIDEVICEID __attribute__((__stdcall__)) mciGetDeviceIDFromElementIDW(DWORD,LPCWSTR); BOOL __attribute__((__stdcall__)) mciGetErrorStringA(MCIERROR,LPSTR,UINT); BOOL __attribute__((__stdcall__)) mciGetErrorStringW(MCIERROR,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) mciSetYieldProc(MCIDEVICEID,YIELDPROC,DWORD); HTASK __attribute__((__stdcall__)) mciGetCreatorTask(MCIDEVICEID); YIELDPROC __attribute__((__stdcall__)) mciGetYieldProc(MCIDEVICEID,PDWORD); typedef struct tagMCI_SEQ_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio; DWORD dwTempo; DWORD dwPort; DWORD dwSlave; DWORD dwMaster; DWORD dwOffset; } MCI_SEQ_SET_PARMS,*PMCI_SEQ_SET_PARMS,*LPMCI_SEQ_SET_PARMS; typedef struct tagMCI_ANIM_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_ANIM_OPEN_PARMSA,*PMCI_ANIM_OPEN_PARMSA,*LPMCI_ANIM_OPEN_PARMSA; typedef struct tagMCI_ANIM_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_ANIM_OPEN_PARMSW,*PMCI_ANIM_OPEN_PARMSW,*LPMCI_ANIM_OPEN_PARMSW; typedef struct tagMCI_ANIM_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; DWORD dwSpeed; } MCI_ANIM_PLAY_PARMS,*PMCI_ANIM_PLAY_PARMS,*LPMCI_ANIM_PLAY_PARMS; typedef struct tagMCI_ANIM_STEP_PARMS { DWORD dwCallback; DWORD dwFrames; } MCI_ANIM_STEP_PARMS,*PMCI_ANIM_STEP_PARMS,*LPMCI_ANIM_STEP_PARMS; typedef struct tagMCI_ANIM_WINDOW_PARMSA { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCSTR lpstrText; } MCI_ANIM_WINDOW_PARMSA,*PMCI_ANIM_WINDOW_PARMSA,*LPMCI_ANIM_WINDOW_PARMSA; typedef struct tagMCI_ANIM_WINDOW_PARMSW { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCWSTR lpstrText; } MCI_ANIM_WINDOW_PARMSW,*PMCI_ANIM_WINDOW_PARMSW,*LPMCI_ANIM_WINDOW_PARMSW; typedef struct tagMCI_ANIM_RECT_PARMS { DWORD dwCallback; RECT rc; } MCI_ANIM_RECT_PARMS,*PMCI_ANIM_RECT_PARMS,*LPMCI_ANIM_RECT_PARMS; typedef struct tagMCI_ANIM_UPDATE_PARMS { DWORD dwCallback; RECT rc; HDC hDC; } MCI_ANIM_UPDATE_PARMS,*PMCI_ANIM_UPDATE_PARMS,*LPMCI_ANIM_UPDATE_PARMS; typedef struct tagMCI_OVLY_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_OVLY_OPEN_PARMSA,*PMCI_OVLY_OPEN_PARMSA,*LPMCI_OVLY_OPEN_PARMSA; typedef struct tagMCI_OVLY_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias; DWORD dwStyle; HWND hWndParent; } MCI_OVLY_OPEN_PARMSW,*PMCI_OVLY_OPEN_PARMSW,*LPMCI_OVLY_OPEN_PARMSW; typedef struct tagMCI_OVLY_WINDOW_PARMSA { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCSTR lpstrText; } MCI_OVLY_WINDOW_PARMSA,*PMCI_OVLY_WINDOW_PARMSA,*LPMCI_OVLY_WINDOW_PARMSA; typedef struct tagMCI_OVLY_WINDOW_PARMSW { DWORD dwCallback; HWND hWnd; UINT nCmdShow; LPCWSTR lpstrText; } MCI_OVLY_WINDOW_PARMSW,*PMCI_OVLY_WINDOW_PARMSW,*LPMCI_OVLY_WINDOW_PARMSW; typedef struct tagMCI_OVLY_RECT_PARMS { DWORD dwCallback; RECT rc; } MCI_OVLY_RECT_PARMS,*PMCI_OVLY_RECT_PARMS,*LPMCI_OVLY_RECT_PARMS; typedef struct tagMCI_OVLY_SAVE_PARMSA { DWORD dwCallback; LPCSTR lpfilename; RECT rc; } MCI_OVLY_SAVE_PARMSA,*PMCI_OVLY_SAVE_PARMSA,*LPMCI_OVLY_SAVE_PARMSA; typedef struct tagMCI_OVLY_SAVE_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; RECT rc; } MCI_OVLY_SAVE_PARMSW,*PMCI_OVLY_SAVE_PARMSW,*LPMCI_OVLY_SAVE_PARMSW; typedef struct tagMCI_OVLY_LOAD_PARMSA { DWORD dwCallback; LPCSTR lpfilename; RECT rc; } MCI_OVLY_LOAD_PARMSA,*PMCI_OVLY_LOAD_PARMSA,*LPMCI_OVLY_LOAD_PARMSA; typedef struct tagMCI_OVLY_LOAD_PARMSW { DWORD dwCallback; LPCWSTR lpfilename; RECT rc; } MCI_OVLY_LOAD_PARMSW,*PMCI_OVLY_LOAD_PARMSW,*LPMCI_OVLY_LOAD_PARMSW; # 1883 "C:/MINGW/include/mmsystem.h" 3 typedef WAVEOUTCAPSA WAVEOUTCAPS,*PWAVEOUTCAPS,*LPWAVEOUTCAPS; typedef WAVEINCAPSA WAVEINCAPS,*PWAVEINCAPS,*LPWAVEINCAPS; typedef MIDIOUTCAPSA MIDIOUTCAPS,*PMIDIOUTCAPS,*LPMIDIOUTCAPS; typedef MIDIINCAPSA MIDIINCAPS,*PMIDIINCAPS,*LPMIDIINCAPS; typedef AUXCAPSA AUXCAPS,*PAUXCAPS,*LPAUXCAPS; typedef MIXERCAPSA MIXERCAPS,*PMIXERCAPS,*LPMIXERCAPS; typedef MIXERLINEA MIXERLINE,*PMIXERLINE,*LPMIXERLINE; typedef MIXERCONTROLA MIXERCONTROL,*PMIXERCONTROL,*LPMIXERCONTROL; typedef MIXERLINECONTROLSA MIXERLINECONTROLS,*PMIXERLINECONTROLS,*LPMIXERLINECONTROLS; typedef MIXERCONTROLDETAILS_LISTTEXTA MIXERCONTROLDETAILS_LISTTEXT,*PMIXERCONTROLDETAILS_LISTTEXT,*LPMIXERCONTROLDETAILS_LISTTEXT; typedef JOYCAPSA JOYCAPS,*PJOYCAPS,*LPJOYCAPS; typedef MCI_OPEN_PARMSA MCI_OPEN_PARMS,*PMCI_OPEN_PARMS,*LPMCI_OPEN_PARMS; typedef MCI_INFO_PARMSA MCI_INFO_PARMS,*LPMCI_INFO_PARMS; typedef MCI_SYSINFO_PARMSA MCI_SYSINFO_PARMS,*PMCI_SYSINFO_PARMS,*LPMCI_SYSINFO_PARMS; typedef MCI_SAVE_PARMSA MCI_SAVE_PARMS,*PMCI_SAVE_PARMS,*LPMCI_SAVE_PARMS; typedef MCI_LOAD_PARMSA MCI_LOAD_PARMS,*PMCI_LOAD_PARMS,*LPMCI_LOAD_PARMS; typedef MCI_VD_ESCAPE_PARMSA MCI_VD_ESCAPE_PARMS,*PMCI_VD_ESCAPE_PARMS,*LPMCI_VD_ESCAPE_PARMS; typedef MCI_WAVE_OPEN_PARMSA MCI_WAVE_OPEN_PARMS,*PMCI_WAVE_OPEN_PARMS,*LPMCI_WAVE_OPEN_PARMS; typedef MCI_ANIM_OPEN_PARMSA MCI_ANIM_OPEN_PARMS,*PMCI_ANIM_OPEN_PARMS,*LPMCI_ANIM_OPEN_PARMS; typedef MCI_ANIM_WINDOW_PARMSA MCI_ANIM_WINDOW_PARMS,*PMCI_ANIM_WINDOW_PARMS,*LPMCI_ANIM_WINDOW_PARMS; typedef MCI_OVLY_OPEN_PARMSA MCI_OVLY_OPEN_PARMS,*PMCI_OVLY_OPEN_PARMS,*LPMCI_OVLY_OPEN_PARMS; typedef MCI_OVLY_WINDOW_PARMSA MCI_OVLY_WINDOW_PARMS,*PMCI_OVLY_WINDOW_PARMS,*LPMCI_OVLY_WINDOW_PARMS; typedef MCI_OVLY_SAVE_PARMSA MCI_OVLY_SAVE_PARMS,*PMCI_OVLY_SAVE_PARMS,*LPMCI_OVLY_SAVE_PARMS; # 1933 "C:/MINGW/include/mmsystem.h" 3 } #pragma pack(pop) # 82 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/nb30.h" 1 3 # 5 "C:/MINGW/include/nb30.h" 3 extern "C" { # 95 "C:/MINGW/include/nb30.h" 3 typedef struct _ACTION_HEADER { ULONG transport_id; USHORT action_code; USHORT reserved; } ACTION_HEADER,*PACTION_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,*PADAPTER_STATUS; 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,*PFIND_NAME_BUFFER; typedef struct _FIND_NAME_HEADER { WORD node_count; UCHAR reserved; UCHAR unique_group; } FIND_NAME_HEADER,*PFIND_NAME_HEADER; typedef struct _LANA_ENUM { UCHAR length; UCHAR lana[254 +1]; } LANA_ENUM,*PLANA_ENUM; typedef struct _NAME_BUFFER { UCHAR name[16]; UCHAR name_num; UCHAR name_flags; } NAME_BUFFER,*PNAME_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[16]; UCHAR ncb_name[16]; UCHAR ncb_rto; UCHAR ncb_sto; void (__attribute__((__stdcall__)) *ncb_post)(struct _NCB*); UCHAR ncb_lana_num; UCHAR ncb_cmd_cplt; UCHAR ncb_reserve[10]; HANDLE ncb_event; } NCB,*PNCB; typedef struct _SESSION_BUFFER { UCHAR lsn; UCHAR state; UCHAR local_name[16]; UCHAR remote_name[16]; UCHAR rcvs_outstanding; UCHAR sends_outstanding; } SESSION_BUFFER,*PSESSION_BUFFER; typedef struct _SESSION_HEADER { UCHAR sess_name; UCHAR num_sess; UCHAR rcv_dg_outstanding; UCHAR rcv_any_outstanding; } SESSION_HEADER,*PSESSION_HEADER; UCHAR __attribute__((__stdcall__)) Netbios(PNCB); } # 83 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/rpc.h" 1 3 # 5 "C:/MINGW/include/rpc.h" 3 # 1 "C:/MINGW/include/windows.h" 1 3 # 9 "C:/MINGW/include/rpc.h" 2 3 extern "C" { # 30 "C:/MINGW/include/rpc.h" 3 typedef void *I_RPC_HANDLE; typedef long RPC_STATUS; # 1 "C:/MINGW/include/rpcdce.h" 1 3 # 5 "C:/MINGW/include/rpcdce.h" 3 extern "C" { # 91 "C:/MINGW/include/rpcdce.h" 3 typedef I_RPC_HANDLE RPC_BINDING_HANDLE; typedef RPC_BINDING_HANDLE handle_t; typedef struct _RPC_BINDING_VECTOR { unsigned long Count; RPC_BINDING_HANDLE BindingH[1]; } RPC_BINDING_VECTOR; typedef struct _UUID_VECTOR { unsigned long Count; UUID *Uuid[1]; } UUID_VECTOR; typedef void *RPC_IF_HANDLE; typedef struct _RPC_IF_ID { UUID Uuid; unsigned short VersMajor; unsigned short VersMinor; } RPC_IF_ID; typedef struct _RPC_POLICY { unsigned int Length ; unsigned long EndpointFlags ; unsigned long NICFlags ; } RPC_POLICY,*PRPC_POLICY ; typedef void __attribute__((__stdcall__)) RPC_OBJECT_INQ_FN(UUID*,UUID*,RPC_STATUS*); typedef RPC_STATUS RPC_IF_CALLBACK_FN(RPC_IF_HANDLE,void*); typedef struct { unsigned int Count; unsigned long Stats[1]; } RPC_STATS_VECTOR; typedef struct { unsigned long Count; RPC_IF_ID*IfId[1]; } RPC_IF_ID_VECTOR; typedef void *RPC_AUTH_IDENTITY_HANDLE; typedef void *RPC_AUTHZ_HANDLE; typedef struct _RPC_SECURITY_QOS { unsigned long Version; unsigned long Capabilities; unsigned long IdentityTracking; unsigned long ImpersonationType; } RPC_SECURITY_QOS,*PRPC_SECURITY_QOS; typedef struct _SEC_WINNT_AUTH_IDENTITY_W { unsigned short *User; unsigned long UserLength; unsigned short *Domain; unsigned long DomainLength; unsigned short *Password; unsigned long PasswordLength; unsigned long Flags; } SEC_WINNT_AUTH_IDENTITY_W,*PSEC_WINNT_AUTH_IDENTITY_W; typedef struct _SEC_WINNT_AUTH_IDENTITY_A { unsigned char *User; unsigned long UserLength; unsigned char *Domain; unsigned long DomainLength; unsigned char *Password; unsigned long PasswordLength; unsigned long Flags; } SEC_WINNT_AUTH_IDENTITY_A,*PSEC_WINNT_AUTH_IDENTITY_A; typedef struct { unsigned char *UserName; unsigned char *ComputerName; unsigned short Privilege; unsigned long AuthFlags; } RPC_CLIENT_INFORMATION1,* PRPC_CLIENT_INFORMATION1; typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE; typedef int(__attribute__((__stdcall__)) *RPC_MGMT_AUTHORIZATION_FN)(RPC_BINDING_HANDLE,unsigned long,RPC_STATUS*); typedef struct _RPC_PROTSEQ_VECTORA { unsigned int Count; unsigned char*Protseq[1]; } RPC_PROTSEQ_VECTORA; typedef struct _RPC_PROTSEQ_VECTORW { unsigned int Count; unsigned short*Protseq[1]; } RPC_PROTSEQ_VECTORW; RPC_STATUS __attribute__((__stdcall__)) RpcBindingFromStringBindingA(unsigned char *,RPC_BINDING_HANDLE *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingFromStringBindingW(unsigned short *,RPC_BINDING_HANDLE *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingToStringBindingA(RPC_BINDING_HANDLE,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcBindingToStringBindingW(RPC_BINDING_HANDLE,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingComposeA(unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char **); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingComposeW(unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short **); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingParseA(unsigned char *,unsigned char **,unsigned char **,unsigned char **,unsigned char **,unsigned char **); RPC_STATUS __attribute__((__stdcall__)) RpcStringBindingParseW(unsigned short *,unsigned short **,unsigned short **,unsigned short **,unsigned short **,unsigned short **); RPC_STATUS __attribute__((__stdcall__)) RpcStringFreeA(unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcStringFreeW(unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkIsProtseqValidA(unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkIsProtseqValidW(unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkInqProtseqsA(RPC_PROTSEQ_VECTORA**); RPC_STATUS __attribute__((__stdcall__)) RpcNetworkInqProtseqsW(RPC_PROTSEQ_VECTORW**); RPC_STATUS __attribute__((__stdcall__)) RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA**); RPC_STATUS __attribute__((__stdcall__)) RpcProtseqVectorFreeW(RPC_PROTSEQ_VECTORW**); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqA(unsigned char*,unsigned int,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqW(unsigned short*,unsigned int,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqExA(unsigned char*,unsigned int MaxCalls,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqExW(unsigned short*,unsigned int,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpA(unsigned char*,unsigned int,unsigned char*,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpExA(unsigned char*,unsigned int,unsigned char*,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpW(unsigned short*,unsigned int,unsigned short*,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqEpExW(unsigned short*,unsigned int,unsigned short*,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfA(unsigned char*,unsigned int,RPC_IF_HANDLE,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfExA(unsigned char*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfW(unsigned short*,unsigned int,RPC_IF_HANDLE,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseProtseqIfExW(unsigned short*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqServerPrincNameA(RPC_BINDING_HANDLE,unsigned long,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqServerPrincNameW(RPC_BINDING_HANDLE,unsigned long,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcServerInqDefaultPrincNameA(unsigned long,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcServerInqDefaultPrincNameW(unsigned long,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingInqEntryNameA(RPC_BINDING_HANDLE,unsigned long,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingInqEntryNameW(RPC_BINDING_HANDLE,unsigned long,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthClientA(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE *,unsigned char**,unsigned long*,unsigned long*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthClientW(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE *,unsigned short**,unsigned long*,unsigned long*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoA(RPC_BINDING_HANDLE,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoW(RPC_BINDING_HANDLE,unsigned short**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoA(RPC_BINDING_HANDLE,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoExA(RPC_BINDING_HANDLE,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long,RPC_SECURITY_QOS*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoW(RPC_BINDING_HANDLE,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetAuthInfoExW(RPC_BINDING_HANDLE,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long,RPC_SECURITY_QOS*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoExA(RPC_BINDING_HANDLE,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*,unsigned long,RPC_SECURITY_QOS*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqAuthInfoExW(RPC_BINDING_HANDLE,unsigned short ** , unsigned long *, unsigned long *, RPC_AUTH_IDENTITY_HANDLE *, unsigned long *, unsigned long , RPC_SECURITY_QOS *); typedef void(__attribute__((__stdcall__)) *RPC_AUTH_KEY_RETRIEVAL_FN)(void*,unsigned short*,unsigned long,void**,RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterAuthInfoA(unsigned char*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterAuthInfoW(unsigned short*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*); RPC_STATUS __attribute__((__stdcall__)) UuidToStringA(UUID*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) UuidFromStringA(unsigned char*,UUID*); RPC_STATUS __attribute__((__stdcall__)) UuidToStringW(UUID*,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) UuidFromStringW(unsigned short*,UUID*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterNoReplaceA(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterNoReplaceW(RPC_IF_HANDLE,RPC_BINDING_VECTOR*, UUID_VECTOR*,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterA(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcEpRegisterW(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) DceErrorInqTextA(RPC_STATUS,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) DceErrorInqTextW(RPC_STATUS,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqNextW(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned short**); # 329 "C:/MINGW/include/rpcdce.h" 3 RPC_STATUS __attribute__((__stdcall__)) RpcBindingCopy(RPC_BINDING_HANDLE,RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingFree(RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcBindingInqObject(RPC_BINDING_HANDLE,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingReset(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcBindingSetObject(RPC_BINDING_HANDLE,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqDefaultProtectLevel(unsigned long,unsigned long *); RPC_STATUS __attribute__((__stdcall__)) RpcBindingVectorFree(RPC_BINDING_VECTOR **); RPC_STATUS __attribute__((__stdcall__)) RpcIfInqId(RPC_IF_HANDLE,RPC_IF_ID *); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqComTimeout(RPC_BINDING_HANDLE,unsigned int*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetComTimeout(RPC_BINDING_HANDLE,unsigned int); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetCancelTimeout(long Timeout); RPC_STATUS __attribute__((__stdcall__)) RpcObjectInqType(UUID *,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcObjectSetInqFn(RPC_OBJECT_INQ_FN *); RPC_STATUS __attribute__((__stdcall__)) RpcObjectSetType(UUID *,UUID *); RPC_STATUS __attribute__((__stdcall__)) RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA **); RPC_STATUS __attribute__((__stdcall__)) RpcServerInqIf(RPC_IF_HANDLE,UUID*,void**); RPC_STATUS __attribute__((__stdcall__)) RpcServerListen(unsigned int,unsigned int,unsigned int); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterIf(RPC_IF_HANDLE,UUID*,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerRegisterIfEx(RPC_IF_HANDLE,UUID*,void*,unsigned int,unsigned int,RPC_IF_CALLBACK_FN*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUnregisterIf(RPC_IF_HANDLE,UUID*,unsigned int); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqs(unsigned int,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqsEx(unsigned int,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqsIf(unsigned int,RPC_IF_HANDLE,void*); RPC_STATUS __attribute__((__stdcall__)) RpcServerUseAllProtseqsIfEx(unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtStatsVectorFree(RPC_STATS_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqStats(RPC_BINDING_HANDLE,RPC_STATS_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtIsServerListening(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtStopServerListening(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtWaitServerListen(void); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetServerStackSize(unsigned long); void __attribute__((__stdcall__)) RpcSsDontSerializeContext(void); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEnableIdleCleanup(void); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqIfIds(RPC_BINDING_HANDLE,RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcIfIdVectorFree(RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcEpResolveBinding(RPC_BINDING_HANDLE,RPC_IF_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcBindingServerFromClient(RPC_BINDING_HANDLE,RPC_BINDING_HANDLE*); __attribute__((noreturn)) void __attribute__((__stdcall__)) RpcRaiseException(RPC_STATUS); RPC_STATUS __attribute__((__stdcall__)) RpcTestCancel(void); RPC_STATUS __attribute__((__stdcall__)) RpcCancelThread(void*); RPC_STATUS __attribute__((__stdcall__)) UuidCreate(UUID*); signed int __attribute__((__stdcall__)) UuidCompare(UUID*,UUID*, RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) UuidCreateNil(UUID*); int __attribute__((__stdcall__)) UuidEqual(UUID*,UUID*, RPC_STATUS*); unsigned short __attribute__((__stdcall__)) UuidHash(UUID*,RPC_STATUS*); int __attribute__((__stdcall__)) UuidIsNil(UUID*,RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcEpUnregister(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE,unsigned long,RPC_IF_ID*,unsigned long,UUID*,RPC_EP_INQ_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtEpUnregister(RPC_BINDING_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE,UUID*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtInqParameter(unsigned int,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtSetParameter(unsigned int,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtBindingInqParameter(RPC_BINDING_HANDLE,unsigned int,unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcMgmtBindingSetParameter(RPC_BINDING_HANDLE,unsigned int,unsigned long); # 1 "C:/MINGW/include/rpcdcep.h" 1 3 # 5 "C:/MINGW/include/rpcdcep.h" 3 extern "C" { # 22 "C:/MINGW/include/rpcdcep.h" 3 typedef struct _RPC_VERSION { unsigned short MajorVersion; unsigned short 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 long __attribute__((__stdcall__)) RPC_FORWARD_FUNCTION(GUID*,RPC_VERSION*,GUID*,unsigned char*,void**); typedef void(__attribute__((__stdcall__)) *RPC_DISPATCH_FUNCTION) ( PRPC_MESSAGE Message); typedef struct { unsigned int DispatchTableCount; RPC_DISPATCH_FUNCTION *DispatchTable; int Reserved; } RPC_DISPATCH_TABLE,*PRPC_DISPATCH_TABLE; typedef struct _RPC_PROTSEQ_ENDPOINT { unsigned char *RpcProtocolSequence; unsigned char *Endpoint; } RPC_PROTSEQ_ENDPOINT,*PRPC_PROTSEQ_ENDPOINT; typedef struct _RPC_SERVER_INTERFACE { unsigned int Length; RPC_SYNTAX_IDENTIFIER InterfaceId; RPC_SYNTAX_IDENTIFIER TransferSyntax; PRPC_DISPATCH_TABLE DispatchTable; unsigned int RpcProtseqEndpointCount; PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; void *DefaultManagerEpv; void const *InterpreterInfo; } RPC_SERVER_INTERFACE,*PRPC_SERVER_INTERFACE; typedef struct _RPC_CLIENT_INTERFACE { unsigned int Length; RPC_SYNTAX_IDENTIFIER InterfaceId; RPC_SYNTAX_IDENTIFIER TransferSyntax; PRPC_DISPATCH_TABLE DispatchTable; unsigned int RpcProtseqEndpointCount; PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint; unsigned long Reserved; void const *InterpreterInfo; } RPC_CLIENT_INTERFACE,*PRPC_CLIENT_INTERFACE; typedef void *I_RPC_MUTEX; typedef struct _RPC_TRANSFER_SYNTAX { GUID Uuid; unsigned short VersMajor; unsigned short VersMinor; } RPC_TRANSFER_SYNTAX; typedef long(__attribute__((__stdcall__)) *RPC_BLOCKING_FUNCTION)(void*,void*); long __attribute__((__stdcall__)) I_RpcGetBuffer(RPC_MESSAGE*); long __attribute__((__stdcall__)) I_RpcSendReceive(RPC_MESSAGE*); long __attribute__((__stdcall__)) I_RpcFreeBuffer(RPC_MESSAGE*); void __attribute__((__stdcall__)) I_RpcRequestMutex(I_RPC_MUTEX*); void __attribute__((__stdcall__)) I_RpcClearMutex(I_RPC_MUTEX); void __attribute__((__stdcall__)) I_RpcDeleteMutex(I_RPC_MUTEX); __attribute__((__stdcall__)) void * I_RpcAllocate(unsigned int); void __attribute__((__stdcall__)) I_RpcFree(void*); void __attribute__((__stdcall__)) I_RpcPauseExecution(unsigned long); typedef void(__attribute__((__stdcall__)) *PRPC_RUNDOWN) (void*); long __attribute__((__stdcall__)) I_RpcMonitorAssociation(HANDLE,PRPC_RUNDOWN,void*); long __attribute__((__stdcall__)) I_RpcStopMonitorAssociation(HANDLE); HANDLE __attribute__((__stdcall__)) I_RpcGetCurrentCallHandle(void); long __attribute__((__stdcall__)) I_RpcGetAssociationContext(void**); long __attribute__((__stdcall__)) I_RpcSetAssociationContext(void*); long __attribute__((__stdcall__)) I_RpcNsBindingSetEntryName(HANDLE,unsigned long,unsigned short*); long __attribute__((__stdcall__)) I_RpcBindingInqDynamicEndpoint(HANDLE, unsigned short**); long __attribute__((__stdcall__)) I_RpcBindingInqTransportType(HANDLE,unsigned int*); long __attribute__((__stdcall__)) I_RpcIfInqTransferSyntaxes(HANDLE,RPC_TRANSFER_SYNTAX*,unsigned int,unsigned int*); long __attribute__((__stdcall__)) I_UuidCreate(GUID*); long __attribute__((__stdcall__)) I_RpcBindingCopy(HANDLE,HANDLE*); long __attribute__((__stdcall__)) I_RpcBindingIsClientLocal(HANDLE,unsigned int*); void __attribute__((__stdcall__)) I_RpcSsDontSerializeContext(void); long __attribute__((__stdcall__)) I_RpcServerRegisterForwardFunction(RPC_FORWARD_FUNCTION*); long __attribute__((__stdcall__)) I_RpcConnectionInqSockBuffSize(unsigned long*,unsigned long*); long __attribute__((__stdcall__)) I_RpcConnectionSetSockBuffSize(unsigned long,unsigned long); long __attribute__((__stdcall__)) I_RpcBindingSetAsync(HANDLE,RPC_BLOCKING_FUNCTION); long __attribute__((__stdcall__)) I_RpcAsyncSendReceive(RPC_MESSAGE*,void*); long __attribute__((__stdcall__)) I_RpcGetThreadWindowHandle(void**); long __attribute__((__stdcall__)) I_RpcServerThreadPauseListening(void); long __attribute__((__stdcall__)) I_RpcServerThreadContinueListening(void); long __attribute__((__stdcall__)) I_RpcServerUnregisterEndpointA(unsigned char*,unsigned char*); long __attribute__((__stdcall__)) I_RpcServerUnregisterEndpointW(unsigned short*,unsigned short*); } # 384 "C:/MINGW/include/rpcdce.h" 2 3 } # 34 "C:/MINGW/include/rpc.h" 2 3 # 1 "C:/MINGW/include/rpcnsi.h" 1 3 # 5 "C:/MINGW/include/rpcnsi.h" 3 extern "C" { typedef void *RPC_NS_HANDLE; # 20 "C:/MINGW/include/rpcnsi.h" 3 RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingExportA(unsigned long,unsigned char*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingUnexportA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupNext(RPC_NS_HANDLE,RPC_BINDING_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupDeleteA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrAddA(unsigned long,unsigned char*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrRemoveA(unsigned long,unsigned char*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqNextA(RPC_NS_HANDLE,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileDeleteA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltAddA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltRemoveA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned char*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqNextA(RPC_NS_HANDLE,RPC_IF_ID*,unsigned char**,unsigned long*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqNext( RPC_NS_HANDLE, UUID*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqDone( RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryExpandNameA(unsigned long,unsigned char*,unsigned char**); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtBindingUnexportA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryCreateA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryDeleteA(unsigned long,unsigned char*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryInqIfIdsA(unsigned long,unsigned char*,RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE,unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtInqExpAge(unsigned long*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtSetExpAge(unsigned long); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportNext(RPC_NS_HANDLE,RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportDone(RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingSelect(RPC_BINDING_VECTOR*,RPC_BINDING_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqBeginA(unsigned long,unsigned char*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingExportW(unsigned long,unsigned short*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingUnexportW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingLookupBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupDeleteW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrAddW(unsigned long,unsigned short*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrRemoveW(unsigned long,unsigned short*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqBeginW(unsigned long,unsigned short*,unsigned long,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsGroupMbrInqNextW(RPC_NS_HANDLE,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileDeleteW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltAddW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltRemoveW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqBeginW(unsigned long,unsigned short*, unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned short*, RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsProfileEltInqNextW(RPC_NS_HANDLE,RPC_IF_ID*, unsigned short**,unsigned long*,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryObjectInqBeginW(unsigned long,unsigned short*,RPC_NS_HANDLE*); RPC_STATUS __attribute__((__stdcall__)) RpcNsEntryExpandNameW(unsigned long,unsigned short*,unsigned short**); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtBindingUnexportW(unsigned long,unsigned short*,RPC_IF_ID*,unsigned long,UUID_VECTOR*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryCreateW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryDeleteW(unsigned long,unsigned short*); RPC_STATUS __attribute__((__stdcall__)) RpcNsMgmtEntryInqIfIdsW(unsigned long,unsigned short , RPC_IF_ID_VECTOR**); RPC_STATUS __attribute__((__stdcall__)) RpcNsBindingImportBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*); # 120 "C:/MINGW/include/rpcnsi.h" 3 } # 35 "C:/MINGW/include/rpc.h" 2 3 # 1 "C:/MINGW/include/rpcnterr.h" 1 3 # 5 "C:/MINGW/include/rpcnterr.h" 3 # 36 "C:/MINGW/include/rpc.h" 2 3 # 52 "C:/MINGW/include/rpc.h" 3 RPC_STATUS __attribute__((__stdcall__)) RpcImpersonateClient(RPC_BINDING_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcRevertToSelf(void); long __attribute__((__stdcall__)) I_RpcMapWin32Status(RPC_STATUS); } # 84 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/shellapi.h" 1 3 # 5 "C:/MINGW/include/shellapi.h" 3 extern "C" { # 93 "C:/MINGW/include/shellapi.h" 3 typedef WORD FILEOP_FLAGS; typedef WORD PRINTEROP_FLAGS; typedef struct _AppBarData { DWORD cbSize; HWND hWnd; UINT uCallbackMessage; UINT uEdge; RECT rc; LPARAM lParam; } APPBARDATA,*PAPPBARDATA; typedef struct HDROP__{int i;}*HDROP; typedef struct _NOTIFYICONDATAA { DWORD cbSize; HWND hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; HICON hIcon; CHAR szTip[64]; } NOTIFYICONDATAA,*PNOTIFYICONDATAA; typedef struct _NOTIFYICONDATAW { DWORD cbSize; HWND hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; HICON hIcon; WCHAR szTip[64]; } NOTIFYICONDATAW,*PNOTIFYICONDATAW; typedef struct _SHELLEXECUTEINFOA { DWORD cbSize; ULONG fMask; HWND hwnd; LPCSTR lpVerb; LPCSTR lpFile; LPCSTR lpParameters; LPCSTR lpDirectory; int nShow; HINSTANCE hInstApp; PVOID lpIDList; LPCSTR lpClass; HKEY hkeyClass; DWORD dwHotKey; HANDLE hIcon; HANDLE hProcess; } SHELLEXECUTEINFOA,*LPSHELLEXECUTEINFOA; typedef struct _SHELLEXECUTEINFOW { DWORD cbSize; ULONG fMask; HWND hwnd; LPCWSTR lpVerb; LPCWSTR lpFile; LPCWSTR lpParameters; LPCWSTR lpDirectory; int nShow; HINSTANCE hInstApp; PVOID lpIDList; LPCWSTR lpClass; HKEY hkeyClass; DWORD dwHotKey; HANDLE hIcon; HANDLE hProcess; } SHELLEXECUTEINFOW,*LPSHELLEXECUTEINFOW; typedef struct _SHFILEOPSTRUCTA { HWND hwnd; UINT wFunc; LPCSTR pFrom; LPCSTR pTo; FILEOP_FLAGS fFlags; BOOL fAnyOperationsAborted; PVOID hNameMappings; LPCSTR lpszProgressTitle; } SHFILEOPSTRUCTA,*LPSHFILEOPSTRUCTA; typedef struct _SHFILEOPSTRUCTW { HWND hwnd; UINT wFunc; LPCWSTR pFrom; LPCWSTR pTo; FILEOP_FLAGS fFlags; BOOL fAnyOperationsAborted; PVOID hNameMappings; LPCWSTR lpszProgressTitle; } SHFILEOPSTRUCTW,*LPSHFILEOPSTRUCTW; typedef struct _SHFILEINFOA { HICON hIcon; int iIcon; DWORD dwAttributes; CHAR szDisplayName[260]; CHAR szTypeName[80]; } SHFILEINFOA; typedef struct _SHFILEINFOW { HICON hIcon; int iIcon; DWORD dwAttributes; WCHAR szDisplayName[260]; WCHAR szTypeName[80]; } SHFILEINFOW; LPWSTR * __attribute__((__stdcall__)) CommandLineToArgvW(LPCWSTR,int*); void __attribute__((__stdcall__)) DragAcceptFiles(HWND,BOOL); void __attribute__((__stdcall__)) DragFinish(HDROP); UINT __attribute__((__stdcall__)) DragQueryFileA(HDROP,UINT,LPSTR,UINT); UINT __attribute__((__stdcall__)) DragQueryFileW(HDROP,UINT,LPWSTR,UINT); BOOL __attribute__((__stdcall__)) DragQueryPoint(HDROP,LPPOINT); HICON __attribute__((__stdcall__)) ExtractAssociatedIconA(HINSTANCE,LPCSTR,PWORD); HICON __attribute__((__stdcall__)) ExtractAssociatedIconW(HINSTANCE,LPCWSTR,PWORD); HICON __attribute__((__stdcall__)) ExtractIconA(HINSTANCE,LPCSTR,UINT); HICON __attribute__((__stdcall__)) ExtractIconW(HINSTANCE,LPCWSTR,UINT); HICON __attribute__((__stdcall__)) ExtractIconExA(LPCSTR,int,HICON*,HICON*,UINT); HICON __attribute__((__stdcall__)) ExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT); HINSTANCE __attribute__((__stdcall__)) FindExecutableA(LPCSTR,LPCSTR,LPSTR); HINSTANCE __attribute__((__stdcall__)) FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR); UINT __attribute__((__stdcall__)) SHAppBarMessage(DWORD,PAPPBARDATA); BOOL __attribute__((__stdcall__)) Shell_NotifyIconA(DWORD,PNOTIFYICONDATAA); BOOL __attribute__((__stdcall__)) Shell_NotifyIconW(DWORD,PNOTIFYICONDATAW); int __attribute__((__stdcall__)) ShellAboutA(HWND,LPCSTR,LPCSTR,HICON); int __attribute__((__stdcall__)) ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON); HINSTANCE __attribute__((__stdcall__)) ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT); HINSTANCE __attribute__((__stdcall__)) ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT); BOOL __attribute__((__stdcall__)) ShellExecuteExA(LPSHELLEXECUTEINFOA); BOOL __attribute__((__stdcall__)) ShellExecuteExW(LPSHELLEXECUTEINFOW); int __attribute__((__stdcall__)) SHFileOperationA(LPSHFILEOPSTRUCTA); int __attribute__((__stdcall__)) SHFileOperationW(LPSHFILEOPSTRUCTW); void __attribute__((__stdcall__)) SHFreeNameMappings(HANDLE); DWORD __attribute__((__stdcall__)) SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT); DWORD __attribute__((__stdcall__)) SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT); # 237 "C:/MINGW/include/shellapi.h" 3 typedef NOTIFYICONDATAA NOTIFYICONDATA,*PNOTIFYICONDATA; typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO; typedef SHFILEOPSTRUCTA SHFILEOPSTRUCT,*LPSHFILEOPSTRUCT; typedef SHFILEINFOA SHFILEINFO; # 254 "C:/MINGW/include/shellapi.h" 3 } # 85 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winperf.h" 1 3 # 5 "C:/MINGW/include/winperf.h" 3 extern "C" { # 78 "C:/MINGW/include/winperf.h" 3 typedef struct _PERF_DATA_BLOCK { WCHAR Signature[4]; DWORD LittleEndian; DWORD Version; DWORD Revision; DWORD TotalByteLength; DWORD HeaderLength; DWORD NumObjectTypes; LONG DefaultObject; SYSTEMTIME SystemTime; LARGE_INTEGER PerfTime; LARGE_INTEGER PerfFreq; LARGE_INTEGER PerfTime100nSec; DWORD SystemNameLength; DWORD SystemNameOffset; } PERF_DATA_BLOCK, *PPERF_DATA_BLOCK; typedef struct _PERF_OBJECT_TYPE { DWORD TotalByteLength; DWORD DefinitionLength; DWORD HeaderLength; DWORD ObjectNameTitleIndex; LPWSTR ObjectNameTitle; DWORD ObjectHelpTitleIndex; LPWSTR ObjectHelpTitle; DWORD DetailLevel; DWORD NumCounters; LONG DefaultCounter; LONG NumInstances; DWORD CodePage; LARGE_INTEGER PerfTime; LARGE_INTEGER PerfFreq; } PERF_OBJECT_TYPE, *PPERF_OBJECT_TYPE; typedef struct _PERF_COUNTER_DEFINITION { DWORD ByteLength; DWORD CounterNameTitleIndex; LPWSTR CounterNameTitle; DWORD CounterHelpTitleIndex; LPWSTR CounterHelpTitle; LONG DefaultScale; DWORD DetailLevel; DWORD CounterType; DWORD CounterSize; DWORD CounterOffset; } PERF_COUNTER_DEFINITION,*PPERF_COUNTER_DEFINITION; typedef struct _PERF_INSTANCE_DEFINITION { DWORD ByteLength; DWORD ParentObjectTitleIndex; DWORD ParentObjectInstance; LONG UniqueID; DWORD NameOffset; DWORD NameLength; } PERF_INSTANCE_DEFINITION,*PPERF_INSTANCE_DEFINITION; typedef struct _PERF_COUNTER_BLOCK { DWORD ByteLength; } PERF_COUNTER_BLOCK, *PPERF_COUNTER_BLOCK; typedef DWORD(__attribute__((__stdcall__)) PM_OPEN_PROC)(LPWSTR); typedef DWORD(__attribute__((__stdcall__)) PM_COLLECT_PROC)(LPWSTR,PVOID*,PDWORD,PDWORD); typedef DWORD(__attribute__((__stdcall__)) PM_CLOSE_PROC)(void); } # 86 "C:/MINGW/include/windows.h" 2 3 # 1 "C:/MINGW/include/winspool.h" 1 3 # 5 "C:/MINGW/include/winspool.h" 3 extern "C" { # 221 "C:/MINGW/include/winspool.h" 3 typedef struct _ADDJOB_INFO_1A { LPSTR Path; DWORD JobId; } ADDJOB_INFO_1A,*PADDJOB_INFO_1A,*LPADDJOB_INFO_1A; typedef struct _ADDJOB_INFO_1W { LPWSTR Path; DWORD JobId; } ADDJOB_INFO_1W,*PADDJOB_INFO_1W,*LPADDJOB_INFO_1W; typedef struct _DATATYPES_INFO_1A{LPSTR pName;} DATATYPES_INFO_1A,*PDATATYPES_INFO_1A,*LPDATATYPES_INFO_1A; typedef struct _DATATYPES_INFO_1W{LPWSTR pName;} DATATYPES_INFO_1W,*PDATATYPES_INFO_1W,*LPDATATYPES_INFO_1W; typedef struct _JOB_INFO_1A { DWORD JobId; LPSTR pPrinterName; LPSTR pMachineName; LPSTR pUserName; LPSTR pDocument; LPSTR pDatatype; LPSTR pStatus; DWORD Status; DWORD Priority; DWORD Position; DWORD TotalPages; DWORD PagesPrinted; SYSTEMTIME Submitted; } JOB_INFO_1A,*PJOB_INFO_1A,*LPJOB_INFO_1A; typedef struct _JOB_INFO_1W { DWORD JobId; LPWSTR pPrinterName; LPWSTR pMachineName; LPWSTR pUserName; LPWSTR pDocument; LPWSTR pDatatype; LPWSTR pStatus; DWORD Status; DWORD Priority; DWORD Position; DWORD TotalPages; DWORD PagesPrinted; SYSTEMTIME Submitted; } JOB_INFO_1W,*PJOB_INFO_1W,*LPJOB_INFO_1W; typedef struct _JOB_INFO_2A { DWORD JobId; LPSTR pPrinterName; LPSTR pMachineName; LPSTR pUserName; LPSTR pDocument; LPSTR pNotifyName; LPSTR pDatatype; LPSTR pPrintProcessor; LPSTR pParameters; LPSTR pDriverName; LPDEVMODEA pDevMode; LPSTR 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_2A,*PJOB_INFO_2A,*LPJOB_INFO_2A; typedef struct _JOB_INFO_2W { DWORD JobId; LPWSTR pPrinterName; LPWSTR pMachineName; LPWSTR pUserName; LPWSTR pDocument; LPWSTR pNotifyName; LPWSTR pDatatype; LPWSTR pPrintProcessor; LPWSTR pParameters; LPWSTR pDriverName; LPDEVMODEW pDevMode; LPWSTR 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_2W,*PJOB_INFO_2W,*LPJOB_INFO_2W; typedef struct _DOC_INFO_1A { LPSTR pDocName; LPSTR pOutputFile; LPSTR pDatatype; } DOC_INFO_1A,*PDOC_INFO_1A,*LPDOC_INFO_1A; typedef struct _DOC_INFO_1W { LPWSTR pDocName; LPWSTR pOutputFile; LPWSTR pDatatype; } DOC_INFO_1W,*PDOC_INFO_1W,*LPDOC_INFO_1W; typedef struct _DOC_INFO_2A { LPSTR pDocName; LPSTR pOutputFile; LPSTR pDatatype; DWORD dwMode; DWORD JobId; } DOC_INFO_2A,*PDOC_INFO_2A,*LPDOC_INFO_2A; typedef struct _DOC_INFO_2W { LPWSTR pDocName; LPWSTR pOutputFile; LPWSTR pDatatype; DWORD dwMode; DWORD JobId; } DOC_INFO_2W,*PDOC_INFO_2W,*LPDOC_INFO_2W; typedef struct _DRIVER_INFO_1A {LPSTR pName;} DRIVER_INFO_1A,*PDRIVER_INFO_1A,*LPDRIVER_INFO_1A; typedef struct _DRIVER_INFO_1W {LPWSTR pName;} DRIVER_INFO_1W,*PDRIVER_INFO_1W,*LPDRIVER_INFO_1W; typedef struct _DRIVER_INFO_2A { DWORD cVersion; LPSTR pName; LPSTR pEnvironment; LPSTR pDriverPath; LPSTR pDataFile; LPSTR pConfigFile; } DRIVER_INFO_2A,*PDRIVER_INFO_2A,*LPDRIVER_INFO_2A; typedef struct _DRIVER_INFO_2W { DWORD cVersion; LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDriverPath; LPWSTR pDataFile; LPWSTR pConfigFile; } DRIVER_INFO_2W,*PDRIVER_INFO_2W,*LPDRIVER_INFO_2W; typedef struct _DRIVER_INFO_3A { DWORD cVersion; LPSTR pName; LPSTR pEnvironment; LPSTR pDriverPath; LPSTR pDataFile; LPSTR pConfigFile; LPSTR pHelpFile; LPSTR pDependentFiles; LPSTR pMonitorName; LPSTR pDefaultDataType; } DRIVER_INFO_3A,*PDRIVER_INFO_3A,*LPDRIVER_INFO_3A; typedef struct _DRIVER_INFO_3W { DWORD cVersion; LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDriverPath; LPWSTR pDataFile; LPWSTR pConfigFile; LPWSTR pHelpFile; LPWSTR pDependentFiles; LPWSTR pMonitorName; LPWSTR pDefaultDataType; } DRIVER_INFO_3W,*PDRIVER_INFO_3W,*LPDRIVER_INFO_3W; typedef struct _MONITOR_INFO_1A{LPSTR pName;} MONITOR_INFO_1A,*PMONITOR_INFO_1A,*LPMONITOR_INFO_1A; typedef struct _MONITOR_INFO_1W{LPWSTR pName;} MONITOR_INFO_1W,*PMONITOR_INFO_1W,*LPMONITOR_INFO_1W; typedef struct _PORT_INFO_1A {LPSTR pName;} PORT_INFO_1A,*PPORT_INFO_1A,*LPPORT_INFO_1A; typedef struct _PORT_INFO_1W {LPWSTR pName;} PORT_INFO_1W,*PPORT_INFO_1W,*LPPORT_INFO_1W; typedef struct _MONITOR_INFO_2A{ LPSTR pName; LPSTR pEnvironment; LPSTR pDLLName; } MONITOR_INFO_2A,*PMONITOR_INFO_2A,*LPMONITOR_INFO_2A; typedef struct _MONITOR_INFO_2W{ LPWSTR pName; LPWSTR pEnvironment; LPWSTR pDLLName; } MONITOR_INFO_2W,*PMONITOR_INFO_2W,*LPMONITOR_INFO_2W; typedef struct _PORT_INFO_2A { LPSTR pPortName; LPSTR pMonitorName; LPSTR pDescription; DWORD fPortType; DWORD Reserved; } PORT_INFO_2A,*PPORT_INFO_2A,*LPPORT_INFO_2A; typedef struct _PORT_INFO_2W { LPWSTR pPortName; LPWSTR pMonitorName; LPWSTR pDescription; DWORD fPortType; DWORD Reserved; } PORT_INFO_2W,*PPORT_INFO_2W,*LPPORT_INFO_2W; typedef struct _PORT_INFO_3A { DWORD dwStatus; LPSTR pszStatus; DWORD dwSeverity; } PORT_INFO_3A,*PPORT_INFO_3A,*LPPORT_INFO_3A; typedef struct _PORT_INFO_3W { DWORD dwStatus; LPWSTR pszStatus; DWORD dwSeverity; } PORT_INFO_3W,*PPORT_INFO_3W,*LPPORT_INFO_3W; typedef struct _PRINTER_INFO_1A { DWORD Flags; LPSTR pDescription; LPSTR pName; LPSTR pComment; } PRINTER_INFO_1A,*PPRINTER_INFO_1A,*LPPRINTER_INFO_1A; typedef struct _PRINTER_INFO_1W { DWORD Flags; LPWSTR pDescription; LPWSTR pName; LPWSTR pComment; } PRINTER_INFO_1W,*PPRINTER_INFO_1W,*LPPRINTER_INFO_1W; typedef struct _PRINTER_INFO_2A { LPSTR pServerName; LPSTR pPrinterName; LPSTR pShareName; LPSTR pPortName; LPSTR pDriverName; LPSTR pComment; LPSTR pLocation; LPDEVMODEA pDevMode; LPSTR pSepFile; LPSTR pPrintProcessor; LPSTR pDatatype; LPSTR pParameters; PSECURITY_DESCRIPTOR pSecurityDescriptor; DWORD Attributes; DWORD Priority; DWORD DefaultPriority; DWORD StartTime; DWORD UntilTime; DWORD Status; DWORD cJobs; DWORD AveragePPM; } PRINTER_INFO_2A,*PPRINTER_INFO_2A,*LPPRINTER_INFO_2A; typedef struct _PRINTER_INFO_2W { LPWSTR pServerName; LPWSTR pPrinterName; LPWSTR pShareName; LPWSTR pPortName; LPWSTR pDriverName; LPWSTR pComment; LPWSTR pLocation; LPDEVMODEW pDevMode; LPWSTR pSepFile; LPWSTR pPrintProcessor; LPWSTR pDatatype; LPWSTR pParameters; PSECURITY_DESCRIPTOR pSecurityDescriptor; DWORD Attributes; DWORD Priority; DWORD DefaultPriority; DWORD StartTime; DWORD UntilTime; DWORD Status; DWORD cJobs; DWORD AveragePPM; } PRINTER_INFO_2W,*PPRINTER_INFO_2W,*LPPRINTER_INFO_2W; typedef struct _PRINTER_INFO_3 { PSECURITY_DESCRIPTOR pSecurityDescriptor; } PRINTER_INFO_3,*PPRINTER_INFO_3,*LPPRINTER_INFO_3; typedef struct _PRINTER_INFO_4A { LPSTR pPrinterName; LPSTR pServerName; DWORD Attributes; } PRINTER_INFO_4A,*PPRINTER_INFO_4A,*LPPRINTER_INFO_4A; typedef struct _PRINTER_INFO_4W { LPWSTR pPrinterName; LPWSTR pServerName; DWORD Attributes; } PRINTER_INFO_4W,*PPRINTER_INFO_4W,*LPPRINTER_INFO_4W; typedef struct _PRINTER_INFO_5A { LPSTR pPrinterName; LPSTR pPortName; DWORD Attributes; DWORD DeviceNotSelectedTimeout; DWORD TransmissionRetryTimeout; } PRINTER_INFO_5A,*PPRINTER_INFO_5A,*LPPRINTER_INFO_5A; typedef struct _PRINTER_INFO_5W { LPWSTR pPrinterName; LPWSTR pPortName; DWORD Attributes; DWORD DeviceNotSelectedTimeout; DWORD TransmissionRetryTimeout; } PRINTER_INFO_5W,*PPRINTER_INFO_5W,*LPPRINTER_INFO_5W; typedef struct _PRINTPROCESSOR_INFO_1A {LPSTR pName;} PRINTPROCESSOR_INFO_1A,*PPRINTPROCESSOR_INFO_1A,*LPPRINTPROCESSOR_INFO_1A; typedef struct _PRINTPROCESSOR_INFO_1W {LPWSTR pName;} PRINTPROCESSOR_INFO_1W,*PPRINTPROCESSOR_INFO_1W,*LPPRINTPROCESSOR_INFO_1W; typedef struct _PRINTER_NOTIFY_INFO_DATA { WORD Type; WORD Field; DWORD Reserved; DWORD Id; union { DWORD adwData[2]; struct { DWORD cbBuf; PVOID pBuf; } Data; } NotifyData; } PRINTER_NOTIFY_INFO_DATA,*PPRINTER_NOTIFY_INFO_DATA,*LPPRINTER_NOTIFY_INFO_DATA; typedef struct _PRINTER_NOTIFY_INFO { DWORD Version; DWORD Flags; DWORD Count; PRINTER_NOTIFY_INFO_DATA aData[1]; } PRINTER_NOTIFY_INFO,*PPRINTER_NOTIFY_INFO,*LPPRINTER_NOTIFY_INFO; typedef struct _FORM_INFO_1A { DWORD Flags; LPSTR pName; SIZEL Size; RECTL ImageableArea; } FORM_INFO_1A,*PFORM_INFO_1A,*LPFORM_INFO_1A; typedef struct _FORM_INFO_1W { DWORD Flags; LPWSTR pName; SIZEL Size; RECTL ImageableArea; } FORM_INFO_1W,*PFORM_INFO_1W,*LPFORM_INFO_1W; typedef struct _PRINTER_DEFAULTSA { LPSTR pDatatype; LPDEVMODE pDevMode; ACCESS_MASK DesiredAccess; } PRINTER_DEFAULTSA,*PPRINTER_DEFAULTSA,*LPPRINTER_DEFAULTSA; typedef struct _PRINTER_DEFAULTSW { LPWSTR pDatatype; LPDEVMODE pDevMode; ACCESS_MASK DesiredAccess; } PRINTER_DEFAULTSW,*PPRINTER_DEFAULTSW,*LPPRINTER_DEFAULTSW; BOOL __attribute__((__stdcall__)) AbortPrinter(HANDLE); BOOL __attribute__((__stdcall__)) AddFormA(HANDLE,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddFormW(HANDLE,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddJobA(HANDLE,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) AddJobW(HANDLE,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) AddMonitorA(LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddMonitorW(LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPortA(LPSTR,HWND,LPSTR); BOOL __attribute__((__stdcall__)) AddPortW(LPWSTR,HWND,LPWSTR); HANDLE __attribute__((__stdcall__)) AddPrinterA(LPSTR,DWORD,PBYTE); HANDLE __attribute__((__stdcall__)) AddPrinterW(LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrinterConnectionA(LPSTR); BOOL __attribute__((__stdcall__)) AddPrinterConnectionW(LPWSTR); BOOL __attribute__((__stdcall__)) AddPrinterDriverA(LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrinterDriverW(LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrintProcessorA(LPSTR,LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) AddPrintProcessorW(LPWSTR,LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) AddPrintProvidorA(LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) AddPrintProvidorW(LPWSTR,DWORD,PBYTE); LONG __attribute__((__stdcall__)) AdvancedDocumentPropertiesA(HWND,HANDLE,LPSTR,PDEVMODE,PDEVMODEA); LONG __attribute__((__stdcall__)) AdvancedDocumentPropertiesW(HWND,HANDLE,LPWSTR,PDEVMODE,PDEVMODEW); BOOL __attribute__((__stdcall__)) ClosePrinter(HANDLE); BOOL __attribute__((__stdcall__)) ConfigurePortA(LPSTR,HWND,LPSTR); BOOL __attribute__((__stdcall__)) ConfigurePortW(LPWSTR,HWND,LPWSTR); HANDLE __attribute__((__stdcall__)) ConnectToPrinterDlg(HWND,DWORD); BOOL __attribute__((__stdcall__)) DeleteFormA(HANDLE,LPSTR); BOOL __attribute__((__stdcall__)) DeleteFormW(HANDLE,LPWSTR); BOOL __attribute__((__stdcall__)) DeleteMonitorA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeleteMonitorW(LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePortA(LPSTR,HWND,LPSTR); BOOL __attribute__((__stdcall__)) DeletePortW(LPWSTR,HWND,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrinter(HANDLE); BOOL __attribute__((__stdcall__)) DeletePrinterConnectionA(LPSTR); BOOL __attribute__((__stdcall__)) DeletePrinterConnectionW(LPWSTR); DWORD __attribute__((__stdcall__)) DeletePrinterDataA(HANDLE,LPSTR); DWORD __attribute__((__stdcall__)) DeletePrinterDataW(HANDLE,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrinterDriverA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeletePrinterDriverW(LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrintProcessorA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeletePrintProcessorW(LPWSTR,LPWSTR,LPWSTR); BOOL __attribute__((__stdcall__)) DeletePrintProvidorA(LPSTR,LPSTR,LPSTR); BOOL __attribute__((__stdcall__)) DeletePrintProvidorW(LPWSTR,LPWSTR,LPWSTR); LONG __attribute__((__stdcall__)) DocumentPropertiesA(HWND,HANDLE,LPSTR,PDEVMODEA,PDEVMODEA,DWORD); LONG __attribute__((__stdcall__)) DocumentPropertiesW(HWND,HANDLE,LPWSTR,PDEVMODEA,PDEVMODEA,DWORD); BOOL __attribute__((__stdcall__)) EndDocPrinter(HANDLE); BOOL __attribute__((__stdcall__)) EndPagePrinter(HANDLE); BOOL __attribute__((__stdcall__)) EnumFormsA(HANDLE,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumFormsW(HANDLE,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumJobsA(HANDLE,DWORD,DWORD,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumJobsW(HANDLE,DWORD,DWORD,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumMonitorsA(LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumMonitorsW(LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPortsA(LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPortsW(LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); DWORD __attribute__((__stdcall__)) EnumPrinterDataA(HANDLE,DWORD,LPSTR,DWORD,PDWORD,PDWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) EnumPrinterDataW(HANDLE,DWORD,LPWSTR,DWORD,PDWORD,PDWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrinterDriversA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrinterDriversW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintersA(DWORD,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintersW(DWORD,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorDatatypesA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorDatatypesW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorsA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) EnumPrintProcessorsW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD,PDWORD); BOOL __attribute__((__stdcall__)) FindClosePrinterChangeNotification(HANDLE); HANDLE __attribute__((__stdcall__)) FindFirstPrinterChangeNotification(HANDLE,DWORD,DWORD,PVOID); HANDLE __attribute__((__stdcall__)) FindNextPrinterChangeNotification(HANDLE,PDWORD,PVOID,PVOID*); BOOL __attribute__((__stdcall__)) FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO); BOOL __attribute__((__stdcall__)) GetFormA(HANDLE,LPSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetFormW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetJobA(HANDLE,DWORD,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetJobW(HANDLE,DWORD,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetPrinterA(HANDLE,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) GetPrinterW(HANDLE,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDataA(HANDLE,LPSTR,PDWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDataW(HANDLE,LPWSTR,PDWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverA(HANDLE,LPSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverDirectoryA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrinterDriverDirectoryW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrintProcessorDirectoryA(LPSTR,LPSTR,DWORD,PBYTE,DWORD,PDWORD); DWORD __attribute__((__stdcall__)) GetPrintProcessorDirectoryW(LPWSTR,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) OpenPrinterA(LPSTR,PHANDLE,LPPRINTER_DEFAULTSA); BOOL __attribute__((__stdcall__)) OpenPrinterW(LPWSTR,PHANDLE,LPPRINTER_DEFAULTSW); DWORD __attribute__((__stdcall__)) PrinterMessageBoxA(HANDLE,DWORD,HWND,LPSTR,LPSTR,DWORD); DWORD __attribute__((__stdcall__)) PrinterMessageBoxW(HANDLE,DWORD,HWND,LPWSTR,LPWSTR,DWORD); BOOL __attribute__((__stdcall__)) PrinterProperties(HWND,HANDLE); BOOL __attribute__((__stdcall__)) ReadPrinter(HANDLE,PVOID,DWORD,PDWORD); BOOL __attribute__((__stdcall__)) ResetPrinterA(HANDLE,LPPRINTER_DEFAULTSA); BOOL __attribute__((__stdcall__)) ResetPrinterW(HANDLE,LPPRINTER_DEFAULTSW); BOOL __attribute__((__stdcall__)) ScheduleJob(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) SetFormA(HANDLE,LPSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) SetFormW(HANDLE,LPWSTR,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) SetJobA(HANDLE,DWORD,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetJobW(HANDLE,DWORD,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterA(HANDLE,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterW(HANDLE,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterDataA(HANDLE,LPSTR,DWORD,PBYTE,DWORD); BOOL __attribute__((__stdcall__)) SetPrinterDataW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD); DWORD __attribute__((__stdcall__)) StartDocPrinterA(HANDLE,DWORD,PBYTE); DWORD __attribute__((__stdcall__)) StartDocPrinterW(HANDLE,DWORD,PBYTE); BOOL __attribute__((__stdcall__)) StartPagePrinter(HANDLE); DWORD __attribute__((__stdcall__)) WaitForPrinterChange(HANDLE,DWORD); BOOL __attribute__((__stdcall__)) WritePrinter(HANDLE,PVOID,DWORD,PDWORD); # 714 "C:/MINGW/include/winspool.h" 3 typedef JOB_INFO_1A JOB_INFO_1,*PJOB_INFO_1,*LPJOB_INFO_1; typedef JOB_INFO_2A JOB_INFO_2,*PJOB_INFO_2,*LPJOB_INFO_2; typedef ADDJOB_INFO_1A ADDJOB_INFO_1,*PADDJOB_INFO_1,*LPADDJOB_INFO_1; typedef DATATYPES_INFO_1A DATATYPES_INFO_1,*PDATATYPES_INFO_1,*LPDATATYPES_INFO_1; typedef MONITOR_INFO_1A MONITOR_INFO_1,*PMONITOR_INFO_1,*LPMONITOR_INFO_1; typedef MONITOR_INFO_2A MONITOR_INFO_2,*PMONITOR_INFO_2,*LPMONITOR_INFO_2; typedef DOC_INFO_1A DOC_INFO_1,*PDOC_INFO_1,*LPDOC_INFO_1; typedef DOC_INFO_2A DOC_INFO_2,*PDOC_INFO_2,*LPDOC_INFO_2; typedef PORT_INFO_1A PORT_INFO_1,*PPORT_INFO_1,*LPPORT_INFO_1; typedef PORT_INFO_2A PORT_INFO_2,*PPORT_INFO_2,*LPPORT_INFO_2; typedef PORT_INFO_3A PORT_INFO_3,*PPORT_INFO_3,*LPPORT_INFO_3; typedef DRIVER_INFO_2A DRIVER_INFO_2,*PDRIVER_INFO_2,*LPDRIVER_INFO_2; typedef PRINTER_INFO_1A PRINTER_INFO_1,*PPRINTER_INFO_1,*LPPRINTER_INFO_1; typedef PRINTER_INFO_2A PRINTER_INFO_2,*PPRINTER_INFO_2,*LPPRINTER_INFO_2; typedef PRINTER_INFO_4A PRINTER_INFO_4,*PPRINTER_INFO_4,*LPPRINTER_INFO_4; typedef PRINTER_INFO_5A PRINTER_INFO_5,*PPRINTER_INFO_5,*LPPRINTER_INFO_5; typedef PRINTPROCESSOR_INFO_1A PRINTPROCESSOR_INFO_1,*PPRINTPROCESSOR_INFO_1,*LPPRINTPROCESSOR_INFO_1; typedef FORM_INFO_1A FORM_INFO_1,*PFORM_INFO_1,*LPFORM_INFO_1; typedef PRINTER_DEFAULTSA PRINTER_DEFAULTS,*PPRINTER_DEFAULTS,*LPPRINTER_DEFAULTS; # 780 "C:/MINGW/include/winspool.h" 3 } # 87 "C:/MINGW/include/windows.h" 2 3 # 96 "C:/MINGW/include/windows.h" 3 # 1 "C:/MINGW/include/winsock2.h" 1 3 # 18 "C:/MINGW/include/winsock2.h" 3 extern "C" { typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef u_int SOCKET; # 53 "C:/MINGW/include/winsock2.h" 3 typedef struct fd_set { u_int fd_count; SOCKET fd_array[64]; } fd_set; int __attribute__((__stdcall__)) __WSAFDIsSet(SOCKET,fd_set*); # 99 "C:/MINGW/include/winsock2.h" 3 struct timeval { long tv_sec; long tv_usec; }; struct hostent { char *h_name; char **h_aliases; short h_addrtype; short h_length; char **h_addr_list; }; struct linger { u_short l_onoff; u_short l_linger; }; # 144 "C:/MINGW/include/winsock2.h" 3 struct netent { char * n_name; char **n_aliases; short n_addrtype; u_long n_net; }; struct servent { char *s_name; char **s_aliases; short s_port; char *s_proto; }; struct protoent { char *p_name; char **p_aliases; short p_proto; }; # 212 "C:/MINGW/include/winsock2.h" 3 struct in_addr { union { struct { u_char s_b1,s_b2,s_b3,s_b4; } S_un_b; struct { u_short s_w1,s_w2; } S_un_w; u_long S_addr; } S_un; }; # 243 "C:/MINGW/include/winsock2.h" 3 struct sockaddr_in { short sin_family; u_short sin_port; struct in_addr sin_addr; char sin_zero[8]; }; typedef struct WSAData { WORD wVersion; WORD wHighVersion; char szDescription[256 +1]; char szSystemStatus[128 +1]; unsigned short iMaxSockets; unsigned short iMaxUdpDg; char * lpVendorInfo; } WSADATA; typedef WSADATA *LPWSADATA; # 324 "C:/MINGW/include/winsock2.h" 3 struct sockaddr { u_short sa_family; char sa_data[14]; }; struct sockaddr_storage { short ss_family; char __ss_pad1[6]; long long __ss_align; char __ss_pad2[112]; }; struct sockproto { u_short sp_family; u_short sp_protocol; }; # 466 "C:/MINGW/include/winsock2.h" 3 SOCKET __attribute__((__stdcall__)) accept(SOCKET,struct sockaddr*,int*); int __attribute__((__stdcall__)) bind(SOCKET,const struct sockaddr*,int); int __attribute__((__stdcall__)) closesocket(SOCKET); int __attribute__((__stdcall__)) connect(SOCKET,const struct sockaddr*,int); int __attribute__((__stdcall__)) ioctlsocket(SOCKET,long,u_long *); int __attribute__((__stdcall__)) getpeername(SOCKET,struct sockaddr*,int*); int __attribute__((__stdcall__)) getsockname(SOCKET,struct sockaddr*,int*); int __attribute__((__stdcall__)) getsockopt(SOCKET,int,int,char*,int*); unsigned long __attribute__((__stdcall__)) inet_addr(const char*); __attribute__((__stdcall__)) char * inet_ntoa(struct in_addr); int __attribute__((__stdcall__)) listen(SOCKET,int); int __attribute__((__stdcall__)) recv(SOCKET,char*,int,int); int __attribute__((__stdcall__)) recvfrom(SOCKET,char*,int,int,struct sockaddr*,int*); int __attribute__((__stdcall__)) send(SOCKET,const char*,int,int); int __attribute__((__stdcall__)) sendto(SOCKET,const char*,int,int,const struct sockaddr*,int); int __attribute__((__stdcall__)) setsockopt(SOCKET,int,int,const char*,int); int __attribute__((__stdcall__)) shutdown(SOCKET,int); SOCKET __attribute__((__stdcall__)) socket(int,int,int); __attribute__((__stdcall__)) struct hostent * gethostbyaddr(const char*,int,int); __attribute__((__stdcall__)) struct hostent * gethostbyname(const char*); __attribute__((__stdcall__)) struct servent * getservbyport(int,const char*); __attribute__((__stdcall__)) struct servent * getservbyname(const char*,const char*); __attribute__((__stdcall__)) struct protoent * getprotobynumber(int); __attribute__((__stdcall__)) struct protoent * getprotobyname(const char*); int __attribute__((__stdcall__)) WSAStartup(WORD,LPWSADATA); int __attribute__((__stdcall__)) WSACleanup(void); void __attribute__((__stdcall__)) WSASetLastError(int); int __attribute__((__stdcall__)) WSAGetLastError(void); # 503 "C:/MINGW/include/winsock2.h" 3 HANDLE __attribute__((__stdcall__)) WSAAsyncGetServByName(HWND,u_int,const char*,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetServByPort(HWND,u_int,int,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetProtoByName(HWND,u_int,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetProtoByNumber(HWND,u_int,int,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetHostByName(HWND,u_int,const char*,char*,int); HANDLE __attribute__((__stdcall__)) WSAAsyncGetHostByAddr(HWND,u_int,const char*,int,int,char*,int); int __attribute__((__stdcall__)) WSACancelAsyncRequest(HANDLE); int __attribute__((__stdcall__)) WSAAsyncSelect(SOCKET,HWND,u_int,long); u_long __attribute__((__stdcall__)) htonl(u_long); u_long __attribute__((__stdcall__)) ntohl(u_long); u_short __attribute__((__stdcall__)) htons(u_short); u_short __attribute__((__stdcall__)) ntohs(u_short); int __attribute__((__stdcall__)) select(int nfds,fd_set*,fd_set*,fd_set*,const struct timeval*); int __attribute__((__stdcall__)) gethostname(char*,int); # 527 "C:/MINGW/include/winsock2.h" 3 typedef struct sockaddr SOCKADDR; typedef struct sockaddr *PSOCKADDR; typedef struct sockaddr *LPSOCKADDR; typedef struct sockaddr_storage SOCKADDR_STORAGE, *PSOCKADDR_STORAGE; typedef struct sockaddr_in SOCKADDR_IN; typedef struct sockaddr_in *PSOCKADDR_IN; typedef struct sockaddr_in *LPSOCKADDR_IN; typedef struct linger LINGER; typedef struct linger *PLINGER; typedef struct linger *LPLINGER; typedef struct in_addr IN_ADDR; typedef struct in_addr *PIN_ADDR; typedef struct in_addr *LPIN_ADDR; typedef struct fd_set FD_SET; typedef struct fd_set *PFD_SET; typedef struct fd_set *LPFD_SET; typedef struct hostent HOSTENT; typedef struct hostent *PHOSTENT; typedef struct hostent *LPHOSTENT; typedef struct servent SERVENT; typedef struct servent *PSERVENT; typedef struct servent *LPSERVENT; typedef struct protoent PROTOENT; typedef struct protoent *PPROTOENT; typedef struct protoent *LPPROTOENT; typedef struct timeval TIMEVAL; typedef struct timeval *PTIMEVAL; typedef struct timeval *LPTIMEVAL; # 631 "C:/MINGW/include/winsock2.h" 3 typedef struct _OVERLAPPED *LPWSAOVERLAPPED; # 648 "C:/MINGW/include/winsock2.h" 3 typedef struct _WSABUF { unsigned long len; char *buf; } WSABUF, *LPWSABUF; typedef enum { BestEffortService, ControlledLoadService, PredictiveService, GuaranteedDelayService, GuaranteedService } GUARANTEE; # 672 "C:/MINGW/include/winsock2.h" 3 typedef unsigned int SERVICETYPE; typedef struct _flowspec { unsigned int TokenRate; unsigned int TokenBucketSize; unsigned int PeakBandwidth; unsigned int Latency; unsigned int DelayVariation; SERVICETYPE ServiceType; unsigned int MaxSduSize; unsigned int MinimumPolicedSize; } FLOWSPEC, *PFLOWSPEC, *LPFLOWSPEC; typedef struct _QualityOfService { FLOWSPEC SendingFlowspec; FLOWSPEC ReceivingFlowspec; WSABUF ProviderSpecific; } QOS, *LPQOS; typedef unsigned int GROUP; typedef struct _WSANETWORKEVENTS { long lNetworkEvents; int iErrorCode[10]; } WSANETWORKEVENTS, *LPWSANETWORKEVENTS; typedef enum _WSAESETSERVICEOP { RNRSERVICE_REGISTER=0, RNRSERVICE_DEREGISTER, RNRSERVICE_DELETE } WSAESETSERVICEOP, *PWSAESETSERVICEOP, *LPWSAESETSERVICEOP; typedef struct _AFPROTOCOLS { INT iAddressFamily; INT iProtocol; } AFPROTOCOLS, *PAFPROTOCOLS, *LPAFPROTOCOLS; typedef enum _WSAEcomparator { COMP_EQUAL = 0, COMP_NOTLESS } WSAECOMPARATOR, *PWSAECOMPARATOR, *LPWSAECOMPARATOR; typedef struct _WSAVersion { DWORD dwVersion; WSAECOMPARATOR ecHow; } WSAVERSION, *PWSAVERSION, *LPWSAVERSION; # 746 "C:/MINGW/include/winsock2.h" 3 # 1 "C:/MINGW/include/nspapi.h" 1 3 # 5 "C:/MINGW/include/nspapi.h" 3 extern "C" { typedef struct _SOCKET_ADDRESS { LPSOCKADDR lpSockaddr; INT iSockaddrLength; } SOCKET_ADDRESS,*PSOCKET_ADDRESS,*LPSOCKET_ADDRESS; typedef struct _CSADDR_INFO { SOCKET_ADDRESS LocalAddr; SOCKET_ADDRESS RemoteAddr; INT iSocketType; INT iProtocol; } CSADDR_INFO,*PCSADDR_INFO,*LPCSADDR_INFO; } # 747 "C:/MINGW/include/winsock2.h" 2 3 typedef struct _SOCKET_ADDRESS_LIST { INT iAddressCount; SOCKET_ADDRESS Address[1]; } SOCKET_ADDRESS_LIST, * LPSOCKET_ADDRESS_LIST; typedef struct _BLOB { ULONG cbSize; BYTE *pBlobData; } BLOB,*PBLOB,*LPBLOB; typedef struct _WSAQuerySetA { DWORD dwSize; LPSTR lpszServiceInstanceName; LPGUID lpServiceClassId; LPWSAVERSION lpVersion; LPSTR lpszComment; DWORD dwNameSpace; LPGUID lpNSProviderId; LPSTR lpszContext; DWORD dwNumberOfProtocols; LPAFPROTOCOLS lpafpProtocols; LPSTR lpszQueryString; DWORD dwNumberOfCsAddrs; LPCSADDR_INFO lpcsaBuffer; DWORD dwOutputFlags; LPBLOB lpBlob; } WSAQUERYSETA, *PWSAQUERYSETA, *LPWSAQUERYSETA; typedef struct _WSAQuerySetW { DWORD dwSize; LPWSTR lpszServiceInstanceName; LPGUID lpServiceClassId; LPWSAVERSION lpVersion; LPWSTR lpszComment; DWORD dwNameSpace; LPGUID lpNSProviderId; LPWSTR lpszContext; DWORD dwNumberOfProtocols; LPAFPROTOCOLS lpafpProtocols; LPWSTR lpszQueryString; DWORD dwNumberOfCsAddrs; LPCSADDR_INFO lpcsaBuffer; DWORD dwOutputFlags; LPBLOB lpBlob; } WSAQUERYSETW, *PWSAQUERYSETW, *LPWSAQUERYSETW; typedef WSAQUERYSETA WSAQUERYSET; typedef PWSAQUERYSETA PWSAQUERYSET; typedef LPWSAQUERYSETA LPWSAQUERYSET; typedef struct _WSANSClassInfoA { LPSTR lpszName; DWORD dwNameSpace; DWORD dwValueType; DWORD dwValueSize; LPVOID lpValue; } WSANSCLASSINFOA, *PWSANSCLASSINFOA, *LPWSANSCLASSINFOA; typedef struct _WSANSClassInfoW { LPWSTR lpszName; DWORD dwNameSpace; DWORD dwValueType; DWORD dwValueSize; LPVOID lpValue; } WSANSCLASSINFOW, *PWSANSCLASSINFOW, *LPWSANSCLASSINFOW; typedef WSANSCLASSINFOA WSANSCLASSINFO; typedef PWSANSCLASSINFOA PWSANSCLASSINFO; typedef LPWSANSCLASSINFOA LPWSANSCLASSINFO; typedef struct _WSAServiceClassInfoA { LPGUID lpServiceClassId; LPSTR lpszServiceClassName; DWORD dwCount; LPWSANSCLASSINFOA lpClassInfos; } WSASERVICECLASSINFOA, *PWSASERVICECLASSINFOA, *LPWSASERVICECLASSINFOA; typedef struct _WSAServiceClassInfoW { LPGUID lpServiceClassId; LPWSTR lpszServiceClassName; DWORD dwCount; LPWSANSCLASSINFOW lpClassInfos; } WSASERVICECLASSINFOW, *PWSASERVICECLASSINFOW, *LPWSASERVICECLASSINFOW; typedef WSASERVICECLASSINFOA WSASERVICECLASSINFO; typedef PWSASERVICECLASSINFOA PWSASERVICECLASSINFO; typedef LPWSASERVICECLASSINFOA LPWSASERVICECLASSINFO; typedef struct _WSANAMESPACE_INFOA { GUID NSProviderId; DWORD dwNameSpace; BOOL fActive; DWORD dwVersion; LPSTR lpszIdentifier; } WSANAMESPACE_INFOA, *PWSANAMESPACE_INFOA, *LPWSANAMESPACE_INFOA; typedef struct _WSANAMESPACE_INFOW { GUID NSProviderId; DWORD dwNameSpace; BOOL fActive; DWORD dwVersion; LPWSTR lpszIdentifier; } WSANAMESPACE_INFOW, *PWSANAMESPACE_INFOW, *LPWSANAMESPACE_INFOW; typedef WSANAMESPACE_INFOA WSANAMESPACE_INFO; typedef PWSANAMESPACE_INFOA PWSANAMESPACE_INFO; typedef LPWSANAMESPACE_INFOA LPWSANAMESPACE_INFO; typedef struct _WSAPROTOCOLCHAIN { int ChainLen; DWORD ChainEntries[7]; } WSAPROTOCOLCHAIN, *LPWSAPROTOCOLCHAIN; typedef struct _WSAPROTOCOL_INFOA { DWORD dwServiceFlags1; DWORD dwServiceFlags2; DWORD dwServiceFlags3; DWORD dwServiceFlags4; DWORD dwProviderFlags; GUID ProviderId; DWORD dwCatalogEntryId; WSAPROTOCOLCHAIN ProtocolChain; int iVersion; int iAddressFamily; int iMaxSockAddr; int iMinSockAddr; int iSocketType; int iProtocol; int iProtocolMaxOffset; int iNetworkByteOrder; int iSecurityScheme; DWORD dwMessageSize; DWORD dwProviderReserved; CHAR szProtocol[255 +1]; } WSAPROTOCOL_INFOA, *LPWSAPROTOCOL_INFOA; typedef struct _WSAPROTOCOL_INFOW { DWORD dwServiceFlags1; DWORD dwServiceFlags2; DWORD dwServiceFlags3; DWORD dwServiceFlags4; DWORD dwProviderFlags; GUID ProviderId; DWORD dwCatalogEntryId; WSAPROTOCOLCHAIN ProtocolChain; int iVersion; int iAddressFamily; int iMaxSockAddr; int iMinSockAddr; int iSocketType; int iProtocol; int iProtocolMaxOffset; int iNetworkByteOrder; int iSecurityScheme; DWORD dwMessageSize; DWORD dwProviderReserved; WCHAR szProtocol[255 +1]; } WSAPROTOCOL_INFOW, * LPWSAPROTOCOL_INFOW; typedef int (__attribute__((__stdcall__)) *LPCONDITIONPROC)(LPWSABUF, LPWSABUF, LPQOS, LPQOS, LPWSABUF, LPWSABUF, GROUP *, DWORD); typedef void (__attribute__((__stdcall__)) *LPWSAOVERLAPPED_COMPLETION_ROUTINE)(DWORD, DWORD, LPWSAOVERLAPPED, DWORD); typedef WSAPROTOCOL_INFOA WSAPROTOCOL_INFO; typedef LPWSAPROTOCOL_INFOA LPWSAPROTOCOL_INFO; typedef enum _WSACOMPLETIONTYPE { NSP_NOTIFY_IMMEDIATELY = 0, NSP_NOTIFY_HWND, NSP_NOTIFY_EVENT, NSP_NOTIFY_PORT, NSP_NOTIFY_APC } WSACOMPLETIONTYPE, * PWSACOMPLETIONTYPE, * LPWSACOMPLETIONTYPE; typedef struct _WSACOMPLETION { WSACOMPLETIONTYPE Type; union { struct { HWND hWnd; UINT uMsg; WPARAM context; } WindowMessage; struct { LPWSAOVERLAPPED lpOverlapped; } Event; struct { LPWSAOVERLAPPED lpOverlapped; LPWSAOVERLAPPED_COMPLETION_ROUTINE lpfnCompletionProc; } Apc; struct { LPWSAOVERLAPPED lpOverlapped; HANDLE hPort; ULONG_PTR Key; } Port; } Parameters; } WSACOMPLETION, *PWSACOMPLETION, *LPWSACOMPLETION; # 1054 "C:/MINGW/include/winsock2.h" 3 SOCKET __attribute__((__stdcall__)) WSAAccept(SOCKET, struct sockaddr *, LPINT, LPCONDITIONPROC, DWORD); INT __attribute__((__stdcall__)) WSAAddressToStringA(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOA, LPSTR, LPDWORD); INT __attribute__((__stdcall__)) WSAAddressToStringW(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOW, LPWSTR, LPDWORD); BOOL __attribute__((__stdcall__)) WSACloseEvent(HANDLE); int __attribute__((__stdcall__)) WSAConnect(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS); HANDLE __attribute__((__stdcall__)) WSACreateEvent(void); int __attribute__((__stdcall__)) WSADuplicateSocketA(SOCKET, DWORD, LPWSAPROTOCOL_INFOA); int __attribute__((__stdcall__)) WSADuplicateSocketW(SOCKET, DWORD, LPWSAPROTOCOL_INFOW); INT __attribute__((__stdcall__)) WSAEnumNameSpaceProvidersA(LPDWORD, LPWSANAMESPACE_INFOA); INT __attribute__((__stdcall__)) WSAEnumNameSpaceProvidersW(LPDWORD, LPWSANAMESPACE_INFOW); int __attribute__((__stdcall__)) WSAEnumNetworkEvents(SOCKET, HANDLE, LPWSANETWORKEVENTS); int __attribute__((__stdcall__)) WSAEnumProtocolsA(LPINT, LPWSAPROTOCOL_INFOA, LPDWORD); int __attribute__((__stdcall__)) WSAEnumProtocolsW(LPINT, LPWSAPROTOCOL_INFOW, LPDWORD); int __attribute__((__stdcall__)) WSAEventSelect(SOCKET, HANDLE, long); BOOL __attribute__((__stdcall__)) WSAGetOverlappedResult(SOCKET, LPWSAOVERLAPPED, LPDWORD, BOOL, LPDWORD); BOOL __attribute__((__stdcall__)) WSAGetQOSByName(SOCKET, LPWSABUF, LPQOS); INT __attribute__((__stdcall__)) WSAGetServiceClassInfoA(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOA); INT __attribute__((__stdcall__)) WSAGetServiceClassInfoW(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOW); INT __attribute__((__stdcall__)) WSAGetServiceClassNameByClassIdA(LPGUID, LPSTR, LPDWORD); INT __attribute__((__stdcall__)) WSAGetServiceClassNameByClassIdW(LPGUID, LPWSTR, LPDWORD); int __attribute__((__stdcall__)) WSAHtonl(SOCKET, unsigned long, unsigned long *); int __attribute__((__stdcall__)) WSAHtons(SOCKET, unsigned short, unsigned short *); INT __attribute__((__stdcall__)) WSAInstallServiceClassA(LPWSASERVICECLASSINFOA); INT __attribute__((__stdcall__)) WSAInstallServiceClassW(LPWSASERVICECLASSINFOW); int __attribute__((__stdcall__)) WSAIoctl(SOCKET, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); SOCKET __attribute__((__stdcall__)) WSAJoinLeaf(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS, DWORD); INT __attribute__((__stdcall__)) WSALookupServiceBeginA(LPWSAQUERYSETA, DWORD, LPHANDLE); INT __attribute__((__stdcall__)) WSALookupServiceBeginW(LPWSAQUERYSETW lpqsRestrictions, DWORD, LPHANDLE); INT __attribute__((__stdcall__)) WSALookupServiceNextA(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETA); INT __attribute__((__stdcall__)) WSALookupServiceNextW(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETW); INT __attribute__((__stdcall__)) WSALookupServiceEnd(HANDLE); int __attribute__((__stdcall__)) WSANSPIoctl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSACOMPLETION); int __attribute__((__stdcall__)) WSANtohl(SOCKET, unsigned long, unsigned long *); int __attribute__((__stdcall__)) WSANtohs(SOCKET, unsigned short, unsigned short *); int __attribute__((__stdcall__)) WSARecv(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); int __attribute__((__stdcall__)) WSARecvDisconnect(SOCKET, LPWSABUF); int __attribute__((__stdcall__)) WSARecvFrom(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, struct sockaddr *, LPINT, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); INT __attribute__((__stdcall__)) WSARemoveServiceClass(LPGUID); BOOL __attribute__((__stdcall__)) WSAResetEvent(HANDLE); int __attribute__((__stdcall__)) WSASend(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); int __attribute__((__stdcall__)) WSASendDisconnect(SOCKET, LPWSABUF); int __attribute__((__stdcall__)) WSASendTo(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, const struct sockaddr *, int, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); BOOL __attribute__((__stdcall__)) WSASetEvent(HANDLE); INT __attribute__((__stdcall__)) WSASetServiceA(LPWSAQUERYSETA, WSAESETSERVICEOP, DWORD); INT __attribute__((__stdcall__)) WSASetServiceW(LPWSAQUERYSETW, WSAESETSERVICEOP, DWORD); SOCKET __attribute__((__stdcall__)) WSASocketA(int, int, int, LPWSAPROTOCOL_INFOA, GROUP, DWORD); SOCKET __attribute__((__stdcall__)) WSASocketW(int, int, int, LPWSAPROTOCOL_INFOW, GROUP, DWORD); INT __attribute__((__stdcall__)) WSAStringToAddressA(LPSTR, INT, LPWSAPROTOCOL_INFOA, LPSOCKADDR, LPINT); INT __attribute__((__stdcall__)) WSAStringToAddressW(LPWSTR, INT, LPWSAPROTOCOL_INFOW, LPSOCKADDR, LPINT); DWORD __attribute__((__stdcall__)) WSAWaitForMultipleEvents(DWORD, const HANDLE *, BOOL, DWORD, BOOL); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSAACCEPT)(SOCKET, struct sockaddr *, LPINT, LPCONDITIONPROC, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAADDRESSTOSTRINGA)(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOA, LPSTR, LPDWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAADDRESSTOSTRINGW)(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFOW, LPWSTR, LPDWORD); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSACLOSEEVENT)(HANDLE); typedef int (__attribute__((__stdcall__)) *LPFN_WSACONNECT)(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS); typedef HANDLE (__attribute__((__stdcall__)) *LPFN_WSACREATEEVENT)(void); typedef int (__attribute__((__stdcall__)) *LPFN_WSADUPLICATESOCKETA)(SOCKET, DWORD, LPWSAPROTOCOL_INFOA); typedef int (__attribute__((__stdcall__)) *LPFN_WSADUPLICATESOCKETW)(SOCKET, DWORD, LPWSAPROTOCOL_INFOW); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAENUMNAMESPACEPROVIDERSA)(LPDWORD, LPWSANAMESPACE_INFOA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAENUMNAMESPACEPROVIDERSW)(LPDWORD, LPWSANAMESPACE_INFOW); typedef int (__attribute__((__stdcall__)) *LPFN_WSAENUMNETWORKEVENTS)(SOCKET, HANDLE, LPWSANETWORKEVENTS); typedef int (__attribute__((__stdcall__)) *LPFN_WSAENUMPROTOCOLSA)(LPINT, LPWSAPROTOCOL_INFOA, LPDWORD); typedef int (__attribute__((__stdcall__)) *LPFN_WSAENUMPROTOCOLSW)(LPINT, LPWSAPROTOCOL_INFOW, LPDWORD); typedef int (__attribute__((__stdcall__)) *LPFN_WSAEVENTSELECT)(SOCKET, HANDLE, long); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSAGETOVERLAPPEDRESULT)(SOCKET, LPWSAOVERLAPPED, LPDWORD, BOOL, LPDWORD); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSAGETQOSBYNAME)(SOCKET, LPWSABUF, LPQOS); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSINFOA)(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSINFOW)(LPGUID, LPGUID, LPDWORD, LPWSASERVICECLASSINFOW); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDA)(LPGUID, LPSTR, LPDWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDW)(LPGUID, LPWSTR, LPDWORD); typedef int (__attribute__((__stdcall__)) *LPFN_WSAHTONL)(SOCKET, unsigned long, unsigned long *); typedef int (__attribute__((__stdcall__)) *LPFN_WSAHTONS)(SOCKET, unsigned short, unsigned short *); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAINSTALLSERVICECLASSA)(LPWSASERVICECLASSINFOA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAINSTALLSERVICECLASSW)(LPWSASERVICECLASSINFOW); typedef int (__attribute__((__stdcall__)) *LPFN_WSAIOCTL)(SOCKET, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSAJOINLEAF)(SOCKET, const struct sockaddr *, int, LPWSABUF, LPWSABUF, LPQOS, LPQOS, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICEBEGINA)(LPWSAQUERYSETA, DWORD, LPHANDLE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICEBEGINW)(LPWSAQUERYSETW, DWORD, LPHANDLE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICENEXTA)(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETA); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICENEXTW)(HANDLE, DWORD, LPDWORD, LPWSAQUERYSETW); typedef INT (__attribute__((__stdcall__)) *LPFN_WSALOOKUPSERVICEEND)(HANDLE); typedef int (__attribute__((__stdcall__)) *LPFN_WSANSPIoctl)(HANDLE, DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPWSACOMPLETION); typedef int (__attribute__((__stdcall__)) *LPFN_WSANTOHL)(SOCKET, unsigned long, unsigned long *); typedef int (__attribute__((__stdcall__)) *LPFN_WSANTOHS)(SOCKET, unsigned short, unsigned short *); typedef int (__attribute__((__stdcall__)) *LPFN_WSARECV)(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef int (__attribute__((__stdcall__)) *LPFN_WSARECVDISCONNECT)(SOCKET, LPWSABUF); typedef int (__attribute__((__stdcall__)) *LPFN_WSARECVFROM)(SOCKET, LPWSABUF, DWORD, LPDWORD, LPDWORD, struct sockaddr *, LPINT, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSAREMOVESERVICECLASS)(LPGUID); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSARESETEVENT)(HANDLE); typedef int (__attribute__((__stdcall__)) *LPFN_WSASEND)(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef int (__attribute__((__stdcall__)) *LPFN_WSASENDDISCONNECT)(SOCKET, LPWSABUF); typedef int (__attribute__((__stdcall__)) *LPFN_WSASENDTO)(SOCKET, LPWSABUF, DWORD, LPDWORD, DWORD, const struct sockaddr *, int, LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE); typedef BOOL (__attribute__((__stdcall__)) *LPFN_WSASETEVENT)(HANDLE); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASETSERVICEA)(LPWSAQUERYSETA, WSAESETSERVICEOP, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASETSERVICEW)(LPWSAQUERYSETW, WSAESETSERVICEOP, DWORD); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSASOCKETA)(int, int, int, LPWSAPROTOCOL_INFOA, GROUP, DWORD); typedef SOCKET (__attribute__((__stdcall__)) *LPFN_WSASOCKETW)(int, int, int, LPWSAPROTOCOL_INFOW, GROUP, DWORD); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASTRINGTOADDRESSA)(LPSTR, INT, LPWSAPROTOCOL_INFOA, LPSOCKADDR, LPINT); typedef INT (__attribute__((__stdcall__)) *LPFN_WSASTRINGTOADDRESSW)(LPWSTR, INT, LPWSAPROTOCOL_INFOW, LPSOCKADDR, LPINT); typedef DWORD (__attribute__((__stdcall__)) *LPFN_WSAWAITFORMULTIPLEEVENTS)(DWORD, const HANDLE *, BOOL, DWORD, BOOL); # 1208 "C:/MINGW/include/winsock2.h" 3 } # 97 "C:/MINGW/include/windows.h" 2 3 # 108 "C:/MINGW/include/windows.h" 3 # 1 "C:/MINGW/include/ole2.h" 1 3 # 5 "C:/MINGW/include/ole2.h" 3 #pragma pack(push,8) # 1 "C:/MINGW/include/objbase.h" 1 3 # 5 "C:/MINGW/include/objbase.h" 3 # 1 "C:/MINGW/include/rpcndr.h" 1 3 # 5 "C:/MINGW/include/rpcndr.h" 3 # 1 "C:/MINGW/include/rpcnsip.h" 1 3 # 5 "C:/MINGW/include/rpcnsip.h" 3 extern "C" { typedef struct { RPC_NS_HANDLE LookupContext; RPC_BINDING_HANDLE ProposedHandle; RPC_BINDING_VECTOR *Bindings; } RPC_IMPORT_CONTEXT_P,*PRPC_IMPORT_CONTEXT_P; RPC_STATUS __attribute__((__stdcall__)) I_RpcNsGetBuffer( PRPC_MESSAGE); RPC_STATUS __attribute__((__stdcall__)) I_RpcNsSendReceive( PRPC_MESSAGE, RPC_BINDING_HANDLE*); void __attribute__((__stdcall__)) I_RpcNsRaiseException( PRPC_MESSAGE, RPC_STATUS); RPC_STATUS __attribute__((__stdcall__)) I_RpcReBindBuffer( PRPC_MESSAGE); RPC_STATUS __attribute__((__stdcall__)) I_NsServerBindSearch(void); RPC_STATUS __attribute__((__stdcall__)) I_NsClientBindSearch(void); void __attribute__((__stdcall__)) I_NsClientBindDone(void); } # 11 "C:/MINGW/include/rpcndr.h" 2 3 extern "C" { # 1 "C:/MINGW/include/objfwd.h" 1 3 # 5 "C:/MINGW/include/objfwd.h" 3 extern "C" { typedef struct IMoniker *LPMONIKER; typedef struct IStream *LPSTREAM; typedef struct IMarshal *LPMARSHAL; typedef struct IMalloc *LPMALLOC; typedef struct IMallocSpy *LPMALLOCSPY; typedef struct IMessageFilter *LPMESSAGEFILTER; typedef struct IPersist *LPPERSIST; typedef struct IPersistStream *LPPERSISTSTREAM; typedef struct IRunningObjectTable *LPRUNNINGOBJECTTABLE; typedef struct IBindCtx *LPBINDCTX,*LPBC; typedef struct IAdviseSink *LPADVISESINK; typedef struct IAdviseSink2 *LPADVISESINK2; typedef struct IDataObject *LPDATAOBJECT; typedef struct IDataAdviseHolder *LPDATAADVISEHOLDER; typedef struct IEnumMoniker *LPENUMMONIKER; typedef struct IEnumFORMATETC *LPENUMFORMATETC; typedef struct IEnumSTATDATA *LPENUMSTATDATA; typedef struct IEnumSTATSTG *LPENUMSTATSTG; typedef struct IEnumSTATPROPSTG LPENUMSTATPROPSTG; typedef struct IEnumString *LPENUMSTRING; typedef struct IEnumUnknown *LPENUMUNKNOWN; typedef struct IStorage *LPSTORAGE; typedef struct IPersistStorage *LPPERSISTSTORAGE; typedef struct ILockBytes *LPLOCKBYTES; typedef struct IStdMarshalInfo *LPSTDMARSHALINFO; typedef struct IExternalConnection *LPEXTERNALCONNECTION; typedef struct IRunnableObject *LPRUNNABLEOBJECT; typedef struct IROTData *LPROTDATA; typedef struct IPersistFile *LPPERSISTFILE; typedef struct IRootStorage *LPROOTSTORAGE; typedef struct IRpcChannelBuffer *LPRPCCHANNELBUFFER; typedef struct IRpcProxyBuffer *LPRPCPROXYBUFFER; typedef struct IRpcStubBuffer *LPRPCSTUBBUFFER; typedef struct IPropertyStorage *LPPROPERTYSTORAGE; typedef struct IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG; typedef struct IPropertySetStorage *LPPROPERTYSETSTORAGE; typedef struct IClientSecurity *LPCLIENTSECURITY; typedef struct IServerSecurity *LPSERVERSECURITY; typedef struct IClassActivator *LPCLASSACTIVATOR; typedef struct IFillLockBytes *LPFILLLOCKBYTES; typedef struct IProgressNotify *LPPROGRESSNOTIFY; typedef struct ILayoutStorage *LPLAYOUTSTORAGE; } # 15 "C:/MINGW/include/rpcndr.h" 2 3 # 50 "C:/MINGW/include/rpcndr.h" 3 typedef unsigned char byte; # 94 "C:/MINGW/include/rpcndr.h" 3 typedef void *NDR_CCONTEXT; typedef struct { void *pad[2]; void *userContext; } *NDR_SCONTEXT; typedef void (__attribute__((__stdcall__)) *NDR_RUNDOWN)(void*); typedef struct _SCONTEXT_QUEUE { unsigned long NumberOfObjects; NDR_SCONTEXT *ArrayOfObjects; } SCONTEXT_QUEUE,*PSCONTEXT_QUEUE; struct _MIDL_STUB_MESSAGE; struct _MIDL_STUB_DESC; struct _FULL_PTR_XLAT_TABLES; typedef unsigned char *RPC_BUFPTR; typedef unsigned long RPC_LENGTH; typedef void(__attribute__((__stdcall__)) *EXPR_EVAL)(struct _MIDL_STUB_MESSAGE*); typedef const unsigned char *PFORMAT_STRING; typedef struct { long Dimension; unsigned long *BufferConformanceMark; unsigned long *BufferVarianceMark; unsigned long *MaxCountArray; unsigned long *OffsetArray; unsigned long *ActualCountArray; } ARRAY_INFO,*PARRAY_INFO; RPC_BINDING_HANDLE __attribute__((__stdcall__)) NDRCContextBinding(NDR_CCONTEXT); void __attribute__((__stdcall__)) NDRCContextMarshall(NDR_CCONTEXT,void*); void __attribute__((__stdcall__)) NDRCContextUnmarshall(NDR_CCONTEXT*,RPC_BINDING_HANDLE,void*,unsigned long); void __attribute__((__stdcall__)) NDRSContextMarshall(NDR_SCONTEXT,void*,NDR_RUNDOWN); NDR_SCONTEXT __attribute__((__stdcall__)) NDRSContextUnmarshall(void*pBuff,unsigned long); void __attribute__((__stdcall__)) RpcSsDestroyClientContext(void**); void __attribute__((__stdcall__)) NDRcopy(void*,void*,unsigned int); unsigned int __attribute__((__stdcall__)) MIDL_wchar_strlen(wchar_t*); void __attribute__((__stdcall__)) MIDL_wchar_strcpy(void*,wchar_t*); void __attribute__((__stdcall__)) char_from_ndr(PRPC_MESSAGE,unsigned char*); void __attribute__((__stdcall__)) char_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,unsigned char*); void __attribute__((__stdcall__)) short_from_ndr(PRPC_MESSAGE,unsigned short*); void __attribute__((__stdcall__)) short_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,unsigned short*); void __attribute__((__stdcall__)) short_from_ndr_temp(unsigned char**,unsigned short*,unsigned long); void __attribute__((__stdcall__)) long_from_ndr(PRPC_MESSAGE,unsigned long*); void __attribute__((__stdcall__)) long_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,unsigned long*); void __attribute__((__stdcall__)) long_from_ndr_temp(unsigned char**,unsigned long*,unsigned long); void __attribute__((__stdcall__)) enum_from_ndr(PRPC_MESSAGE,unsigned int*); void __attribute__((__stdcall__)) float_from_ndr(PRPC_MESSAGE,void*); void __attribute__((__stdcall__)) float_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,void*); void __attribute__((__stdcall__)) double_from_ndr(PRPC_MESSAGE,void*); void __attribute__((__stdcall__)) double_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,void*); void __attribute__((__stdcall__)) hyper_from_ndr(PRPC_MESSAGE,long long*); void __attribute__((__stdcall__)) hyper_array_from_ndr(PRPC_MESSAGE,unsigned long,unsigned long,long long*); void __attribute__((__stdcall__)) hyper_from_ndr_temp(unsigned char**,long long*,unsigned long); void __attribute__((__stdcall__)) data_from_ndr(PRPC_MESSAGE,void*,char*,unsigned char); void __attribute__((__stdcall__)) data_into_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) tree_into_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) data_size_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) tree_size_ndr(void*,PRPC_MESSAGE,char*,unsigned char); void __attribute__((__stdcall__)) tree_peek_ndr(PRPC_MESSAGE,unsigned char**,char*,unsigned char); void *__attribute__((__stdcall__)) midl_allocate(int); #pragma pack(push,4) typedef struct _MIDL_STUB_MESSAGE { PRPC_MESSAGE RpcMsg; unsigned char *Buffer; unsigned char *BufferStart; unsigned char *BufferEnd; unsigned char *BufferMark; unsigned long BufferLength; unsigned long MemorySize; unsigned char *Memory; int IsClient; int ReuseBuffer; unsigned char *AllocAllNodesMemory; unsigned char *AllocAllNodesMemoryEnd; int IgnoreEmbeddedPointers; unsigned char *PointerBufferMark; unsigned char fBufferValid; unsigned char Unused; unsigned long MaxCount; unsigned long Offset; unsigned long ActualCount; void*(__attribute__((__stdcall__)) *pfnAllocate)(unsigned int); void(__attribute__((__stdcall__)) *pfnFree)(void*); unsigned char *StackTop; unsigned char *pPresentedType; unsigned char *pTransmitType; handle_t SavedHandle; const struct _MIDL_STUB_DESC *StubDesc; struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables; unsigned long FullPtrRefId; int fCheckBounds; int fInDontFree :1; int fDontCallFreeInst :1; int fInOnlyParam :1; int fHasReturn :1; unsigned long dwDestContext; void*pvDestContext; NDR_SCONTEXT *SavedContextHandles; long ParamNumber; struct IRpcChannelBuffer *pRpcChannelBuffer; PARRAY_INFO pArrayInfo; unsigned long *SizePtrCountArray; unsigned long *SizePtrOffsetArray; unsigned long *SizePtrLengthArray; void*pArgQueue; unsigned long dwStubPhase; unsigned long Reserved[5]; } MIDL_STUB_MESSAGE,*PMIDL_STUB_MESSAGE; #pragma pack(pop) typedef void*(__attribute__((__stdcall__)) *GENERIC_BINDING_ROUTINE)(void*); typedef void (__attribute__((__stdcall__)) *GENERIC_UNBIND_ROUTINE)(void*,unsigned char*); typedef struct _GENERIC_BINDING_ROUTINE_PAIR { GENERIC_BINDING_ROUTINE pfnBind; GENERIC_UNBIND_ROUTINE pfnUnbind; } GENERIC_BINDING_ROUTINE_PAIR,*PGENERIC_BINDING_ROUTINE_PAIR; typedef struct __GENERIC_BINDING_INFO { void *pObj; unsigned int Size; GENERIC_BINDING_ROUTINE pfnBind; GENERIC_UNBIND_ROUTINE pfnUnbind; } GENERIC_BINDING_INFO,*PGENERIC_BINDING_INFO; typedef void(__attribute__((__stdcall__)) *XMIT_HELPER_ROUTINE)(PMIDL_STUB_MESSAGE); typedef struct _XMIT_ROUTINE_QUINTUPLE { XMIT_HELPER_ROUTINE pfnTranslateToXmit; XMIT_HELPER_ROUTINE pfnTranslateFromXmit; XMIT_HELPER_ROUTINE pfnFreeXmit; XMIT_HELPER_ROUTINE pfnFreeInst; } XMIT_ROUTINE_QUINTUPLE,*PXMIT_ROUTINE_QUINTUPLE; typedef struct _MALLOC_FREE_STRUCT { void*(__attribute__((__stdcall__)) *pfnAllocate)(unsigned int); void(__attribute__((__stdcall__)) *pfnFree)(void*); } MALLOC_FREE_STRUCT; typedef struct _COMM_FAULT_OFFSETS { short CommOffset; short FaultOffset; } COMM_FAULT_OFFSETS; typedef struct _MIDL_STUB_DESC { void*RpcInterfaceInformation; void*(__attribute__((__stdcall__)) *pfnAllocate)(unsigned int); void(__attribute__((__stdcall__)) *pfnFree)(void*); union { handle_t *pAutoHandle; handle_t *pPrimitiveHandle; PGENERIC_BINDING_INFO pGenericBindingInfo; } IMPLICIT_HANDLE_INFO; const NDR_RUNDOWN *apfnNdrRundownRoutines; const GENERIC_BINDING_ROUTINE_PAIR *aGenericBindingRoutinePairs; const EXPR_EVAL *apfnExprEval; const XMIT_ROUTINE_QUINTUPLE *aXmitQuintuple; const unsigned char *pFormatTypes; int fCheckBounds; unsigned long Version; MALLOC_FREE_STRUCT *pMallocFreeStruct; long MIDLVersion; const COMM_FAULT_OFFSETS *CommFaultOffsets; } MIDL_STUB_DESC; typedef const MIDL_STUB_DESC *PMIDL_STUB_DESC; typedef void*PMIDL_XMIT_TYPE; typedef struct _MIDL_FORMAT_STRING { short Pad; unsigned char Format[1]; } MIDL_FORMAT_STRING; typedef void(__attribute__((__stdcall__)) *STUB_THUNK)(PMIDL_STUB_MESSAGE); typedef long(__attribute__((__stdcall__)) *SERVER_ROUTINE)(void); typedef struct _MIDL_SERVER_INFO_ { PMIDL_STUB_DESC pStubDesc; const SERVER_ROUTINE *DispatchTable; PFORMAT_STRING ProcString; const unsigned short *FmtStringOffset; const STUB_THUNK *ThunkTable; } MIDL_SERVER_INFO,*PMIDL_SERVER_INFO; typedef struct _MIDL_STUBLESS_PROXY_INFO { PMIDL_STUB_DESC pStubDesc; PFORMAT_STRING ProcFormatString; const unsigned short *FormatStringOffset; } MIDL_STUBLESS_PROXY_INFO; typedef MIDL_STUBLESS_PROXY_INFO *PMIDL_STUBLESS_PROXY_INFO; typedef union _CLIENT_CALL_RETURN { void *Pointer; long Simple; } CLIENT_CALL_RETURN; typedef enum { XLAT_SERVER = 1,XLAT_CLIENT } XLAT_SIDE; typedef struct _FULL_PTR_TO_REFID_ELEMENT { struct _FULL_PTR_TO_REFID_ELEMENT *Next; void*Pointer; unsigned long RefId; unsigned char State; } FULL_PTR_TO_REFID_ELEMENT,*PFULL_PTR_TO_REFID_ELEMENT; typedef struct _FULL_PTR_XLAT_TABLES { struct { void **XlatTable; unsigned char *StateTable; unsigned long NumberOfEntries; } RefIdToPointer; struct { PFULL_PTR_TO_REFID_ELEMENT *XlatTable; unsigned long NumberOfBuckets; unsigned long HashMask; } PointerToRefId; unsigned long NextRefId; XLAT_SIDE XlatSide; } FULL_PTR_XLAT_TABLES,*PFULL_PTR_XLAT_TABLES; void __attribute__((__stdcall__)) NdrSimpleTypeMarshall(PMIDL_STUB_MESSAGE,unsigned char*,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrPointerMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING pFormat); unsigned char *__attribute__((__stdcall__)) NdrSimpleStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrHardStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrComplexStructMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrFixedArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrVaryingArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrComplexArrayMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrNonConformantStringMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrConformantStringMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrEncapsulatedUnionMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrNonEncapsulatedUnionMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrByteCountPointerMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrXmitOrRepAsMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned char *__attribute__((__stdcall__)) NdrInterfacePointerMarshall(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrClientContextMarshall(PMIDL_STUB_MESSAGE,NDR_CCONTEXT,int); void __attribute__((__stdcall__)) NdrServerContextMarshall(PMIDL_STUB_MESSAGE,NDR_SCONTEXT,NDR_RUNDOWN); void __attribute__((__stdcall__)) NdrSimpleTypeUnmarshall(PMIDL_STUB_MESSAGE,unsigned char*,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrPointerUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrSimpleStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrHardStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrComplexStructUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrFixedArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantVaryingArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrVaryingArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrComplexArrayUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrNonConformantStringUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrConformantStringUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrEncapsulatedUnionUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrNonEncapsulatedUnionUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrByteCountPointerUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrXmitOrRepAsUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); unsigned char *__attribute__((__stdcall__)) NdrInterfacePointerUnmarshall(PMIDL_STUB_MESSAGE,unsigned char**,PFORMAT_STRING,unsigned char); void __attribute__((__stdcall__)) NdrClientContextUnmarshall(PMIDL_STUB_MESSAGE,NDR_CCONTEXT*,RPC_BINDING_HANDLE); NDR_SCONTEXT __attribute__((__stdcall__)) NdrServerContextUnmarshall(PMIDL_STUB_MESSAGE); void __attribute__((__stdcall__)) NdrPointerBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrSimpleStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrHardStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexStructBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrFixedArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrVaryingArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexArrayBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantStringBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrNonConformantStringBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrEncapsulatedUnionBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrNonEncapsulatedUnionBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrByteCountPointerBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrXmitOrRepAsBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrInterfacePointerBufferSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrContextHandleSize(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrPointerMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrSimpleStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantVaryingStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrHardStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrComplexStructMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrFixedArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantVaryingArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrVaryingArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrComplexArrayMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrConformantStringMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrNonConformantStringMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrEncapsulatedUnionMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrNonEncapsulatedUnionMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrXmitOrRepAsMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); unsigned long __attribute__((__stdcall__)) NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrPointerFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrSimpleStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrHardStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexStructFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrFixedArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConformantVaryingArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrVaryingArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrComplexArrayFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrEncapsulatedUnionFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrNonEncapsulatedUnionFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrByteCountPointerFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrXmitOrRepAsFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrInterfacePointerFree(PMIDL_STUB_MESSAGE,unsigned char*,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrConvert(PMIDL_STUB_MESSAGE,PFORMAT_STRING); void __attribute__((__stdcall__)) NdrClientInitializeNew(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,unsigned int); unsigned char *__attribute__((__stdcall__)) NdrServerInitializeNew(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC); void __attribute__((__stdcall__)) NdrClientInitialize(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,unsigned int); unsigned char *__attribute__((__stdcall__)) NdrServerInitialize(PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC); unsigned char *__attribute__((__stdcall__)) NdrServerInitializeUnmarshall(PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,PRPC_MESSAGE); void __attribute__((__stdcall__)) NdrServerInitializeMarshall(PRPC_MESSAGE,PMIDL_STUB_MESSAGE); unsigned char *__attribute__((__stdcall__)) NdrGetBuffer(PMIDL_STUB_MESSAGE,unsigned long,RPC_BINDING_HANDLE); unsigned char *__attribute__((__stdcall__)) NdrNsGetBuffer(PMIDL_STUB_MESSAGE,unsigned long,RPC_BINDING_HANDLE); unsigned char *__attribute__((__stdcall__)) NdrSendReceive(PMIDL_STUB_MESSAGE,unsigned char*); unsigned char *__attribute__((__stdcall__)) NdrNsSendReceive(PMIDL_STUB_MESSAGE,unsigned char*,RPC_BINDING_HANDLE*); void __attribute__((__stdcall__)) NdrFreeBuffer(PMIDL_STUB_MESSAGE); CLIENT_CALL_RETURN __attribute__((__cdecl__)) NdrClientCall(PMIDL_STUB_DESC,PFORMAT_STRING,...); typedef enum { STUB_UNMARSHAL, STUB_CALL_SERVER, STUB_MARSHAL, STUB_CALL_SERVER_NO_HRESULT } STUB_PHASE; typedef enum { PROXY_CALCSIZE, PROXY_GETBUFFER, PROXY_MARSHAL, PROXY_SENDRECEIVE, PROXY_UNMARSHAL } PROXY_PHASE; long __attribute__((__stdcall__)) NdrStubCall(struct IRpcStubBuffer*,struct IRpcChannelBuffer*,PRPC_MESSAGE,unsigned long*); void __attribute__((__stdcall__)) NdrServerCall(PRPC_MESSAGE); int __attribute__((__stdcall__)) NdrServerUnmarshall(struct IRpcChannelBuffer*,PRPC_MESSAGE,PMIDL_STUB_MESSAGE,PMIDL_STUB_DESC,PFORMAT_STRING,void*); void __attribute__((__stdcall__)) NdrServerMarshall(struct IRpcStubBuffer*,struct IRpcChannelBuffer*,PMIDL_STUB_MESSAGE,PFORMAT_STRING); RPC_STATUS __attribute__((__stdcall__)) NdrMapCommAndFaultStatus(PMIDL_STUB_MESSAGE,unsigned long*,unsigned long*,RPC_STATUS); int __attribute__((__stdcall__)) NdrSH_UPDecision(PMIDL_STUB_MESSAGE,unsigned char**,RPC_BUFPTR); int __attribute__((__stdcall__)) NdrSH_TLUPDecision(PMIDL_STUB_MESSAGE,unsigned char**); int __attribute__((__stdcall__)) NdrSH_TLUPDecisionBuffer(PMIDL_STUB_MESSAGE,unsigned char**); int __attribute__((__stdcall__)) NdrSH_IfAlloc(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); int __attribute__((__stdcall__)) NdrSH_IfAllocRef(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); int __attribute__((__stdcall__)) NdrSH_IfAllocSet(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_IfCopy(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_IfAllocCopy(PMIDL_STUB_MESSAGE,unsigned char**,unsigned long); unsigned long __attribute__((__stdcall__)) NdrSH_Copy(unsigned char*,unsigned char*,unsigned long); void __attribute__((__stdcall__)) NdrSH_IfFree(PMIDL_STUB_MESSAGE,unsigned char*); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_StringMarshall(PMIDL_STUB_MESSAGE,unsigned char*,unsigned long,int); RPC_BUFPTR __attribute__((__stdcall__)) NdrSH_StringUnMarshall(PMIDL_STUB_MESSAGE,unsigned char**,int); typedef void *RPC_SS_THREAD_HANDLE; typedef void* __attribute__((__stdcall__)) RPC_CLIENT_ALLOC(unsigned int); typedef void __attribute__((__stdcall__)) RPC_CLIENT_FREE(void*); void*__attribute__((__stdcall__)) RpcSsAllocate(unsigned int); void __attribute__((__stdcall__)) RpcSsDisableAllocate(void); void __attribute__((__stdcall__)) RpcSsEnableAllocate(void); void __attribute__((__stdcall__)) RpcSsFree(void*); RPC_SS_THREAD_HANDLE __attribute__((__stdcall__)) RpcSsGetThreadHandle(void); void __attribute__((__stdcall__)) RpcSsSetClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*); void __attribute__((__stdcall__)) RpcSsSetThreadHandle(RPC_SS_THREAD_HANDLE); void __attribute__((__stdcall__)) RpcSsSwapClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*,RPC_CLIENT_ALLOC**,RPC_CLIENT_FREE**); void*__attribute__((__stdcall__)) RpcSmAllocate(unsigned int,RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcSmClientFree(void*); RPC_STATUS __attribute__((__stdcall__)) RpcSmDestroyClientContext(void**); RPC_STATUS __attribute__((__stdcall__)) RpcSmDisableAllocate(void); RPC_STATUS __attribute__((__stdcall__)) RpcSmEnableAllocate(void); RPC_STATUS __attribute__((__stdcall__)) RpcSmFree(void*); RPC_SS_THREAD_HANDLE __attribute__((__stdcall__)) RpcSmGetThreadHandle(RPC_STATUS*); RPC_STATUS __attribute__((__stdcall__)) RpcSmSetClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*); RPC_STATUS __attribute__((__stdcall__)) RpcSmSetThreadHandle(RPC_SS_THREAD_HANDLE); RPC_STATUS __attribute__((__stdcall__)) RpcSmSwapClientAllocFree(RPC_CLIENT_ALLOC*,RPC_CLIENT_FREE*,RPC_CLIENT_ALLOC**,RPC_CLIENT_FREE**); void __attribute__((__stdcall__)) NdrRpcSsEnableAllocate(PMIDL_STUB_MESSAGE); void __attribute__((__stdcall__)) NdrRpcSsDisableAllocate(PMIDL_STUB_MESSAGE); void __attribute__((__stdcall__)) NdrRpcSmSetClientToOsf(PMIDL_STUB_MESSAGE); void*__attribute__((__stdcall__)) NdrRpcSmClientAllocate(unsigned int); void __attribute__((__stdcall__)) NdrRpcSmClientFree(void*); void*__attribute__((__stdcall__)) NdrRpcSsDefaultAllocate(unsigned int); void __attribute__((__stdcall__)) NdrRpcSsDefaultFree(void*); PFULL_PTR_XLAT_TABLES __attribute__((__stdcall__)) NdrFullPointerXlatInit(unsigned long,XLAT_SIDE); void __attribute__((__stdcall__)) NdrFullPointerXlatFree(PFULL_PTR_XLAT_TABLES); int __attribute__((__stdcall__)) NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES,void*,unsigned char,unsigned long*); int __attribute__((__stdcall__)) NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES,unsigned long,unsigned char,void**); void __attribute__((__stdcall__)) NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES,unsigned long,void*); int __attribute__((__stdcall__)) NdrFullPointerFree(PFULL_PTR_XLAT_TABLES,void*); void*__attribute__((__stdcall__)) NdrAllocate(PMIDL_STUB_MESSAGE,unsigned int); void __attribute__((__stdcall__)) NdrClearOutParameters(PMIDL_STUB_MESSAGE,PFORMAT_STRING,void*); void*__attribute__((__stdcall__)) NdrOleAllocate(unsigned int); void __attribute__((__stdcall__)) NdrOleFree(void*); } # 9 "C:/MINGW/include/objbase.h" 2 3 # 1 "C:/MINGW/include/stdlib.h" 1 3 # 38 "C:/MINGW/include/stdlib.h" 3 # 1 "C:/MINGW/include/stddef.h" 1 3 # 1 "C:/MINGW/lib/gcc-lib/mingw32/3.1/include/stddef.h" 1 3 # 7 "C:/MINGW/include/stddef.h" 2 3 # 39 "C:/MINGW/include/stdlib.h" 2 3 # 77 "C:/MINGW/include/stdlib.h" 3 extern "C" { # 86 "C:/MINGW/include/stdlib.h" 3 extern int _argc; extern char** _argv; extern int* __p___argc(void); extern char*** __p___argv(void); extern wchar_t*** __p___wargv(void); # 129 "C:/MINGW/include/stdlib.h" 3 extern __attribute__((dllimport)) int __mb_cur_max; # 153 "C:/MINGW/include/stdlib.h" 3 int* _errno(void); int* __doserrno(void); extern char *** __p__environ(void); extern wchar_t *** __p__wenviron(void); # 187 "C:/MINGW/include/stdlib.h" 3 extern __attribute__((dllimport)) int _sys_nerr; # 211 "C:/MINGW/include/stdlib.h" 3 extern __attribute__((dllimport)) char* _sys_errlist[]; # 225 "C:/MINGW/include/stdlib.h" 3 extern unsigned int* __p__osver(void); extern unsigned int* __p__winver(void); extern unsigned int* __p__winmajor(void); extern unsigned int* __p__winminor(void); # 269 "C:/MINGW/include/stdlib.h" 3 char** __p__pgmptr(void); wchar_t** __p__wpgmptr(void); # 292 "C:/MINGW/include/stdlib.h" 3 double atof (const char*); int atoi (const char*); long atol (const char*); int _wtoi (const wchar_t *); long _wtol (const wchar_t *); double strtod (const char*, char**); extern __inline__ float strtof (const char *nptr, char **endptr) { return (strtod (nptr, endptr));} long strtol (const char*, char**, int); unsigned long strtoul (const char*, char**, int); double wcstod (const wchar_t*, wchar_t**); extern __inline__ float wcstof( const wchar_t *nptr, wchar_t **endptr) { return (wcstod(nptr, endptr)); } long wcstol (const wchar_t*, wchar_t**, int); unsigned long wcstoul (const wchar_t*, wchar_t**, int); size_t wcstombs (char*, const wchar_t*, size_t); int wctomb (char*, wchar_t); int mblen (const char*, size_t); size_t mbstowcs (wchar_t*, const char*, size_t); int mbtowc (wchar_t*, const char*, size_t); int rand (void); void srand (unsigned int); void* calloc (size_t, size_t); void* malloc (size_t); void* realloc (void*, size_t); void free (void*); void abort (void) __attribute__ ((noreturn)); void exit (int) __attribute__ ((noreturn)); int atexit (void (*)(void)); int system (const char*); char* getenv (const char*); void* bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void qsort (const void*, size_t, size_t, int (*)(const void*, const void*)); int abs (int); long labs (long); # 358 "C:/MINGW/include/stdlib.h" 3 typedef struct { int quot, rem; } div_t; typedef struct { long quot, rem; } ldiv_t; div_t div (int, int); ldiv_t ldiv (long, long); void _beep (unsigned int, unsigned int); void _seterrormode (int); void _sleep (unsigned long); void _exit (int) __attribute__ ((noreturn)); void _Exit(int) __attribute__ ((noreturn)); extern __inline__ void _Exit(int status) { _exit(status); } typedef int (* _onexit_t)(void); _onexit_t _onexit( _onexit_t ); int _putenv (const char*); void _searchenv (const char*, const char*, char*); char* _ecvt (double, int, int*, int*); char* _fcvt (double, int, int*, int*); char* _gcvt (double, int, char*); void _makepath (char*, const char*, const char*, const char*, const char*); void _splitpath (const char*, char*, char*, char*, char*); char* _fullpath (char*, const char*, size_t); char* _itoa (int, char*, int); char* _ltoa (long, char*, int); char* _ultoa(unsigned long, char*, int); wchar_t* _itow (int, wchar_t*, int); wchar_t* _ltow (long, wchar_t*, int); wchar_t* _ultow (unsigned long, wchar_t*, int); long long _atoi64(const char *); char* _i64toa(long long, char *, int); char* _ui64toa(unsigned long long, char *, int); long long _wtoi64(const wchar_t *); wchar_t* _i64tow(long long, wchar_t *, int); wchar_t* _ui64tow(unsigned long long, wchar_t *, int); wchar_t* _wgetenv(const wchar_t*); int _wputenv(const wchar_t*); void _wsearchenv(const wchar_t*, const wchar_t*, wchar_t*); void _wmakepath(wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*); void _wsplitpath (const wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*); wchar_t* _wfullpath (wchar_t*, const wchar_t*, size_t); int putenv (const char*); void searchenv (const char*, const char*, char*); char* itoa (int, char*, int); char* ltoa (long, char*, int); char* ecvt (double, int, int*, int*); char* fcvt (double, int, int*, int*); char* gcvt (double, int, char*); # 442 "C:/MINGW/include/stdlib.h" 3 typedef struct { long long quot, rem; } lldiv_t; lldiv_t lldiv (long long, long long); extern __inline__ long long llabs(long long _j) {return (_j >= 0 ? _j : -_j);} long long strtoll (const char* __restrict__, char** __restrict, int); unsigned long long strtoull (const char* __restrict__, char** __restrict__, int); long long atoll (const char *); long long wtoll(const wchar_t *); char* lltoa(long long, char *, int); char* ulltoa(unsigned long long , char *, int); wchar_t* lltow(long long, wchar_t *, int); wchar_t* ulltow(unsigned long long, wchar_t *, int); extern __inline__ long long atoll (const char * _c) { return _atoi64 (_c); } extern __inline__ char* lltoa(long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } extern __inline__ char* ulltoa(unsigned long long _n, char * _c, int _i) { return _ui64toa (_n, _c, _i); } extern __inline__ long long wtoll(const wchar_t * _w) { return _wtoi64 (_w); } extern __inline__ wchar_t* lltow(long long _n, wchar_t * _w, int _i) { return _i64tow (_n, _w, _i); } extern __inline__ wchar_t* ulltow(unsigned long long _n, wchar_t * _w, int _i) { return _ui64tow (_n, _w, _i); } # 487 "C:/MINGW/include/stdlib.h" 3 } # 10 "C:/MINGW/include/objbase.h" 2 3 #pragma pack(push,8) # 49 "C:/MINGW/include/objbase.h" 3 typedef enum tagREGCLS { REGCLS_SINGLEUSE = 0, REGCLS_MULTIPLEUSE = 1, REGCLS_MULTI_SEPARATE = 2 } REGCLS; # 1 "C:/MINGW/include/wtypes.h" 1 3 # 5 "C:/MINGW/include/wtypes.h" 3 extern "C" { # 28 "C:/MINGW/include/wtypes.h" 3 typedef enum tagDVASPECT { DVASPECT_CONTENT=1, DVASPECT_THUMBNAIL=2, DVASPECT_ICON=4, DVASPECT_DOCPRINT=8 } DVASPECT; typedef enum tagDVASPECT2 { DVASPECT_OPAQUE=16, DVASPECT_TRANSPARENT=32 } DVASPECT2; typedef enum tagSTATFLAG { STATFLAG_DEFAULT=0, STATFLAG_NONAME=1 } STATFLAG; typedef enum tagMEMCTX { MEMCTX_TASK=1, MEMCTX_SHARED, MEMCTX_MACSYSTEM, MEMCTX_UNKNOWN=-1, MEMCTX_SAME=-2 } MEMCTX; typedef enum tagMSHCTX { MSHCTX_LOCAL, MSHCTX_NOSHAREDMEM, MSHCTX_DIFFERENTMACHINE, MSHCTX_INPROC } MSHCTX; typedef enum tagCLSCTX { CLSCTX_INPROC_SERVER=1,CLSCTX_INPROC_HANDLER=2,CLSCTX_LOCAL_SERVER=4, CLSCTX_INPROC_SERVER16=8,CLSCTX_REMOTE_SERVER=16 } CLSCTX; typedef enum tagMSHLFLAGS { MSHLFLAGS_NORMAL,MSHLFLAGS_TABLESTRONG,MSHLFLAGS_TABLEWEAK } MSHLFLAGS; typedef struct _FLAGGED_WORD_BLOB { unsigned long fFlags; unsigned long clSize; unsigned short asData[1]; }FLAGGED_WORD_BLOB; typedef WCHAR OLECHAR; typedef LPWSTR LPOLESTR; typedef LPCWSTR LPCOLESTR; typedef unsigned short VARTYPE; typedef short VARIANT_BOOL; typedef VARIANT_BOOL _VARIANT_BOOL; typedef OLECHAR *BSTR; typedef FLAGGED_WORD_BLOB *wireBSTR; typedef BSTR *LPBSTR; typedef LONG SCODE; typedef void *HCONTEXT; typedef union tagCY { __extension__ struct { unsigned long Lo; long Hi; }; LONGLONG int64; } CY; typedef double DATE; typedef struct tagBSTRBLOB { ULONG cbSize; PBYTE pData; }BSTRBLOB; typedef struct tagBSTRBLOB *LPBSTRBLOB; typedef struct tagCLIPDATA { ULONG cbSize; long ulClipFmt; PBYTE pClipData; }CLIPDATA; typedef enum tagSTGC { STGC_DEFAULT,STGC_OVERWRITE,STGC_ONLYIFCURRENT, STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE }STGC; typedef enum tagSTGMOVE { STGMOVE_MOVE,STGMOVE_COPY,STGMOVE_SHALLOWCOPY }STGMOVE; enum VARENUM { VT_EMPTY,VT_NULL,VT_I2,VT_I4,VT_R4,VT_R8,VT_CY,VT_DATE,VT_BSTR,VT_DISPATCH, VT_ERROR,VT_BOOL,VT_VARIANT,VT_UNKNOWN,VT_DECIMAL,VT_I1=16,VT_UI1,VT_UI2,VT_UI4,VT_I8, VT_UI8,VT_INT,VT_UINT,VT_VOID,VT_HRESULT,VT_PTR,VT_SAFEARRAY,VT_CARRAY,VT_USERDEFINED, VT_LPSTR,VT_LPWSTR,VT_RECORD=36,VT_FILETIME=64,VT_BLOB,VT_STREAM,VT_STORAGE,VT_STREAMED_OBJECT, VT_STORED_OBJECT,VT_BLOB_OBJECT,VT_CF,VT_CLSID,VT_BSTR_BLOB=0xfff,VT_VECTOR=0x1000, VT_ARRAY=0x2000,VT_BYREF=0x4000,VT_RESERVED=0x8000,VT_ILLEGAL= 0xffff,VT_ILLEGALMASKED=0xfff, VT_TYPEMASK=0xfff }; # 131 "C:/MINGW/include/wtypes.h" 3 typedef struct _BYTE_SIZEDARR { unsigned long clSize; byte *pData; }BYTE_SIZEDARR; typedef struct _SHORT_SIZEDARR { unsigned long clSize; unsigned short *pData; }WORD_SIZEDARR; typedef struct _LONG_SIZEDARR { unsigned long clSize; unsigned long *pData; }DWORD_SIZEDARR; typedef struct _HYPER_SIZEDARR { unsigned long clSize; long long *pData; }HYPER_SIZEDARR; typedef double DOUBLE; typedef struct tagDEC { USHORT wReserved; __extension__ union { __extension__ struct { BYTE scale; BYTE sign; }; USHORT signscale; } ; ULONG Hi32; __extension__ union { __extension__ struct { ULONG Lo32; ULONG Mid32; }; ULONGLONG Lo64; } ; } DECIMAL; } # 55 "C:/MINGW/include/objbase.h" 2 3 # 1 "C:/MINGW/include/unknwn.h" 1 3 # 5 "C:/MINGW/include/unknwn.h" 3 extern "C"{ void * __attribute__((__stdcall__)) MIDL_user_allocate(size_t); void __attribute__((__stdcall__)) MIDL_user_free(void*); extern "C" const IID IID_IUnknown; extern "C" const IID IID_IClassFactory; struct IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; }; typedef IUnknown *LPUNKNOWN; struct IClassFactory : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) CreateInstance( LPUNKNOWN,const IID&,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) LockServer( BOOL) =0; }; typedef IClassFactory *LPCLASSFACTORY; HRESULT __attribute__((__stdcall__)) IUnknown_QueryInterface_Proxy(IUnknown*,const IID&,void**); void __attribute__((__stdcall__)) IUnknown_QueryInterface_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IUnknown_AddRef_Proxy(IUnknown*); void __attribute__((__stdcall__)) IUnknown_AddRef_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IUnknown_Release_Proxy(IUnknown*); void __attribute__((__stdcall__)) IUnknown_Release_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IClassFactory_RemoteCreateInstance_Proxy(IClassFactory*,const IID&,IUnknown**); void __attribute__((__stdcall__)) IClassFactory_RemoteCreateInstance_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IClassFactory_RemoteLockServer_Proxy(IClassFactory*,BOOL); void __attribute__((__stdcall__)) IClassFactory_RemoteLockServer_Stub(LPRPCSTUBBUFFER,LPRPCCHANNELBUFFER,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IClassFactory_CreateInstance_Proxy(IClassFactory*,IUnknown*,const IID&,void**); HRESULT __attribute__((__stdcall__)) IClassFactory_CreateInstance_Stub(IClassFactory*,const IID&,IUnknown**); HRESULT __attribute__((__stdcall__)) IClassFactory_LockServer_Proxy(IClassFactory*,BOOL); HRESULT __attribute__((__stdcall__)) IClassFactory_LockServer_Stub(IClassFactory*,BOOL); # 69 "C:/MINGW/include/unknwn.h" 3 } # 56 "C:/MINGW/include/objbase.h" 2 3 # 1 "C:/MINGW/include/objidl.h" 1 3 # 5 "C:/MINGW/include/objidl.h" 3 typedef struct tagSTATSTG { LPOLESTR pwcsName; DWORD type; ULARGE_INTEGER cbSize; FILETIME mtime; FILETIME ctime; FILETIME atime; DWORD grfMode; DWORD grfLocksSupported; CLSID clsid; DWORD grfStateBits; DWORD reserved; } STATSTG; typedef enum tagSTGTY { STGTY_STORAGE=1, STGTY_STREAM, STGTY_LOCKBYTES, STGTY_PROPERTY } STGTY; typedef enum tagSTREAM_SEEK { STREAM_SEEK_SET, STREAM_SEEK_CUR, STREAM_SEEK_END } STREAM_SEEK; typedef struct tagINTERFACEINFO { LPUNKNOWN pUnk; IID iid; WORD wMethod; } INTERFACEINFO,*LPINTERFACEINFO; typedef enum tagCALLTYPE { CALLTYPE_TOPLEVEL=1, CALLTYPE_NESTED, CALLTYPE_ASYNC, CALLTYPE_TOPLEVEL_CALLPENDING, CALLTYPE_ASYNC_CALLPENDING } CALLTYPE; typedef enum tagPENDINGTYPE { PENDINGTYPE_TOPLEVEL=1, PENDINGTYPE_NESTED } PENDINGTYPE; typedef enum tagPENDINGMSG { PENDINGMSG_CANCELCALL=0, PENDINGMSG_WAITNOPROCESS, PENDINGMSG_WAITDEFPROCESS } PENDINGMSG; typedef OLECHAR **SNB; typedef enum tagDATADIR { DATADIR_GET=1, DATADIR_SET } DATADIR; typedef WORD CLIPFORMAT,*LPCLIPFORMAT; typedef struct tagDVTARGETDEVICE { DWORD tdSize; WORD tdDriverNameOffset; WORD tdDeviceNameOffset; WORD tdPortNameOffset; WORD tdExtDevmodeOffset; BYTE tdData[1]; } DVTARGETDEVICE; typedef struct tagFORMATETC { CLIPFORMAT cfFormat; DVTARGETDEVICE*ptd; DWORD dwAspect; LONG lindex; DWORD tymed; } FORMATETC,*LPFORMATETC; typedef struct tagRemSTGMEDIUM { DWORD tymed; DWORD dwHandleType; ULONG pData; unsigned long pUnkForRelease; unsigned long cbData; BYTE data[1]; } RemSTGMEDIUM; typedef struct tagHLITEM { ULONG uHLID; LPWSTR pwzFriendlyName; } HLITEM; typedef struct tagSTATDATA { FORMATETC formatetc; DWORD grfAdvf; struct IAdviseSink *pAdvSink; DWORD dwConnection; } STATDATA; typedef struct tagSTATPROPSETSTG { FMTID fmtid; CLSID clsid; DWORD grfFlags; FILETIME mtime; FILETIME ctime; FILETIME atime; } STATPROPSETSTG; typedef enum tagEXTCONN { EXTCONN_STRONG=1, EXTCONN_WEAK=2, EXTCONN_CALLABLE=4 } EXTCONN; typedef struct tagMULTI_QI { const IID *pIID; IUnknown *pItf; HRESULT hr; } MULTI_QI; typedef struct _AUTH_IDENTITY { USHORT *User; ULONG UserLength; USHORT *Domain; ULONG DomainLength; USHORT *Password; ULONG PasswordLength; ULONG Flags; } AUTH_IDENTITY; typedef struct _COAUTHINFO{ DWORD dwAuthnSvc; DWORD dwAuthzSvc; LPWSTR pwszServerPrincName; DWORD dwAuthnLevel; DWORD dwImpersonationLevel; AUTH_IDENTITY *pAuthIdentityData; DWORD dwCapabilities; } COAUTHINFO; typedef struct _COSERVERINFO { DWORD dwReserved1; LPWSTR pwszName; COAUTHINFO *pAuthInfo; DWORD dwReserved2; } COSERVERINFO; typedef struct tagBIND_OPTS { DWORD cbStruct; DWORD grfFlags; DWORD grfMode; DWORD dwTickCountDeadline; } BIND_OPTS,*LPBIND_OPTS; typedef struct tagBIND_OPTS2 { DWORD cbStruct; DWORD grfFlags; DWORD grfMode; DWORD dwTickCountDeadline; DWORD dwTrackFlags; DWORD dwClassContext; LCID locale; COSERVERINFO *pServerInfo; } BIND_OPTS2,*LPBIND_OPTS2; typedef enum tagBIND_FLAGS { BIND_MAYBOTHERUSER=1, BIND_JUSTTESTEXISTENCE } BIND_FLAGS; typedef struct tagSTGMEDIUM { DWORD tymed; __extension__ union { HBITMAP hBitmap; PVOID hMetaFilePict; HENHMETAFILE hEnhMetaFile; HGLOBAL hGlobal; LPCSTR lpszFileName; LPSTREAM pstm; LPSTORAGE pstg; } ; LPUNKNOWN pUnkForRelease; } STGMEDIUM,*LPSTGMEDIUM; typedef enum tagLOCKTYPE { LOCK_WRITE=1, LOCK_EXCLUSIVE=2, LOCK_ONLYONCE=4 } LOCKTYPE; typedef unsigned long RPCOLEDATAREP; typedef struct tagRPCOLEMESSAGE { PVOID reserved1; RPCOLEDATAREP dataRepresentation; PVOID Buffer; ULONG cbBuffer; ULONG iMethod; PVOID reserved2[5]; ULONG rpcFlags; } RPCOLEMESSAGE; typedef enum tagMKSYS { MKSYS_NONE, MKSYS_GENERICCOMPOSITE, MKSYS_FILEMONIKER, MKSYS_ANTIMONIKER, MKSYS_ITEMMONIKER, MKSYS_POINTERMONIKER } MKSYS; typedef enum tagMKREDUCE { MKRREDUCE_ALL, MKRREDUCE_ONE=196608, MKRREDUCE_TOUSER=131072, MKRREDUCE_THROUGHUSER=65536 } MKRREDUCE; typedef struct tagRemSNB { unsigned long ulCntStr; unsigned long ulCntChar; OLECHAR rgString[1]; } RemSNB; typedef enum tagADVF { ADVF_NODATA=1,ADVF_PRIMEFIRST=2,ADVF_ONLYONCE=4,ADVF_DATAONSTOP=64, ADVFCACHE_NOHANDLER=8,ADVFCACHE_FORCEBUILTIN=16,ADVFCACHE_ONSAVE=32 } ADVF; typedef enum tagTYMED { TYMED_HGLOBAL=1,TYMED_FILE=2,TYMED_ISTREAM=4,TYMED_ISTORAGE=8, TYMED_GDI=16,TYMED_MFPICT=32,TYMED_ENHMF=64,TYMED_NULL=0 } TYMED; typedef enum tagSERVERCALL { SERVERCALL_ISHANDLED,SERVERCALL_REJECTED,SERVERCALL_RETRYLATER } SERVERCALL; typedef struct tagCAUB { ULONG cElems; unsigned char *pElems; }CAUB; typedef struct tagCAI { ULONG cElems; short *pElems; }CAI; typedef struct tagCAUI { ULONG cElems; USHORT *pElems; }CAUI; typedef struct tagCAL { ULONG cElems; long *pElems; }CAL; typedef struct tagCAUL { ULONG cElems; ULONG *pElems; }CAUL; typedef struct tagCAFLT { ULONG cElems; float *pElems; }CAFLT; typedef struct tagCADBL { ULONG cElems; double *pElems; }CADBL; typedef struct tagCACY { ULONG cElems; CY *pElems; }CACY; typedef struct tagCADATE { ULONG cElems; DATE *pElems; }CADATE; typedef struct tagCABSTR { ULONG cElems; BSTR *pElems; }CABSTR; typedef struct tagCABSTRBLOB { ULONG cElems; BSTRBLOB *pElems; }CABSTRBLOB; typedef struct tagCABOOL { ULONG cElems; VARIANT_BOOL *pElems; }CABOOL; typedef struct tagCASCODE { ULONG cElems; SCODE *pElems; }CASCODE; typedef struct tagCAH { ULONG cElems; LARGE_INTEGER *pElems; }CAH; typedef struct tagCAUH { ULONG cElems; ULARGE_INTEGER *pElems; }CAUH; typedef struct tagCALPSTR { ULONG cElems; LPSTR *pElems; }CALPSTR; typedef struct tagCALPWSTR { ULONG cElems; LPWSTR *pElems; }CALPWSTR; typedef struct tagCAFILETIME { ULONG cElems; FILETIME *pElems; }CAFILETIME; typedef struct tagCACLIPDATA { ULONG cElems; CLIPDATA *pElems; }CACLIPDATA; typedef struct tagCACLSID { ULONG cElems; CLSID *pElems; }CACLSID; typedef struct tagPROPVARIANT *LPPROPVARIANT; typedef struct tagCAPROPVARIANT { ULONG cElems; LPPROPVARIANT pElems; }CAPROPVARIANT; typedef struct tagPROPVARIANT { VARTYPE vt; WORD wReserved1; WORD wReserved2; WORD wReserved3; __extension__ union { UCHAR bVal; short iVal; USHORT uiVal; VARIANT_BOOL boolVal; long lVal; ULONG ulVal; float fltVal; SCODE scode; LARGE_INTEGER hVal; ULARGE_INTEGER uhVal; double dblVal; CY cyVal; DATE date; FILETIME filetime; CLSID *puuid; BLOB blob; CLIPDATA *pclipdata; LPSTREAM pStream; LPSTORAGE pStorage; BSTR bstrVal; BSTRBLOB bstrblobVal; LPSTR pszVal; LPWSTR pwszVal; CAUB caub; CAI cai; CAUI caui; CABOOL cabool; CAL cal; CAUL caul; CAFLT caflt; CASCODE cascode; CAH cah; CAUH cauh; CADBL cadbl; CACY cacy; CADATE cadate; CAFILETIME cafiletime; CACLSID cauuid; CACLIPDATA caclipdata; CABSTR cabstr; CABSTRBLOB cabstrblob; CALPSTR calpstr; CALPWSTR calpwstr; CAPROPVARIANT capropvar; } ; } PROPVARIANT; typedef struct tagPROPSPEC { ULONG ulKind; __extension__ union { PROPID propid; LPOLESTR lpwstr; } ; }PROPSPEC; typedef struct tagSTATPROPSTG { LPOLESTR lpwstrName; PROPID propid; VARTYPE vt; } STATPROPSTG; typedef enum PROPSETFLAG { PROPSETFLAG_DEFAULT,PROPSETFLAG_NONSIMPLE,PROPSETFLAG_ANSI, PROPSETFLAG_UNBUFFERED=4 } PROPSETFLAG; typedef struct tagSTORAGELAYOUT { DWORD LayoutType; OLECHAR* pwcsElementName; LARGE_INTEGER cOffset; LARGE_INTEGER cBytes; } STORAGELAYOUT; typedef struct tagSOLE_AUTHENTICATION_SERVICE { DWORD dwAuthnSvc; DWORD dwAuthzSvc; OLECHAR *pPrincipalName; HRESULT hr; } SOLE_AUTHENTICATION_SERVICE; typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES { EOAC_NONE = 0, EOAC_MUTUAL_AUTH = 0x1, EOAC_STATIC_CLOAKING = 0x20, EOAC_DYNAMIC_CLOAKING = 0x40, EOAC_ANY_AUTHORITY = 0x80, EOAC_MAKE_FULLSIC = 0x100, EOAC_DEFAULT = 0x800, EOAC_SECURE_REFS = 0x2, EOAC_ACCESS_CONTROL = 0x4, EOAC_APPID = 0x8, EOAC_DYNAMIC = 0x10, EOAC_REQUIRE_FULLSIC = 0x200, EOAC_AUTO_IMPERSONATE = 0x400, EOAC_NO_CUSTOM_MARSHAL = 0x2000, EOAC_DISABLE_AAA = 0x1000 } EOLE_AUTHENTICATION_CAPABILITIES; typedef struct tagSOLE_AUTHENTICATION_INFO { DWORD dwAuthnSvc; DWORD dwAuthzSvc; void* pAuthInfo; } SOLE_AUTHENTICATION_INFO; typedef struct tagSOLE_AUTHENTICATION_LIST { DWORD cAuthInfo; SOLE_AUTHENTICATION_INFO* aAuthInfo; } SOLE_AUTHENTICATION_LIST; struct IEnumFORMATETC : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,FORMATETC*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumFORMATETC**) =0; }; struct IEnumHLITEM : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,HLITEM*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumHLITEM**) =0; }; struct IEnumSTATDATA : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,STATDATA*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumSTATDATA**) =0; }; struct IEnumSTATPROPSETSTG : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,STATPROPSETSTG*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumSTATPROPSETSTG**) =0; }; struct IEnumSTATPROPSTG : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,STATPROPSTG*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumSTATPROPSTG**) =0; }; struct IEnumSTATSTG : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,STATSTG*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumSTATSTG**) =0; }; struct IEnumString : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,LPOLESTR*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumString**) =0; }; struct IEnumMoniker : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,struct IMoniker*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumMoniker**) =0; }; struct IEnumUnknown : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,IUnknown**,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumUnknown**) =0; }; extern "C" const IID IID_ISequentialStream; struct ISequentialStream : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Read( void*,ULONG,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Write( void const*,ULONG,ULONG*) =0; }; extern "C" const IID IID_IStream; struct IStream : public ISequentialStream { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Read( void*,ULONG,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Write( void const*,ULONG,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Seek( LARGE_INTEGER,DWORD,ULARGE_INTEGER*) =0; virtual HRESULT __attribute__((__stdcall__)) SetSize( ULARGE_INTEGER) =0; virtual HRESULT __attribute__((__stdcall__)) CopyTo( IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*) =0; virtual HRESULT __attribute__((__stdcall__)) Commit( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Revert(void) =0; virtual HRESULT __attribute__((__stdcall__)) LockRegion( ULARGE_INTEGER,ULARGE_INTEGER,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) UnlockRegion( ULARGE_INTEGER,ULARGE_INTEGER,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Stat( STATSTG*,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Clone( LPSTREAM*) =0; }; extern "C" const IID IID_IMarshal; struct IMarshal : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetUnmarshalClass ( const IID&,DWORD,PVOID,DWORD,CLSID*) =0; virtual HRESULT __attribute__((__stdcall__)) GetMarshalSizeMax ( const IID&,DWORD,PVOID,DWORD,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) MarshalInterface ( const IID&,DWORD,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) UnmarshalInterface ( IStream*,void**) =0; virtual HRESULT __attribute__((__stdcall__)) ReleaseMarshalData ( IStream*) =0; virtual HRESULT __attribute__((__stdcall__)) DisconnectObject ( DWORD) =0; }; extern "C" const IID IID_IStdMarshalInfo; struct IStdMarshalInfo : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassForHandler( DWORD,PVOID,CLSID*) =0; }; extern "C" const IID IID_IMalloc; struct IMalloc : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual void* __attribute__((__stdcall__)) Alloc( ULONG) =0; virtual void* __attribute__((__stdcall__)) ReAlloc( void*,ULONG) =0; virtual void __attribute__((__stdcall__)) Free( void*) =0; virtual ULONG __attribute__((__stdcall__)) GetSize( void*) =0; virtual int __attribute__((__stdcall__)) DidAlloc( void*) =0; virtual void __attribute__((__stdcall__)) HeapMinimize(void) =0; }; extern "C" const IID IID_IMallocSpy; struct IMallocSpy : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual ULONG __attribute__((__stdcall__)) PreAlloc( ULONG) =0; virtual void* __attribute__((__stdcall__)) PostAlloc( void*) =0; virtual void* __attribute__((__stdcall__)) PreFree( void*,BOOL) =0; virtual void __attribute__((__stdcall__)) PostFree( BOOL) =0; virtual ULONG __attribute__((__stdcall__)) PreRealloc( void*,ULONG,void*) =0; virtual void* __attribute__((__stdcall__)) PostRealloc( void*,BOOL) =0; virtual void* __attribute__((__stdcall__)) PreGetSize( void*,BOOL) =0; virtual ULONG __attribute__((__stdcall__)) PostGetSize( ULONG,BOOL) =0; virtual void* __attribute__((__stdcall__)) PreDidAlloc( void*,BOOL) =0; virtual int __attribute__((__stdcall__)) PostDidAlloc( void*,BOOL,int) =0; virtual void __attribute__((__stdcall__)) PreHeapMinimize(void) =0; virtual void __attribute__((__stdcall__)) PostHeapMinimize(void) =0; }; extern "C" const IID IID_IMessageFilter; struct IMessageFilter : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual DWORD __attribute__((__stdcall__)) HandleInComingCall( DWORD,HTASK,DWORD,LPINTERFACEINFO) =0; virtual DWORD __attribute__((__stdcall__)) RetryRejectedCall( HTASK,DWORD,DWORD) =0; virtual DWORD __attribute__((__stdcall__)) MessagePending( HTASK,DWORD,DWORD) =0; }; extern "C" const IID IID_IPersist; struct IPersist : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassID( CLSID*) =0; }; extern "C" const IID IID_IPersistStream; struct IPersistStream : public IPersist { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassID( LPCLSID) =0; virtual HRESULT __attribute__((__stdcall__)) IsDirty(void) =0; virtual HRESULT __attribute__((__stdcall__)) Load( IStream*) =0; virtual HRESULT __attribute__((__stdcall__)) Save( IStream*,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) GetSizeMax( PULARGE_INTEGER) =0; }; extern "C" const IID IID_IRunningObjectTable; struct IRunningObjectTable : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Register( DWORD,LPUNKNOWN,LPMONIKER,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Revoke( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) IsRunning( LPMONIKER) =0; virtual HRESULT __attribute__((__stdcall__)) GetObjectA( LPMONIKER,LPUNKNOWN*) =0; virtual HRESULT __attribute__((__stdcall__)) NoteChangeTime( DWORD,LPFILETIME) =0; virtual HRESULT __attribute__((__stdcall__)) GetTimeOfLastChange( LPMONIKER,LPFILETIME) =0; virtual HRESULT __attribute__((__stdcall__)) EnumRunning( IEnumMoniker**) =0; }; extern "C" const IID IID_IBindCtx; struct IBindCtx : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) RegisterObjectBound( LPUNKNOWN) =0; virtual HRESULT __attribute__((__stdcall__)) RevokeObjectBound( LPUNKNOWN) =0; virtual HRESULT __attribute__((__stdcall__)) ReleaseBoundObjects(void) =0; virtual HRESULT __attribute__((__stdcall__)) SetBindOptions( LPBIND_OPTS) =0; virtual HRESULT __attribute__((__stdcall__)) GetBindOptions( LPBIND_OPTS) =0; virtual HRESULT __attribute__((__stdcall__)) GetRunningObjectTable( IRunningObjectTable**) =0; virtual HRESULT __attribute__((__stdcall__)) RegisterObjectParam( LPOLESTR,IUnknown*) =0; virtual HRESULT __attribute__((__stdcall__)) GetObjectParam( LPOLESTR,IUnknown**) =0; virtual HRESULT __attribute__((__stdcall__)) EnumObjectParam( IEnumString**) =0; virtual HRESULT __attribute__((__stdcall__)) RevokeObjectParam( LPOLESTR) =0; }; extern "C" const IID IID_IPersistStream; struct IMoniker : public IPersistStream { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassID( LPCLSID) =0; virtual HRESULT __attribute__((__stdcall__)) IsDirty(void) =0; virtual HRESULT __attribute__((__stdcall__)) Load( IStream*) =0; virtual HRESULT __attribute__((__stdcall__)) Save( IStream*,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) GetSizeMax( PULARGE_INTEGER) =0; virtual HRESULT __attribute__((__stdcall__)) BindToObject( IBindCtx*,IMoniker*,const IID&,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) BindToStorage( IBindCtx*,IMoniker*,const IID&,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) Reduce( IBindCtx*,DWORD,IMoniker**,IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) ComposeWith( IMoniker*,BOOL,IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) Enum( BOOL,IEnumMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) IsEqual( IMoniker*) =0; virtual HRESULT __attribute__((__stdcall__)) Hash( PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) IsRunning( IBindCtx*,IMoniker*,IMoniker*) =0; virtual HRESULT __attribute__((__stdcall__)) GetTimeOfLastChange( IBindCtx*,IMoniker*,LPFILETIME) =0; virtual HRESULT __attribute__((__stdcall__)) Inverse( IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) CommonPrefixWith( IMoniker*,IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) RelativePathTo( IMoniker*,IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) GetDisplayName( IBindCtx*,IMoniker*,LPOLESTR*) =0; virtual HRESULT __attribute__((__stdcall__)) ParseDisplayName( IBindCtx*,IMoniker*,LPOLESTR,ULONG*,IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) IsSystemMoniker( PDWORD) =0; }; extern "C" const IID IID_IPersistStorage; struct IPersistStorage : public IPersist { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassID( CLSID*) =0; virtual HRESULT __attribute__((__stdcall__)) IsDirty(void) =0; virtual HRESULT __attribute__((__stdcall__)) InitNew( LPSTORAGE) =0; virtual HRESULT __attribute__((__stdcall__)) Load( LPSTORAGE) =0; virtual HRESULT __attribute__((__stdcall__)) Save( LPSTORAGE,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) SaveCompleted( LPSTORAGE) =0; virtual HRESULT __attribute__((__stdcall__)) HandsOffStorage(void) =0; }; extern "C" const IID IID_IPersistFile; struct IPersistFile : public IPersist { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassID( CLSID*) =0; virtual HRESULT __attribute__((__stdcall__)) IsDirty(void) =0; virtual HRESULT __attribute__((__stdcall__)) Load( LPCOLESTR,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Save( LPCOLESTR,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) SaveCompleted( LPCOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) GetCurFile( LPOLESTR*) =0; }; extern "C" const IID IID_IAdviseSink; struct IAdviseSink : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual void __attribute__((__stdcall__)) OnDataChange( FORMATETC*,STGMEDIUM*) =0; virtual void __attribute__((__stdcall__)) OnViewChange( DWORD,LONG) =0; virtual void __attribute__((__stdcall__)) OnRename( IMoniker*) =0; virtual void __attribute__((__stdcall__)) OnSave(void) =0; virtual void __attribute__((__stdcall__)) OnClose(void) =0; }; extern "C" const IID IID_IAdviseSink2; struct IAdviseSink2 : public IAdviseSink { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual void __attribute__((__stdcall__)) OnDataChange( FORMATETC*,STGMEDIUM*) =0; virtual void __attribute__((__stdcall__)) OnViewChange( DWORD,LONG) =0; virtual void __attribute__((__stdcall__)) OnRename( IMoniker*) =0; virtual void __attribute__((__stdcall__)) OnSave(void) =0; virtual void __attribute__((__stdcall__)) OnClose(void) =0; virtual void __attribute__((__stdcall__)) OnLinkSrcChange( IMoniker*); }; extern "C" const IID IID_IDataObject; struct IDataObject : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetData( FORMATETC*,STGMEDIUM*) =0; virtual HRESULT __attribute__((__stdcall__)) GetDataHere( FORMATETC*,STGMEDIUM*) =0; virtual HRESULT __attribute__((__stdcall__)) QueryGetData( FORMATETC*) =0; virtual HRESULT __attribute__((__stdcall__)) GetCanonicalFormatEtc( FORMATETC*,FORMATETC*) =0; virtual HRESULT __attribute__((__stdcall__)) SetData( FORMATETC*,STGMEDIUM*,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) EnumFormatEtc( DWORD,IEnumFORMATETC**) =0; virtual HRESULT __attribute__((__stdcall__)) DAdvise( FORMATETC*,DWORD,IAdviseSink*,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) DUnadvise( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) EnumDAdvise( IEnumSTATDATA**) =0; }; extern "C" const IID IID_IDataAdviseHolder; struct IDataAdviseHolder : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Advise( IDataObject*,FORMATETC*,DWORD,IAdviseSink*,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Unadvise( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) EnumAdvise( IEnumSTATDATA**) =0; virtual HRESULT __attribute__((__stdcall__)) SendOnDataChange( IDataObject*,DWORD,DWORD) =0; }; extern "C" const IID IID_IStorage; struct IStorage : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) CreateStream( LPCWSTR,DWORD,DWORD,DWORD,IStream**) =0; virtual HRESULT __attribute__((__stdcall__)) OpenStream( LPCWSTR,PVOID,DWORD,DWORD,IStream**) =0; virtual HRESULT __attribute__((__stdcall__)) CreateStorage( LPCWSTR,DWORD,DWORD,DWORD,IStorage**) =0; virtual HRESULT __attribute__((__stdcall__)) OpenStorage( LPCWSTR,IStorage*,DWORD,SNB,DWORD,IStorage**) =0; virtual HRESULT __attribute__((__stdcall__)) CopyTo( DWORD,IID const*,SNB,IStorage*) =0; virtual HRESULT __attribute__((__stdcall__)) MoveElementTo( LPCWSTR,IStorage*,LPCWSTR,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Commit( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Revert(void) =0; virtual HRESULT __attribute__((__stdcall__)) EnumElements( DWORD,PVOID,DWORD,IEnumSTATSTG**) =0; virtual HRESULT __attribute__((__stdcall__)) DestroyElement( LPCWSTR) =0; virtual HRESULT __attribute__((__stdcall__)) RenameElement( LPCWSTR,LPCWSTR) =0; virtual HRESULT __attribute__((__stdcall__)) SetElementTimes( LPCWSTR,FILETIME const*,FILETIME const*,FILETIME const*) =0; virtual HRESULT __attribute__((__stdcall__)) SetClass( const CLSID&) =0; virtual HRESULT __attribute__((__stdcall__)) SetStateBits( DWORD,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Stat( STATSTG*,DWORD) =0; }; extern "C" const IID IID_IRootStorage; struct IRootStorage : public IPersist { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) SwitchToFile( LPOLESTR) =0; }; extern "C" const IID IID_IRpcChannelBuffer; struct IRpcChannelBuffer : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetBuffer( RPCOLEMESSAGE*,const IID&) =0; virtual HRESULT __attribute__((__stdcall__)) SendReceive( RPCOLEMESSAGE*,PULONG) =0; virtual HRESULT __attribute__((__stdcall__)) FreeBuffer( RPCOLEMESSAGE*) =0; virtual HRESULT __attribute__((__stdcall__)) GetDestCtx( PDWORD,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) IsConnected(void) =0; }; extern "C" const IID IID_IRpcProxyBuffer; struct IRpcProxyBuffer : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Connect( IRpcChannelBuffer*) =0; virtual void __attribute__((__stdcall__)) Disconnect(void) =0; }; extern "C" const IID IID_IRpcStubBuffer; struct IRpcStubBuffer : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Connect( LPUNKNOWN) =0; virtual void __attribute__((__stdcall__)) Disconnect(void) =0; virtual HRESULT __attribute__((__stdcall__)) Invoke( RPCOLEMESSAGE*,LPRPCSTUBBUFFER) =0; virtual LPRPCSTUBBUFFER __attribute__((__stdcall__)) IsIIDSupported( const IID&) =0; virtual ULONG __attribute__((__stdcall__)) CountRefs(void) =0; virtual HRESULT __attribute__((__stdcall__)) DebugServerQueryInterface( PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) DebugServerRelease( PVOID) =0; }; extern "C" const IID IID_IPSFactoryBuffer; struct IPSFactoryBuffer : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) CreateProxy( LPUNKNOWN,const IID&,LPRPCPROXYBUFFER*,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) CreateStub( const IID&,LPUNKNOWN,LPRPCSTUBBUFFER*) =0; }; extern "C" const IID IID_ILockBytes; struct ILockBytes : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) ReadAt( ULARGE_INTEGER,PVOID,ULONG,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) WriteAt( ULARGE_INTEGER,PCVOID,ULONG,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Flush(void) =0; virtual HRESULT __attribute__((__stdcall__)) SetSize( ULARGE_INTEGER) =0; virtual HRESULT __attribute__((__stdcall__)) LockRegion( ULARGE_INTEGER,ULARGE_INTEGER,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) UnlockRegion( ULARGE_INTEGER,ULARGE_INTEGER,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Stat( STATSTG*,DWORD) =0; }; extern "C" const IID IID_IExternalConnection; struct IExternalConnection : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) AddConnection( DWORD,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) ReleaseConnection( DWORD,DWORD,BOOL) =0; }; extern "C" const IID IID_IRunnableObject; struct IRunnableObject : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetRunningClass( LPCLSID) =0; virtual HRESULT __attribute__((__stdcall__)) Run( LPBC) =0; virtual BOOL __attribute__((__stdcall__)) IsRunning(void) =0; virtual HRESULT __attribute__((__stdcall__)) LockRunning( BOOL,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) SetContainedObject( BOOL) =0; }; extern "C" const IID IID_IROTData; struct IROTData : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetComparisonData( PVOID,ULONG,PULONG) =0; }; extern "C" const IID IID_IChannelHook; struct IChannelHook : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual void __attribute__((__stdcall__)) ClientGetSize( const GUID&,const IID&,PULONG) =0; virtual void __attribute__((__stdcall__)) ClientFillBuffer( const GUID&,const IID&,PULONG,PVOID) =0; virtual void __attribute__((__stdcall__)) ClientNotify( const GUID&,const IID&,ULONG,PVOID,DWORD,HRESULT) =0; virtual void __attribute__((__stdcall__)) ServerNotify( const GUID&,const IID&,ULONG,PVOID,DWORD) =0; virtual void __attribute__((__stdcall__)) ServerGetSize( const GUID&,const IID&,HRESULT,PULONG) =0; virtual void __attribute__((__stdcall__)) ServerFillBuffer( const GUID&,const IID&,PULONG,PVOID,HRESULT) =0; }; extern "C" const IID IID_IPropertyStorage; struct IPropertyStorage : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) ReadMultiple( ULONG,PROPSPEC const*,PROPVARIANT*) =0; virtual HRESULT __attribute__((__stdcall__)) WriteMultiple( ULONG,PROPSPEC const*,PROPVARIANT*,PROPID) =0; virtual HRESULT __attribute__((__stdcall__)) DeleteMultiple( ULONG,PROPSPEC const*) =0; virtual HRESULT __attribute__((__stdcall__)) ReadPropertyNames( ULONG,PROPID const*,LPWSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) WritePropertyNames( ULONG,PROPID const*,LPWSTR const*) =0; virtual HRESULT __attribute__((__stdcall__)) DeletePropertyNames( ULONG,PROPID const*) =0; virtual HRESULT __attribute__((__stdcall__)) SetClass( const CLSID&) =0; virtual HRESULT __attribute__((__stdcall__)) Commit( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Revert(void) =0; virtual HRESULT __attribute__((__stdcall__)) Enum( IEnumSTATPROPSTG**) =0; virtual HRESULT __attribute__((__stdcall__)) Stat( STATPROPSTG*) =0; virtual HRESULT __attribute__((__stdcall__)) SetTimes( FILETIME const*,FILETIME const*,FILETIME const*) =0; }; extern "C" const IID IID_IPropertySetStorage; struct IPropertySetStorage : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Create( REFFMTID,CLSID*,DWORD,DWORD,LPPROPERTYSTORAGE*) =0; virtual HRESULT __attribute__((__stdcall__)) Open( REFFMTID,DWORD,LPPROPERTYSTORAGE*) =0; virtual HRESULT __attribute__((__stdcall__)) Delete( REFFMTID) =0; virtual HRESULT __attribute__((__stdcall__)) Enum( IEnumSTATPROPSETSTG**) =0; }; extern "C" const IID IID_IClientSecurity; struct IClientSecurity : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) QueryBlanket( PVOID,PDWORD,PDWORD,OLECHAR**,PDWORD,PDWORD,RPC_AUTH_IDENTITY_HANDLE**,PDWORD*) =0; virtual HRESULT __attribute__((__stdcall__)) SetBlanket( PVOID,DWORD,DWORD,LPWSTR,DWORD,DWORD,RPC_AUTH_IDENTITY_HANDLE*,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) CopyProxy( LPUNKNOWN,LPUNKNOWN*) =0; }; extern "C" const IID IID_IServerSecurity; struct IServerSecurity : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) QueryBlanket( PDWORD,PDWORD,OLECHAR**,PDWORD,PDWORD,RPC_AUTHZ_HANDLE*,PDWORD*) =0; virtual HRESULT __attribute__((__stdcall__)) ImpersonateClient(void) =0; virtual HRESULT __attribute__((__stdcall__)) RevertToSelf(void) =0; virtual HRESULT __attribute__((__stdcall__)) IsImpersonating(void) =0; }; extern "C" const IID IID_IClassActivator; struct IClassActivator : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetClassObject( const CLSID&,DWORD,LCID,const IID&,PVOID*) =0; }; extern "C" const IID IID_IFillLockBytes; struct IFillLockBytes : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) FillAppend( void const*,ULONG,PULONG) =0; virtual HRESULT __attribute__((__stdcall__)) FillAt( ULARGE_INTEGER,void const*,ULONG,PULONG) =0; virtual HRESULT __attribute__((__stdcall__)) SetFillSize( ULARGE_INTEGER) =0; virtual HRESULT __attribute__((__stdcall__)) Terminate( BOOL) =0; }; extern "C" const IID IID_IProgressNotify; struct IProgressNotify : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) OnProgress( DWORD,DWORD,BOOL,BOOL) =0; }; extern "C" const IID IID_ILayoutStorage; struct ILayoutStorage : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) LayoutScript( STORAGELAYOUT*,DWORD,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) BeginMonitor(void) =0; virtual HRESULT __attribute__((__stdcall__)) EndMonitor(void) =0; virtual HRESULT __attribute__((__stdcall__)) ReLayoutDocfile( OLECHAR*) =0; }; HRESULT __attribute__((__stdcall__)) IMarshal_GetUnmarshalClass_Proxy(IMarshal*,const IID&,void*,DWORD,void*,DWORD,CLSID*); void __attribute__((__stdcall__)) IMarshal_GetUnmarshalClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_GetMarshalSizeMax_Proxy(IMarshal*,const IID&,void*,DWORD,void*,DWORD,DWORD*); void __attribute__((__stdcall__)) IMarshal_GetMarshalSizeMax_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_MarshalInterface_Proxy(IMarshal*,IStream*,const IID&,void*,DWORD,void*,DWORD); void __attribute__((__stdcall__)) IMarshal_MarshalInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_UnmarshalInterface_Proxy(IMarshal*,IStream*,const IID&,void**); void __attribute__((__stdcall__)) IMarshal_UnmarshalInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_ReleaseMarshalData_Proxy(IMarshal*,IStream*); void __attribute__((__stdcall__)) IMarshal_ReleaseMarshalData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMarshal_DisconnectObject_Proxy(IMarshal*,DWORD); void __attribute__((__stdcall__)) IMarshal_DisconnectObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMalloc_Alloc_Proxy(IMalloc*,ULONG); void __attribute__((__stdcall__)) IMalloc_Alloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMalloc_Realloc_Proxy(IMalloc*,void*,ULONG); void __attribute__((__stdcall__)) IMalloc_Realloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMalloc_Free_Proxy(IMalloc*,void*); void __attribute__((__stdcall__)) IMalloc_Free_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMalloc_GetSize_Proxy(IMalloc*,void*); void __attribute__((__stdcall__)) IMalloc_GetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); int __attribute__((__stdcall__)) IMalloc_DidAlloc_Proxy(IMalloc*,void*); void __attribute__((__stdcall__)) IMalloc_DidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMalloc_HeapMinimize_Proxy(IMalloc*); void __attribute__((__stdcall__)) IMalloc_HeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMallocSpy_PreAlloc_Proxy(IMallocSpy*,ULONG cbRequest); void __attribute__((__stdcall__)) IMallocSpy_PreAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PostAlloc_Proxy(IMallocSpy*,void*); void __attribute__((__stdcall__)) IMallocSpy_PostAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PreFree_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreFree_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMallocSpy_PostFree_Proxy(IMallocSpy*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PostFree_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMallocSpy_PreRealloc_Proxy(IMallocSpy*,void*,ULONG,void**,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreRealloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PostRealloc_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PostRealloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PreGetSize_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreGetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IMallocSpy_PostGetSize_Proxy(IMallocSpy*,ULONG,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PostGetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void* __attribute__((__stdcall__)) IMallocSpy_PreDidAlloc_Proxy(IMallocSpy*,void*,BOOL); void __attribute__((__stdcall__)) IMallocSpy_PreDidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); int __attribute__((__stdcall__)) IMallocSpy_PostDidAlloc_Proxy(IMallocSpy*,void*,BOOL,int); void __attribute__((__stdcall__)) IMallocSpy_PostDidAlloc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMallocSpy_PreHeapMinimize_Proxy(IMallocSpy* ); void __attribute__((__stdcall__)) IMallocSpy_PreHeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IMallocSpy_PostHeapMinimize_Proxy(IMallocSpy*); void __attribute__((__stdcall__)) IMallocSpy_PostHeapMinimize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStdMarshalInfo_GetClassForHandler_Proxy(IStdMarshalInfo*,DWORD,void*,CLSID*); void __attribute__((__stdcall__)) IStdMarshalInfo_GetClassForHandler_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IExternalConnection_AddConnection_Proxy(IExternalConnection*,DWORD,DWORD); void __attribute__((__stdcall__)) IExternalConnection_AddConnection_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IExternalConnection_ReleaseConnection_Proxy(IExternalConnection*,DWORD,DWORD,BOOL); void __attribute__((__stdcall__)) IExternalConnection_ReleaseConnection_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_RemoteNext_Proxy(IEnumUnknown*,ULONG,IUnknown**,ULONG*); void __attribute__((__stdcall__)) IEnumUnknown_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Skip_Proxy(IEnumUnknown*,ULONG); void __attribute__((__stdcall__)) IEnumUnknown_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Reset_Proxy(IEnumUnknown* ); void __attribute__((__stdcall__)) IEnumUnknown_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Clone_Proxy(IEnumUnknown*,IEnumUnknown**); void __attribute__((__stdcall__)) IEnumUnknown_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RegisterObjectBound_Proxy(IBindCtx*,IUnknown*punk); void __attribute__((__stdcall__)) IBindCtx_RegisterObjectBound_Stub(IRpcStubBuffer*,IRpcChannelBuffer*_pRpcChannelBuffer,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RevokeObjectBound_Proxy(IBindCtx*,IUnknown*punk); void __attribute__((__stdcall__)) IBindCtx_RevokeObjectBound_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_ReleaseBoundObjects_Proxy(IBindCtx*); void __attribute__((__stdcall__)) IBindCtx_ReleaseBoundObjects_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_SetBindOptions_Proxy(IBindCtx*,BIND_OPTS*); void __attribute__((__stdcall__)) IBindCtx_SetBindOptions_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_GetBindOptions_Proxy(IBindCtx*,BIND_OPTS*pbindopts); void __attribute__((__stdcall__)) IBindCtx_GetBindOptions_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_GetRunningObjectTable_Proxy(IBindCtx*,IRunningObjectTable**); void __attribute__((__stdcall__)) IBindCtx_GetRunningObjectTable_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RegisterObjectParam_Proxy(IBindCtx*,LPCSTR,IUnknown*); void __attribute__((__stdcall__)) IBindCtx_RegisterObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_GetObjectParam_Proxy(IBindCtx*,LPCSTR,IUnknown**); void __attribute__((__stdcall__)) IBindCtx_GetObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_EnumObjectParam_Proxy(IBindCtx*,IEnumString**); void __attribute__((__stdcall__)) IBindCtx_EnumObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IBindCtx_RevokeObjectParam_Proxy(IBindCtx*,LPCSTR); void __attribute__((__stdcall__)) IBindCtx_RevokeObjectParam_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_RemoteNext_Proxy(IEnumMoniker*,ULONG,IMoniker**,ULONG*); void __attribute__((__stdcall__)) IEnumMoniker_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Skip_Proxy(IEnumMoniker*,ULONG); void __attribute__((__stdcall__)) IEnumMoniker_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Reset_Proxy(IEnumMoniker*); void __attribute__((__stdcall__)) IEnumMoniker_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Clone_Proxy(IEnumMoniker*,IEnumMoniker**); void __attribute__((__stdcall__)) IEnumMoniker_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_GetRunningClass_Proxy(IRunnableObject*,LPCLSID); void __attribute__((__stdcall__)) IRunnableObject_GetRunningClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_Run_Proxy(IRunnableObject*,LPBINDCTX); void __attribute__((__stdcall__)) IRunnableObject_Run_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); BOOL __attribute__((__stdcall__)) IRunnableObject_IsRunning_Proxy(IRunnableObject*); void __attribute__((__stdcall__)) IRunnableObject_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_LockRunning_Proxy(IRunnableObject*,BOOL,BOOL); void __attribute__((__stdcall__)) IRunnableObject_LockRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunnableObject_SetContainedObject_Proxy(IRunnableObject*,BOOL); void __attribute__((__stdcall__)) IRunnableObject_SetContainedObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_Register_Proxy(IRunningObjectTable*,DWORD,IUnknown*,IMoniker*,DWORD*); void __attribute__((__stdcall__)) IRunningObjectTable_Register_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_Revoke_Proxy(IRunningObjectTable*,DWORD); void __attribute__((__stdcall__)) IRunningObjectTable_Revoke_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_IsRunning_Proxy(IRunningObjectTable*,IMoniker*); void __attribute__((__stdcall__)) IRunningObjectTable_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_GetObject_Proxy(IRunningObjectTable*,IMoniker*,IUnknown**); void __attribute__((__stdcall__)) IRunningObjectTable_GetObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_NoteChangeTime_Proxy(IRunningObjectTable*,DWORD,FILETIME*); void __attribute__((__stdcall__)) IRunningObjectTable_NoteChangeTime_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_GetTimeOfLastChange_Proxy(IRunningObjectTable*,IMoniker*,FILETIME*); void __attribute__((__stdcall__)) IRunningObjectTable_GetTimeOfLastChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRunningObjectTable_EnumRunning_Proxy(IRunningObjectTable*,IEnumMoniker**); void __attribute__((__stdcall__)) IRunningObjectTable_EnumRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersist_GetClassID_Proxy(IPersist*,CLSID*); void __attribute__((__stdcall__)) IPersist_GetClassID_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_IsDirty_Proxy(IPersistStream*); void __attribute__((__stdcall__)) IPersistStream_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_Load_Proxy(IPersistStream*,IStream*); void __attribute__((__stdcall__)) IPersistStream_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_Save_Proxy(IPersistStream*,IStream*,BOOL); void __attribute__((__stdcall__)) IPersistStream_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStream_GetSizeMax_Proxy(IPersistStream*,ULARGE_INTEGER*); void __attribute__((__stdcall__)) IPersistStream_GetSizeMax_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_RemoteBindToObject_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID&,IUnknown**); void __attribute__((__stdcall__)) IMoniker_RemoteBindToObject_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_RemoteBindToStorage_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID&,IUnknown**); void __attribute__((__stdcall__)) IMoniker_RemoteBindToStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Reduce_Proxy(IMoniker*,IBindCtx*,DWORD,IMoniker**,IMoniker**); void __attribute__((__stdcall__)) IMoniker_Reduce_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_ComposeWith_Proxy(IMoniker*,IMoniker*,BOOL,IMoniker**); void __attribute__((__stdcall__)) IMoniker_ComposeWith_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Enum_Proxy(IMoniker*,BOOL,IEnumMoniker**); void __attribute__((__stdcall__)) IMoniker_Enum_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_IsEqual_Proxy(IMoniker*,IMoniker*); void __attribute__((__stdcall__)) IMoniker_IsEqual_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Hash_Proxy(IMoniker*,DWORD*); void __attribute__((__stdcall__)) IMoniker_Hash_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_IsRunning_Proxy(IMoniker*,IBindCtx*,IMoniker*,IMoniker*); void __attribute__((__stdcall__)) IMoniker_IsRunning_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_GetTimeOfLastChange_Proxy(IMoniker*,IBindCtx*,IMoniker*,FILETIME*); void __attribute__((__stdcall__)) IMoniker_GetTimeOfLastChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_Inverse_Proxy(IMoniker*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_Inverse_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_CommonPrefixWith_Proxy(IMoniker*,IMoniker*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_CommonPrefixWith_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_RelativePathTo_Proxy(IMoniker*,IMoniker*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_RelativePathTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_GetDisplayName_Proxy(IMoniker*,IBindCtx*,IMoniker*,LPCSTR*); void __attribute__((__stdcall__)) IMoniker_GetDisplayName_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_ParseDisplayName_Proxy(IMoniker*,IBindCtx*,IMoniker*,LPCSTR,ULONG*,IMoniker**); void __attribute__((__stdcall__)) IMoniker_ParseDisplayName_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IMoniker_IsSystemMoniker_Proxy(IMoniker*,DWORD*); void __attribute__((__stdcall__)) IMoniker_IsSystemMoniker_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IROTData_GetComparisonData_Proxy(IROTData*,BYTE*,ULONG cbMax,ULONG*); void __attribute__((__stdcall__)) IROTData_GetComparisonData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_RemoteNext_Proxy(IEnumString*,ULONG,LPCSTR*rgelt,ULONG*); void __attribute__((__stdcall__)) IEnumString_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_Skip_Proxy(IEnumString*,ULONG); void __attribute__((__stdcall__)) IEnumString_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_Reset_Proxy(IEnumString*); void __attribute__((__stdcall__)) IEnumString_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumString_Clone_Proxy(IEnumString*,IEnumString**); void __attribute__((__stdcall__)) IEnumString_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteRead_Proxy(IStream*,BYTE*,ULONG,ULONG*); void __attribute__((__stdcall__)) IStream_RemoteRead_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteWrite_Proxy(IStream*,BYTE*pv,ULONG,ULONG*); void __attribute__((__stdcall__)) IStream_RemoteWrite_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteSeek_Proxy(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*); void __attribute__((__stdcall__)) IStream_RemoteSeek_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_SetSize_Proxy(IStream*,ULARGE_INTEGER); void __attribute__((__stdcall__)) IStream_SetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_RemoteCopyTo_Proxy(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*); void __attribute__((__stdcall__)) IStream_RemoteCopyTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Commit_Proxy(IStream*,DWORD); void __attribute__((__stdcall__)) IStream_Commit_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Revert_Proxy(IStream*); void __attribute__((__stdcall__)) IStream_Revert_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_LockRegion_Proxy(IStream*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) IStream_LockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_UnlockRegion_Proxy(IStream*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) IStream_UnlockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Stat_Proxy(IStream*,STATSTG*,DWORD); void __attribute__((__stdcall__)) IStream_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStream_Clone_Proxy(IStream*,IStream**); void __attribute__((__stdcall__)) IStream_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_RemoteNext_Proxy(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*); void __attribute__((__stdcall__)) IEnumSTATSTG_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Skip_Proxy(IEnumSTATSTG*,ULONG celt); void __attribute__((__stdcall__)) IEnumSTATSTG_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Reset_Proxy(IEnumSTATSTG*); void __attribute__((__stdcall__)) IEnumSTATSTG_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Clone_Proxy(IEnumSTATSTG*,IEnumSTATSTG**); void __attribute__((__stdcall__)) IEnumSTATSTG_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_CreateStream_Proxy(IStorage*,OLECHAR*,DWORD,DWORD,DWORD,IStream**); void __attribute__((__stdcall__)) IStorage_CreateStream_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_RemoteOpenStream_Proxy(IStorage*,const OLECHAR*,unsigned long,BYTE*,DWORD,DWORD,IStream**); void __attribute__((__stdcall__)) IStorage_RemoteOpenStream_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_CreateStorage_Proxy(IStorage*,OLECHAR*,DWORD,DWORD,DWORD,IStorage**); void __attribute__((__stdcall__)) IStorage_CreateStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_OpenStorage_Proxy(IStorage*,OLECHAR*,IStorage*,DWORD,SNB,DWORD,IStorage**); void __attribute__((__stdcall__)) IStorage_OpenStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_CopyTo_Proxy(IStorage*,DWORD,const IID*,SNB,IStorage*); void __attribute__((__stdcall__)) IStorage_CopyTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_MoveElementTo_Proxy(IStorage*,const OLECHAR*,IStorage*,const OLECHAR*,DWORD); void __attribute__((__stdcall__)) IStorage_MoveElementTo_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_Commit_Proxy(IStorage*,DWORD); void __attribute__((__stdcall__)) IStorage_Commit_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_Revert_Proxy(IStorage*); void __attribute__((__stdcall__)) IStorage_Revert_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_RemoteEnumElements_Proxy(IStorage*,DWORD,unsigned long,BYTE*,DWORD,IEnumSTATSTG**); void __attribute__((__stdcall__)) IStorage_RemoteEnumElements_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_DestroyElement_Proxy(IStorage*,OLECHAR*); void __attribute__((__stdcall__)) IStorage_DestroyElement_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_RenameElement_Proxy(IStorage*,const OLECHAR*,const OLECHAR*); void __attribute__((__stdcall__)) IStorage_RenameElement_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_SetElementTimes_Proxy(IStorage*,const OLECHAR*,const FILETIME*,const FILETIME*,const FILETIME*); void __attribute__((__stdcall__)) IStorage_SetElementTimes_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_SetClass_Proxy(IStorage*,const CLSID&); void __attribute__((__stdcall__)) IStorage_SetClass_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_SetStateBits_Proxy(IStorage*,DWORD,DWORD); void __attribute__((__stdcall__)) IStorage_SetStateBits_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IStorage_Stat_Proxy(IStorage*,STATSTG*,DWORD); void __attribute__((__stdcall__)) IStorage_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_IsDirty_Proxy(IPersistFile*); void __attribute__((__stdcall__)) IPersistFile_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_Load_Proxy(IPersistFile*,LPCOLESTR,DWORD); void __attribute__((__stdcall__)) IPersistFile_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_Save_Proxy(IPersistFile*,LPCOLESTR pszFileName,BOOL); void __attribute__((__stdcall__)) IPersistFile_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_SaveCompleted_Proxy(IPersistFile*,LPCOLESTR); void __attribute__((__stdcall__)) IPersistFile_SaveCompleted_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistFile_GetCurFile_Proxy(IPersistFile*,LPCSTR*); void __attribute__((__stdcall__)) IPersistFile_GetCurFile_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_IsDirty_Proxy(IPersistStorage*); void __attribute__((__stdcall__)) IPersistStorage_IsDirty_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_InitNew_Proxy(IPersistStorage*,IStorage*); void __attribute__((__stdcall__)) IPersistStorage_InitNew_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_Load_Proxy(IPersistStorage*,IStorage*); void __attribute__((__stdcall__)) IPersistStorage_Load_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_Save_Proxy(IPersistStorage*,IStorage*,BOOL); void __attribute__((__stdcall__)) IPersistStorage_Save_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_SaveCompleted_Proxy(IPersistStorage*,IStorage*); void __attribute__((__stdcall__)) IPersistStorage_SaveCompleted_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPersistStorage_HandsOffStorage_Proxy(IPersistStorage*); void __attribute__((__stdcall__)) IPersistStorage_HandsOffStorage_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_RemoteReadAt_Proxy(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*); void __attribute__((__stdcall__)) ILockBytes_RemoteReadAt_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_RemoteWriteAt_Proxy(ILockBytes*,ULARGE_INTEGER,BYTE*pv,ULONG,ULONG*); void __attribute__((__stdcall__)) ILockBytes_RemoteWriteAt_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_Flush_Proxy(ILockBytes*); void __attribute__((__stdcall__)) ILockBytes_Flush_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_SetSize_Proxy(ILockBytes*,ULARGE_INTEGER); void __attribute__((__stdcall__)) ILockBytes_SetSize_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_LockRegion_Proxy(ILockBytes*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) ILockBytes_LockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_UnlockRegion_Proxy(ILockBytes*,ULARGE_INTEGER,ULARGE_INTEGER,DWORD); void __attribute__((__stdcall__)) ILockBytes_UnlockRegion_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) ILockBytes_Stat_Proxy(ILockBytes*,STATSTG*,DWORD); void __attribute__((__stdcall__)) ILockBytes_Stat_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_RemoteNext_Proxy(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*); void __attribute__((__stdcall__)) IEnumFORMATETC_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Skip_Proxy(IEnumFORMATETC*,ULONG); void __attribute__((__stdcall__)) IEnumFORMATETC_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Reset_Proxy(IEnumFORMATETC*); void __attribute__((__stdcall__)) IEnumFORMATETC_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Clone_Proxy(IEnumFORMATETC*,IEnumFORMATETC**); void __attribute__((__stdcall__)) IEnumFORMATETC_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Next_Proxy(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumFORMATETC_Next_Stub(IEnumFORMATETC*,ULONG,FORMATETC*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_RemoteNext_Proxy(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*); void __attribute__((__stdcall__)) IEnumSTATDATA_RemoteNext_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Skip_Proxy(IEnumSTATDATA*,ULONG); void __attribute__((__stdcall__)) IEnumSTATDATA_Skip_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Reset_Proxy(IEnumSTATDATA*); void __attribute__((__stdcall__)) IEnumSTATDATA_Reset_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Clone_Proxy(IEnumSTATDATA*,IEnumSTATDATA**); void __attribute__((__stdcall__)) IEnumSTATDATA_Clone_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Next_Proxy(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumSTATDATA_Next_Stub(IEnumSTATDATA*,ULONG,STATDATA*,ULONG*); HRESULT __attribute__((__stdcall__)) IRootStorage_SwitchToFile_Proxy(IRootStorage*,LPCSTR); void __attribute__((__stdcall__)) IRootStorage_SwitchToFile_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnDataChange_Proxy(IAdviseSink*,FORMATETC*,RemSTGMEDIUM*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnDataChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnViewChange_Proxy(IAdviseSink*,DWORD,LONG); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnViewChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnRename_Proxy(IAdviseSink*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnRename_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnSave_Proxy(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnSave_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IAdviseSink_RemoteOnClose_Proxy(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_RemoteOnClose_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink_OnDataChange_Proxy(IAdviseSink*,FORMATETC*,STGMEDIUM*); void __attribute__((__stdcall__)) IAdviseSink_OnDataChange_Stub(IAdviseSink*,FORMATETC*,RemSTGMEDIUM*); void __attribute__((__stdcall__)) IAdviseSink_OnViewChange_Proxy(IAdviseSink*,DWORD,LONG); void __attribute__((__stdcall__)) IAdviseSink_OnViewChange_Stub(IAdviseSink*,DWORD,LONG); void __attribute__((__stdcall__)) IAdviseSink_OnRename_Proxy(IAdviseSink*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink_OnRename_Stub(IAdviseSink*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink_OnSave_Proxy(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_OnSave_Stub(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink_OnClose_Proxy(IAdviseSink*); HRESULT __attribute__((__stdcall__)) IAdviseSink_OnClose_Stub(IAdviseSink*); void __attribute__((__stdcall__)) IAdviseSink2_RemoteOnLinkSrcChange_Proxy(IAdviseSink2*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink2_RemoteOnLinkSrcChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IAdviseSink2_OnLinkSrcChange_Proxy(IAdviseSink2*,IMoniker*); void __attribute__((__stdcall__)) IAdviseSink2_OnLinkSrcChange_Stub(IAdviseSink2*,IMoniker*); HRESULT __attribute__((__stdcall__)) IDataObject_RemoteGetData_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM**); void __attribute__((__stdcall__)) IDataObject_RemoteGetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_RemoteGetDataHere_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM**); void __attribute__((__stdcall__)) IDataObject_RemoteGetDataHere_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_QueryGetData_Proxy(IDataObject*,FORMATETC*); void __attribute__((__stdcall__)) IDataObject_QueryGetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_GetCanonicalFormatEtc_Proxy(IDataObject*,FORMATETC*,FORMATETC*); void __attribute__((__stdcall__)) IDataObject_GetCanonicalFormatEtc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_RemoteSetData_Proxy(IDataObject*,FORMATETC*,RemSTGMEDIUM*,BOOL); void __attribute__((__stdcall__)) IDataObject_RemoteSetData_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_EnumFormatEtc_Proxy(IDataObject*,DWORD,IEnumFORMATETC**); void __attribute__((__stdcall__)) IDataObject_EnumFormatEtc_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_DAdvise_Proxy(IDataObject*,FORMATETC*,DWORD,IAdviseSink*,DWORD*); void __attribute__((__stdcall__)) IDataObject_DAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_DUnadvise_Proxy(IDataObject*,DWORD); void __attribute__((__stdcall__)) IDataObject_DUnadvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_EnumDAdvise_Proxy(IDataObject*,IEnumSTATDATA**); void __attribute__((__stdcall__)) IDataObject_EnumDAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataObject_GetData_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*); HRESULT __attribute__((__stdcall__)) IDataObject_GetData_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM**); HRESULT __attribute__((__stdcall__)) IDataObject_GetDataHere_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*); HRESULT __attribute__((__stdcall__)) IDataObject_GetDataHere_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM**); HRESULT __attribute__((__stdcall__)) IDataObject_SetData_Proxy(IDataObject*,FORMATETC*,STGMEDIUM*,BOOL); HRESULT __attribute__((__stdcall__)) IDataObject_SetData_Stub(IDataObject*,FORMATETC*,RemSTGMEDIUM*,BOOL); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_Advise_Proxy(IDataAdviseHolder*,IDataObject*,FORMATETC*,DWORD,IAdviseSink*,DWORD*); void __attribute__((__stdcall__)) IDataAdviseHolder_Advise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_Unadvise_Proxy(IDataAdviseHolder*,DWORD); void __attribute__((__stdcall__)) IDataAdviseHolder_Unadvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_EnumAdvise_Proxy(IDataAdviseHolder*,IEnumSTATDATA**); void __attribute__((__stdcall__)) IDataAdviseHolder_EnumAdvise_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IDataAdviseHolder_SendOnDataChange_Proxy(IDataAdviseHolder*,IDataObject*,DWORD,DWORD); void __attribute__((__stdcall__)) IDataAdviseHolder_SendOnDataChange_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IMessageFilter_HandleInComingCall_Proxy(IMessageFilter*,DWORD,HTASK,DWORD,LPINTERFACEINFO); void __attribute__((__stdcall__)) IMessageFilter_HandleInComingCall_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IMessageFilter_RetryRejectedCall_Proxy(IMessageFilter*,HTASK,DWORD,DWORD); void __attribute__((__stdcall__)) IMessageFilter_RetryRejectedCall_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); DWORD __attribute__((__stdcall__)) IMessageFilter_MessagePending_Proxy(IMessageFilter*,HTASK,DWORD,DWORD); void __attribute__((__stdcall__)) IMessageFilter_MessagePending_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_GetBuffer_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*,const IID&); void __attribute__((__stdcall__)) IRpcChannelBuffer_GetBuffer_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_SendReceive_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*,ULONG*); void __attribute__((__stdcall__)) IRpcChannelBuffer_SendReceive_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_FreeBuffer_Proxy(IRpcChannelBuffer*,RPCOLEMESSAGE*); void __attribute__((__stdcall__)) IRpcChannelBuffer_FreeBuffer_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_GetDestCtx_Proxy(IRpcChannelBuffer*,DWORD*,void**); void __attribute__((__stdcall__)) IRpcChannelBuffer_GetDestCtx_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcChannelBuffer_IsConnected_Proxy(IRpcChannelBuffer*); void __attribute__((__stdcall__)) IRpcChannelBuffer_IsConnected_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcProxyBuffer_Connect_Proxy(IRpcProxyBuffer*,IRpcChannelBuffer*pRpcChannelBuffer); void __attribute__((__stdcall__)) IRpcProxyBuffer_Connect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IRpcProxyBuffer_Disconnect_Proxy(IRpcProxyBuffer*); void __attribute__((__stdcall__)) IRpcProxyBuffer_Disconnect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_Connect_Proxy(IRpcStubBuffer*,IUnknown*); void __attribute__((__stdcall__)) IRpcStubBuffer_Connect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IRpcStubBuffer_Disconnect_Proxy(IRpcStubBuffer*); void __attribute__((__stdcall__)) IRpcStubBuffer_Disconnect_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_Invoke_Proxy(IRpcStubBuffer*,RPCOLEMESSAGE*,IRpcChannelBuffer*); void __attribute__((__stdcall__)) IRpcStubBuffer_Invoke_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); IRpcStubBuffer*__attribute__((__stdcall__)) IRpcStubBuffer_IsIIDSupported_Proxy(IRpcStubBuffer*,const IID&); void __attribute__((__stdcall__)) IRpcStubBuffer_IsIIDSupported_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); ULONG __attribute__((__stdcall__)) IRpcStubBuffer_CountRefs_Proxy(IRpcStubBuffer*); void __attribute__((__stdcall__)) IRpcStubBuffer_CountRefs_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerQueryInterface_Proxy(IRpcStubBuffer*,void**); void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerQueryInterface_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerRelease_Proxy(IRpcStubBuffer*,void*); void __attribute__((__stdcall__)) IRpcStubBuffer_DebugServerRelease_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPSFactoryBuffer_CreateProxy_Proxy(IPSFactoryBuffer*,IUnknown*,const IID&,IRpcProxyBuffer**,void**); void __attribute__((__stdcall__)) IPSFactoryBuffer_CreateProxy_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); HRESULT __attribute__((__stdcall__)) IPSFactoryBuffer_CreateStub_Proxy(IPSFactoryBuffer*,const IID&,IUnknown*,IRpcStubBuffer**); void __attribute__((__stdcall__)) IPSFactoryBuffer_CreateStub_Stub(IRpcStubBuffer*,IRpcChannelBuffer*,PRPC_MESSAGE,PDWORD); void __attribute__((__stdcall__)) SNB_to_xmit(SNB*,RemSNB**); void __attribute__((__stdcall__)) SNB_from_xmit(RemSNB*,SNB*); void __attribute__((__stdcall__)) SNB_free_inst(SNB*); void __attribute__((__stdcall__)) SNB_free_xmit(RemSNB*); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Next_Proxy(IEnumUnknown*,ULONG,IUnknown**,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumUnknown_Next_Stub(IEnumUnknown*,ULONG,IUnknown**,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Next_Proxy(IEnumMoniker*,ULONG,IMoniker**,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumMoniker_Next_Stub(IEnumMoniker*,ULONG,IMoniker**,ULONG*); HRESULT __attribute__((__stdcall__)) IMoniker_BindToObject_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID&,void**); HRESULT __attribute__((__stdcall__)) IMoniker_BindToObject_Stub(IMoniker*,IBindCtx*,IMoniker*,const IID&,IUnknown**); HRESULT __attribute__((__stdcall__)) IMoniker_BindToStorage_Proxy(IMoniker*,IBindCtx*,IMoniker*,const IID&,void**); HRESULT __attribute__((__stdcall__)) IMoniker_BindToStorage_Stub(IMoniker*,IBindCtx*,IMoniker*,const IID&,IUnknown**); HRESULT __attribute__((__stdcall__)) IEnumString_Next_Proxy(IEnumString*,ULONG,LPCSTR*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumString_Next_Stub(IEnumString*,ULONG,LPCSTR*,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Read_Proxy(IStream*,void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Read_Stub(IStream*,BYTE*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Write_Proxy(IStream*,void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Write_Stub(IStream*,BYTE*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) IStream_Seek_Proxy(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IStream_Seek_Stub(IStream*,LARGE_INTEGER,DWORD,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IStream_CopyTo_Proxy(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IStream_CopyTo_Stub(IStream*,IStream*,ULARGE_INTEGER,ULARGE_INTEGER*,ULARGE_INTEGER*); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Next_Proxy(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*); HRESULT __attribute__((__stdcall__)) IEnumSTATSTG_Next_Stub(IEnumSTATSTG*,ULONG,STATSTG*,ULONG*); HRESULT __attribute__((__stdcall__)) IStorage_OpenStream_Proxy(IStorage*,OLECHAR*,void*,DWORD,DWORD,IStream**); HRESULT __attribute__((__stdcall__)) IStorage_OpenStream_Stub(IStorage*,OLECHAR*,unsigned long,BYTE*,DWORD,DWORD,IStream** ); HRESULT __attribute__((__stdcall__)) IStorage_EnumElements_Proxy(IStorage*,DWORD,void*,DWORD,IEnumSTATSTG**); HRESULT __attribute__((__stdcall__)) IStorage_EnumElements_Stub(IStorage*,DWORD,unsigned long,BYTE*,DWORD,IEnumSTATSTG**); HRESULT __attribute__((__stdcall__)) ILockBytes_ReadAt_Proxy(ILockBytes*,ULARGE_INTEGER,void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) ILockBytes_ReadAt_Stub(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) ILockBytes_WriteAt_Proxy(ILockBytes*,ULARGE_INTEGER,const void*,ULONG,ULONG*); HRESULT __attribute__((__stdcall__)) ILockBytes_WriteAt_Stub(ILockBytes*,ULARGE_INTEGER,BYTE*,ULONG,ULONG*); # 57 "C:/MINGW/include/objbase.h" 2 3 inline BOOL IsEqualGUID(const GUID& rguid1, const GUID& rguid2) { return !memcmp(&rguid1, &rguid2, sizeof(GUID)); } inline BOOL operator==(const GUID& guidOne, const GUID& guidOther) { return !memcmp(&guidOne,&guidOther,sizeof(GUID)); } inline BOOL operator!=(const GUID& g1, const GUID& g2) { return !(g1 == g2); } # 1 "C:/MINGW/include/cguid.h" 1 3 # 5 "C:/MINGW/include/cguid.h" 3 extern "C" { extern const IID GUID_NULL; extern const IID IID_IRpcChannel; extern const IID IID_IRpcStub; extern const IID IID_IStubManager; extern const IID IID_IRpcProxy; extern const IID IID_IProxyManager; extern const IID IID_IPSFactory; extern const IID IID_IInternalMoniker; extern const IID IID_IDfReserved1; extern const IID IID_IDfReserved2; extern const IID IID_IDfReserved3; extern const CLSID CLSID_StdMarshal; extern const IID IID_IStub; extern const IID IID_IProxy; extern const IID IID_IEnumGeneric; extern const IID IID_IEnumHolder; extern const IID IID_IEnumCallback; extern const IID IID_IOleManager; extern const IID IID_IOlePresObj; extern const IID IID_IDebug; extern const IID IID_IDebugStream; extern const CLSID CLSID_PSGenObject; extern const CLSID CLSID_PSClientSite; extern const CLSID CLSID_PSClassObject; extern const CLSID CLSID_PSInPlaceActive; extern const CLSID CLSID_PSInPlaceFrame; extern const CLSID CLSID_PSDragDrop; extern const CLSID CLSID_PSBindCtx; extern const CLSID CLSID_PSEnumerators; extern const CLSID CLSID_StaticMetafile; extern const CLSID CLSID_StaticDib; extern const CLSID CID_CDfsVolume; extern const CLSID CLSID_CCDFormKrnl; extern const CLSID CLSID_CCDPropertyPage; extern const CLSID CLSID_CCDFormDialog; extern const CLSID CLSID_CCDCommandButton; extern const CLSID CLSID_CCDComboBox; extern const CLSID CLSID_CCDTextBox; extern const CLSID CLSID_CCDCheckBox; extern const CLSID CLSID_CCDLabel; extern const CLSID CLSID_CCDOptionButton; extern const CLSID CLSID_CCDListBox; extern const CLSID CLSID_CCDScrollBar; extern const CLSID CLSID_CCDGroupBox; extern const CLSID CLSID_CCDGeneralPropertyPage; extern const CLSID CLSID_CCDGenericPropertyPage; extern const CLSID CLSID_CCDFontPropertyPage; extern const CLSID CLSID_CCDColorPropertyPage; extern const CLSID CLSID_CCDLabelPropertyPage; extern const CLSID CLSID_CCDCheckBoxPropertyPage; extern const CLSID CLSID_CCDTextBoxPropertyPage; extern const CLSID CLSID_CCDOptionButtonPropertyPage; extern const CLSID CLSID_CCDListBoxPropertyPage; extern const CLSID CLSID_CCDCommandButtonPropertyPage; extern const CLSID CLSID_CCDComboBoxPropertyPage; extern const CLSID CLSID_CCDScrollBarPropertyPage; extern const CLSID CLSID_CCDGroupBoxPropertyPage; extern const CLSID CLSID_CCDXObjectPropertyPage; extern const CLSID CLSID_CStdPropertyFrame; extern const CLSID CLSID_CFormPropertyPage; extern const CLSID CLSID_CGridPropertyPage; extern const CLSID CLSID_CWSJArticlePage; extern const CLSID CLSID_CSystemPage; extern const CLSID CLSID_IdentityUnmarshal; extern const CLSID CLSID_InProcFreeMarshaler; extern const CLSID CLSID_Picture_Metafile; extern const CLSID CLSID_Picture_EnhMetafile; extern const CLSID CLSID_Picture_Dib; extern const GUID GUID_TRISTATE; } # 71 "C:/MINGW/include/objbase.h" 2 3 typedef enum tagCOINIT { COINIT_APARTMENTTHREADED = 0x2, COINIT_MULTITHREADED = 0x0, COINIT_DISABLE_OLE1DDE = 0x4, COINIT_SPEED_OVER_MEMORY = 0x8 } COINIT; typedef enum tagSTDMSHLFLAGS { SMEXF_SERVER = 0x01, SMEXF_HANDLER = 0x02 } STDMSHLFLAGS; extern "C" DWORD __attribute__((__stdcall__)) CoBuildVersion(void); extern "C" HRESULT __attribute__((__stdcall__)) CoInitialize(PVOID); extern "C" HRESULT __attribute__((__stdcall__)) CoInitializeEx(LPVOID,DWORD); extern "C" void __attribute__((__stdcall__)) CoUninitialize(void); extern "C" HRESULT __attribute__((__stdcall__)) CoGetMalloc(DWORD,LPMALLOC*); extern "C" DWORD __attribute__((__stdcall__)) CoGetCurrentProcess(void); extern "C" HRESULT __attribute__((__stdcall__)) CoRegisterMallocSpy(LPMALLOCSPY); extern "C" HRESULT __attribute__((__stdcall__)) CoRevokeMallocSpy(void); extern "C" HRESULT __attribute__((__stdcall__)) CoCreateStandardMalloc(DWORD,IMalloc**); extern "C" HRESULT __attribute__((__stdcall__)) CoGetClassObject(const CLSID&,DWORD,COSERVERINFO*,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) CoRegisterClassObject(const CLSID&,LPUNKNOWN,DWORD,DWORD,PDWORD); extern "C" HRESULT __attribute__((__stdcall__)) CoRevokeClassObject(DWORD); extern "C" HRESULT __attribute__((__stdcall__)) CoGetMarshalSizeMax(ULONG*,const IID&,LPUNKNOWN,DWORD,PVOID,DWORD); extern "C" HRESULT __attribute__((__stdcall__)) CoMarshalInterface(LPSTREAM,const IID&,LPUNKNOWN,DWORD,PVOID,DWORD); extern "C" HRESULT __attribute__((__stdcall__)) CoUnmarshalInterface(LPSTREAM,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) CoMarshalHresult(LPSTREAM,HRESULT); extern "C" HRESULT __attribute__((__stdcall__)) CoUnmarshalHresult(LPSTREAM,HRESULT*); extern "C" HRESULT __attribute__((__stdcall__)) CoReleaseMarshalData(LPSTREAM); extern "C" HRESULT __attribute__((__stdcall__)) CoDisconnectObject(LPUNKNOWN,DWORD); extern "C" HRESULT __attribute__((__stdcall__)) CoLockObjectExternal(LPUNKNOWN,BOOL,BOOL); extern "C" HRESULT __attribute__((__stdcall__)) CoGetStandardMarshal(const IID&,LPUNKNOWN,DWORD,PVOID,DWORD,LPMARSHAL*); extern "C" HRESULT __attribute__((__stdcall__)) CoGetStdMarshalEx(LPUNKNOWN,DWORD,LPUNKNOWN*); extern "C" BOOL __attribute__((__stdcall__)) CoIsHandlerConnected(LPUNKNOWN); extern "C" BOOL __attribute__((__stdcall__)) CoHasStrongExternalConnections(LPUNKNOWN); extern "C" HRESULT __attribute__((__stdcall__)) CoMarshalInterThreadInterfaceInStream(const IID&,LPUNKNOWN,LPSTREAM*); extern "C" HRESULT __attribute__((__stdcall__)) CoGetInterfaceAndReleaseStream(LPSTREAM,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) CoCreateFreeThreadedMarshaler(LPUNKNOWN,LPUNKNOWN*); extern "C" HINSTANCE __attribute__((__stdcall__)) CoLoadLibrary(LPOLESTR,BOOL); extern "C" void __attribute__((__stdcall__)) CoFreeLibrary(HINSTANCE); extern "C" void __attribute__((__stdcall__)) CoFreeAllLibraries(void); extern "C" void __attribute__((__stdcall__)) CoFreeUnusedLibraries(void); extern "C" HRESULT __attribute__((__stdcall__)) CoCreateInstance(const CLSID&,LPUNKNOWN,DWORD,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) CoCreateInstanceEx(const CLSID&,IUnknown*,DWORD,COSERVERINFO*,DWORD,MULTI_QI*); extern "C" HRESULT __attribute__((__stdcall__)) StringFromCLSID(const CLSID&,LPOLESTR*); extern "C" HRESULT __attribute__((__stdcall__)) CLSIDFromString(LPOLESTR,LPCLSID); extern "C" HRESULT __attribute__((__stdcall__)) StringFromIID(const IID&,LPOLESTR*); extern "C" HRESULT __attribute__((__stdcall__)) IIDFromString(LPOLESTR,LPIID); extern "C" BOOL __attribute__((__stdcall__)) CoIsOle1Class(const CLSID&); extern "C" HRESULT __attribute__((__stdcall__)) ProgIDFromCLSID(const CLSID&,LPOLESTR*); extern "C" HRESULT __attribute__((__stdcall__)) CLSIDFromProgID(LPCOLESTR,LPCLSID); extern "C" int __attribute__((__stdcall__)) StringFromGUID2(const GUID&,LPOLESTR,int); extern "C" HRESULT __attribute__((__stdcall__)) CoCreateGuid(GUID*); extern "C" BOOL __attribute__((__stdcall__)) CoFileTimeToDosDateTime(FILETIME*,LPWORD,LPWORD); extern "C" BOOL __attribute__((__stdcall__)) CoDosDateTimeToFileTime(WORD,WORD,FILETIME*); extern "C" HRESULT __attribute__((__stdcall__)) CoFileTimeNow(FILETIME*); extern "C" HRESULT __attribute__((__stdcall__)) CoRegisterMessageFilter(LPMESSAGEFILTER,LPMESSAGEFILTER*); extern "C" HRESULT __attribute__((__stdcall__)) CoGetTreatAsClass(const CLSID&,LPCLSID); extern "C" HRESULT __attribute__((__stdcall__)) CoTreatAsClass(const CLSID&,const CLSID&); typedef HRESULT (__attribute__((__stdcall__)) *LPFNGETCLASSOBJECT)(const CLSID&,const IID&,PVOID*); typedef HRESULT (__attribute__((__stdcall__)) *LPFNCANUNLOADNOW)(void); extern "C" HRESULT __attribute__((__stdcall__)) DllGetClassObject(const CLSID&,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) DllCanUnloadNow(void); extern "C" PVOID __attribute__((__stdcall__)) CoTaskMemAlloc(ULONG); extern "C" PVOID __attribute__((__stdcall__)) CoTaskMemRealloc(PVOID,ULONG); extern "C" void __attribute__((__stdcall__)) CoTaskMemFree(PVOID); extern "C" HRESULT __attribute__((__stdcall__)) CreateDataAdviseHolder(LPDATAADVISEHOLDER*); extern "C" HRESULT __attribute__((__stdcall__)) CreateDataCache(LPUNKNOWN,const CLSID&,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) StgCreateDocfile(const OLECHAR*,DWORD,DWORD,IStorage**); extern "C" HRESULT __attribute__((__stdcall__)) StgCreateDocfileOnILockBytes(ILockBytes*,DWORD,DWORD,IStorage**); extern "C" HRESULT __attribute__((__stdcall__)) StgOpenStorage(const OLECHAR*,IStorage*,DWORD,SNB,DWORD,IStorage**); extern "C" HRESULT __attribute__((__stdcall__)) StgOpenStorageOnILockBytes(ILockBytes*,IStorage*,DWORD,SNB,DWORD,IStorage**); extern "C" HRESULT __attribute__((__stdcall__)) StgIsStorageFile(const OLECHAR*); extern "C" HRESULT __attribute__((__stdcall__)) StgIsStorageILockBytes(ILockBytes*); extern "C" HRESULT __attribute__((__stdcall__)) StgSetTimes(OLECHAR const*,FILETIME const*,FILETIME const*,FILETIME const*); extern "C" HRESULT __attribute__((__stdcall__)) BindMoniker(LPMONIKER,DWORD,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) CoGetObject(LPCWSTR,BIND_OPTS*,const IID&,void**); extern "C" HRESULT __attribute__((__stdcall__)) MkParseDisplayName(LPBC,LPCOLESTR,ULONG*,LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) MonikerRelativePathTo(LPMONIKER,LPMONIKER,LPMONIKER*,BOOL); extern "C" HRESULT __attribute__((__stdcall__)) MonikerCommonPrefixWith(LPMONIKER,LPMONIKER,LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) CreateBindCtx(DWORD,LPBC*); extern "C" HRESULT __attribute__((__stdcall__)) CreateGenericComposite(LPMONIKER,LPMONIKER,LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) GetClassFile (LPCOLESTR,CLSID*); extern "C" HRESULT __attribute__((__stdcall__)) CreateFileMoniker(LPCOLESTR,LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) CreateItemMoniker(LPCOLESTR,LPCOLESTR,LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) CreateAntiMoniker(LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) CreatePointerMoniker(LPUNKNOWN,LPMONIKER*); extern "C" HRESULT __attribute__((__stdcall__)) GetRunningObjectTable(DWORD,LPRUNNINGOBJECTTABLE*); extern "C" HRESULT __attribute__((__stdcall__)) CoInitializeSecurity(PSECURITY_DESCRIPTOR,LONG,SOLE_AUTHENTICATION_SERVICE*, void*,DWORD,DWORD,void*,DWORD,void*); extern "C" HRESULT __attribute__((__stdcall__)) CoGetCallContext(const IID&,void**); extern "C" HRESULT __attribute__((__stdcall__)) CoQueryProxyBlanket(IUnknown*, DWORD*,DWORD*,OLECHAR**,DWORD*,DWORD*,RPC_AUTH_IDENTITY_HANDLE*,DWORD*); extern "C" HRESULT __attribute__((__stdcall__)) CoSetProxyBlanket(IUnknown*,DWORD,DWORD,OLECHAR*,DWORD,DWORD,RPC_AUTH_IDENTITY_HANDLE, DWORD); extern "C" HRESULT __attribute__((__stdcall__)) CoCopyProxy(IUnknown*,IUnknown**); extern "C" HRESULT __attribute__((__stdcall__)) CoQueryClientBlanket(DWORD*,DWORD*,OLECHAR**, DWORD*,DWORD*,RPC_AUTHZ_HANDLE*,DWORD*); extern "C" HRESULT __attribute__((__stdcall__)) CoImpersonateClient(void); extern "C" HRESULT __attribute__((__stdcall__)) CoRevertToSelf(void); extern "C" HRESULT __attribute__((__stdcall__)) CoQueryAuthenticationServices(DWORD*, SOLE_AUTHENTICATION_SERVICE**); extern "C" HRESULT __attribute__((__stdcall__)) CoSwitchCallContext(IUnknown*,IUnknown**); extern "C" HRESULT __attribute__((__stdcall__)) CoGetInstanceFromFile(COSERVERINFO*, CLSID*,IUnknown*,DWORD,DWORD,OLECHAR*,DWORD,MULTI_QI*); extern "C" HRESULT __attribute__((__stdcall__)) CoGetInstanceFromIStorage(COSERVERINFO*,CLSID*, IUnknown*,DWORD,struct IStorage*, DWORD,MULTI_QI*); #pragma pack(pop) # 10 "C:/MINGW/include/ole2.h" 2 3 # 1 "C:/MINGW/include/olectlid.h" 1 3 # 5 "C:/MINGW/include/olectlid.h" 3 extern "C" { extern const GUID IID_IDispatch; extern const GUID IID_IPropertyNotifySink; extern const GUID IID_IClassFactory2; extern const GUID IID_IProvideClassInfo; extern const GUID IID_IProvideClassInfo2; extern const GUID IID_IConnectionPointContainer; extern const GUID IID_IEnumConnectionPoints; extern const GUID IID_IConnectionPoint; extern const GUID IID_IEnumConnections; extern const GUID IID_IOleControl; extern const GUID IID_IOleControlSite; extern const GUID IID_ISimpleFrameSite; extern const GUID IID_IPersistStreamInit; extern const GUID IID_IPersistMemory; extern const GUID IID_IPersistPropertyBag; extern const GUID IID_IPropertyBag; extern const GUID IID_IErrorLog; extern const GUID IID_IPropertyFrame; extern const GUID IID_ISpecifyPropertyPages; extern const GUID IID_IPerPropertyBrowsing; extern const GUID IID_IPropertyPageSite; extern const GUID IID_IPropertyPage; extern const GUID IID_IPropertyPage2; extern const GUID CLSID_CFontPropPage; extern const GUID CLSID_CColorPropPage; extern const GUID CLSID_CPicturePropPage; extern const GUID CLSID_PersistPropset; extern const GUID CLSID_ConvertVBX; extern const GUID CLSID_StdFont; extern const GUID CLSID_StdPicture; extern const GUID IID_IFont; extern const GUID IID_IFontDisp; extern const GUID IID_IPicture; extern const GUID IID_IPictureDisp; extern const GUID GUID_HIMETRIC; extern const GUID GUID_COLOR; extern const GUID GUID_XPOSPIXEL; extern const GUID GUID_YPOSPIXEL; extern const GUID GUID_XSIZEPIXEL; extern const GUID GUID_YSIZEPIXEL; extern const GUID GUID_XPOS; extern const GUID GUID_YPOS; extern const GUID GUID_XSIZE; extern const GUID GUID_YSIZE; extern const GUID GUID_TRISTATE; extern const GUID GUID_OPTIONVALUEEXCLUSIVE; extern const GUID GUID_CHECKVALUEEXCLUSIVE; extern const GUID GUID_FONTNAME; extern const GUID GUID_FONTSIZE; extern const GUID GUID_FONTBOLD; extern const GUID GUID_FONTITALIC; extern const GUID GUID_FONTUNDERSCORE; extern const GUID GUID_FONTSTRIKETHROUGH; extern const GUID GUID_HANDLE; extern const GUID IID_IEnumUnknown; extern const GUID IID_IEnumString; extern const GUID IID_IEnumMoniker; extern const GUID IID_IEnumFORMATETC; extern const GUID IID_IEnumOLEVERB; extern const GUID IID_IEnumSTATDATA; extern const GUID IID_IEnumGeneric; extern const GUID IID_IEnumHolder; extern const GUID IID_IEnumCallback; extern const GUID IID_IPersistStream; extern const GUID IID_IPersistStorage; extern const GUID IID_IPersistFile; extern const GUID IID_IPersist; extern const GUID IID_IViewObject; extern const GUID IID_IDataObject; extern const GUID IID_IAdviseSink; extern const GUID IID_IDataAdviseHolder; extern const GUID IID_IOleAdviseHolder; extern const GUID IID_IOleObject; extern const GUID IID_IOleInPlaceObject; extern const GUID IID_IOleWindow; extern const GUID IID_IOleInPlaceUIWindow; extern const GUID IID_IOleInPlaceFrame; extern const GUID IID_IOleInPlaceActiveObject; extern const GUID IID_IOleClientSite; extern const GUID IID_IOleInPlaceSite; extern const GUID IID_IParseDisplayName; extern const GUID IID_IOleContainer; extern const GUID IID_IOleItemContainer; extern const GUID IID_IOleLink; extern const GUID IID_IOleCache; extern const GUID IID_IOleManager; extern const GUID IID_IOlePresObj; extern const GUID IID_IDropSource; extern const GUID IID_IDropTarget; extern const GUID IID_IDebug; extern const GUID IID_IDebugStream; extern const GUID IID_IAdviseSink2; extern const GUID IID_IRunnableObject; extern const GUID IID_IViewObject2; extern const GUID IID_IOleCache2; extern const GUID IID_IOleCacheControl; extern const GUID CLSID_Picture_Metafile; extern const GUID CLSID_Picture_Dib; } # 11 "C:/MINGW/include/ole2.h" 2 3 # 1 "C:/MINGW/include/oleauto.h" 1 3 # 5 "C:/MINGW/include/oleauto.h" 3 #pragma pack(push,8) # 86 "C:/MINGW/include/oleauto.h" 3 # 1 "C:/MINGW/include/oaidl.h" 1 3 # 5 "C:/MINGW/include/oaidl.h" 3 extern "C" { # 56 "C:/MINGW/include/oaidl.h" 3 typedef struct ITypeLib *LPTYPELIB; typedef struct ICreateTypeInfo *LPCREATETYPEINFO; typedef struct ICreateTypeInfo2 *LPCREATETYPEINFO2; typedef struct ICreateTypeLib *LPCREATETYPELIB; typedef struct ICreateTypeLib2 *LPCREATETYPELIB2; typedef struct ITypeComp *LPTYPECOMP; typedef struct ITypeInfo *LPTYPEINFO; typedef struct IErrorInfo *LPERRORINFO; typedef struct IDispatch *LPDISPATCH; typedef struct IEnumVARIANT *LPENUMVARIANT; typedef struct ICreateErrorInfo *LPCREATEERRORINFO; typedef struct ISupportErrorInfo *LPSUPPORTERRORINFO; typedef struct IRecordInfo *LPRECORDINFO; extern const IID IID_ITypeLib; extern const IID IID_ICreateTypeInfo; extern const IID IID_ICreateTypeInfo2; extern const IID IID_ICreateTypeLib; extern const IID IID_ICreateTypeLib2; extern const IID IID_ITypeInfo; extern const IID IID_IErrorInfo; extern const IID IID_IDispatch; extern const IID IID_IEnumVARIANT; extern const IID IID_ICreateErrorInfo; extern const IID IID_ISupportErrorInfo; extern const IID IID_IRecordInfo; typedef enum tagSYSKIND { SYS_WIN16,SYS_WIN32,SYS_MAC } SYSKIND; typedef enum tagLIBFLAGS { LIBFLAG_FRESTRICTED=1,LIBFLAG_FCONTROL=2,LIBFLAG_FHIDDEN=4, LIBFLAG_FHASDISKIMAGE=8 } LIBFLAGS; typedef struct tagTLIBATTR { GUID guid; LCID lcid; SYSKIND syskind; WORD wMajorVerNum; WORD wMinorVerNum; WORD wLibFlags; } TLIBATTR,*LPTLIBATTR; typedef CY CURRENCY; typedef struct tagSAFEARRAYBOUND { ULONG cElements; LONG lLbound; }SAFEARRAYBOUND,*LPSAFEARRAYBOUND; typedef struct _wireSAFEARR_BSTR { ULONG Size; wireBSTR *aBstr; }SAFEARR_BSTR; typedef struct _wireSAFEARR_UNKNOWN { ULONG Size; IUnknown **apUnknown; }SAFEARR_UNKNOWN; typedef struct _wireSAFEARR_DISPATCH { ULONG Size; LPDISPATCH *apDispatch; }SAFEARR_DISPATCH; typedef struct _wireSAFEARR_VARIANT { ULONG Size; struct _wireVARIANT *aVariant; }SAFEARR_VARIANT; typedef enum tagSF_TYPE { SF_ERROR=VT_ERROR, SF_I1=VT_I1, SF_I2=VT_I2, SF_I4=VT_I4, SF_I8=VT_I8, SF_BSTR=VT_BSTR, SF_UNKNOWN=VT_UNKNOWN, SF_DISPATCH=VT_DISPATCH, SF_VARIANT=VT_VARIANT }SF_TYPE; typedef struct _wireBRECORD { ULONG fFlags; ULONG clSize; LPRECORDINFO* pRecInfo; byte* pRecord; } *wireBRECORD; typedef struct _wireSAFEARR_BRECORD { ULONG Size; wireBRECORD* aRecord; } SAFEARR_BRECORD; typedef struct _wireSAFEARR_HAVEIID { ULONG Size; IUnknown** apUnknown; IID iid; } SAFEARR_HAVEIID; typedef struct _wireSAFEARRAY_UNION { ULONG sfType; union { SAFEARR_BSTR BstrStr; SAFEARR_UNKNOWN UnknownStr; SAFEARR_DISPATCH DispatchStr; SAFEARR_VARIANT VariantStr; SAFEARR_BRECORD RecordStr; SAFEARR_HAVEIID HaveIidStr; BYTE_SIZEDARR ByteStr; WORD_SIZEDARR WordStr; DWORD_SIZEDARR LongStr; HYPER_SIZEDARR HyperStr; }u; }SAFEARRAYUNION; typedef struct _wireSAFEARRAY { USHORT cDims; USHORT fFeatures; ULONG cbElements; ULONG cLocks; SAFEARRAYUNION uArrayStructs; SAFEARRAYBOUND rgsabound[1]; }*wireSAFEARRAY; typedef wireSAFEARRAY *wirePSAFEARRAY; typedef struct tagSAFEARRAY { USHORT cDims; USHORT fFeatures; ULONG cbElements; ULONG cLocks; PVOID pvData; SAFEARRAYBOUND rgsabound[1]; }SAFEARRAY,*LPSAFEARRAY; __extension__ typedef struct tagVARIANT { __extension__ union { struct { VARTYPE vt; WORD wReserved1; WORD wReserved2; WORD wReserved3; __extension__ union { long lVal; unsigned char bVal; short iVal; float fltVal; double dblVal; VARIANT_BOOL boolVal; SCODE scode; CY cyVal; DATE date; BSTR bstrVal; IUnknown *punkVal; LPDISPATCH pdispVal; SAFEARRAY *parray; unsigned char *pbVal; short *piVal; long *plVal; float *pfltVal; double *pdblVal; VARIANT_BOOL *pboolVal; _VARIANT_BOOL *pbool; SCODE *pscode; CY *pcyVal; DATE *pdate; BSTR *pbstrVal; IUnknown **ppunkVal; LPDISPATCH *ppdispVal; SAFEARRAY **pparray; struct tagVARIANT *pvarVal; void *byref; CHAR cVal; USHORT uiVal; ULONG ulVal; INT intVal; UINT uintVal; DECIMAL *pdecVal; CHAR *pcVal; USHORT *puiVal; ULONG *pulVal; INT *pintVal; UINT *puintVal; __extension__ struct { PVOID pvRecord; struct IRecordInfo *pRecInfo; } ; } ; } ; DECIMAL decVal; } ; } VARIANT,*LPVARIANT; typedef VARIANT VARIANTARG; typedef VARIANT *LPVARIANTARG; typedef struct _wireVARIANT { DWORD clSize; DWORD rpcReserved; USHORT vt; USHORT wReserved1; USHORT wReserved2; USHORT wReserved3; __extension__ union { LONG lVal; BYTE bVal; SHORT iVal; FLOAT fltVal; DOUBLE dblVal; VARIANT_BOOL boolVal; SCODE scode; CY cyVal; DATE date; wireBSTR bstrVal; IUnknown *punkVal; LPDISPATCH pdispVal; wirePSAFEARRAY parray; wireBRECORD brecVal; BYTE *pbVal; SHORT *piVal; LONG *plVal; FLOAT *pfltVal; DOUBLE *pdblVal; VARIANT_BOOL *pboolVal; SCODE *pscode; CY *pcyVal; DATE *pdate; wireBSTR *pbstrVal; IUnknown **ppunkVal; LPDISPATCH *ppdispVal; wirePSAFEARRAY *pparray; struct _wireVARIANT *pvarVal; CHAR cVal; USHORT uiVal; ULONG ulVal; INT intVal; UINT uintVal; DECIMAL decVal; DECIMAL *pdecVal; CHAR *pcVal; USHORT *puiVal; ULONG *pulVal; INT *pintVal; UINT *puintVal; } ; } *wireVARIANT; typedef LONG DISPID; typedef DISPID MEMBERID; typedef DWORD HREFTYPE; typedef enum tagTYPEKIND { TKIND_ENUM,TKIND_RECORD,TKIND_MODULE,TKIND_INTERFACE,TKIND_DISPATCH, TKIND_COCLASS,TKIND_ALIAS,TKIND_UNION,TKIND_MAX }TYPEKIND; typedef struct tagTYPEDESC { __extension__ union { struct tagTYPEDESC *lptdesc; struct tagARRAYDESC *lpadesc; HREFTYPE hreftype; } ; VARTYPE vt; }TYPEDESC; typedef struct tagARRAYDESC { TYPEDESC tdescElem; USHORT cDims; SAFEARRAYBOUND rgbounds[1]; }ARRAYDESC; typedef struct tagPARAMDESCEX { ULONG cBytes; VARIANTARG varDefaultValue; }PARAMDESCEX,*LPPARAMDESCEX; typedef struct tagPARAMDESC { LPPARAMDESCEX pparamdescex; USHORT wParamFlags; }PARAMDESC,*LPPARAMDESC; typedef struct tagIDLDESC { ULONG dwReserved; USHORT wIDLFlags; }IDLDESC,*LPIDLDESC; typedef struct tagELEMDESC { TYPEDESC tdesc; __extension__ union { IDLDESC idldesc; PARAMDESC paramdesc; } ; } ELEMDESC,*LPELEMDESC; typedef struct tagTYPEATTR { GUID guid; LCID lcid; DWORD dwReserved; MEMBERID memidConstructor; MEMBERID memidDestructor; LPOLESTR lpstrSchema; ULONG cbSizeInstance; TYPEKIND typekind; WORD cFuncs; WORD cVars; WORD cImplTypes; WORD cbSizeVft; WORD cbAlignment; WORD wTypeFlags; WORD wMajorVerNum; WORD wMinorVerNum; TYPEDESC tdescAlias; IDLDESC idldescType; }TYPEATTR,*LPTYPEATTR; typedef struct tagDISPPARAMS { VARIANTARG *rgvarg; DISPID *rgdispidNamedArgs; UINT cArgs; UINT cNamedArgs; }DISPPARAMS; typedef struct tagEXCEPINFO { WORD wCode; WORD wReserved; BSTR bstrSource; BSTR bstrDescription; BSTR bstrHelpFile; DWORD dwHelpContext; PVOID pvReserved; HRESULT(__attribute__((__stdcall__)) * pfnDeferredFillIn)(struct tagEXCEPINFO*); SCODE scode; } EXCEPINFO,*LPEXCEPINFO; typedef enum tagCALLCONV { CC_FASTCALL,CC_CDECL,CC_MSCPASCAL,CC_PASCAL=CC_MSCPASCAL, CC_MACPASCAL,CC_STDCALL,CC_FPFASTCALL,CC_SYSCALL,CC_MPWCDECL, CC_MPWPASCAL,CC_MAX=CC_MPWPASCAL }CALLCONV; typedef enum tagFUNCKIND { FUNC_VIRTUAL,FUNC_PUREVIRTUAL,FUNC_NONVIRTUAL, FUNC_STATIC,FUNC_DISPATCH }FUNCKIND; typedef enum tagINVOKEKIND { INVOKE_FUNC=1,INVOKE_PROPERTYGET,INVOKE_PROPERTYPUT=4, INVOKE_PROPERTYPUTREF=8 }INVOKEKIND; typedef struct tagFUNCDESC { MEMBERID memid; SCODE *lprgscode; ELEMDESC *lprgelemdescParam; FUNCKIND funckind; INVOKEKIND invkind; CALLCONV callconv; SHORT cParams; SHORT cParamsOpt; SHORT oVft; SHORT cScodes; ELEMDESC elemdescFunc; WORD wFuncFlags; }FUNCDESC,*LPFUNCDESC; typedef enum tagVARKIND { VAR_PERINSTANCE,VAR_STATIC,VAR_CONST,VAR_DISPATCH } VARKIND; typedef struct tagVARDESC { MEMBERID memid; LPOLESTR lpstrSchema; __extension__ union { ULONG oInst; VARIANT *lpvarValue; } ; ELEMDESC elemdescVar; WORD wVarFlags; VARKIND varkind; } VARDESC,*LPVARDESC; typedef enum tagTYPEFLAGS { TYPEFLAG_FAPPOBJECT=1,TYPEFLAG_FCANCREATE=2,TYPEFLAG_FLICENSED=4, TYPEFLAG_FPREDECLID=8,TYPEFLAG_FHIDDEN=16,TYPEFLAG_FCONTROL=32, TYPEFLAG_FDUAL=64,TYPEFLAG_FNONEXTENSIBLE=128, TYPEFLAG_FOLEAUTOMATION=256,TYPEFLAG_FRESTRICTED=512, TYPEFLAG_FAGGREGATABLE=1024,TYPEFLAG_FREPLACEABLE=2048, TYPEFLAG_FDISPATCHABLE=4096,TYPEFLAG_FREVERSEBIND=8192 } TYPEFLAGS; typedef enum tagFUNCFLAGS { FUNCFLAG_FRESTRICTED=1,FUNCFLAG_FSOURCE=2,FUNCFLAG_FBINDABLE=4, FUNCFLAG_FREQUESTEDIT=8,FUNCFLAG_FDISPLAYBIND=16,FUNCFLAG_FDEFAULTBIND=32, FUNCFLAG_FHIDDEN=64,FUNCFLAG_FUSESGETLASTERROR=128,FUNCFLAG_FDEFAULTCOLLELEM=256, FUNCFLAG_FUIDEFAULT=512,FUNCFLAG_FNONBROWSABLE=1024,FUNCFLAG_FREPLACEABLE=2048, FUNCFLAG_FIMMEDIATEBIND=4096 } FUNCFLAGS; typedef enum tagVARFLAGS { VARFLAG_FREADONLY=1,VARFLAG_FSOURCE=2,VARFLAG_FBINDABLE=4,VARFLAG_FREQUESTEDIT=8, VARFLAG_FDISPLAYBIND=16,VARFLAG_FDEFAULTBIND=32,VARFLAG_FHIDDEN=64,VARFLAG_FRESTRICTED=128, VARFLAG_FDEFAULTCOLLELEM=256,VARFLAG_FUIDEFAULT=512,VARFLAG_FNONBROWSABLE=1024, VARFLAG_FREPLACEABLE=2048,VARFLAG_FIMMEDIATEBIND=4096 } VARFLAGS; typedef struct tagCLEANLOCALSTORAGE { IUnknown *pInterface; PVOID pStorage; DWORD flags; } CLEANLOCALSTORAGE; typedef struct tagCUSTDATAITEM { GUID guid; VARIANTARG varValue; } CUSTDATAITEM,*LPCUSTDATAITEM; typedef struct tagCUSTDATA { DWORD cCustData; LPCUSTDATAITEM prgCustData; } CUSTDATA,*LPCUSTDATA; typedef enum tagDESCKIND { DESCKIND_NONE=0,DESCKIND_FUNCDESC=DESCKIND_NONE+1, DESCKIND_VARDESC=DESCKIND_FUNCDESC+1,DESCKIND_TYPECOMP=DESCKIND_VARDESC+1, DESCKIND_IMPLICITAPPOBJ=DESCKIND_TYPECOMP+1, DESCKIND_MAX=DESCKIND_IMPLICITAPPOBJ+1 } DESCKIND; typedef union tagBINDPTR { LPFUNCDESC lpfuncdesc; LPVARDESC lpvardesc; LPTYPECOMP lptcomp; } BINDPTR,*LPBINDPTR; struct IDispatch : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeInfoCount( UINT*) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeInfo( UINT,LCID,LPTYPEINFO*) =0; virtual HRESULT __attribute__((__stdcall__)) GetIDsOfNames( const IID&,LPOLESTR*,UINT,LCID,DISPID*) =0; virtual HRESULT __attribute__((__stdcall__)) Invoke( DISPID,const IID&,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) =0; }; struct IEnumVARIANT : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,VARIANT*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset(void) =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumVARIANT**) =0; }; struct ITypeComp : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Bind( LPOLESTR,ULONG,WORD,LPTYPEINFO*,DESCKIND*,LPBINDPTR) =0; virtual HRESULT __attribute__((__stdcall__)) BindType( LPOLESTR,ULONG,LPTYPEINFO*,LPTYPECOMP*) =0; }; struct ITypeInfo : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeAttr( LPTYPEATTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeComp( LPTYPECOMP*) =0; virtual HRESULT __attribute__((__stdcall__)) GetFuncDesc( UINT,LPFUNCDESC*) =0; virtual HRESULT __attribute__((__stdcall__)) GetVarDesc( UINT,LPVARDESC*) =0; virtual HRESULT __attribute__((__stdcall__)) GetNames( MEMBERID,BSTR*,UINT,UINT*) =0; virtual HRESULT __attribute__((__stdcall__)) GetRefTypeOfImplType( UINT,HREFTYPE*) =0; virtual HRESULT __attribute__((__stdcall__)) GetImplTypeFlags( UINT,INT*) =0; virtual HRESULT __attribute__((__stdcall__)) GetIDsOfNames( LPOLESTR*,UINT,MEMBERID*) =0; virtual HRESULT __attribute__((__stdcall__)) Invoke( PVOID,MEMBERID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) =0; virtual HRESULT __attribute__((__stdcall__)) GetDocumentation( MEMBERID,BSTR*,BSTR*,DWORD*,BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetDllEntry( MEMBERID,INVOKEKIND,BSTR*,BSTR*,WORD*) =0; virtual HRESULT __attribute__((__stdcall__)) GetRefTypeInfo( HREFTYPE,LPTYPEINFO*) =0; virtual HRESULT __attribute__((__stdcall__)) AddressOfMember( MEMBERID,INVOKEKIND,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) CreateInstance( LPUNKNOWN,const IID&,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) GetMops( MEMBERID,BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetContainingTypeLib( LPTYPELIB*,UINT*) =0; virtual void __attribute__((__stdcall__)) ReleaseTypeAttr( LPTYPEATTR) =0; virtual void __attribute__((__stdcall__)) ReleaseFuncDesc( LPFUNCDESC) =0; virtual void __attribute__((__stdcall__)) ReleaseVarDesc( LPVARDESC) =0; }; struct ITypeLib : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual UINT __attribute__((__stdcall__)) GetTypeInfoCount(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeInfo( UINT,ITypeInfo**) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeInfoType( UINT,TYPEKIND*) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeInfoOfGuid( const GUID&,ITypeInfo**) =0; virtual HRESULT __attribute__((__stdcall__)) GetLibAttr( TLIBATTR**) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeComp( ITypeComp*) =0; virtual HRESULT __attribute__((__stdcall__)) GetDocumentation( INT,BSTR*,BSTR*,DWORD*,BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) IsName( LPOLESTR,ULONG,BOOL*) =0; virtual HRESULT __attribute__((__stdcall__)) FindName( LPOLESTR,ULONG,ITypeInfo**,MEMBERID*,USHORT*) =0; virtual void __attribute__((__stdcall__)) ReleaseTLibAttr( TLIBATTR*) =0; }; extern "C" const IID IID_IErrorInfo; struct IErrorInfo : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetGUID( GUID*) =0; virtual HRESULT __attribute__((__stdcall__)) GetSource( BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetDescription( BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetHelpFile( BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetHelpContext( DWORD*) =0; }; extern "C" const IID IID_ICreateErrorInfo; struct ICreateErrorInfo : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*)=0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) SetGUID( const GUID&) =0; virtual HRESULT __attribute__((__stdcall__)) SetSource( LPOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) SetDescription( LPOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) SetHelpFile( LPOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) SetHelpContext( DWORD) =0; }; extern "C" const IID IID_ISupportErrorInfo; struct ISupportErrorInfo : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) InterfaceSupportsErrorInfo( const IID&) =0; }; extern "C" const IID IID_IRecordInfo; struct IRecordInfo : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) RecordInit( PVOID) =0; virtual HRESULT __attribute__((__stdcall__)) RecordClear( PVOID) =0; virtual HRESULT __attribute__((__stdcall__)) RecordCopy( PVOID, PVOID) =0; virtual HRESULT __attribute__((__stdcall__)) GetGuid( GUID*) =0; virtual HRESULT __attribute__((__stdcall__)) GetName( BSTR*) =0; virtual HRESULT __attribute__((__stdcall__)) GetSize( ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) GetTypeInfo( ITypeInfo**) =0; virtual HRESULT __attribute__((__stdcall__)) GetField( PVOID,LPCOLESTR,VARIANT*) =0; virtual HRESULT __attribute__((__stdcall__)) GetFieldNoCopy( PVOID,LPCOLESTR,VARIANT*,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) PutField( ULONG,PVOID,LPCOLESTR, VARIANT*) =0; virtual HRESULT __attribute__((__stdcall__)) PutFieldNoCopy( ULONG,PVOID,LPCOLESTR,VARIANT*) =0; virtual HRESULT __attribute__((__stdcall__)) GetFieldNames( ULONG*,BSTR*) =0; virtual BOOL __attribute__((__stdcall__)) IsMatchingType( void) =0; virtual PVOID __attribute__((__stdcall__)) RecordCreate(void) =0; virtual HRESULT __attribute__((__stdcall__)) RecordCreateCopy( PVOID,PVOID*) =0; virtual HRESULT __attribute__((__stdcall__)) RecordDestroy( PVOID) =0; }; } # 87 "C:/MINGW/include/oleauto.h" 2 3 typedef enum tagREGKIND { REGKIND_DEFAULT, REGKIND_REGISTER, REGKIND_NONE } REGKIND; typedef struct tagPARAMDATA { OLECHAR *szName; VARTYPE vt; } PARAMDATA,*LPPARAMDATA; typedef struct tagMETHODDATA { OLECHAR *szName; PARAMDATA *ppdata; DISPID dispid; UINT iMeth; CALLCONV cc; UINT cArgs; WORD wFlags; VARTYPE vtReturn; } METHODDATA,*LPMETHODDATA; typedef struct tagINTERFACEDATA { METHODDATA *pmethdata; UINT cMembers; } INTERFACEDATA,*LPINTERFACEDATA; extern "C" BSTR __attribute__((__stdcall__)) SysAllocString(const OLECHAR*); extern "C" int __attribute__((__stdcall__)) SysReAllocString(BSTR*,const OLECHAR*); extern "C" BSTR __attribute__((__stdcall__)) SysAllocStringLen(const OLECHAR*,unsigned int); extern "C" int __attribute__((__stdcall__)) SysReAllocStringLen(BSTR*,const OLECHAR*,unsigned int); extern "C" void __attribute__((__stdcall__)) SysFreeString(BSTR); extern "C" unsigned int __attribute__((__stdcall__)) SysStringLen(BSTR); extern "C" unsigned int __attribute__((__stdcall__)) SysStringByteLen(BSTR); extern "C" BSTR __attribute__((__stdcall__)) SysAllocStringByteLen(const char*,unsigned int); extern "C" int __attribute__((__stdcall__)) DosDateTimeToVariantTime(unsigned short,unsigned short,double*); extern "C" int __attribute__((__stdcall__)) VariantTimeToDosDateTime(double,unsigned short*,unsigned short*); extern "C" int __attribute__((__stdcall__)) VariantTimeToSystemTime(double,LPSYSTEMTIME); extern "C" int __attribute__((__stdcall__)) SystemTimeToVariantTime(LPSYSTEMTIME, double*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayAllocDescriptor(unsigned int,SAFEARRAY**); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayAllocData(SAFEARRAY*); extern "C" SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreate(VARTYPE,unsigned int,SAFEARRAYBOUND*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayDestroyDescriptor(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayDestroyData(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayDestroy(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayRedim(SAFEARRAY*,SAFEARRAYBOUND*); extern "C" unsigned int __attribute__((__stdcall__)) SafeArrayGetDim(SAFEARRAY*); extern "C" unsigned int __attribute__((__stdcall__)) SafeArrayGetElemsize(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayGetUBound(SAFEARRAY*,unsigned int,long*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayGetLBound(SAFEARRAY*,unsigned int,long*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayLock(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayUnlock(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayAccessData(SAFEARRAY*,void**); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayUnaccessData(SAFEARRAY*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayGetElement(SAFEARRAY*,long*,void*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayPutElement(SAFEARRAY*,long*,void*); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayCopy(SAFEARRAY*,SAFEARRAY**); extern "C" HRESULT __attribute__((__stdcall__)) SafeArrayPtrOfIndex(SAFEARRAY*,long*,void**); extern "C" SAFEARRAY* __attribute__((__stdcall__)) SafeArrayCreateVector(VARTYPE,LONG,UINT); extern "C" void __attribute__((__stdcall__)) VariantInit(VARIANTARG*); extern "C" HRESULT __attribute__((__stdcall__)) VariantClear(VARIANTARG*); extern "C" HRESULT __attribute__((__stdcall__)) VariantCopy(VARIANTARG*,VARIANTARG*); extern "C" HRESULT __attribute__((__stdcall__)) VariantCopyInd(VARIANT*,VARIANTARG*); extern "C" HRESULT __attribute__((__stdcall__)) VariantChangeType(VARIANTARG*,VARIANTARG*,unsigned short,VARTYPE); extern "C" HRESULT __attribute__((__stdcall__)) VariantChangeTypeEx(VARIANTARG*,VARIANTARG*,LCID,unsigned short,VARTYPE); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromI2(short,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromI4(long,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromR4(float,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromR8(double,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromCy(CY,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromDate(DATE,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromStr(OLECHAR*,LCID,unsigned long,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromDisp(LPDISPATCH*,LCID,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarUI1FromBool(VARIANT_BOOL,unsigned char*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromUI1(unsigned char,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromI4(long,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromR4(float,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromR8(double,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromCy(CY cyIn,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromDate(DATE,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromStr(OLECHAR*,LCID,unsigned long,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromDisp(LPDISPATCH*,LCID,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI2FromBool(VARIANT_BOOL,short*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromUI1(unsigned char,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromI2(short,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromR4(float,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromR8(double,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromCy(CY,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromDate(DATE,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromStr(OLECHAR*,LCID,unsigned long,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromDisp(LPDISPATCH*,LCID,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarI4FromBool(VARIANT_BOOL,long*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromUI1(unsigned char,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromI2(short,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromI4(long,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromR8(double,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromCy(CY,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromDate(DATE,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromStr(OLECHAR*,LCID,unsigned long,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromDisp(LPDISPATCH*,LCID,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR4FromBool(VARIANT_BOOL,float*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromUI1(unsigned char,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromI2(short,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromI4(long,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromR4(float,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromCy(CY,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromDate(DATE,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromStr(OLECHAR*,LCID,unsigned long,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromDisp(LPDISPATCH*,LCID,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarR8FromBool(VARIANT_BOOL,double*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromUI1(unsigned char,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromI2(short,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromI4(long,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromR4(float,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromR8(double,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromCy(CY,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromStr(OLECHAR*,LCID,unsigned long,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromDisp(LPDISPATCH*,LCID,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarDateFromBool(VARIANT_BOOL,DATE*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromUI1(unsigned char,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromI2(short,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromI4(long,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromR4(float,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromR8(double,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromDate(DATE,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromStr(OLECHAR*,LCID,unsigned long,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromDisp(LPDISPATCH*,LCID,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarCyFromBool(VARIANT_BOOL,CY*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromUI1(unsigned char,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromI2(short,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromI4(long,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromR4(float,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromR8(double,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromCy(CY,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromDate(DATE,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromDisp(LPDISPATCH*,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBstrFromBool(VARIANT_BOOL,LCID,unsigned long,BSTR*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromUI1(unsigned char,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromI2(short,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromI4(long,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromR4(float,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromR8(double,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromDate(DATE,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromCy(CY,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromStr(OLECHAR*,LCID,unsigned long,VARIANT_BOOL*); extern "C" HRESULT __attribute__((__stdcall__)) VarBoolFromDisp(LPDISPATCH*,LCID,VARIANT_BOOL*); extern "C" ULONG __attribute__((__stdcall__)) LHashValOfNameSysA(SYSKIND,LCID,const char*); extern "C" ULONG __attribute__((__stdcall__)) LHashValOfNameSys(SYSKIND,LCID,const OLECHAR*); extern "C" HRESULT __attribute__((__stdcall__)) LoadTypeLib(const OLECHAR*,LPTYPELIB*); extern "C" HRESULT __attribute__((__stdcall__)) LoadTypeLibEx(LPCOLESTR,REGKIND,LPTYPELIB*); extern "C" HRESULT __attribute__((__stdcall__)) LoadRegTypeLib(const GUID&,WORD,WORD,LCID,LPTYPELIB*); extern "C" HRESULT __attribute__((__stdcall__)) QueryPathOfRegTypeLib(const GUID&,unsigned short,unsigned short,LCID,LPBSTR); extern "C" HRESULT __attribute__((__stdcall__)) RegisterTypeLib(LPTYPELIB,OLECHAR*,OLECHAR*); extern "C" HRESULT __attribute__((__stdcall__)) DeregisterTypeLib(const GUID&,WORD,WORD,LCID); extern "C" HRESULT __attribute__((__stdcall__)) CreateTypeLib(SYSKIND,const OLECHAR*,LPCREATETYPELIB*); extern "C" HRESULT __attribute__((__stdcall__)) DispGetParam(DISPPARAMS*,UINT,VARTYPE,VARIANT*,UINT*); extern "C" HRESULT __attribute__((__stdcall__)) DispGetIDsOfNames(LPTYPEINFO,OLECHAR**,UINT,DISPID*); extern "C" HRESULT __attribute__((__stdcall__)) DispInvoke(void*,LPTYPEINFO,DISPID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*); extern "C" HRESULT __attribute__((__stdcall__)) CreateDispTypeInfo(INTERFACEDATA*,LCID,LPTYPEINFO*); extern "C" HRESULT __attribute__((__stdcall__)) CreateStdDispatch(IUnknown*,void*,LPTYPEINFO,IUnknown**); extern "C" HRESULT __attribute__((__stdcall__)) RegisterActiveObject(IUnknown*,const CLSID&,DWORD,DWORD*); extern "C" HRESULT __attribute__((__stdcall__)) RevokeActiveObject(DWORD,void*); extern "C" HRESULT __attribute__((__stdcall__)) GetActiveObject(const CLSID&,void*,IUnknown**); extern "C" HRESULT __attribute__((__stdcall__)) SetErrorInfo(unsigned long,LPERRORINFO); extern "C" HRESULT __attribute__((__stdcall__)) GetErrorInfo(unsigned long,LPERRORINFO*); extern "C" HRESULT __attribute__((__stdcall__)) CreateErrorInfo(LPCREATEERRORINFO*); extern "C" unsigned long __attribute__((__stdcall__)) OaBuildVersion(void); extern "C" HRESULT __attribute__((__stdcall__)) VectorFromBstr (BSTR, SAFEARRAY **); extern "C" HRESULT __attribute__((__stdcall__)) BstrFromVector (SAFEARRAY *, BSTR *); extern "C" HRESULT __attribute__((__stdcall__)) VarAdd(LPVARIANT, LPVARIANT, LPVARIANT); extern "C" HRESULT __attribute__((__stdcall__)) VarSub(LPVARIANT, LPVARIANT, LPVARIANT); extern "C" HRESULT __attribute__((__stdcall__)) VarMul(LPVARIANT, LPVARIANT, LPVARIANT); extern "C" HRESULT __attribute__((__stdcall__)) VarDiv(LPVARIANT, LPVARIANT, LPVARIANT); #pragma pack(pop) # 12 "C:/MINGW/include/ole2.h" 2 3 extern "C" { # 29 "C:/MINGW/include/ole2.h" 3 # 1 "C:/MINGW/include/oleidl.h" 1 3 # 5 "C:/MINGW/include/oleidl.h" 3 extern "C" { typedef struct IParseDisplayname *LPPARSEDISPLAYNAME; typedef struct IOleContainer *LPOLECONTAINER; typedef struct IOleClientSite *LPOLECLIENTSITE; typedef struct IOleObject *LPOLEOBJECT; typedef struct IDropTarget *LPDROPTARGET; typedef struct IDropSource *LPDROPSOURCE; typedef struct IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS; typedef struct IEnumOleUndoUnits *LPENUMOLEUNDOUNITS; typedef struct IEnumOLEVERB *LPENUMOLEVERB; typedef struct IOleWindow *LPOLEWINDOW; typedef struct IOleInPlaceUIWindow *LPOLEINPLACEUIWINDOW; typedef struct IOleInPlaceActiveObject *LPOLEINPLACEACTIVEOBJECT; typedef struct IOleInPlaceFrame *LPOLEINPLACEFRAME; typedef struct IOleAdviseHolder *LPOLEADVISEHOLDER; typedef struct IViewObject *LPVIEWOBJECT; typedef struct IViewObject2 *LPVIEWOBJECT2; typedef enum tagOLEWHICHMK { OLEWHICHMK_CONTAINER=1, OLEWHICHMK_OBJREL, OLEWHICHMK_OBJFULL } OLEWHICHMK; typedef enum tagOLEGETMONIKER { OLEGETMONIKER_ONLYIFTHERE=1, OLEGETMONIKER_FORCEASSIGN, OLEGETMONIKER_UNASSIGN, OLEGETMONIKER_TEMPFORUSER } OLEGETMONIKER; __extension__ typedef enum tagDROPEFFECT { DROPEFFECT_NONE=0, DROPEFFECT_COPY=1, DROPEFFECT_MOVE=2, DROPEFFECT_LINK=4, DROPEFFECT_SCROLL=0x80000000 } DROPEFFECT; typedef struct tagOleMenuGroupWidths { LONG width[6]; } OLEMENUGROUPWIDTHS,*LPOLEMENUGROUPWIDTHS; typedef HGLOBAL HOLEMENU; typedef enum tagOLECLOSE { OLECLOSE_SAVEIFDIRTY, OLECLOSE_NOSAVE, OLECLOSE_PROMPTSAVE } OLECLOSE; typedef struct tagOLEVERB { LONG lVerb; LPWSTR lpszVerbName; DWORD fuFlags; DWORD grfAttribs; } OLEVERB,*LPOLEVERB; typedef RECT BORDERWIDTHS; typedef LPRECT LPBORDERWIDTHS; typedef LPCRECT LPCBORDERWIDTHS; typedef struct tagOIFI { UINT cb; BOOL fMDIApp; HWND hwndFrame; HACCEL haccel; UINT cAccelEntries; }OLEINPLACEFRAMEINFO,*LPOLEINPLACEFRAMEINFO; struct IEnumOLEVERB : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef() =0; virtual ULONG __attribute__((__stdcall__)) Release() =0; virtual HRESULT __attribute__((__stdcall__)) Next( ULONG,OLEVERB*,ULONG*) =0; virtual HRESULT __attribute__((__stdcall__)) Skip( ULONG) =0; virtual HRESULT __attribute__((__stdcall__)) Reset() =0; virtual HRESULT __attribute__((__stdcall__)) Clone( IEnumOLEVERB**) =0; }; typedef IEnumOLEVERB IEnumOleVerb; extern "C" const IID IID_IParseDisplayName; struct IParseDisplayName : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) ParseDisplayName( IBindCtx*,LPOLESTR,ULONG*,IMoniker**) =0; }; extern "C" const IID IID_IOleContainer; struct IOleContainer : public IParseDisplayName { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) ParseDisplayName( IBindCtx*,LPOLESTR,ULONG*,IMoniker**) =0; virtual HRESULT __attribute__((__stdcall__)) EnumObjects( DWORD,IEnumUnknown**) =0; virtual HRESULT __attribute__((__stdcall__)) LockContainer( BOOL) =0; }; extern "C" const IID IID_IOleClientSite; struct IOleClientSite : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) SaveObject(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetMoniker( DWORD,DWORD,LPMONIKER*) =0; virtual HRESULT __attribute__((__stdcall__)) GetContainer( LPOLECONTAINER*) =0; virtual HRESULT __attribute__((__stdcall__)) ShowObject(void) =0; virtual HRESULT __attribute__((__stdcall__)) OnShowWindow( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) RequestNewObjectLayout(void) =0; }; extern "C" const IID IID_IOleObject; struct IOleObject : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) SetClientSite( LPOLECLIENTSITE) =0; virtual HRESULT __attribute__((__stdcall__)) GetClientSite( LPOLECLIENTSITE*) =0; virtual HRESULT __attribute__((__stdcall__)) SetHostNames( LPCOLESTR,LPCOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) Close( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) SetMoniker( DWORD,LPMONIKER) =0; virtual HRESULT __attribute__((__stdcall__)) GetMoniker( DWORD,DWORD,LPMONIKER*) =0; virtual HRESULT __attribute__((__stdcall__)) InitFromData( LPDATAOBJECT,BOOL,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) GetClipboardData( DWORD,LPDATAOBJECT*) =0; virtual HRESULT __attribute__((__stdcall__)) DoVerb( LONG,LPMSG,LPOLECLIENTSITE,LONG,HWND,LPCRECT) =0; virtual HRESULT __attribute__((__stdcall__)) EnumVerbs( LPENUMOLEVERB*) =0; virtual HRESULT __attribute__((__stdcall__)) Update(void) =0; virtual HRESULT __attribute__((__stdcall__)) IsUpToDate(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetUserClassID( LPCLSID) =0; virtual HRESULT __attribute__((__stdcall__)) GetUserType( DWORD,LPOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) SetExtent( DWORD,SIZEL*) =0; virtual HRESULT __attribute__((__stdcall__)) GetExtent( DWORD,SIZEL*) =0; virtual HRESULT __attribute__((__stdcall__)) Advise( LPADVISESINK,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Unadvise( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) EnumAdvise( LPENUMSTATDATA*) =0; virtual HRESULT __attribute__((__stdcall__)) GetMiscStatus( DWORD,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) SetColorScheme( LPLOGPALETTE) =0; }; extern "C" const IID IID_IOleWindow; struct IOleWindow : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetWindow( HWND*) =0; virtual HRESULT __attribute__((__stdcall__)) ContextSensitiveHelp( BOOL) =0; }; extern "C" const IID IID_IOleInPlaceUIWindow; struct IOleInPlaceUIWindow : public IOleWindow { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetWindow( HWND*) =0; virtual HRESULT __attribute__((__stdcall__)) ContextSensitiveHelp( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) GetBorder( LPRECT) =0; virtual HRESULT __attribute__((__stdcall__)) RequestBorderSpace( LPCBORDERWIDTHS) =0; virtual HRESULT __attribute__((__stdcall__)) SetBorderSpace( LPCBORDERWIDTHS) =0; virtual HRESULT __attribute__((__stdcall__)) SetActiveObject( LPOLEINPLACEACTIVEOBJECT,LPCOLESTR) =0; }; extern "C" const IID IID_IOleInPlaceActiveObject; struct IOleInPlaceActiveObject : public IOleWindow { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetWindow( HWND*) =0; virtual HRESULT __attribute__((__stdcall__)) ContextSensitiveHelp( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) TranslateAcceleratorA( LPMSG) =0; virtual HRESULT __attribute__((__stdcall__)) OnFrameWindowActivate( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) OnDocWindowActivate( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) ResizeBorder( LPCRECT,LPOLEINPLACEUIWINDOW,BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) EnableModeless( BOOL) =0; }; extern "C" const IID IID_IOleInPlaceFrame; struct IOleInPlaceFrame : public IOleInPlaceUIWindow { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) GetWindow( HWND*) =0; virtual HRESULT __attribute__((__stdcall__)) ContextSensitiveHelp( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) GetBorder( LPRECT) =0; virtual HRESULT __attribute__((__stdcall__)) RequestBorderSpace( LPCBORDERWIDTHS) =0; virtual HRESULT __attribute__((__stdcall__)) SetBorderSpace( LPCBORDERWIDTHS) =0; virtual HRESULT __attribute__((__stdcall__)) SetActiveObject( LPOLEINPLACEACTIVEOBJECT,LPCOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) InsertMenus( HMENU,LPOLEMENUGROUPWIDTHS) =0; virtual HRESULT __attribute__((__stdcall__)) SetMenu( HMENU,HOLEMENU,HWND) =0; virtual HRESULT __attribute__((__stdcall__)) RemoveMenus( HMENU) =0; virtual HRESULT __attribute__((__stdcall__)) SetStatusText( LPCOLESTR) =0; virtual HRESULT __attribute__((__stdcall__)) EnableModeless( BOOL) =0; virtual HRESULT __attribute__((__stdcall__)) TranslateAcceleratorA( LPMSG,WORD) =0; }; extern "C" const IID IID_IOleAdviseHolder; struct IOleAdviseHolder : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Advise( LPADVISESINK,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Unadvise( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) EnumAdvise( LPENUMSTATDATA*) =0; virtual HRESULT __attribute__((__stdcall__)) SendOnRename( LPMONIKER) =0; virtual HRESULT __attribute__((__stdcall__)) SendOnSave(void) =0; virtual HRESULT __attribute__((__stdcall__)) SendOnClose(void) =0; }; extern "C" const IID IID_IDropSource; struct IDropSource : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) QueryContinueDrag( BOOL,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) GiveFeedback( DWORD) =0; }; extern "C" const IID IID_IDropTarget; struct IDropTarget : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) DragEnter( LPDATAOBJECT,DWORD,POINTL,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) DragOver( DWORD,POINTL,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) DragLeave(void) =0; virtual HRESULT __attribute__((__stdcall__)) Drop( LPDATAOBJECT,DWORD,POINTL,PDWORD) =0; }; typedef BOOL(__attribute__((__stdcall__)) *__IView_pfncont)(DWORD); extern "C" const IID IID_IViewObject; struct IViewObject : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Draw( DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,__IView_pfncont pfnContinue,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) GetColorSet( DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,LPLOGPALETTE*) =0; virtual HRESULT __attribute__((__stdcall__)) Freeze( DWORD,LONG,PVOID,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Unfreeze( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) SetAdvise( DWORD,DWORD,IAdviseSink*) =0; virtual HRESULT __attribute__((__stdcall__)) GetAdvise( PDWORD,PDWORD,IAdviseSink**) =0; }; extern "C" const IID IID_IViewObject2; struct IViewObject2 : public IUnknown { virtual HRESULT __attribute__((__stdcall__)) QueryInterface( const IID&,PVOID*) =0; virtual ULONG __attribute__((__stdcall__)) AddRef(void) =0; virtual ULONG __attribute__((__stdcall__)) Release(void) =0; virtual HRESULT __attribute__((__stdcall__)) Draw( DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,HDC,LPCRECTL,LPCRECTL,__IView_pfncont pfnContinue,DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) GetColorSet( DWORD,LONG,PVOID,DVTARGETDEVICE*,HDC,LPLOGPALETTE*) =0; virtual HRESULT __attribute__((__stdcall__)) Freeze( DWORD,LONG,PVOID,PDWORD) =0; virtual HRESULT __attribute__((__stdcall__)) Unfreeze( DWORD) =0; virtual HRESULT __attribute__((__stdcall__)) SetAdvise( DWORD,DWORD,IAdviseSink*) =0; virtual HRESULT __attribute__((__stdcall__)) GetAdvise( PDWORD,PDWORD,IAdviseSink**) =0; virtual HRESULT __attribute__((__stdcall__)) GetExtent( DWORD,DWORD,DVTARGETDEVICE*,LPSIZEL) =0; }; } # 30 "C:/MINGW/include/ole2.h" 2 3 typedef struct _OLESTREAMVTBL *LPOLESTREAMVTBL; typedef struct _OLESTREAM { LPOLESTREAMVTBL lpstbl; } OLESTREAM,*LPOLESTREAM; typedef struct _OLESTREAMVTBL { DWORD (__attribute__((__stdcall__))* Get)(LPOLESTREAM,void*,DWORD); DWORD (__attribute__((__stdcall__))* Put)(LPOLESTREAM,const void*,DWORD); } OLESTREAMVTBL; extern "C" HRESULT __attribute__((__stdcall__)) CreateDataAdviseHolder(LPDATAADVISEHOLDER*); extern "C" DWORD __attribute__((__stdcall__)) OleBuildVersion(void); extern "C" HRESULT __attribute__((__stdcall__)) ReadClassStg(LPSTORAGE,CLSID*); extern "C" HRESULT __attribute__((__stdcall__)) WriteClassStg(LPSTORAGE,const CLSID&); extern "C" HRESULT __attribute__((__stdcall__)) ReadClassStm(LPSTREAM,CLSID*); extern "C" HRESULT __attribute__((__stdcall__)) WriteClassStm(LPSTREAM,const CLSID&); extern "C" HRESULT __attribute__((__stdcall__)) WriteFmtUserTypeStg(LPSTORAGE,CLIPFORMAT,LPOLESTR); extern "C" HRESULT __attribute__((__stdcall__)) ReadFmtUserTypeStg(LPSTORAGE,CLIPFORMAT*,LPOLESTR*); extern "C" HRESULT __attribute__((__stdcall__)) OleInitialize(PVOID); extern "C" void __attribute__((__stdcall__)) OleUninitialize(void); extern "C" HRESULT __attribute__((__stdcall__)) OleQueryLinkFromData(LPDATAOBJECT); extern "C" HRESULT __attribute__((__stdcall__)) OleQueryCreateFromData(LPDATAOBJECT); extern "C" HRESULT __attribute__((__stdcall__)) OleCreate(const CLSID&,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateFromData(LPDATAOBJECT,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateLinkFromData(LPDATAOBJECT,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateStaticFromData(LPDATAOBJECT,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateLink(LPMONIKER,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateLinkToFile(LPCOLESTR,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateFromFile(const CLSID&,LPCOLESTR,const IID&,DWORD,LPFORMATETC,LPOLECLIENTSITE,LPSTORAGE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleLoad(LPSTORAGE,const IID&,LPOLECLIENTSITE,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleSave(LPPERSISTSTORAGE,LPSTORAGE,BOOL); extern "C" HRESULT __attribute__((__stdcall__)) OleLoadFromStream(LPSTREAM,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleSaveToStream(LPPERSISTSTREAM,LPSTREAM); extern "C" HRESULT __attribute__((__stdcall__)) OleSetContainedObject(LPUNKNOWN,BOOL); extern "C" HRESULT __attribute__((__stdcall__)) OleNoteObjectVisible(LPUNKNOWN,BOOL); extern "C" HRESULT __attribute__((__stdcall__)) RegisterDragDrop(HWND,LPDROPTARGET); extern "C" HRESULT __attribute__((__stdcall__)) RevokeDragDrop(HWND); extern "C" HRESULT __attribute__((__stdcall__)) DoDragDrop(LPDATAOBJECT,LPDROPSOURCE,DWORD,PDWORD); extern "C" HRESULT __attribute__((__stdcall__)) OleSetClipboard(LPDATAOBJECT); extern "C" HRESULT __attribute__((__stdcall__)) OleGetClipboard(LPDATAOBJECT*); extern "C" HRESULT __attribute__((__stdcall__)) OleFlushClipboard(void); extern "C" HRESULT __attribute__((__stdcall__)) OleIsCurrentClipboard(LPDATAOBJECT); extern "C" HOLEMENU __attribute__((__stdcall__)) OleCreateMenuDescriptor(HMENU,LPOLEMENUGROUPWIDTHS); extern "C" HRESULT __attribute__((__stdcall__)) OleSetMenuDescriptor(HOLEMENU,HWND,HWND,LPOLEINPLACEFRAME,LPOLEINPLACEACTIVEOBJECT); extern "C" HRESULT __attribute__((__stdcall__)) OleDestroyMenuDescriptor(HOLEMENU); extern "C" HRESULT __attribute__((__stdcall__)) OleTranslateAccelerator(LPOLEINPLACEFRAME,LPOLEINPLACEFRAMEINFO,LPMSG); extern "C" HANDLE __attribute__((__stdcall__)) OleDuplicateData(HANDLE,CLIPFORMAT,UINT); extern "C" HRESULT __attribute__((__stdcall__)) OleDraw(LPUNKNOWN,DWORD,HDC,LPCRECT); extern "C" HRESULT __attribute__((__stdcall__)) OleRun(LPUNKNOWN); extern "C" BOOL __attribute__((__stdcall__)) OleIsRunning(LPOLEOBJECT); extern "C" HRESULT __attribute__((__stdcall__)) OleLockRunning(LPUNKNOWN,BOOL,BOOL); extern "C" void __attribute__((__stdcall__)) ReleaseStgMedium(LPSTGMEDIUM); extern "C" HRESULT __attribute__((__stdcall__)) CreateOleAdviseHolder(LPOLEADVISEHOLDER*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateDefaultHandler(const CLSID&,LPUNKNOWN,const IID&,PVOID*); extern "C" HRESULT __attribute__((__stdcall__)) OleCreateEmbeddingHelper(const CLSID&,LPUNKNOWN,DWORD,LPCLASSFACTORY,const IID&,PVOID*); extern "C" BOOL __attribute__((__stdcall__)) IsAccelerator(HACCEL,int,LPMSG,WORD*); extern "C" HGLOBAL __attribute__((__stdcall__)) OleGetIconOfFile(LPOLESTR,BOOL); extern "C" HGLOBAL __attribute__((__stdcall__)) OleGetIconOfClass(const CLSID&,LPOLESTR,BOOL); extern "C" HGLOBAL __attribute__((__stdcall__)) OleMetafilePictFromIconAndLabel(HICON,LPOLESTR,LPOLESTR,UINT); extern "C" HRESULT __attribute__((__stdcall__)) OleRegGetUserType(const CLSID&,DWORD,LPOLESTR*); extern "C" HRESULT __attribute__((__stdcall__)) OleRegGetMiscStatus(const CLSID&,DWORD,DWORD*); extern "C" HRESULT __attribute__((__stdcall__)) OleRegEnumFormatEtc (const CLSID&,DWORD,LPENUMFORMATETC*); extern "C" HRESULT __attribute__((__stdcall__)) OleRegEnumVerbs (const CLSID&,LPENUMOLEVERB*); extern "C" HRESULT __attribute__((__stdcall__)) OleConvertOLESTREAMToIStorage(LPOLESTREAM,LPSTORAGE,const DVTARGETDEVICE*); extern "C" HRESULT __attribute__((__stdcall__)) OleConvertIStorageToOLESTREAM(LPSTORAGE,LPOLESTREAM); extern "C" HRESULT __attribute__((__stdcall__)) GetHGlobalFromILockBytes(LPLOCKBYTES,HGLOBAL*); extern "C" HRESULT __attribute__((__stdcall__)) CreateILockBytesOnHGlobal(HGLOBAL,BOOL,LPLOCKBYTES*); extern "C" HRESULT __attribute__((__stdcall__)) GetHGlobalFromStream(LPSTREAM,HGLOBAL*); extern "C" HRESULT __attribute__((__stdcall__)) CreateStreamOnHGlobal(HGLOBAL,BOOL,LPSTREAM*); extern "C" HRESULT __attribute__((__stdcall__)) OleDoAutoConvert(LPSTORAGE,LPCLSID); extern "C" HRESULT __attribute__((__stdcall__)) OleGetAutoConvert(const CLSID&,LPCLSID); extern "C" HRESULT __attribute__((__stdcall__)) OleSetAutoConvert(const CLSID&,const CLSID&); extern "C" HRESULT __attribute__((__stdcall__)) GetConvertStg(LPSTORAGE); extern "C" HRESULT __attribute__((__stdcall__)) SetConvertStg(LPSTORAGE,BOOL); extern "C" HRESULT __attribute__((__stdcall__)) OleConvertIStorageToOLESTREAMEx(LPSTORAGE,CLIPFORMAT,LONG,LONG,DWORD,LPSTGMEDIUM,LPOLESTREAM); extern "C" HRESULT __attribute__((__stdcall__)) OleConvertOLESTREAMToIStorageEx(LPOLESTREAM,LPSTORAGE,CLIPFORMAT*,LONG*,LONG*,DWORD*,LPSTGMEDIUM); } #pragma pack(pop) # 109 "C:/MINGW/include/windows.h" 2 3 # 9 "instdrv.cpp" 2 # 1 "winio.h" 1 # 10 "winio.h" extern "C" { __attribute__((dllimport)) bool __attribute__((__stdcall__)) InitializeWinIo(); __attribute__((dllimport)) void __attribute__((__stdcall__)) ShutdownWinIo(); __attribute__((dllimport)) PBYTE __attribute__((__stdcall__)) MapPhysToLin(PBYTE pbPhysAddr, DWORD dwPhysSize, HANDLE *pPhysicalMemoryHandle); __attribute__((dllimport)) bool __attribute__((__stdcall__)) UnmapPhysicalMemory(HANDLE PhysicalMemoryHandle, PBYTE pbLinAddr); __attribute__((dllimport)) bool __attribute__((__stdcall__)) GetPhysLong(PBYTE pbPhysAddr, PDWORD pdwPhysVal); __attribute__((dllimport)) bool __attribute__((__stdcall__)) SetPhysLong(PBYTE pbPhysAddr, DWORD dwPhysVal); __attribute__((dllimport)) bool __attribute__((__stdcall__)) GetPortVal(WORD wPortAddr, PDWORD pdwPortVal, BYTE bSize); __attribute__((dllimport)) bool __attribute__((__stdcall__)) SetPortVal(WORD wPortAddr, DWORD dwPortVal, BYTE bSize); __attribute__((dllimport)) bool __attribute__((__stdcall__)) InstallWinIoDriver(PSTR pszWinIoDriverPath, bool IsDemandLoaded = false); __attribute__((dllimport)) bool __attribute__((__stdcall__)) RemoveWinIoDriver(); } extern bool IsNT; extern HANDLE hDriver; extern bool IsWinIoInitialized; bool __attribute__((__stdcall__)) StartWinIoDriver(); bool __attribute__((__stdcall__)) StopWinIoDriver(); # 10 "instdrv.cpp" 2 bool __attribute__((__stdcall__)) InstallWinIoDriver(PSTR pszWinIoDriverPath, bool IsDemandLoaded) { SC_HANDLE hSCManager; SC_HANDLE hService; RemoveWinIoDriver(); hSCManager = OpenSCManagerA(__null, __null, 0xf003f); if (hSCManager) { hService = CreateServiceA(hSCManager, "WINIO", "WINIO", (0xF0000|1|2|4|8|16|32|64|128|256), 1, (IsDemandLoaded == true) ? 3 : 1, 1, pszWinIoDriverPath, __null, __null, __null, __null, __null); CloseServiceHandle(hSCManager); if (hService == __null) return false; } else return false; CloseServiceHandle(hService); return true; } bool __attribute__((__stdcall__)) RemoveWinIoDriver() { SC_HANDLE hSCManager; SC_HANDLE hService; bool bResult; StopWinIoDriver(); hSCManager = OpenSCManagerA(__null, __null, 0xf003f); if (hSCManager) { hService = OpenServiceA(hSCManager, "WINIO", (0xF0000|1|2|4|8|16|32|64|128|256)); CloseServiceHandle(hSCManager); if (hService) { bResult = DeleteService(hService); CloseServiceHandle(hService); } else return false; } else return false; return bResult; } bool __attribute__((__stdcall__)) StartWinIoDriver() { SC_HANDLE hSCManager; SC_HANDLE hService; bool bResult; hSCManager = OpenSCManagerA(__null, __null, 0xf003f); if (hSCManager) { hService = OpenServiceA(hSCManager, "WINIO", (0xF0000|1|2|4|8|16|32|64|128|256)); CloseServiceHandle(hSCManager); if (hService) { bResult = StartServiceA(hService, 0, __null) || GetLastError() == 1056L; CloseServiceHandle(hService); } else return false; } else return false; return bResult; } bool __attribute__((__stdcall__)) StopWinIoDriver() { SC_HANDLE hSCManager; SC_HANDLE hService; SERVICE_STATUS ServiceStatus; bool bResult; hSCManager = OpenSCManagerA(__null, __null, 0xf003f); if (hSCManager) { hService = OpenServiceA(hSCManager, "WINIO", (0xF0000|1|2|4|8|16|32|64|128|256)); CloseServiceHandle(hSCManager); if (hService) { bResult = ControlService(hService, 1, &ServiceStatus); CloseServiceHandle(hService); } else return false; } else return false; return bResult; }