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
276 typedef struct _COAUTHIDENTITY
{
282 ULONG PasswordLength
;
286 typedef struct _COAUTHINFO
{
289 LPWSTR pwszServerPrincName
;
291 DWORD dwImpersonationLevel
;
292 COAUTHIDENTITY
*pAuthIdentityData
;
293 DWORD dwCapabilities
;
296 typedef struct _COSERVERINFO
{
299 COAUTHINFO
*pAuthInfo
;
303 typedef enum tagMEMCTX
{
306 MEMCTX_MACSYSTEM
= 3,
311 #ifndef _ROTFLAGS_DEFINED
312 #define _ROTFLAGS_DEFINED
313 #define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
314 #define ROTFLAGS_ALLOWANYCLIENT 0x2
316 typedef enum tagCLSCTX
{
317 CLSCTX_INPROC_SERVER
= 0x1,
318 CLSCTX_INPROC_HANDLER
= 0x2,
319 CLSCTX_LOCAL_SERVER
= 0x4,
320 CLSCTX_INPROC_SERVER16
= 0x8,
321 CLSCTX_REMOTE_SERVER
= 0x10,
322 CLSCTX_INPROC_HANDLER16
= 0x20,
323 CLSCTX_INPROC_SERVERX86
= 0x40,
324 CLSCTX_INPROC_HANDLERX86
= 0x80,
325 CLSCTX_ESERVER_HANDLER
= 0x100,
326 CLSCTX_NO_CODE_DOWNLOAD
= 0x400,
327 CLSCTX_NO_CUSTOM_MARSHAL
= 0x1000,
328 CLSCTX_ENABLE_CODE_DOWNLOAD
= 0x2000,
329 CLSCTX_NO_FAILURE_LOG
= 0x4000,
330 CLSCTX_DISABLE_AAA
= 0x8000,
331 CLSCTX_ENABLE_AAA
= 0x10000,
332 CLSCTX_FROM_DEFAULT_CONTEXT
= 0x20000
335 #define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
336 #define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
337 #define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
338 typedef enum tagMSHLFLAGS
{
339 MSHLFLAGS_NORMAL
= 0,
340 MSHLFLAGS_TABLESTRONG
= 1,
341 MSHLFLAGS_TABLEWEAK
= 2,
345 typedef enum tagMSHCTX
{
347 MSHCTX_NOSHAREDMEM
= 1,
348 MSHCTX_DIFFERENTMACHINE
= 2,
353 typedef struct _BYTE_BLOB
{
354 unsigned long clSize
;
358 typedef BYTE_BLOB
*UP_BYTE_BLOB
;
360 typedef struct _FLAGGED_BYTE_BLOB
{
361 unsigned long fFlags
;
362 unsigned long clSize
;
366 typedef FLAGGED_BYTE_BLOB
*UP_FLAGGED_BYTE_BLOB
;
368 typedef struct _FLAGGED_WORD_BLOB
{
369 unsigned long fFlags
;
370 unsigned long clSize
;
371 unsigned short asData
[1];
374 typedef FLAGGED_WORD_BLOB
*UP_FLAGGED_WORD_BLOB
;
376 typedef struct _BYTE_SIZEDARR
{
377 unsigned long clSize
;
381 typedef struct _SHORT_SIZEDARR
{
382 unsigned long clSize
;
383 unsigned short *pData
;
386 typedef struct _LONG_SIZEDARR
{
387 unsigned long clSize
;
388 unsigned long *pData
;
391 typedef struct _HYPER_SIZEDARR
{
392 unsigned long clSize
;
396 #define WDT_INPROC_CALL (0x48746457)
398 #define WDT_REMOTE_CALL (0x52746457)
400 typedef struct _userCLIPFORMAT
{
408 typedef userCLIPFORMAT
*wireCLIPFORMAT
;
410 typedef WORD CLIPFORMAT
;
411 unsigned long __RPC_USER
CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT
*);
412 unsigned char * __RPC_USER
CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT
*);
413 unsigned char * __RPC_USER
CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT
*);
414 void __RPC_USER
CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT
*);
416 typedef struct tagRemHGLOBAL
{
418 unsigned long cbData
;
422 typedef struct _userHGLOBAL
{
426 FLAGGED_BYTE_BLOB
*hRemote
;
431 typedef userHGLOBAL
*wireHGLOBAL
;
433 typedef struct tagRemHMETAFILEPICT
{
437 unsigned long cbData
;
441 typedef struct _userHMETAFILE
{
450 typedef userHMETAFILE
*wireHMETAFILE
;
452 typedef struct _remoteMETAFILEPICT
{
457 } remoteMETAFILEPICT
;
459 typedef struct _userHMETAFILEPICT
{
463 remoteMETAFILEPICT
*hRemote
;
468 typedef userHMETAFILEPICT
*wireHMETAFILEPICT
;
470 typedef struct tagRemHENHMETAFILE
{
471 unsigned long cbData
;
475 typedef struct _userHENHMETAFILE
{
484 typedef userHENHMETAFILE
*wireHENHMETAFILE
;
486 typedef struct tagRemHBITMAP
{
487 unsigned long cbData
;
491 typedef struct _userBITMAP
{
502 typedef struct _userHBITMAP
{
511 typedef userHBITMAP
*wireHBITMAP
;
513 typedef struct tagRemHPALETTE
{
514 unsigned long cbData
;
518 typedef struct tagrpcLOGPALETTE
{
521 PALETTEENTRY palPalEntry
[1];
524 typedef struct _userHPALETTE
{
528 rpcLOGPALETTE
*hRemote
;
533 typedef userHPALETTE
*wireHPALETTE
;
536 typedef void *HGLOBAL
;
537 unsigned long __RPC_USER
HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL
*);
538 unsigned char * __RPC_USER
HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL
*);
539 unsigned char * __RPC_USER
HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL
*);
540 void __RPC_USER
HGLOBAL_UserFree (unsigned long *, HGLOBAL
*);
542 typedef HGLOBAL HLOCAL
;
544 typedef void *HBITMAP
;
545 unsigned long __RPC_USER
HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP
*);
546 unsigned char * __RPC_USER
HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP
*);
547 unsigned char * __RPC_USER
HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP
*);
548 void __RPC_USER
HBITMAP_UserFree (unsigned long *, HBITMAP
*);
550 typedef void *HPALETTE
;
551 unsigned long __RPC_USER
HPALETTE_UserSize (unsigned long *, unsigned long, HPALETTE
*);
552 unsigned char * __RPC_USER
HPALETTE_UserMarshal (unsigned long *, unsigned char *, HPALETTE
*);
553 unsigned char * __RPC_USER
HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE
*);
554 void __RPC_USER
HPALETTE_UserFree (unsigned long *, HPALETTE
*);
556 typedef void *HENHMETAFILE
;
557 unsigned long __RPC_USER
HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE
*);
558 unsigned char * __RPC_USER
HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE
*);
559 unsigned char * __RPC_USER
HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE
*);
560 void __RPC_USER
HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE
*);
562 typedef void *HMETAFILE
;
563 unsigned long __RPC_USER
HMETAFILE_UserSize (unsigned long *, unsigned long, HMETAFILE
*);
564 unsigned char * __RPC_USER
HMETAFILE_UserMarshal (unsigned long *, unsigned char *, HMETAFILE
*);
565 unsigned char * __RPC_USER
HMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILE
*);
566 void __RPC_USER
HMETAFILE_UserFree (unsigned long *, HMETAFILE
*);
569 typedef void *HMETAFILEPICT
;
570 unsigned long __RPC_USER
HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT
*);
571 unsigned char * __RPC_USER
HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT
*);
572 unsigned char * __RPC_USER
HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT
*);
573 void __RPC_USER
HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT
*);
576 typedef GUID
*REFGUID
;
580 typedef CLSID
*REFCLSID
;
582 typedef FMTID
*REFFMTID
;
585 typedef enum tagDVASPECT
{
586 DVASPECT_CONTENT
= 1,
587 DVASPECT_THUMBNAIL
= 2,
589 DVASPECT_DOCPRINT
= 8
592 typedef enum tagSTGC
{
595 STGC_ONLYIFCURRENT
= 2,
596 STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
= 4,
600 typedef enum tagSTGMOVE
{
603 STGMOVE_SHALLOWCOPY
= 2
606 typedef enum tagSTATFLAG
{
607 STATFLAG_DEFAULT
= 0,
615 typedef struct tagCY
{
620 typedef union tagCY
{
622 #ifdef WORDS_BIGENDIAN
636 typedef struct tagDEC
{
645 typedef struct tagDEC
{
657 #ifdef WORDS_BIGENDIAN
669 #define DECIMAL_NEG ((BYTE)0x80)
670 #define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)
671 typedef DECIMAL
*LPDECIMAL
;
673 typedef FLAGGED_WORD_BLOB
*wireBSTR
;
675 typedef OLECHAR
*BSTR
;
676 unsigned long __RPC_USER
BSTR_UserSize (unsigned long *, unsigned long, BSTR
*);
677 unsigned char * __RPC_USER
BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR
*);
678 unsigned char * __RPC_USER
BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR
*);
679 void __RPC_USER
BSTR_UserFree (unsigned long *, BSTR
*);
681 typedef BSTR
*LPBSTR
;
683 typedef short VARIANT_BOOL
;
685 typedef VARIANT_BOOL _VARIANT_BOOL
;
687 #define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
688 #define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
689 typedef struct tagBSTRBLOB
{
692 } BSTRBLOB
, *LPBSTRBLOB
;
694 typedef struct tagBLOB
{
699 typedef struct tagCLIPDATA
{
705 #define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
706 typedef ULONG PROPID
;
708 typedef unsigned short VARTYPE
;
749 VT_STREAMED_OBJECT
= 68,
750 VT_STORED_OBJECT
= 69,
754 VT_BSTR_BLOB
= 0xfff,
758 VT_RESERVED
= 0x8000,
760 VT_ILLEGALMASKED
= 0xfff,
767 #endif /* __WIDL_WTYPES_H */