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
;
187 typedef double DOUBLE
;
189 #ifndef _PALETTEENTRY_DEFINED
190 #define _PALETTEENTRY_DEFINED
191 typedef struct tagPALETTEENTRY
{
196 } PALETTEENTRY
, *PPALETTEENTRY
, *LPPALETTEENTRY
;
199 #ifndef _LOGPALETTE_DEFINED
200 #define _LOGPALETTE_DEFINED
201 typedef struct tagLOGPALETTE
{
204 PALETTEENTRY palPalEntry
[1];
205 } LOGPALETTE
, *PLOGPALETTE
, *LPLOGPALETTE
;
210 typedef struct _FILETIME
{
212 DWORD dwHighDateTime
;
213 } FILETIME
, *PFILETIME
, *LPFILETIME
;
216 #ifndef _TEXTMETRIC_DEFINED
217 #define _TEXTMETRIC_DEFINED
222 LONG tmInternalLeading
;
223 LONG tmExternalLeading
;
228 LONG tmDigitizedAspectX
;
229 LONG tmDigitizedAspectY
;
237 BYTE tmPitchAndFamily
;
239 } TEXTMETRICA
, *LPTEXTMETRICA
, *PTEXTMETRICA
;
245 LONG tmInternalLeading
;
246 LONG tmExternalLeading
;
251 LONG tmDigitizedAspectX
;
252 LONG tmDigitizedAspectY
;
260 BYTE tmPitchAndFamily
;
262 } TEXTMETRICW
, *LPTEXTMETRICW
, *PTEXTMETRICW
;
265 typedef WCHAR OLECHAR
;
267 typedef OLECHAR
*LPOLESTR
;
269 typedef const OLECHAR
*LPCOLESTR
;
272 #define OLESTR(str) L##str
274 typedef CHAR OLECHAR16
;
276 typedef LPSTR LPOLESTR16
;
278 typedef LPCSTR LPCOLESTR16
;
280 typedef OLECHAR16
*BSTR16
;
281 typedef BSTR16
*LPBSTR16
;
282 #define OLESTR16(x) x
285 typedef struct _COAUTHIDENTITY
{
291 ULONG PasswordLength
;
295 typedef struct _COAUTHINFO
{
298 LPWSTR pwszServerPrincName
;
300 DWORD dwImpersonationLevel
;
301 COAUTHIDENTITY
*pAuthIdentityData
;
302 DWORD dwCapabilities
;
305 typedef struct _COSERVERINFO
{
308 COAUTHINFO
*pAuthInfo
;
312 typedef enum tagMEMCTX
{
315 MEMCTX_MACSYSTEM
= 3,
320 #ifndef _ROTFLAGS_DEFINED
321 #define _ROTFLAGS_DEFINED
322 #define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
323 #define ROTFLAGS_ALLOWANYCLIENT 0x2
325 typedef enum tagCLSCTX
{
326 CLSCTX_INPROC_SERVER
= 0x1,
327 CLSCTX_INPROC_HANDLER
= 0x2,
328 CLSCTX_LOCAL_SERVER
= 0x4,
329 CLSCTX_INPROC_SERVER16
= 0x8,
330 CLSCTX_REMOTE_SERVER
= 0x10,
331 CLSCTX_INPROC_HANDLER16
= 0x20,
332 CLSCTX_INPROC_SERVERX86
= 0x40,
333 CLSCTX_INPROC_HANDLERX86
= 0x80,
334 CLSCTX_ESERVER_HANDLER
= 0x100,
335 CLSCTX_NO_CODE_DOWNLOAD
= 0x400,
336 CLSCTX_NO_CUSTOM_MARSHAL
= 0x1000,
337 CLSCTX_ENABLE_CODE_DOWNLOAD
= 0x2000,
338 CLSCTX_NO_FAILURE_LOG
= 0x4000,
339 CLSCTX_DISABLE_AAA
= 0x8000,
340 CLSCTX_ENABLE_AAA
= 0x10000,
341 CLSCTX_FROM_DEFAULT_CONTEXT
= 0x20000
344 #define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
345 #define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
346 #define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
347 typedef enum tagMSHLFLAGS
{
348 MSHLFLAGS_NORMAL
= 0,
349 MSHLFLAGS_TABLESTRONG
= 1,
350 MSHLFLAGS_TABLEWEAK
= 2,
354 typedef enum tagMSHCTX
{
356 MSHCTX_NOSHAREDMEM
= 1,
357 MSHCTX_DIFFERENTMACHINE
= 2,
362 typedef struct _BYTE_BLOB
{
363 unsigned long clSize
;
367 typedef BYTE_BLOB
*UP_BYTE_BLOB
;
369 typedef struct _FLAGGED_BYTE_BLOB
{
370 unsigned long fFlags
;
371 unsigned long clSize
;
375 typedef FLAGGED_BYTE_BLOB
*UP_FLAGGED_BYTE_BLOB
;
377 typedef struct _FLAGGED_WORD_BLOB
{
378 unsigned long fFlags
;
379 unsigned long clSize
;
380 unsigned short asData
[1];
383 typedef FLAGGED_WORD_BLOB
*UP_FLAGGED_WORD_BLOB
;
385 typedef struct _BYTE_SIZEDARR
{
386 unsigned long clSize
;
390 typedef struct _SHORT_SIZEDARR
{
391 unsigned long clSize
;
392 unsigned short *pData
;
395 typedef struct _LONG_SIZEDARR
{
396 unsigned long clSize
;
397 unsigned long *pData
;
400 typedef struct _HYPER_SIZEDARR
{
401 unsigned long clSize
;
405 #define WDT_INPROC_CALL (0x48746457)
407 #define WDT_REMOTE_CALL (0x52746457)
409 typedef struct _userCLIPFORMAT
{
417 typedef userCLIPFORMAT
*wireCLIPFORMAT
;
419 typedef WORD CLIPFORMAT
;
420 unsigned long __RPC_USER
CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT
*);
421 unsigned char * __RPC_USER
CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT
*);
422 unsigned char * __RPC_USER
CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT
*);
423 void __RPC_USER
CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT
*);
425 typedef struct tagRemHGLOBAL
{
427 unsigned long cbData
;
431 typedef struct _userHGLOBAL
{
435 FLAGGED_BYTE_BLOB
*hRemote
;
440 typedef userHGLOBAL
*wireHGLOBAL
;
442 typedef struct tagRemHMETAFILEPICT
{
446 unsigned long cbData
;
450 typedef struct _userHMETAFILE
{
459 typedef userHMETAFILE
*wireHMETAFILE
;
461 typedef struct _remoteMETAFILEPICT
{
466 } remoteMETAFILEPICT
;
468 typedef struct _userHMETAFILEPICT
{
472 remoteMETAFILEPICT
*hRemote
;
477 typedef userHMETAFILEPICT
*wireHMETAFILEPICT
;
479 typedef struct tagRemHENHMETAFILE
{
480 unsigned long cbData
;
484 typedef struct _userHENHMETAFILE
{
493 typedef userHENHMETAFILE
*wireHENHMETAFILE
;
495 typedef struct tagRemHBITMAP
{
496 unsigned long cbData
;
500 typedef struct _userBITMAP
{
511 typedef struct _userHBITMAP
{
520 typedef userHBITMAP
*wireHBITMAP
;
522 typedef struct tagRemHPALETTE
{
523 unsigned long cbData
;
527 typedef struct tagrpcLOGPALETTE
{
530 PALETTEENTRY palPalEntry
[1];
533 typedef struct _userHPALETTE
{
537 rpcLOGPALETTE
*hRemote
;
542 typedef userHPALETTE
*wireHPALETTE
;
545 typedef void *HGLOBAL
;
546 unsigned long __RPC_USER
HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL
*);
547 unsigned char * __RPC_USER
HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL
*);
548 unsigned char * __RPC_USER
HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL
*);
549 void __RPC_USER
HGLOBAL_UserFree (unsigned long *, HGLOBAL
*);
551 typedef HGLOBAL HLOCAL
;
553 typedef void *HBITMAP
;
554 unsigned long __RPC_USER
HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP
*);
555 unsigned char * __RPC_USER
HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP
*);
556 unsigned char * __RPC_USER
HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP
*);
557 void __RPC_USER
HBITMAP_UserFree (unsigned long *, HBITMAP
*);
559 typedef void *HPALETTE
;
560 unsigned long __RPC_USER
HPALETTE_UserSize (unsigned long *, unsigned long, HPALETTE
*);
561 unsigned char * __RPC_USER
HPALETTE_UserMarshal (unsigned long *, unsigned char *, HPALETTE
*);
562 unsigned char * __RPC_USER
HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE
*);
563 void __RPC_USER
HPALETTE_UserFree (unsigned long *, HPALETTE
*);
565 typedef void *HENHMETAFILE
;
566 unsigned long __RPC_USER
HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE
*);
567 unsigned char * __RPC_USER
HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE
*);
568 unsigned char * __RPC_USER
HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE
*);
569 void __RPC_USER
HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE
*);
571 typedef void *HMETAFILE
;
572 unsigned long __RPC_USER
HMETAFILE_UserSize (unsigned long *, unsigned long, HMETAFILE
*);
573 unsigned char * __RPC_USER
HMETAFILE_UserMarshal (unsigned long *, unsigned char *, HMETAFILE
*);
574 unsigned char * __RPC_USER
HMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILE
*);
575 void __RPC_USER
HMETAFILE_UserFree (unsigned long *, HMETAFILE
*);
578 typedef void *HMETAFILEPICT
;
579 unsigned long __RPC_USER
HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT
*);
580 unsigned char * __RPC_USER
HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT
*);
581 unsigned char * __RPC_USER
HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT
*);
582 void __RPC_USER
HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT
*);
585 typedef GUID
*REFGUID
;
589 typedef CLSID
*REFCLSID
;
591 typedef FMTID
*REFFMTID
;
594 typedef enum tagDVASPECT
{
595 DVASPECT_CONTENT
= 1,
596 DVASPECT_THUMBNAIL
= 2,
598 DVASPECT_DOCPRINT
= 8
601 typedef enum tagSTGC
{
604 STGC_ONLYIFCURRENT
= 2,
605 STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
= 4,
609 typedef enum tagSTGMOVE
{
612 STGMOVE_SHALLOWCOPY
= 2
615 typedef enum tagSTATFLAG
{
616 STATFLAG_DEFAULT
= 0,
624 typedef struct tagCY
{
629 typedef union tagCY
{
631 #ifdef WORDS_BIGENDIAN
645 typedef struct tagDEC
{
654 typedef struct tagDEC
{
666 #ifdef WORDS_BIGENDIAN
678 #define DECIMAL_NEG ((BYTE)0x80)
679 #define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)
680 typedef DECIMAL
*LPDECIMAL
;
682 typedef FLAGGED_WORD_BLOB
*wireBSTR
;
684 typedef OLECHAR
*BSTR
;
685 unsigned long __RPC_USER
BSTR_UserSize (unsigned long *, unsigned long, BSTR
*);
686 unsigned char * __RPC_USER
BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR
*);
687 unsigned char * __RPC_USER
BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR
*);
688 void __RPC_USER
BSTR_UserFree (unsigned long *, BSTR
*);
690 typedef BSTR
*LPBSTR
;
692 typedef short VARIANT_BOOL
;
694 typedef VARIANT_BOOL _VARIANT_BOOL
;
696 #define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
697 #define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
698 typedef struct tagBSTRBLOB
{
701 } BSTRBLOB
, *LPBSTRBLOB
;
703 typedef struct tagBLOB
{
708 typedef struct tagCLIPDATA
{
714 #define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
715 typedef ULONG PROPID
;
717 typedef unsigned short VARTYPE
;
758 VT_STREAMED_OBJECT
= 68,
759 VT_STORED_OBJECT
= 69,
763 VT_BSTR_BLOB
= 0xfff,
767 VT_RESERVED
= 0x8000,
769 VT_ILLEGALMASKED
= 0xfff,
776 #endif /* __WIDL_WTYPES_H */