#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */
#ifndef __wtypes_h__
#define __wtypes_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include "wtypesbase.h"
#ifdef __cplusplus
extern
"C"
{
#endif
#if ( _MSC_VER >= 1020 )
#pragma once
#endif
#if _MSC_VER >= 1200
#pragma warning(push)
#pragma warning(disable:4820) /* padding added after data member */
#endif
#pragma warning(disable:
4820
)
extern
__MIDL_itf_wtypes_0000_0000_v0_0_c_ifspec
;
extern
__MIDL_itf_wtypes_0000_0000_v0_0_s_ifspec
;
#ifndef __IWinTypes_INTERFACE_DEFINED__
#define __IWinTypes_INTERFACE_DEFINED__
typedef
struct
{
;
;
[
1
];
}
;
typedef
struct
{
;
;
;
;
[
1
];
}
;
typedef
struct
{
;
[
1
];
}
;
typedef
struct
{
;
[
1
];
}
;
typedef
struct
{
;
[
1
];
}
;
typedef
struct
{
;
[
1
];
}
;
#if !defined(_WIN32) && !defined(_MPPC_)
// The following code is for Win16 only
#ifndef WINAPI // If not included with 3.1 headers...
#define FAR _far
#define PASCAL _pascal
#define CDECL _cdecl
#define VOID void
#define WINAPI FAR PASCAL
#define CALLBACK FAR PASCAL
#ifndef FALSE
#define FALSE 0
#define TRUE 1
#endif // !FALSE
#ifndef _BYTE_DEFINED
#define _BYTE_DEFINED
typedef byte BYTE;
#endif // !_BYTE_DEFINED
#ifndef _WORD_DEFINED
#define _WORD_DEFINED
typedef unsigned short WORD;
#endif // !_WORD_DEFINED
typedef unsigned int UINT;
typedef int INT;
typedef long BOOL;
#ifndef _LONG_DEFINED
#define _LONG_DEFINED
typedef long LONG;
#endif // !_LONG_DEFINED
#ifndef _WPARAM_DEFINED
#define _WPARAM_DEFINED
typedef UINT_PTR WPARAM;
#endif // _WPARAM_DEFINED
#ifndef _DWORD_DEFINED
#define _DWORD_DEFINED
typedef unsigned long DWORD;
#endif // !_DWORD_DEFINED
#ifndef _LPARAM_DEFINED
#define _LPARAM_DEFINED
typedef LONG_PTR LPARAM;
#endif // !_LPARAM_DEFINED
#ifndef _LRESULT_DEFINED
#define _LRESULT_DEFINED
typedef LONG_PTR LRESULT;
#endif // !_LRESULT_DEFINED
typedef void * HANDLE;
typedef void *HMODULE;
typedef void *HINSTANCE;
typedef void *HTASK;
typedef void *HKEY;
typedef void *HDESK;
typedef void *HMF;
typedef void *HEMF;
typedef void *HPEN;
typedef void *HRSRC;
typedef void *HSTR;
typedef void *HWINSTA;
typedef void *HKL;
typedef void *HGDIOBJ;
typedef HANDLE HDWP;
#ifndef _HFILE_DEFINED
#define _HFILE_DEFINED
typedef INT HFILE;
#endif // !_HFILE_DEFINED
#ifndef _LPWORD_DEFINED
#define _LPWORD_DEFINED
typedef WORD *LPWORD;
#endif // !_LPWORD_DEFINED
#ifndef _LPDWORD_DEFINED
#define _LPDWORD_DEFINED
typedef DWORD *LPDWORD;
#endif // !_LPDWORD_DEFINED
typedef char CHAR;
typedef CHAR *LPSTR;
typedef const CHAR *LPCSTR;
#ifndef _WCHAR_DEFINED
#define _WCHAR_DEFINED
typedef wchar_t WCHAR;
typedef WCHAR TCHAR;
#endif // !_WCHAR_DEFINED
typedef WCHAR *LPWSTR;
typedef TCHAR *LPTSTR;
typedef const WCHAR *LPCWSTR;
typedef const TCHAR *LPCTSTR;
#ifndef _COLORREF_DEFINED
#define _COLORREF_DEFINED
typedef DWORD COLORREF;
#endif // !_COLORREF_DEFINED
#ifndef _LPCOLORREF_DEFINED
#define _LPCOLORREF_DEFINED
typedef DWORD *LPCOLORREF;
#endif // !_LPCOLORREF_DEFINED
typedef HANDLE *LPHANDLE;
typedef struct _RECTL
{
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECTL;
typedef struct _RECTL *PRECTL;
typedef struct _RECTL *LPRECTL;
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT;
typedef struct tagPOINT *PPOINT;
typedef struct tagPOINT *LPPOINT;
typedef struct _POINTL
{
LONG x;
LONG y;
} POINTL;
typedef struct _POINTL *PPOINTL;
#ifndef WIN16
typedef struct tagSIZE
{
LONG cx;
LONG cy;
} SIZE;
typedef struct tagSIZE *PSIZE;
typedef struct tagSIZE *LPSIZE;
#else // WIN16
typedef struct tagSIZE
{
INT cx;
INT cy;
} SIZE, *PSIZE, *LPSIZE;
#endif // WIN16
typedef struct tagSIZEL
{
LONG cx;
LONG cy;
} SIZEL;
typedef struct tagSIZEL *PSIZEL;
typedef struct tagSIZEL *LPSIZEL;
#endif //WINAPI
#endif //!WIN32 && !MPPC
#ifndef _PALETTEENTRY_DEFINED
#define _PALETTEENTRY_DEFINED
typedef struct tagPALETTEENTRY
{
BYTE peRed;
BYTE peGreen;
BYTE peBlue;
BYTE peFlags;
} PALETTEENTRY;
typedef struct tagPALETTEENTRY *PPALETTEENTRY;
typedef struct tagPALETTEENTRY *LPPALETTEENTRY;
#endif // !_PALETTEENTRY_DEFINED
#ifndef _LOGPALETTE_DEFINED
#define _LOGPALETTE_DEFINED
typedef struct tagLOGPALETTE
{
WORD palVersion;
WORD palNumEntries;
/* [size_is] */ PALETTEENTRY palPalEntry[ 1 ];
} LOGPALETTE;
typedef struct tagLOGPALETTE *PLOGPALETTE;
typedef struct tagLOGPALETTE *LPLOGPALETTE;
#endif // !_LOGPALETTE_DEFINED
#ifndef _WINDEF_
typedef const RECTL *LPCRECTL;
typedef struct tagRECT
{
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT;
typedef struct tagRECT *PRECT;
typedef struct tagRECT *LPRECT;
typedef const RECT *LPCRECT;
#endif //_WINDEF_
#if 0
typedef FMTID *REFFMTID;
#endif // 0
#ifndef _ROTFLAGS_DEFINED
#define _ROTFLAGS_DEFINED
#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
#define ROTFLAGS_ALLOWANYCLIENT 0x2
#endif // !_ROTFLAGS_DEFINED
#ifndef _ROT_COMPARE_MAX_DEFINED
#define _ROT_COMPARE_MAX_DEFINED
#define ROT_COMPARE_MAX 2048
#endif // !_ROT_COMPARE_MAX_DEFINED
typedef
enum
{
=
1
,
=
2
,
=
4
,
=
8
}
;
typedef
enum
{
=
0
,
=
1
,
=
2
,
=
4
,
=
8
}
;
typedef
enum
{
=
0
,
=
1
,
=
2
}
;
typedef
enum
{
=
0
,
=
1
,
=
2
}
;
typedef
void
*
;
#ifndef _LCID_DEFINED
#define _LCID_DEFINED
typedef
;
#endif // !_LCID_DEFINED
#ifndef _LANGID_DEFINED
#define _LANGID_DEFINED
typedef
;
#endif // !_LANGID_DEFINED
#define WDT_INPROC_CALL ( 0x48746457 )
#define WDT_REMOTE_CALL ( 0x52746457 )
#define WDT_INPROC64_CALL ( 0x50746457 )
typedef
struct
{
;
union
{
;
wchar_t
*
;
}
;
}
;
typedef /* [unique] */ __RPC_unique_pointer userCLIPFORMAT *wireCLIPFORMAT;
typedef
;
typedef
struct
{
;
union
{
;
*
;
}
;
}
;
typedef
struct
{
;
union
{
;
*
;
__int64
;
}
;
}
;
typedef /* [unique] */ __RPC_unique_pointer userHGLOBAL *wireHGLOBAL;
typedef
struct
{
;
union
{
;
*
;
__int64
;
}
;
}
;
typedef
struct
{
;
;
;
*
;
}
;
typedef
struct
{
;
union
{
;
*
;
__int64
;
}
;
}
;
typedef
struct
{
;
union
{
;
*
;
__int64
;
}
;
}
;
typedef
struct
{
;
;
;
;
;
;
;
[
1
];
}
;
typedef
struct
{
;
union
{
;
*
;
__int64
;
}
;
}
;
typedef
struct
{
;
union
{
;
*
;
__int64
;
}
;
}
;
typedef
struct
{
;
union
{
;
;
}
;
}
;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHWND;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHMENU;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHACCEL;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHBRUSH;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHFONT;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHDC;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHICON;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHRGN;
typedef /* [unique] */ __RPC_unique_pointer RemotableHandle *wireHMONITOR;
#if 0
typedef /* [wire_marshal] */ void *HWND;
typedef /* [wire_marshal] */ void *HMENU;
typedef /* [wire_marshal] */ void *HACCEL;
typedef /* [wire_marshal] */ void *HBRUSH;
typedef /* [wire_marshal] */ void *HFONT;
typedef /* [wire_marshal] */ void *HDC;
typedef /* [wire_marshal] */ void *HICON;
typedef /* [wire_marshal] */ void *HRGN;
typedef /* [wire_marshal] */ void *HMONITOR;
#ifndef _HCURSOR_DEFINED
#define _HCURSOR_DEFINED
typedef HICON HCURSOR;
#endif // !_HCURSOR_DEFINED
#endif //0
#ifndef _TEXTMETRIC_DEFINED
#define _TEXTMETRIC_DEFINED
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;
typedef struct tagTEXTMETRICW *PTEXTMETRICW;
typedef struct tagTEXTMETRICW *LPTEXTMETRICW;
#endif // !_TEXTMETRIC_DEFINED
#ifndef _WIN32 // The following code is for Win16 only
#ifndef WINAPI // If not included with 3.1 headers...
typedef struct tagMSG
{
HWND hwnd;
UINT message;
WPARAM wParam;
LPARAM lParam;
DWORD time;
POINT pt;
} MSG;
typedef struct tagMSG *PMSG;
typedef struct tagMSG *NPMSG;
typedef struct tagMSG *LPMSG;
#endif // _WIN32
#endif // WINAPI
typedef /* [unique] */ __RPC_unique_pointer userHBITMAP *wireHBITMAP;
typedef /* [unique] */ __RPC_unique_pointer userHPALETTE *wireHPALETTE;
typedef /* [unique] */ __RPC_unique_pointer userHENHMETAFILE *wireHENHMETAFILE;
typedef /* [unique] */ __RPC_unique_pointer userHMETAFILE *wireHMETAFILE;
typedef /* [unique] */ __RPC_unique_pointer userHMETAFILEPICT *wireHMETAFILEPICT;
#if 0
typedef /* [wire_marshal] */ void *HGLOBAL;
typedef HGLOBAL HLOCAL;
typedef /* [wire_marshal] */ void *HBITMAP;
typedef /* [wire_marshal] */ void *HPALETTE;
typedef /* [wire_marshal] */ void *HENHMETAFILE;
typedef /* [wire_marshal] */ void *HMETAFILE;
#endif //0
typedef
void
*
;
extern
;
extern
;
#endif /* __IWinTypes_INTERFACE_DEFINED__ */
#if ( _MSC_VER >= 800 )
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning(disable:
4201
)
#endif
typedef
double
;
#ifndef _tagCY_DEFINED
#define _tagCY_DEFINED
#define _CY_DEFINED
#if 0
/* the following isn't the real definition of CY, but it is */
/* what RPC knows how to remote */
typedef struct tagCY
{
LONGLONG int64;
} CY;
#else /* 0 */
typedef
union
{
struct
{
;
;
;
}
;
#endif /* 0 */
#endif /* _tagCY_DEFINED */
typedef
*
;
#if 0 /* _tagDEC_DEFINED */
/* The following isn't the real definition of Decimal type, */
/* but it is what RPC knows how to remote */
typedef struct tagDEC
{
USHORT wReserved;
BYTE scale;
BYTE sign;
ULONG Hi32;
ULONGLONG Lo64;
} DECIMAL;
#else /* _tagDEC_DEFINED */
typedef
struct
{
;
union
{
struct
{
;
;
;
;
union
{
struct
{
;
;
;
}
;
#define DECIMAL_NEG ((BYTE)0x80)
#define DECIMAL_SETZERO(dec) \
{(dec).Lo64 = 0; (dec).Hi32 = 0; (dec).signscale = 0;}
#endif /* _tagDEC_DEFINED */
typedef
*
;
#if ( _MSC_VER >= 800 )
#if _MSC_VER >= 1200
#pragma warning(pop)
#else
#pragma warning(default:4201)
#endif
#endif
typedef /* [unique] */ __RPC_unique_pointer FLAGGED_WORD_BLOB *wireBSTR;
#ifndef _PREFAST_
typedef
*
;
#else // _PREFAST_
typedef _Null_terminated_ OLECHAR *BSTR;
#endif
typedef
*
;
typedef
short
;
#if !__STDC__ && (_MSC_VER <= 1000)
/* For backward compatibility */
typedef VARIANT_BOOL _VARIANT_BOOL;
#else
#define _VARIANT_BOOL /##/
#endif
#ifndef _tagBSTRBLOB_DEFINED
#define _tagBSTRBLOB_DEFINED
typedef
struct
{
;
*
;
}
;
typedef
struct
*
;
#endif
#define VARIANT_TRUE ((VARIANT_BOOL)-1)
#define VARIANT_FALSE ((VARIANT_BOOL)0)
typedef
struct
{
;
;
*
;
}
;
#define CBPCLIPDATA(clipdata) ( (clipdata).cbSize - sizeof((clipdata).ulClipFmt) )
typedef
unsigned
short
;
enum
{
=
0
,
=
1
,
=
2
,
=
3
,
=
4
,
=
5
,
=
6
,
=
7
,
=
8
,
=
9
,
=
10
,
=
11
,
=
12
,
=
13
,
=
14
,
=
16
,
=
17
,
=
18
,
=
19
,
=
20
,
=
21
,
=
22
,
=
23
,
=
24
,
=
25
,
=
26
,
=
27
,
=
28
,
=
29
,
=
30
,
=
31
,
=
36
,
=
37
,
=
38
,
=
64
,
=
65
,
=
66
,
=
67
,
=
68
,
=
69
,
=
70
,
=
71
,
=
72
,
=
73
,
=
0xfff
,
=
0x1000
,
=
0x2000
,
=
0x4000
,
=
0x8000
,
=
0xffff
,
=
0xfff
,
=
0xfff
} ;
typedef
;
#ifndef PROPERTYKEY_DEFINED
#define PROPERTYKEY_DEFINED
typedef
struct
{
;
;
}
;
#endif
typedef
struct
{
;
;
;
;
}
;
typedef
struct
{
;
;
;
;
;
}
;
typedef
enum
{
=
0
,
= (
+
1
) ,
= (
+
1
) ,
= (
+
1
) ,
= (
+
1
) ,
= (
+
1
) ,
= (
+
1
)
}
;
typedef
struct
__MIDL___MIDL_itf_wtypes_0000_0001_0001
{
;
union
__MIDL___MIDL_itf_wtypes_0000_0001_0005
{
;
;
;
;
;
struct
{
;
;
}
;
struct
{
;
;
}
;
}
;
}
;
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
extern
__MIDL_itf_wtypes_0000_0001_v0_0_c_ifspec
;
extern
__MIDL_itf_wtypes_0000_0001_v0_0_s_ifspec
;
#ifdef __cplusplus
}
#endif
#endif