2002-11-13 05:18:38 +01:00
|
|
|
/*** Autogenerated by WIDL 0.1 from wtypes.idl - Do not edit ***/
|
|
|
|
#include "rpc.h"
|
|
|
|
#include "rpcndr.h"
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#ifndef __WIDL_WTYPES_H
|
|
|
|
#define __WIDL_WTYPES_H
|
|
|
|
#include "basetsd.h"
|
|
|
|
#include "guiddef.h"
|
|
|
|
typedef CHAR OLECHAR16;
|
|
|
|
typedef LPSTR LPOLESTR16;
|
|
|
|
typedef LPCSTR LPCOLESTR16;
|
|
|
|
typedef OLECHAR16 *BSTR16;
|
|
|
|
typedef BSTR16 *LPBSTR16;
|
2000-09-27 00:20:14 +02:00
|
|
|
#define OLESTR16(x) x
|
2002-11-13 01:22:16 +01:00
|
|
|
#if 0 /* winnt.h */
|
|
|
|
typedef unsigned char BYTE;
|
2000-09-27 00:20:14 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef unsigned short WORD;
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef unsigned long DWORD;
|
2000-08-02 03:00:02 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef long BOOL;
|
2000-08-02 03:00:02 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef unsigned char UCHAR;
|
1999-01-17 17:32:32 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef int INT;
|
1999-03-14 14:47:00 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef unsigned int UINT;
|
|
|
|
|
|
|
|
typedef short SHORT;
|
|
|
|
|
|
|
|
typedef unsigned short USHORT;
|
|
|
|
|
|
|
|
typedef long LONG;
|
|
|
|
|
|
|
|
typedef unsigned long ULONG;
|
|
|
|
|
|
|
|
typedef float FLOAT;
|
|
|
|
|
|
|
|
typedef double DOUBLE;
|
|
|
|
|
|
|
|
typedef void *PVOID, *LPVOID;
|
|
|
|
|
|
|
|
typedef char CHAR;
|
2000-09-19 04:43:00 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef CHAR *LPSTR;
|
|
|
|
|
|
|
|
typedef const CHAR *LPCSTR;
|
|
|
|
|
|
|
|
typedef wchar_t WCHAR;
|
|
|
|
|
|
|
|
typedef WCHAR *LPWSTR;
|
|
|
|
|
|
|
|
typedef const WCHAR *LPCWSTR;
|
|
|
|
|
|
|
|
typedef boolean BOOLEAN;
|
|
|
|
|
|
|
|
typedef void *HANDLE;
|
|
|
|
|
|
|
|
typedef double DATE;
|
|
|
|
|
|
|
|
typedef LONG HRESULT;
|
|
|
|
|
|
|
|
typedef DWORD LCID;
|
|
|
|
|
|
|
|
typedef unsigned __int64 DWORDLONG;
|
|
|
|
|
|
|
|
typedef __int64 LONGLONG;
|
|
|
|
|
|
|
|
typedef unsigned __int64 ULONGLONG;
|
|
|
|
|
|
|
|
typedef struct _SID_IDENTIFIER_AUTHORITY {
|
|
|
|
UCHAR Value[6];
|
|
|
|
} SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY;
|
|
|
|
|
|
|
|
typedef struct _SID {
|
|
|
|
UCHAR Revision;
|
|
|
|
UCHAR SubAuthorityCount;
|
|
|
|
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
|
|
|
|
ULONG SubAuthority[1];
|
|
|
|
} SID, *PSID;
|
|
|
|
|
|
|
|
typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
2000-09-19 04:43:00 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef struct _ACL {
|
|
|
|
UCHAR AclRevision;
|
|
|
|
UCHAR Sbz1;
|
|
|
|
USHORT AclSize;
|
|
|
|
USHORT AceCount;
|
|
|
|
USHORT Sbz2;
|
|
|
|
} ACL;
|
|
|
|
|
|
|
|
typedef ACL *PACL;
|
|
|
|
|
|
|
|
typedef struct _SECURITY_DESCRIPTOR {
|
|
|
|
UCHAR Revision;
|
|
|
|
UCHAR Sbz1;
|
|
|
|
SECURITY_DESCRIPTOR_CONTROL Control;
|
|
|
|
PSID Owner;
|
|
|
|
PSID Group;
|
|
|
|
PACL Sacl;
|
|
|
|
PACL Dacl;
|
|
|
|
} SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR;
|
|
|
|
|
|
|
|
#endif /* winnt.h */
|
|
|
|
#ifndef _FILETIME_
|
|
|
|
#define _FILETIME_
|
|
|
|
typedef struct _FILETIME {
|
|
|
|
DWORD dwLowDateTime;
|
|
|
|
DWORD dwHighDateTime;
|
|
|
|
} FILETIME, *PFILETIME, *LPFILETIME;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
typedef WCHAR OLECHAR;
|
|
|
|
|
|
|
|
typedef OLECHAR *LPOLESTR;
|
|
|
|
|
|
|
|
typedef const OLECHAR *LPCOLESTR;
|
|
|
|
|
|
|
|
#ifndef __WINE__
|
|
|
|
#define OLESTR(str) WINE_UNICODE_TEXT(str)
|
|
|
|
#endif
|
|
|
|
typedef LONG SCODE;
|
|
|
|
|
|
|
|
typedef struct _COAUTHIDENTITY {
|
|
|
|
USHORT *User;
|
1999-02-17 18:45:54 +01:00
|
|
|
ULONG UserLength;
|
2002-11-13 01:22:16 +01:00
|
|
|
USHORT *Domain;
|
1999-02-17 18:45:54 +01:00
|
|
|
ULONG DomainLength;
|
2002-11-13 01:22:16 +01:00
|
|
|
USHORT *Password;
|
1999-02-17 18:45:54 +01:00
|
|
|
ULONG PasswordLength;
|
|
|
|
ULONG Flags;
|
|
|
|
} COAUTHIDENTITY;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef struct _COAUTHINFO {
|
1999-02-17 18:45:54 +01:00
|
|
|
DWORD dwAuthnSvc;
|
|
|
|
DWORD dwAuthzSvc;
|
|
|
|
LPWSTR pwszServerPrincName;
|
|
|
|
DWORD dwAuthnLevel;
|
|
|
|
DWORD dwImpersonationLevel;
|
2002-11-13 01:22:16 +01:00
|
|
|
COAUTHIDENTITY *pAuthIdentityData;
|
1999-02-17 18:45:54 +01:00
|
|
|
DWORD dwCapabilities;
|
|
|
|
} COAUTHINFO;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef struct _COSERVERINFO {
|
1999-02-17 18:45:54 +01:00
|
|
|
DWORD dwReserved1;
|
|
|
|
LPWSTR pwszName;
|
2002-11-13 01:22:16 +01:00
|
|
|
COAUTHINFO *pAuthInfo;
|
1999-02-17 18:45:54 +01:00
|
|
|
DWORD dwReserved2;
|
|
|
|
} COSERVERINFO;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#ifndef _ROTFLAGS_DEFINED
|
|
|
|
#define _ROTFLAGS_DEFINED
|
|
|
|
#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
|
|
|
|
#define ROTFLAGS_ALLOWANYCLIENT 0x2
|
|
|
|
#endif
|
|
|
|
typedef enum tagCLSCTX {
|
|
|
|
CLSCTX_INPROC_SERVER = 1,
|
|
|
|
CLSCTX_INPROC_HANDLER = 2,
|
|
|
|
CLSCTX_LOCAL_SERVER = 4,
|
|
|
|
CLSCTX_INPROC_SERVER16 = 8,
|
|
|
|
CLSCTX_REMOTE_SERVER = 16,
|
|
|
|
CLSCTX_INPROC_HANDLER16 = 32,
|
|
|
|
CLSCTX_INPROC_SERVERX86 = 64,
|
|
|
|
CLSCTX_INPROC_HANDLERX86 = 128,
|
|
|
|
CLSCTX_ESERVER_HANDLER = 256,
|
|
|
|
CLSCTX_NO_CODE_DOWNLOAD = 1024,
|
|
|
|
CLSCTX_NO_CUSTOM_MARSHAL = 4096,
|
|
|
|
CLSCTX_ENABLE_CODE_DOWNLOAD = 8192,
|
|
|
|
CLSCTX_NO_FAILURE_LOG = 16384,
|
|
|
|
CLSCTX_DISABLE_AAA = 32768,
|
|
|
|
CLSCTX_ENABLE_AAA = 65536,
|
|
|
|
CLSCTX_FROM_DEFAULT_CONTEXT = 131072
|
1999-01-17 17:32:32 +01:00
|
|
|
} CLSCTX;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
|
|
|
|
#define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
|
|
|
|
#define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
|
|
|
|
typedef enum tagMSHLFLAGS {
|
|
|
|
MSHLFLAGS_NORMAL = 0,
|
|
|
|
MSHLFLAGS_TABLESTRONG = 1,
|
|
|
|
MSHLFLAGS_TABLEWEAK = 2,
|
|
|
|
MSHLFLAGS_NOPING = 4
|
2000-09-28 00:31:28 +02:00
|
|
|
} MSHLFLAGS;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef enum tagMSHCTX {
|
|
|
|
MSHCTX_LOCAL = 0,
|
|
|
|
MSHCTX_NOSHAREDMEM = 1,
|
2000-09-28 00:31:28 +02:00
|
|
|
MSHCTX_DIFFERENTMACHINE = 2,
|
2002-11-13 01:22:16 +01:00
|
|
|
MSHCTX_INPROC = 3,
|
|
|
|
MSHCTX_CROSSCTX = 4
|
2000-09-28 00:31:28 +02:00
|
|
|
} MSHCTX;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef struct _BYTE_BLOB {
|
|
|
|
unsigned long clSize;
|
|
|
|
byte abData[1];
|
|
|
|
} BYTE_BLOB;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef BYTE_BLOB *UP_BYTE_BLOB;
|
|
|
|
|
|
|
|
typedef struct _FLAGGED_WORD_BLOB {
|
|
|
|
unsigned long fFlags;
|
|
|
|
unsigned long clSize;
|
|
|
|
unsigned short asData[1];
|
|
|
|
} FLAGGED_WORD_BLOB;
|
|
|
|
|
|
|
|
typedef FLAGGED_WORD_BLOB *UP_FLAGGED_WORD_BLOB;
|
|
|
|
|
|
|
|
typedef struct _userCLIPFORMAT {
|
|
|
|
long fContext;
|
|
|
|
union {
|
|
|
|
DWORD dwValue;
|
|
|
|
WCHAR *pwszName;
|
|
|
|
} u;
|
|
|
|
} userCLIPFORMAT;
|
|
|
|
|
|
|
|
typedef userCLIPFORMAT *wireCLIPFORMAT;
|
|
|
|
|
|
|
|
typedef WORD CLIPFORMAT;
|
|
|
|
|
|
|
|
typedef struct tagRemHMETAFILEPICT {
|
|
|
|
long mm;
|
|
|
|
long xExt;
|
|
|
|
long yExt;
|
|
|
|
unsigned long cbData;
|
|
|
|
byte data[1];
|
|
|
|
} RemHMETAFILEPICT;
|
|
|
|
|
|
|
|
typedef struct _userHMETAFILE {
|
|
|
|
long fContext;
|
|
|
|
union {
|
|
|
|
long hInproc;
|
|
|
|
BYTE_BLOB *hRemote;
|
|
|
|
long hGlobal;
|
|
|
|
} u;
|
|
|
|
} userHMETAFILE;
|
|
|
|
|
|
|
|
typedef userHMETAFILE *wireHMETAFILE;
|
|
|
|
|
|
|
|
typedef struct _remoteMETAFILEPICT {
|
|
|
|
long mm;
|
|
|
|
long xExt;
|
|
|
|
long yExt;
|
|
|
|
userHMETAFILE *hMF;
|
|
|
|
} remoteMETAFILEPICT;
|
|
|
|
|
|
|
|
typedef struct _userHMETAFILEPICT {
|
|
|
|
long fContext;
|
|
|
|
union {
|
|
|
|
long hInproc;
|
|
|
|
remoteMETAFILEPICT *hRemote;
|
|
|
|
long hGlobal;
|
|
|
|
} u;
|
|
|
|
} userHMETAFILEPICT;
|
|
|
|
|
|
|
|
typedef userHMETAFILEPICT *wireHMETAFILEPICT;
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
typedef void *HMETAFILE;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
1999-06-05 17:23:20 +02:00
|
|
|
#endif
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef void *HMETAFILEPICT;
|
|
|
|
|
|
|
|
#ifndef GUID_DEFINED
|
|
|
|
#define GUID_DEFINED
|
|
|
|
typedef struct _GUID {
|
|
|
|
DWORD Data1;
|
|
|
|
WORD Data2;
|
|
|
|
WORD Data3;
|
|
|
|
BYTE Data4[8];
|
|
|
|
} GUID;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#if 0 /* guiddef.h */
|
|
|
|
typedef GUID *LPGUID;
|
|
|
|
|
|
|
|
typedef GUID IID;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef IID *LPIID;
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
typedef GUID *REFGUID;
|
|
|
|
|
|
|
|
typedef IID *REFIID;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif /* guiddef.h */
|
|
|
|
typedef enum tagDVASPECT {
|
|
|
|
DVASPECT_CONTENT = 1,
|
|
|
|
DVASPECT_THUMBNAIL = 2,
|
|
|
|
DVASPECT_ICON = 4,
|
|
|
|
DVASPECT_DOCPRINT = 8
|
|
|
|
} DVASPECT;
|
|
|
|
|
|
|
|
typedef enum tagSTGC {
|
|
|
|
STGC_DEFAULT = 0,
|
|
|
|
STGC_OVERWRITE = 1,
|
|
|
|
STGC_ONLYIFCURRENT = 2,
|
|
|
|
STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4,
|
|
|
|
STGC_CONSOLIDATE = 8
|
|
|
|
} STGC;
|
|
|
|
|
|
|
|
typedef enum tagSTGMOVE {
|
|
|
|
STGMOVE_MOVE = 0,
|
|
|
|
STGMOVE_COPY = 1,
|
|
|
|
STGMOVE_SHALLOWCOPY = 2
|
|
|
|
} STGMOVE;
|
1999-09-19 16:20:33 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#if 0
|
|
|
|
typedef struct tagCY {
|
|
|
|
LONGLONG int64;
|
|
|
|
} CY;
|
|
|
|
|
|
|
|
#else
|
1999-09-19 16:20:33 +02:00
|
|
|
typedef union tagCY {
|
1999-02-17 18:45:54 +01:00
|
|
|
struct {
|
2002-06-25 05:03:19 +02:00
|
|
|
#ifdef WORDS_BIGENDIAN
|
1999-09-19 16:20:33 +02:00
|
|
|
LONG Hi;
|
2002-06-21 01:07:55 +02:00
|
|
|
ULONG Lo;
|
2002-06-25 05:03:19 +02:00
|
|
|
#else
|
1999-09-19 16:20:33 +02:00
|
|
|
ULONG Lo;
|
|
|
|
LONG Hi;
|
2002-06-25 05:03:19 +02:00
|
|
|
#endif
|
1999-09-19 16:20:33 +02:00
|
|
|
} DUMMYSTRUCTNAME;
|
1999-02-17 18:45:54 +01:00
|
|
|
LONGLONG int64;
|
|
|
|
} CY;
|
2002-11-13 01:22:16 +01:00
|
|
|
#endif
|
|
|
|
typedef CY *LPCY;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2001-05-07 20:15:38 +02:00
|
|
|
typedef struct tagDEC {
|
|
|
|
USHORT wReserved;
|
2002-11-13 01:22:16 +01:00
|
|
|
BYTE scale;
|
|
|
|
BYTE sign;
|
2001-05-07 20:15:38 +02:00
|
|
|
ULONG Hi32;
|
2002-11-13 01:22:16 +01:00
|
|
|
ULONGLONG Lo64;
|
2001-05-07 20:15:38 +02:00
|
|
|
} DECIMAL;
|
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef DECIMAL *LPDECIMAL;
|
2001-05-07 20:15:38 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef FLAGGED_WORD_BLOB *wireBSTR;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef OLECHAR *BSTR;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef BSTR *LPBSTR;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef short VARIANT_BOOL;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef VARIANT_BOOL _VARIANT_BOOL;
|
1999-02-17 18:45:54 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
|
|
|
|
#define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
|
|
|
|
typedef struct tagBLOB {
|
|
|
|
ULONG cbSize;
|
|
|
|
BYTE *pBlobData;
|
|
|
|
} BLOB, *LPBLOB;
|
2000-10-13 01:15:29 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef struct tagCLIPDATA {
|
|
|
|
ULONG cbSize;
|
|
|
|
long ulClipFmt;
|
|
|
|
BYTE *pClipData;
|
|
|
|
} CLIPDATA;
|
1999-03-23 14:48:56 +01:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
|
|
|
|
typedef ULONG PROPID;
|
2002-09-17 00:36:49 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
typedef unsigned short VARTYPE;
|
2002-09-17 00:36:49 +02:00
|
|
|
|
2002-11-13 01:22:16 +01:00
|
|
|
#endif /* __WIDL_WTYPES_H */
|