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
;
67 typedef void *HMODULE
;
69 typedef void *HINSTANCE
;
77 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 tagSIZE
{
135 } SIZE
, *PSIZE
, *LPSIZE
;
137 typedef SIZE SIZEL
, *PSIZEL
, *LPSIZEL
;
139 typedef struct tagPOINT
{
142 } POINT
, *PPOINT
, *LPPOINT
;
144 typedef struct _POINTL
{
149 typedef struct tagRECT
{
154 } RECT
, *PRECT
, *LPRECT
;
156 typedef const RECT
*LPCRECT
;
158 typedef struct _RECTL
{
163 } RECTL
, *PRECTL
, *LPRECTL
;
165 typedef const RECTL
*LPCRECTL
;
167 typedef UINT_PTR WPARAM
;
169 typedef LONG_PTR LPARAM
;
171 typedef struct tagMSG
{
178 } MSG
, *PMSG
, *NPMSG
, *LPMSG
;
181 #ifndef _PALETTEENTRY_DEFINED
182 #define _PALETTEENTRY_DEFINED
183 typedef struct tagPALETTEENTRY
{
188 } PALETTEENTRY
, *PPALETTEENTRY
, *LPPALETTEENTRY
;
191 #ifndef _LOGPALETTE_DEFINED
192 #define _LOGPALETTE_DEFINED
193 typedef struct tagLOGPALETTE
{
196 PALETTEENTRY palPalEntry
[1];
197 } LOGPALETTE
, *PLOGPALETTE
, *LPLOGPALETTE
;
202 typedef struct _FILETIME
{
204 DWORD dwHighDateTime
;
205 } FILETIME
, *PFILETIME
, *LPFILETIME
;
208 #ifndef _TEXTMETRIC_DEFINED
209 #define _TEXTMETRIC_DEFINED
214 LONG tmInternalLeading
;
215 LONG tmExternalLeading
;
220 LONG tmDigitizedAspectX
;
221 LONG tmDigitizedAspectY
;
229 BYTE tmPitchAndFamily
;
231 } TEXTMETRICA
, *LPTEXTMETRICA
, *PTEXTMETRICA
;
237 LONG tmInternalLeading
;
238 LONG tmExternalLeading
;
243 LONG tmDigitizedAspectX
;
244 LONG tmDigitizedAspectY
;
252 BYTE tmPitchAndFamily
;
254 } TEXTMETRICW
, *LPTEXTMETRICW
, *PTEXTMETRICW
;
257 typedef WCHAR OLECHAR
;
259 typedef OLECHAR
*LPOLESTR
;
261 typedef const OLECHAR
*LPCOLESTR
;
264 #define OLESTR(str) WINE_UNICODE_TEXT(str)
266 typedef CHAR OLECHAR16
;
268 typedef LPSTR LPOLESTR16
;
270 typedef LPCSTR LPCOLESTR16
;
272 typedef OLECHAR16
*BSTR16
;
273 typedef BSTR16
*LPBSTR16
;
274 #define OLESTR16(x) x
277 typedef struct _COAUTHIDENTITY
{
283 ULONG PasswordLength
;
287 typedef struct _COAUTHINFO
{
290 LPWSTR pwszServerPrincName
;
292 DWORD dwImpersonationLevel
;
293 COAUTHIDENTITY
*pAuthIdentityData
;
294 DWORD dwCapabilities
;
297 typedef struct _COSERVERINFO
{
300 COAUTHINFO
*pAuthInfo
;
304 typedef enum tagMEMCTX
{
307 MEMCTX_MACSYSTEM
= 3,
312 #ifndef _ROTFLAGS_DEFINED
313 #define _ROTFLAGS_DEFINED
314 #define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
315 #define ROTFLAGS_ALLOWANYCLIENT 0x2
317 typedef enum tagCLSCTX
{
318 CLSCTX_INPROC_SERVER
= 0x1,
319 CLSCTX_INPROC_HANDLER
= 0x2,
320 CLSCTX_LOCAL_SERVER
= 0x4,
321 CLSCTX_INPROC_SERVER16
= 0x8,
322 CLSCTX_REMOTE_SERVER
= 0x10,
323 CLSCTX_INPROC_HANDLER16
= 0x20,
324 CLSCTX_INPROC_SERVERX86
= 0x40,
325 CLSCTX_INPROC_HANDLERX86
= 0x80,
326 CLSCTX_ESERVER_HANDLER
= 0x100,
327 CLSCTX_NO_CODE_DOWNLOAD
= 0x400,
328 CLSCTX_NO_CUSTOM_MARSHAL
= 0x1000,
329 CLSCTX_ENABLE_CODE_DOWNLOAD
= 0x2000,
330 CLSCTX_NO_FAILURE_LOG
= 0x4000,
331 CLSCTX_DISABLE_AAA
= 0x8000,
332 CLSCTX_ENABLE_AAA
= 0x10000,
333 CLSCTX_FROM_DEFAULT_CONTEXT
= 0x20000
336 #define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
337 #define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
338 #define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
339 typedef enum tagMSHLFLAGS
{
340 MSHLFLAGS_NORMAL
= 0,
341 MSHLFLAGS_TABLESTRONG
= 1,
342 MSHLFLAGS_TABLEWEAK
= 2,
346 typedef enum tagMSHCTX
{
348 MSHCTX_NOSHAREDMEM
= 1,
349 MSHCTX_DIFFERENTMACHINE
= 2,
354 typedef struct _BYTE_BLOB
{
355 unsigned long clSize
;
359 typedef BYTE_BLOB
*UP_BYTE_BLOB
;
361 typedef struct _FLAGGED_BYTE_BLOB
{
362 unsigned long fFlags
;
363 unsigned long clSize
;
367 typedef FLAGGED_BYTE_BLOB
*UP_FLAGGED_BYTE_BLOB
;
369 typedef struct _FLAGGED_WORD_BLOB
{
370 unsigned long fFlags
;
371 unsigned long clSize
;
372 unsigned short asData
[1];
375 typedef FLAGGED_WORD_BLOB
*UP_FLAGGED_WORD_BLOB
;
377 typedef struct _BYTE_SIZEDARR
{
378 unsigned long clSize
;
382 typedef struct _SHORT_SIZEDARR
{
383 unsigned long clSize
;
384 unsigned short *pData
;
387 typedef struct _LONG_SIZEDARR
{
388 unsigned long clSize
;
389 unsigned long *pData
;
392 typedef struct _HYPER_SIZEDARR
{
393 unsigned long clSize
;
397 #define WDT_INPROC_CALL (0x48746457)
399 #define WDT_REMOTE_CALL (0x52746457)
401 typedef struct _userCLIPFORMAT
{
409 typedef userCLIPFORMAT
*wireCLIPFORMAT
;
411 typedef WORD CLIPFORMAT
;
412 unsigned long __RPC_USER
CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT
*);
413 unsigned char * __RPC_USER
CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT
*);
414 unsigned char * __RPC_USER
CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT
*);
415 void __RPC_USER
CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT
*);
417 typedef struct tagRemHGLOBAL
{
419 unsigned long cbData
;
423 typedef struct _userHGLOBAL
{
427 FLAGGED_BYTE_BLOB
*hRemote
;
432 typedef userHGLOBAL
*wireHGLOBAL
;
434 typedef struct tagRemHMETAFILEPICT
{
438 unsigned long cbData
;
442 typedef struct _userHMETAFILE
{
451 typedef userHMETAFILE
*wireHMETAFILE
;
453 typedef struct _remoteMETAFILEPICT
{
458 } remoteMETAFILEPICT
;
460 typedef struct _userHMETAFILEPICT
{
464 remoteMETAFILEPICT
*hRemote
;
469 typedef userHMETAFILEPICT
*wireHMETAFILEPICT
;
471 typedef struct tagRemHENHMETAFILE
{
472 unsigned long cbData
;
476 typedef struct _userHENHMETAFILE
{
485 typedef userHENHMETAFILE
*wireHENHMETAFILE
;
487 typedef struct tagRemHBITMAP
{
488 unsigned long cbData
;
492 typedef struct _userBITMAP
{
503 typedef struct _userHBITMAP
{
512 typedef userHBITMAP
*wireHBITMAP
;
514 typedef struct tagRemHPALETTE
{
515 unsigned long cbData
;
519 typedef struct tagrpcLOGPALETTE
{
522 PALETTEENTRY palPalEntry
[1];
525 typedef struct _userHPALETTE
{
529 rpcLOGPALETTE
*hRemote
;
534 typedef userHPALETTE
*wireHPALETTE
;
537 typedef void *HGLOBAL
;
538 unsigned long __RPC_USER
HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL
*);
539 unsigned char * __RPC_USER
HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL
*);
540 unsigned char * __RPC_USER
HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL
*);
541 void __RPC_USER
HGLOBAL_UserFree (unsigned long *, HGLOBAL
*);
543 typedef HGLOBAL HLOCAL
;
545 typedef void *HBITMAP
;
546 unsigned long __RPC_USER
HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP
*);
547 unsigned char * __RPC_USER
HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP
*);
548 unsigned char * __RPC_USER
HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP
*);
549 void __RPC_USER
HBITMAP_UserFree (unsigned long *, HBITMAP
*);
551 typedef void *HPALETTE
;
552 unsigned long __RPC_USER
HPALETTE_UserSize (unsigned long *, unsigned long, HPALETTE
*);
553 unsigned char * __RPC_USER
HPALETTE_UserMarshal (unsigned long *, unsigned char *, HPALETTE
*);
554 unsigned char * __RPC_USER
HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE
*);
555 void __RPC_USER
HPALETTE_UserFree (unsigned long *, HPALETTE
*);
557 typedef void *HENHMETAFILE
;
558 unsigned long __RPC_USER
HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE
*);
559 unsigned char * __RPC_USER
HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE
*);
560 unsigned char * __RPC_USER
HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE
*);
561 void __RPC_USER
HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE
*);
563 typedef void *HMETAFILE
;
564 unsigned long __RPC_USER
HMETAFILE_UserSize (unsigned long *, unsigned long, HMETAFILE
*);
565 unsigned char * __RPC_USER
HMETAFILE_UserMarshal (unsigned long *, unsigned char *, HMETAFILE
*);
566 unsigned char * __RPC_USER
HMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILE
*);
567 void __RPC_USER
HMETAFILE_UserFree (unsigned long *, HMETAFILE
*);
570 typedef void *HMETAFILEPICT
;
571 unsigned long __RPC_USER
HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT
*);
572 unsigned char * __RPC_USER
HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT
*);
573 unsigned char * __RPC_USER
HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT
*);
574 void __RPC_USER
HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT
*);
577 typedef GUID
*REFGUID
;
581 typedef CLSID
*REFCLSID
;
583 typedef FMTID
*REFFMTID
;
586 typedef enum tagDVASPECT
{
587 DVASPECT_CONTENT
= 1,
588 DVASPECT_THUMBNAIL
= 2,
590 DVASPECT_DOCPRINT
= 8
593 typedef enum tagSTGC
{
596 STGC_ONLYIFCURRENT
= 2,
597 STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
= 4,
601 typedef enum tagSTGMOVE
{
604 STGMOVE_SHALLOWCOPY
= 2
607 typedef enum tagSTATFLAG
{
608 STATFLAG_DEFAULT
= 0,
614 typedef struct tagCY
{
619 typedef union tagCY
{
621 #ifdef WORDS_BIGENDIAN
635 typedef struct tagDEC
{
644 typedef struct tagDEC
{
656 #ifdef WORDS_BIGENDIAN
668 #define DECIMAL_NEG ((BYTE)0x80)
669 #define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u); }while (0)
670 typedef DECIMAL
*LPDECIMAL
;
672 typedef FLAGGED_WORD_BLOB
*wireBSTR
;
674 typedef OLECHAR
*BSTR
;
675 unsigned long __RPC_USER
BSTR_UserSize (unsigned long *, unsigned long, BSTR
*);
676 unsigned char * __RPC_USER
BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR
*);
677 unsigned char * __RPC_USER
BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR
*);
678 void __RPC_USER
BSTR_UserFree (unsigned long *, BSTR
*);
680 typedef BSTR
*LPBSTR
;
682 typedef short VARIANT_BOOL
;
684 typedef VARIANT_BOOL _VARIANT_BOOL
;
686 #define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
687 #define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
688 typedef struct tagBSTRBLOB
{
691 } BSTRBLOB
, *LPBSTRBLOB
;
693 typedef struct tagBLOB
{
698 typedef struct tagCLIPDATA
{
704 #define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
705 typedef ULONG PROPID
;
707 typedef unsigned short VARTYPE
;
748 VT_STREAMED_OBJECT
= 68,
749 VT_STORED_OBJECT
= 69,
753 VT_BSTR_BLOB
= 0xfff,
757 VT_RESERVED
= 0x8000,
759 VT_ILLEGALMASKED
= 0xfff,
766 #endif /* __WIDL_WTYPES_H */