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 double DOUBLE
;
39 typedef void *PVOID
, *LPVOID
;
45 typedef const CHAR
*LPCSTR
;
47 typedef wchar_t WCHAR
;
49 typedef WCHAR
*LPWSTR
;
51 typedef const WCHAR
*LPCWSTR
;
53 typedef boolean BOOLEAN
;
55 typedef DWORD COLORREF
;
69 typedef void *HMODULE
;
71 typedef void *HINSTANCE
;
79 typedef LONG_PTR LRESULT
;
87 typedef unsigned __int64 DWORDLONG
;
89 typedef __int64 LONGLONG
;
91 typedef unsigned __int64 ULONGLONG
;
93 typedef struct _LARGE_INTEGER
{
97 typedef struct _ULARGE_INTEGER
{
101 typedef struct _SID_IDENTIFIER_AUTHORITY
{
103 } SID_IDENTIFIER_AUTHORITY
, *PSID_IDENTIFIER_AUTHORITY
;
105 typedef struct _SID
{
107 UCHAR SubAuthorityCount
;
108 SID_IDENTIFIER_AUTHORITY IdentifierAuthority
;
109 ULONG SubAuthority
[1];
112 typedef USHORT SECURITY_DESCRIPTOR_CONTROL
, *PSECURITY_DESCRIPTOR_CONTROL
;
114 typedef struct _ACL
{
124 typedef struct _SECURITY_DESCRIPTOR
{
127 SECURITY_DESCRIPTOR_CONTROL Control
;
132 } SECURITY_DESCRIPTOR
, *PSECURITY_DESCRIPTOR
;
134 typedef struct tagSIZE
{
137 } SIZE
, *PSIZE
, *LPSIZE
;
139 typedef SIZE SIZEL
, *PSIZEL
, *LPSIZEL
;
141 typedef struct tagPOINT
{
144 } POINT
, *PPOINT
, *LPPOINT
;
146 typedef struct _POINTL
{
151 typedef struct tagRECT
{
156 } RECT
, *PRECT
, *LPRECT
;
158 typedef const RECT
*LPCRECT
;
160 typedef struct _RECTL
{
165 } RECTL
, *PRECTL
, *LPRECTL
;
167 typedef const RECTL
*LPCRECTL
;
169 typedef UINT_PTR WPARAM
;
171 typedef LONG_PTR LPARAM
;
173 typedef struct tagMSG
{
180 } MSG
, *PMSG
, *NPMSG
, *LPMSG
;
183 #ifndef _PALETTEENTRY_DEFINED
184 #define _PALETTEENTRY_DEFINED
185 typedef struct tagPALETTEENTRY
{
190 } PALETTEENTRY
, *PPALETTEENTRY
, *LPPALETTEENTRY
;
193 #ifndef _LOGPALETTE_DEFINED
194 #define _LOGPALETTE_DEFINED
195 typedef struct tagLOGPALETTE
{
198 PALETTEENTRY palPalEntry
[1];
199 } LOGPALETTE
, *PLOGPALETTE
, *LPLOGPALETTE
;
204 typedef struct _FILETIME
{
206 DWORD dwHighDateTime
;
207 } FILETIME
, *PFILETIME
, *LPFILETIME
;
210 #ifndef _TEXTMETRIC_DEFINED
211 #define _TEXTMETRIC_DEFINED
216 LONG tmInternalLeading
;
217 LONG tmExternalLeading
;
222 LONG tmDigitizedAspectX
;
223 LONG tmDigitizedAspectY
;
231 BYTE tmPitchAndFamily
;
233 } TEXTMETRICA
, *LPTEXTMETRICA
, *PTEXTMETRICA
;
239 LONG tmInternalLeading
;
240 LONG tmExternalLeading
;
245 LONG tmDigitizedAspectX
;
246 LONG tmDigitizedAspectY
;
254 BYTE tmPitchAndFamily
;
256 } TEXTMETRICW
, *LPTEXTMETRICW
, *PTEXTMETRICW
;
259 typedef WCHAR OLECHAR
;
261 typedef OLECHAR
*LPOLESTR
;
263 typedef const OLECHAR
*LPCOLESTR
;
266 #define OLESTR(str) WINE_UNICODE_TEXT(str)
268 typedef CHAR OLECHAR16
;
270 typedef LPSTR LPOLESTR16
;
272 typedef LPCSTR LPCOLESTR16
;
274 typedef OLECHAR16
*BSTR16
;
275 typedef BSTR16
*LPBSTR16
;
276 #define OLESTR16(x) x
279 typedef struct _COAUTHIDENTITY
{
285 ULONG PasswordLength
;
289 typedef struct _COAUTHINFO
{
292 LPWSTR pwszServerPrincName
;
294 DWORD dwImpersonationLevel
;
295 COAUTHIDENTITY
*pAuthIdentityData
;
296 DWORD dwCapabilities
;
299 typedef struct _COSERVERINFO
{
302 COAUTHINFO
*pAuthInfo
;
306 typedef enum tagMEMCTX
{
309 MEMCTX_MACSYSTEM
= 3,
314 #ifndef _ROTFLAGS_DEFINED
315 #define _ROTFLAGS_DEFINED
316 #define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
317 #define ROTFLAGS_ALLOWANYCLIENT 0x2
319 typedef enum tagCLSCTX
{
320 CLSCTX_INPROC_SERVER
= 0x1,
321 CLSCTX_INPROC_HANDLER
= 0x2,
322 CLSCTX_LOCAL_SERVER
= 0x4,
323 CLSCTX_INPROC_SERVER16
= 0x8,
324 CLSCTX_REMOTE_SERVER
= 0x10,
325 CLSCTX_INPROC_HANDLER16
= 0x20,
326 CLSCTX_INPROC_SERVERX86
= 0x40,
327 CLSCTX_INPROC_HANDLERX86
= 0x80,
328 CLSCTX_ESERVER_HANDLER
= 0x100,
329 CLSCTX_NO_CODE_DOWNLOAD
= 0x400,
330 CLSCTX_NO_CUSTOM_MARSHAL
= 0x1000,
331 CLSCTX_ENABLE_CODE_DOWNLOAD
= 0x2000,
332 CLSCTX_NO_FAILURE_LOG
= 0x4000,
333 CLSCTX_DISABLE_AAA
= 0x8000,
334 CLSCTX_ENABLE_AAA
= 0x10000,
335 CLSCTX_FROM_DEFAULT_CONTEXT
= 0x20000
338 #define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
339 #define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
340 #define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
341 typedef enum tagMSHLFLAGS
{
342 MSHLFLAGS_NORMAL
= 0,
343 MSHLFLAGS_TABLESTRONG
= 1,
344 MSHLFLAGS_TABLEWEAK
= 2,
348 typedef enum tagMSHCTX
{
350 MSHCTX_NOSHAREDMEM
= 1,
351 MSHCTX_DIFFERENTMACHINE
= 2,
356 typedef struct _BYTE_BLOB
{
357 unsigned long clSize
;
361 typedef BYTE_BLOB
*UP_BYTE_BLOB
;
363 typedef struct _FLAGGED_BYTE_BLOB
{
364 unsigned long fFlags
;
365 unsigned long clSize
;
369 typedef FLAGGED_BYTE_BLOB
*UP_FLAGGED_BYTE_BLOB
;
371 typedef struct _FLAGGED_WORD_BLOB
{
372 unsigned long fFlags
;
373 unsigned long clSize
;
374 unsigned short asData
[1];
377 typedef FLAGGED_WORD_BLOB
*UP_FLAGGED_WORD_BLOB
;
379 typedef struct _BYTE_SIZEDARR
{
380 unsigned long clSize
;
384 typedef struct _SHORT_SIZEDARR
{
385 unsigned long clSize
;
386 unsigned short *pData
;
389 typedef struct _LONG_SIZEDARR
{
390 unsigned long clSize
;
391 unsigned long *pData
;
394 typedef struct _HYPER_SIZEDARR
{
395 unsigned long clSize
;
399 #define WDT_INPROC_CALL (0x48746457)
401 #define WDT_REMOTE_CALL (0x52746457)
403 typedef struct _userCLIPFORMAT
{
411 typedef userCLIPFORMAT
*wireCLIPFORMAT
;
413 typedef WORD CLIPFORMAT
;
414 unsigned long __RPC_USER
CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT
*);
415 unsigned char * __RPC_USER
CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT
*);
416 unsigned char * __RPC_USER
CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT
*);
417 void __RPC_USER
CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT
*);
419 typedef struct tagRemHGLOBAL
{
421 unsigned long cbData
;
425 typedef struct _userHGLOBAL
{
429 FLAGGED_BYTE_BLOB
*hRemote
;
434 typedef userHGLOBAL
*wireHGLOBAL
;
436 typedef struct tagRemHMETAFILEPICT
{
440 unsigned long cbData
;
444 typedef struct _userHMETAFILE
{
453 typedef userHMETAFILE
*wireHMETAFILE
;
455 typedef struct _remoteMETAFILEPICT
{
460 } remoteMETAFILEPICT
;
462 typedef struct _userHMETAFILEPICT
{
466 remoteMETAFILEPICT
*hRemote
;
471 typedef userHMETAFILEPICT
*wireHMETAFILEPICT
;
473 typedef struct tagRemHENHMETAFILE
{
474 unsigned long cbData
;
478 typedef struct _userHENHMETAFILE
{
487 typedef userHENHMETAFILE
*wireHENHMETAFILE
;
489 typedef struct tagRemHBITMAP
{
490 unsigned long cbData
;
494 typedef struct _userBITMAP
{
505 typedef struct _userHBITMAP
{
514 typedef userHBITMAP
*wireHBITMAP
;
516 typedef struct tagRemHPALETTE
{
517 unsigned long cbData
;
521 typedef struct tagrpcLOGPALETTE
{
524 PALETTEENTRY palPalEntry
[1];
527 typedef struct _userHPALETTE
{
531 rpcLOGPALETTE
*hRemote
;
536 typedef userHPALETTE
*wireHPALETTE
;
539 typedef void *HGLOBAL
;
540 unsigned long __RPC_USER
HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL
*);
541 unsigned char * __RPC_USER
HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL
*);
542 unsigned char * __RPC_USER
HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL
*);
543 void __RPC_USER
HGLOBAL_UserFree (unsigned long *, HGLOBAL
*);
545 typedef HGLOBAL HLOCAL
;
547 typedef void *HBITMAP
;
548 unsigned long __RPC_USER
HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP
*);
549 unsigned char * __RPC_USER
HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP
*);
550 unsigned char * __RPC_USER
HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP
*);
551 void __RPC_USER
HBITMAP_UserFree (unsigned long *, HBITMAP
*);
553 typedef void *HPALETTE
;
554 unsigned long __RPC_USER
HPALETTE_UserSize (unsigned long *, unsigned long, HPALETTE
*);
555 unsigned char * __RPC_USER
HPALETTE_UserMarshal (unsigned long *, unsigned char *, HPALETTE
*);
556 unsigned char * __RPC_USER
HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE
*);
557 void __RPC_USER
HPALETTE_UserFree (unsigned long *, HPALETTE
*);
559 typedef void *HENHMETAFILE
;
560 unsigned long __RPC_USER
HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE
*);
561 unsigned char * __RPC_USER
HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE
*);
562 unsigned char * __RPC_USER
HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE
*);
563 void __RPC_USER
HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE
*);
565 typedef void *HMETAFILE
;
566 unsigned long __RPC_USER
HMETAFILE_UserSize (unsigned long *, unsigned long, HMETAFILE
*);
567 unsigned char * __RPC_USER
HMETAFILE_UserMarshal (unsigned long *, unsigned char *, HMETAFILE
*);
568 unsigned char * __RPC_USER
HMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILE
*);
569 void __RPC_USER
HMETAFILE_UserFree (unsigned long *, HMETAFILE
*);
572 typedef void *HMETAFILEPICT
;
573 unsigned long __RPC_USER
HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT
*);
574 unsigned char * __RPC_USER
HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT
*);
575 unsigned char * __RPC_USER
HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT
*);
576 void __RPC_USER
HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT
*);
579 typedef GUID
*REFGUID
;
583 typedef CLSID
*REFCLSID
;
585 typedef FMTID
*REFFMTID
;
588 typedef enum tagDVASPECT
{
589 DVASPECT_CONTENT
= 1,
590 DVASPECT_THUMBNAIL
= 2,
592 DVASPECT_DOCPRINT
= 8
595 typedef enum tagSTGC
{
598 STGC_ONLYIFCURRENT
= 2,
599 STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
= 4,
603 typedef enum tagSTGMOVE
{
606 STGMOVE_SHALLOWCOPY
= 2
609 typedef enum tagSTATFLAG
{
610 STATFLAG_DEFAULT
= 0,
616 typedef struct tagCY
{
621 typedef union tagCY
{
623 #ifdef WORDS_BIGENDIAN
637 typedef struct tagDEC
{
646 typedef struct tagDEC
{
658 #ifdef WORDS_BIGENDIAN
670 #define DECIMAL_NEG ((BYTE)0x80)
671 #define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)
672 typedef DECIMAL
*LPDECIMAL
;
674 typedef FLAGGED_WORD_BLOB
*wireBSTR
;
676 typedef OLECHAR
*BSTR
;
677 unsigned long __RPC_USER
BSTR_UserSize (unsigned long *, unsigned long, BSTR
*);
678 unsigned char * __RPC_USER
BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR
*);
679 unsigned char * __RPC_USER
BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR
*);
680 void __RPC_USER
BSTR_UserFree (unsigned long *, BSTR
*);
682 typedef BSTR
*LPBSTR
;
684 typedef short VARIANT_BOOL
;
686 typedef VARIANT_BOOL _VARIANT_BOOL
;
688 #define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
689 #define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
690 typedef struct tagBSTRBLOB
{
693 } BSTRBLOB
, *LPBSTRBLOB
;
695 typedef struct tagBLOB
{
700 typedef struct tagCLIPDATA
{
706 #define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
707 typedef ULONG PROPID
;
709 typedef unsigned short VARTYPE
;
750 VT_STREAMED_OBJECT
= 68,
751 VT_STORED_OBJECT
= 69,
755 VT_BSTR_BLOB
= 0xfff,
759 VT_RESERVED
= 0x8000,
761 VT_ILLEGALMASKED
= 0xfff,
768 #endif /* __WIDL_WTYPES_H */