1 /*** Autogenerated by WIDL 0.1 from wtypes.idl - Do not edit ***/
5 #ifndef __WIDL_WTYPES_H
6 #define __WIDL_WTYPES_H
13 typedef unsigned char BYTE
;
15 typedef unsigned short WORD
;
17 typedef unsigned long DWORD
;
21 typedef unsigned char UCHAR
;
25 typedef unsigned int UINT
;
29 typedef unsigned short USHORT
;
33 typedef unsigned long ULONG
;
37 typedef void *PVOID
, *LPVOID
;
43 typedef const CHAR
*LPCSTR
;
45 typedef wchar_t WCHAR
;
47 typedef WCHAR
*LPWSTR
;
49 typedef const WCHAR
*LPCWSTR
;
51 typedef boolean BOOLEAN
;
53 typedef DWORD COLORREF
;
67 typedef void *HMODULE
;
69 typedef void *HINSTANCE
;
79 typedef LONG_PTR LRESULT
;
85 typedef unsigned __int64 DWORDLONG
;
87 typedef __int64 LONGLONG
;
89 typedef unsigned __int64 ULONGLONG
;
91 typedef struct _LARGE_INTEGER
{
95 typedef struct _ULARGE_INTEGER
{
99 typedef struct _SID_IDENTIFIER_AUTHORITY
{
101 } SID_IDENTIFIER_AUTHORITY
, *PSID_IDENTIFIER_AUTHORITY
;
103 typedef struct _SID
{
105 UCHAR SubAuthorityCount
;
106 SID_IDENTIFIER_AUTHORITY IdentifierAuthority
;
107 ULONG SubAuthority
[1];
110 typedef USHORT SECURITY_DESCRIPTOR_CONTROL
, *PSECURITY_DESCRIPTOR_CONTROL
;
112 typedef struct _ACL
{
122 typedef struct _SECURITY_DESCRIPTOR
{
125 SECURITY_DESCRIPTOR_CONTROL Control
;
130 } SECURITY_DESCRIPTOR
, *PSECURITY_DESCRIPTOR
;
132 typedef struct _SECURITY_ATTRIBUTES
{
134 LPVOID lpSecurityDescriptor
;
136 } SECURITY_ATTRIBUTES
, *PSECURITY_ATTRIBUTES
, *LPSECURITY_ATTRIBUTES
;
138 typedef struct tagSIZE
{
141 } SIZE
, *PSIZE
, *LPSIZE
;
143 typedef SIZE SIZEL
, *PSIZEL
, *LPSIZEL
;
145 typedef struct tagPOINT
{
148 } POINT
, *PPOINT
, *LPPOINT
;
150 typedef struct _POINTL
{
155 typedef struct tagRECT
{
160 } RECT
, *PRECT
, *LPRECT
;
162 typedef const RECT
*LPCRECT
;
164 typedef struct _RECTL
{
169 } RECTL
, *PRECTL
, *LPRECTL
;
171 typedef const RECTL
*LPCRECTL
;
173 typedef UINT_PTR WPARAM
;
175 typedef LONG_PTR LPARAM
;
177 typedef struct tagMSG
{
184 } MSG
, *PMSG
, *NPMSG
, *LPMSG
;
188 typedef double DOUBLE
;
191 typedef double DECLSPEC_ALIGN(8) DOUBLE
;
193 #ifndef _PALETTEENTRY_DEFINED
194 #define _PALETTEENTRY_DEFINED
195 typedef struct tagPALETTEENTRY
{
200 } PALETTEENTRY
, *PPALETTEENTRY
, *LPPALETTEENTRY
;
203 #ifndef _LOGPALETTE_DEFINED
204 #define _LOGPALETTE_DEFINED
205 typedef struct tagLOGPALETTE
{
208 PALETTEENTRY palPalEntry
[1];
209 } LOGPALETTE
, *PLOGPALETTE
, *LPLOGPALETTE
;
214 typedef struct _FILETIME
{
216 DWORD dwHighDateTime
;
217 } FILETIME
, *PFILETIME
, *LPFILETIME
;
220 #ifndef _TEXTMETRIC_DEFINED
221 #define _TEXTMETRIC_DEFINED
226 LONG tmInternalLeading
;
227 LONG tmExternalLeading
;
232 LONG tmDigitizedAspectX
;
233 LONG tmDigitizedAspectY
;
241 BYTE tmPitchAndFamily
;
243 } TEXTMETRICA
, *LPTEXTMETRICA
, *PTEXTMETRICA
;
249 LONG tmInternalLeading
;
250 LONG tmExternalLeading
;
255 LONG tmDigitizedAspectX
;
256 LONG tmDigitizedAspectY
;
264 BYTE tmPitchAndFamily
;
266 } TEXTMETRICW
, *LPTEXTMETRICW
, *PTEXTMETRICW
;
269 typedef WCHAR OLECHAR
;
271 typedef OLECHAR
*LPOLESTR
;
273 typedef const OLECHAR
*LPCOLESTR
;
276 #define OLESTR(str) L##str
280 typedef struct _COAUTHIDENTITY
{
286 ULONG PasswordLength
;
290 typedef struct _COAUTHINFO
{
293 LPWSTR pwszServerPrincName
;
295 DWORD dwImpersonationLevel
;
296 COAUTHIDENTITY
*pAuthIdentityData
;
297 DWORD dwCapabilities
;
300 typedef struct _COSERVERINFO
{
303 COAUTHINFO
*pAuthInfo
;
307 typedef enum tagMEMCTX
{
310 MEMCTX_MACSYSTEM
= 3,
315 #ifndef _ROTFLAGS_DEFINED
316 #define _ROTFLAGS_DEFINED
317 #define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
318 #define ROTFLAGS_ALLOWANYCLIENT 0x2
320 typedef enum tagCLSCTX
{
321 CLSCTX_INPROC_SERVER
= 0x1,
322 CLSCTX_INPROC_HANDLER
= 0x2,
323 CLSCTX_LOCAL_SERVER
= 0x4,
324 CLSCTX_INPROC_SERVER16
= 0x8,
325 CLSCTX_REMOTE_SERVER
= 0x10,
326 CLSCTX_INPROC_HANDLER16
= 0x20,
327 CLSCTX_INPROC_SERVERX86
= 0x40,
328 CLSCTX_INPROC_HANDLERX86
= 0x80,
329 CLSCTX_ESERVER_HANDLER
= 0x100,
330 CLSCTX_NO_CODE_DOWNLOAD
= 0x400,
331 CLSCTX_NO_CUSTOM_MARSHAL
= 0x1000,
332 CLSCTX_ENABLE_CODE_DOWNLOAD
= 0x2000,
333 CLSCTX_NO_FAILURE_LOG
= 0x4000,
334 CLSCTX_DISABLE_AAA
= 0x8000,
335 CLSCTX_ENABLE_AAA
= 0x10000,
336 CLSCTX_FROM_DEFAULT_CONTEXT
= 0x20000
339 #define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
340 #define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
341 #define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
342 typedef enum tagMSHLFLAGS
{
343 MSHLFLAGS_NORMAL
= 0,
344 MSHLFLAGS_TABLESTRONG
= 1,
345 MSHLFLAGS_TABLEWEAK
= 2,
349 typedef enum tagMSHCTX
{
351 MSHCTX_NOSHAREDMEM
= 1,
352 MSHCTX_DIFFERENTMACHINE
= 2,
357 typedef struct _BYTE_BLOB
{
358 unsigned long clSize
;
362 typedef BYTE_BLOB
*UP_BYTE_BLOB
;
364 typedef struct _FLAGGED_BYTE_BLOB
{
365 unsigned long fFlags
;
366 unsigned long clSize
;
370 typedef FLAGGED_BYTE_BLOB
*UP_FLAGGED_BYTE_BLOB
;
372 typedef struct _FLAGGED_WORD_BLOB
{
373 unsigned long fFlags
;
374 unsigned long clSize
;
375 unsigned short asData
[1];
378 typedef FLAGGED_WORD_BLOB
*UP_FLAGGED_WORD_BLOB
;
380 typedef struct _BYTE_SIZEDARR
{
381 unsigned long clSize
;
385 typedef struct _SHORT_SIZEDARR
{
386 unsigned long clSize
;
387 unsigned short *pData
;
390 typedef struct _LONG_SIZEDARR
{
391 unsigned long clSize
;
392 unsigned long *pData
;
395 typedef struct _HYPER_SIZEDARR
{
396 unsigned long clSize
;
400 #define WDT_INPROC_CALL (0x48746457)
402 #define WDT_REMOTE_CALL (0x52746457)
404 typedef struct _userCLIPFORMAT
{
412 typedef userCLIPFORMAT
*wireCLIPFORMAT
;
414 typedef WORD CLIPFORMAT
;
415 unsigned long __RPC_USER
CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT
*);
416 unsigned char * __RPC_USER
CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT
*);
417 unsigned char * __RPC_USER
CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT
*);
418 void __RPC_USER
CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT
*);
420 typedef struct tagRemHGLOBAL
{
422 unsigned long cbData
;
426 typedef struct _userHGLOBAL
{
430 FLAGGED_BYTE_BLOB
*hRemote
;
435 typedef userHGLOBAL
*wireHGLOBAL
;
437 typedef struct tagRemHMETAFILEPICT
{
441 unsigned long cbData
;
445 typedef struct _userHMETAFILE
{
454 typedef userHMETAFILE
*wireHMETAFILE
;
456 typedef struct _remoteMETAFILEPICT
{
461 } remoteMETAFILEPICT
;
463 typedef struct _userHMETAFILEPICT
{
467 remoteMETAFILEPICT
*hRemote
;
472 typedef userHMETAFILEPICT
*wireHMETAFILEPICT
;
474 typedef struct tagRemHENHMETAFILE
{
475 unsigned long cbData
;
479 typedef struct _userHENHMETAFILE
{
488 typedef userHENHMETAFILE
*wireHENHMETAFILE
;
490 typedef struct tagRemHBITMAP
{
491 unsigned long cbData
;
495 typedef struct _userBITMAP
{
506 typedef struct _userHBITMAP
{
515 typedef userHBITMAP
*wireHBITMAP
;
517 typedef struct tagRemHPALETTE
{
518 unsigned long cbData
;
522 typedef struct tagrpcLOGPALETTE
{
525 PALETTEENTRY palPalEntry
[1];
528 typedef struct _userHPALETTE
{
532 rpcLOGPALETTE
*hRemote
;
537 typedef userHPALETTE
*wireHPALETTE
;
540 typedef void *HGLOBAL
;
541 unsigned long __RPC_USER
HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL
*);
542 unsigned char * __RPC_USER
HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL
*);
543 unsigned char * __RPC_USER
HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL
*);
544 void __RPC_USER
HGLOBAL_UserFree (unsigned long *, HGLOBAL
*);
546 typedef HGLOBAL HLOCAL
;
548 typedef void *HBITMAP
;
549 unsigned long __RPC_USER
HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP
*);
550 unsigned char * __RPC_USER
HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP
*);
551 unsigned char * __RPC_USER
HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP
*);
552 void __RPC_USER
HBITMAP_UserFree (unsigned long *, HBITMAP
*);
554 typedef void *HPALETTE
;
555 unsigned long __RPC_USER
HPALETTE_UserSize (unsigned long *, unsigned long, HPALETTE
*);
556 unsigned char * __RPC_USER
HPALETTE_UserMarshal (unsigned long *, unsigned char *, HPALETTE
*);
557 unsigned char * __RPC_USER
HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE
*);
558 void __RPC_USER
HPALETTE_UserFree (unsigned long *, HPALETTE
*);
560 typedef void *HENHMETAFILE
;
561 unsigned long __RPC_USER
HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE
*);
562 unsigned char * __RPC_USER
HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE
*);
563 unsigned char * __RPC_USER
HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE
*);
564 void __RPC_USER
HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE
*);
566 typedef void *HMETAFILE
;
567 unsigned long __RPC_USER
HMETAFILE_UserSize (unsigned long *, unsigned long, HMETAFILE
*);
568 unsigned char * __RPC_USER
HMETAFILE_UserMarshal (unsigned long *, unsigned char *, HMETAFILE
*);
569 unsigned char * __RPC_USER
HMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILE
*);
570 void __RPC_USER
HMETAFILE_UserFree (unsigned long *, HMETAFILE
*);
573 typedef void *HMETAFILEPICT
;
574 unsigned long __RPC_USER
HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT
*);
575 unsigned char * __RPC_USER
HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT
*);
576 unsigned char * __RPC_USER
HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT
*);
577 void __RPC_USER
HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT
*);
580 typedef GUID
*REFGUID
;
584 typedef CLSID
*REFCLSID
;
586 typedef FMTID
*REFFMTID
;
589 typedef enum tagDVASPECT
{
590 DVASPECT_CONTENT
= 1,
591 DVASPECT_THUMBNAIL
= 2,
593 DVASPECT_DOCPRINT
= 8
596 typedef enum tagSTGC
{
599 STGC_ONLYIFCURRENT
= 2,
600 STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
= 4,
604 typedef enum tagSTGMOVE
{
607 STGMOVE_SHALLOWCOPY
= 2
610 typedef enum tagSTATFLAG
{
611 STATFLAG_DEFAULT
= 0,
620 typedef double DECLSPEC_ALIGN(8) DATE
;
623 typedef struct tagCY
{
628 #ifndef _tagCY_DEFINED
629 #define _tagCY_DEFINED
630 typedef union tagCY
{
632 #ifdef WORDS_BIGENDIAN
647 typedef struct tagDEC
{
656 typedef struct tagDEC
{
668 #ifdef WORDS_BIGENDIAN
680 #define DECIMAL_NEG ((BYTE)0x80)
681 #define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)
682 typedef DECIMAL
*LPDECIMAL
;
684 typedef FLAGGED_WORD_BLOB
*wireBSTR
;
686 typedef OLECHAR
*BSTR
;
687 unsigned long __RPC_USER
BSTR_UserSize (unsigned long *, unsigned long, BSTR
*);
688 unsigned char * __RPC_USER
BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR
*);
689 unsigned char * __RPC_USER
BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR
*);
690 void __RPC_USER
BSTR_UserFree (unsigned long *, BSTR
*);
692 typedef BSTR
*LPBSTR
;
694 typedef short VARIANT_BOOL
;
696 typedef VARIANT_BOOL _VARIANT_BOOL
;
698 #define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
699 #define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
700 typedef struct tagBSTRBLOB
{
703 } BSTRBLOB
, *LPBSTRBLOB
;
705 #ifndef _tagBLOB_DEFINED
706 #define _tagBLOB_DEFINED
707 #define _BLOB_DEFINED
708 #define _LPBLOB_DEFINED
709 typedef struct tagBLOB
{
715 typedef struct tagCLIPDATA
{
721 #define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
722 typedef ULONG PROPID
;
724 typedef unsigned short VARTYPE
;
765 VT_STREAMED_OBJECT
= 68,
766 VT_STORED_OBJECT
= 69,
770 VT_BSTR_BLOB
= 0xfff,
774 VT_RESERVED
= 0x8000,
776 VT_ILLEGALMASKED
= 0xfff,
783 #endif /* __WIDL_WTYPES_H */