Save work of last week ...

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@6084 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
Kai Tietz 2013-08-18 15:38:12 +00:00
parent 83d7278a8a
commit 061154a5a0
16 changed files with 38245 additions and 19411 deletions

View File

@ -60,11 +60,14 @@ if HAVE_WIDL
IDL_SRCS = \
include/activation.idl \
include/activaut.idl \
include/activdbg.idl \
include/activdbg100.idl \
include/activprof.idl \
include/activscp.idl \
include/audioclient.idl \
include/audiopolicy.idl \
include/ctfutb.idl \
include/dbgprop.idl \
include/docobj.idl \
include/devicetopology.idl \
include/downloadmgr.idl \

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,205 @@
cpp_quote("/**")
cpp_quote(" * This file is part of the mingw-w64 runtime package.")
cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
cpp_quote(" */")
cpp_quote("")
cpp_quote("#include <winapifamily.h>")
cpp_quote("")
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
cpp_quote("")
cpp_quote("const HRESULT ACTIVPROF_E_PROFILER_PRESENT = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200);")
cpp_quote("const HRESULT ACTIVPROF_E_PROFILER_ABSENT = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201);")
cpp_quote("const HRESULT ACTIVPROF_E_UNABLE_TO_APPLY_ACTION = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202);")
cpp_quote("const ULONG PROFILER_HEAP_OBJECT_NAME_ID_UNAVAILABLE=(ULONG)-1;")
cpp_quote("")
cpp_quote("#ifndef __ActivProf_h")
cpp_quote("#define __ActivProf_h")
cpp_quote("")
import "unknwn.idl";
cpp_quote("")
cpp_quote("#ifndef _NO_SCRIPT_GUIDS")
cpp_quote("DEFINE_GUID(IID_IActiveScriptProfilerHeapEnum, 0x32e4694e, 0xd37, 0x419b, 0xb9, 0x3d, 0xfa, 0x20, 0xde, 0xd6, 0xe8, 0xea);")
cpp_quote("DEFINE_GUID(IID_IActiveScriptProfilerControl3, 0xb403015, 0xf381, 0x4023, 0xa5, 0xd0, 0x6f, 0xed, 0x7, 0x6d, 0xe7, 0x16);")
cpp_quote("#endif")
cpp_quote("")
typedef enum {
PROFILER_SCRIPT_TYPE_USER,
PROFILER_SCRIPT_TYPE_DYNAMIC,
PROFILER_SCRIPT_TYPE_NATIVE,
PROFILER_SCRIPT_TYPE_DOM
} PROFILER_SCRIPT_TYPE;
cpp_quote("")
typedef enum {
PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL = 0x00000001,
PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL = 0x00000002,
PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL = 0x00000004,
PROFILER_EVENT_MASK_TRACE_ALL = PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL |
PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL,
PROFILER_EVENT_MASK_TRACE_ALL_WITH_DOM = PROFILER_EVENT_MASK_TRACE_ALL |
PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL
} PROFILER_EVENT_MASK;
cpp_quote("")
typedef LONG PROFILER_TOKEN;
cpp_quote("")
[object, uuid (784b5ff0-69b0-47d1-a7dc-2518f4230e90), pointer_default (unique)]
interface IActiveScriptProfilerControl : IUnknown {
HRESULT StartProfiling ([in] REFCLSID clsidProfilerObject,[in] DWORD dwEventMask,[in] DWORD dwContext);
HRESULT SetProfilerEventMask ([in] DWORD dwEventMask);
HRESULT StopProfiling ([in] HRESULT hrShutdownReason);
}
cpp_quote("")
[object, uuid (47810165-498f-40be-94f1-653557e9e7da), pointer_default (unique)]
interface IActiveScriptProfilerControl2 : IActiveScriptProfilerControl {
HRESULT CompleteProfilerStart ();
HRESULT PrepareProfilerStop ();
}
cpp_quote("")
typedef DWORD_PTR PROFILER_HEAP_OBJECT_ID;
typedef UINT PROFILER_HEAP_OBJECT_NAME_ID;
typedef void *PROFILER_EXTERNAL_OBJECT_ADDRESS;
cpp_quote("")
typedef [v1_enum] enum {
PROFILER_HEAP_OBJECT_FLAGS_NEW_OBJECT = 0x00000001,
PROFILER_HEAP_OBJECT_FLAGS_IS_ROOT = 0x00000002,
PROFILER_HEAP_OBJECT_FLAGS_SITE_CLOSED = 0x00000004,
PROFILER_HEAP_OBJECT_FLAGS_EXTERNAL = 0x00000008,
PROFILER_HEAP_OBJECT_FLAGS_EXTERNAL_UNKNOWN = 0x00000010,
PROFILER_HEAP_OBJECT_FLAGS_EXTERNAL_DISPATCH = 0x00000020,
PROFILER_HEAP_OBJECT_FLAGS_SIZE_APPROXIMATE = 0x00000040,
PROFILER_HEAP_OBJECT_FLAGS_SIZE_UNAVAILABLE = 0x00000080,
PROFILER_HEAP_OBJECT_FLAGS_NEW_STATE_UNAVAILABLE = 0x00000100,
PROFILER_HEAP_OBJECT_FLAGS_WINRT_INSTANCE = 0x00000200,
PROFILER_HEAP_OBJECT_FLAGS_WINRT_RUNTIMECLASS = 0x00000400,
PROFILER_HEAP_OBJECT_FLAGS_WINRT_DELEGATE = 0x00000800,
PROFILER_HEAP_OBJECT_FLAGS_WINRT_NAMESPACE = 0x00001000,
} PROFILER_HEAP_OBJECT_FLAGS;
cpp_quote("")
typedef [v1_enum] enum {
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_PROTOTYPE = 0x00000001,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_FUNCTION_NAME = 0x00000002,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_SCOPE_LIST = 0x00000003,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_INTERNAL_PROPERTY = 0x00000004,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_NAME_PROPERTIES = 0x00000005,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_INDEX_PROPERTIES = 0x00000006,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_ELEMENT_ATTRIBUTES_SIZE = 0x00000007,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_ELEMENT_TEXT_CHILDREN_SIZE = 0x00000008,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_RELATIONSHIPS = 0x00000009,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_WINRTEVENTS = 0x0000000a,
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_MAX_VALUE = PROFILER_HEAP_OBJECT_OPTIONAL_INFO_WINRTEVENTS
} PROFILER_HEAP_OBJECT_OPTIONAL_INFO_TYPE;
cpp_quote("")
typedef struct _PROFILER_HEAP_OBJECT_SCOPE_LIST {
UINT count;
[size_is (count)] PROFILER_HEAP_OBJECT_ID scopes[];
} PROFILER_HEAP_OBJECT_SCOPE_LIST;
cpp_quote("")
typedef [v1_enum] enum {
PROFILER_PROPERTY_TYPE_NUMBER = 0x01,
PROFILER_PROPERTY_TYPE_STRING = 0x02,
PROFILER_PROPERTY_TYPE_HEAP_OBJECT = 0x03,
PROFILER_PROPERTY_TYPE_EXTERNAL_OBJECT = 0x04,
PROFILER_PROPERTY_TYPE_BSTR = 0x5,
} PROFILER_RELATIONSHIP_INFO;
cpp_quote("")
typedef struct _PROFILER_HEAP_OBJECT_RELATIONSHIP {
PROFILER_HEAP_OBJECT_NAME_ID relationshipId;
PROFILER_RELATIONSHIP_INFO relationshipInfo;
[switch_type (PROFILER_RELATIONSHIP_INFO), switch_is (relationshipInfo)] union {
[case (PROFILER_PROPERTY_TYPE_NUMBER)] double numberValue;
[case (PROFILER_PROPERTY_TYPE_STRING)] LPCWSTR stringValue;
[case (PROFILER_PROPERTY_TYPE_BSTR)] BSTR bstrValue;
[case (PROFILER_PROPERTY_TYPE_HEAP_OBJECT)] PROFILER_HEAP_OBJECT_ID objectId;
[case (PROFILER_PROPERTY_TYPE_EXTERNAL_OBJECT)] PROFILER_EXTERNAL_OBJECT_ADDRESS externalObjectAddress;
};
} PROFILER_HEAP_OBJECT_RELATIONSHIP;
cpp_quote("")
typedef struct _PROFILER_HEAP_OBJECT_RELATIONSHIP_LIST {
UINT count;
[size_is (count)] PROFILER_HEAP_OBJECT_RELATIONSHIP elements[];
} PROFILER_HEAP_OBJECT_RELATIONSHIP_LIST;
cpp_quote("")
typedef struct _PROFILER_HEAP_OBJECT_OPTIONAL_INFO {
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_TYPE infoType;
[switch_type (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_TYPE), switch_is (infoType)] union {
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_PROTOTYPE)] PROFILER_HEAP_OBJECT_ID prototype;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_FUNCTION_NAME)] LPCWSTR functionName;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_ELEMENT_ATTRIBUTES_SIZE)] UINT elementAttributesSize;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_ELEMENT_TEXT_CHILDREN_SIZE)] UINT elementTextChildrenSize;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_SCOPE_LIST)] PROFILER_HEAP_OBJECT_SCOPE_LIST *scopeList;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_INTERNAL_PROPERTY)] PROFILER_HEAP_OBJECT_RELATIONSHIP *internalProperty;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_NAME_PROPERTIES)] PROFILER_HEAP_OBJECT_RELATIONSHIP_LIST *namePropertyList;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_INDEX_PROPERTIES)] PROFILER_HEAP_OBJECT_RELATIONSHIP_LIST *indexPropertyList;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_RELATIONSHIPS)] PROFILER_HEAP_OBJECT_RELATIONSHIP_LIST *relationshipList;
[case (PROFILER_HEAP_OBJECT_OPTIONAL_INFO_WINRTEVENTS)] PROFILER_HEAP_OBJECT_RELATIONSHIP_LIST *eventList;
};
} PROFILER_HEAP_OBJECT_OPTIONAL_INFO;
cpp_quote("")
typedef struct _PROFILER_HEAP_OBJECT {
UINT size;
union {
PROFILER_HEAP_OBJECT_ID objectId;
PROFILER_EXTERNAL_OBJECT_ADDRESS externalObjectAddress;
};
PROFILER_HEAP_OBJECT_NAME_ID typeNameId;
ULONG flags;
USHORT unused;
USHORT optionalInfoCount;
} PROFILER_HEAP_OBJECT;
cpp_quote("")
[object, uuid (32e4694e-0d37-419b-B93D-FA20DED6E8EA), local, pointer_default (unique)]
interface IActiveScriptProfilerHeapEnum : IUnknown {
HRESULT Next ([in] ULONG celt,[out, size_is (celt), length_is (*pceltFetched)] PROFILER_HEAP_OBJECT **heapObjects,[out] ULONG *pceltFetched);
HRESULT GetOptionalInfo ([in] PROFILER_HEAP_OBJECT *heapObject,[in] ULONG celt,[out, size_is (celt)] PROFILER_HEAP_OBJECT_OPTIONAL_INFO *optionalInfo);
HRESULT FreeObjectAndOptionalInfo ([in] ULONG celt,[in, size_is (celt)] PROFILER_HEAP_OBJECT **heapObjects);
HRESULT GetNameIdMap ([out, size_is (,*pcelt)] LPCWSTR *pNameList[],[out] UINT *pcelt);
};
cpp_quote("")
[object, uuid (0b403015-F381-4023-A5D0-6fed076de716), pointer_default (unique)]
interface IActiveScriptProfilerControl3 : IActiveScriptProfilerControl2 {
HRESULT EnumHeap ([out] IActiveScriptProfilerHeapEnum **ppEnum);
}
cpp_quote("")
[object, uuid (740eca23-7d9d-42e5-ba9d-f8b24b1c7a9b), pointer_default (unique)]
interface IActiveScriptProfilerCallback : IUnknown {
HRESULT Initialize ([in] DWORD dwContext);
HRESULT Shutdown ([in] HRESULT hrReason);
HRESULT ScriptCompiled ([in] PROFILER_TOKEN scriptId,[in] PROFILER_SCRIPT_TYPE type,[in] IUnknown *pIDebugDocumentContext);
HRESULT FunctionCompiled ([in] PROFILER_TOKEN functionId,[in] PROFILER_TOKEN scriptId,[in] [string] const WCHAR *pwszFunctionName,[in] [string] const WCHAR *pwszFunctionNameHint,[in] IUnknown *pIDebugDocumentContext);
HRESULT OnFunctionEnter ([in] PROFILER_TOKEN scriptId,[in] PROFILER_TOKEN functionId);
HRESULT OnFunctionExit ([in] PROFILER_TOKEN scriptId,[in] PROFILER_TOKEN functionId);
};
cpp_quote("")
[object, uuid (31b7f8ad-A637-409c-B22F-040995b6103d), pointer_default (unique)]
interface IActiveScriptProfilerCallback2 : IActiveScriptProfilerCallback {
HRESULT OnFunctionEnterByName ([in] [string] const WCHAR *pwszFunctionName,[in] PROFILER_SCRIPT_TYPE type);
HRESULT OnFunctionExitByName ([in] [string] const WCHAR *pwszFunctionName,[in] PROFILER_SCRIPT_TYPE type);
};
cpp_quote("")
[object, uuid (6ac5ad25-2037-4687-91df-b59979d93d73), pointer_default (unique)]
interface IActiveScriptProfilerCallback3 : IActiveScriptProfilerCallback2 {
HRESULT SetWebWorkerId ([in] DWORD webWorkerId);
};
cpp_quote("#endif")
cpp_quote("")
cpp_quote("#endif")

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,234 @@
cpp_quote("/**")
cpp_quote(" * This file is part of the mingw-w64 runtime package.")
cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
cpp_quote(" */")
cpp_quote("")
cpp_quote("#include <winapifamily.h>")
cpp_quote("")
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
cpp_quote("")
import "ocidl.idl";
import "oleidl.idl";
cpp_quote("")
interface IDebugProperty;
interface IDebugExtendedProperty;
interface IEnumDebugPropertyInfo;
interface IEnumDebugExtendedPropertyInfo;
interface IPerPropertyBrowsing2;
cpp_quote("")
cpp_quote("extern GUID guidDocument;")
cpp_quote("extern GUID guidCodeContext;")
cpp_quote("")
enum {
DBGPROP_ATTRIB_NO_ATTRIB = 0x0,
DBGPROP_ATTRIB_VALUE_IS_INVALID = 0x8,
DBGPROP_ATTRIB_VALUE_IS_EXPANDABLE =0x10,
DBGPROP_ATTRIB_VALUE_IS_FAKE = 0x20,
DBGPROP_ATTRIB_VALUE_IS_METHOD = 0x100,
DBGPROP_ATTRIB_VALUE_IS_EVENT = 0x200,
DBGPROP_ATTRIB_VALUE_IS_RAW_STRING = 0x400,
DBGPROP_ATTRIB_VALUE_READONLY = 0x800,
DBGPROP_ATTRIB_ACCESS_PUBLIC = 0x1000,
DBGPROP_ATTRIB_ACCESS_PRIVATE = 0x2000,
DBGPROP_ATTRIB_ACCESS_PROTECTED = 0x4000,
DBGPROP_ATTRIB_ACCESS_FINAL = 0x8000,
DBGPROP_ATTRIB_STORAGE_GLOBAL = 0x10000,
DBGPROP_ATTRIB_STORAGE_STATIC = 0x20000,
DBGPROP_ATTRIB_STORAGE_FIELD = 0x40000,
DBGPROP_ATTRIB_STORAGE_VIRTUAL = 0x80000,
DBGPROP_ATTRIB_TYPE_IS_CONSTANT = 0x100000,
DBGPROP_ATTRIB_TYPE_IS_SYNCHRONIZED = 0x200000,
DBGPROP_ATTRIB_TYPE_IS_VOLATILE = 0x400000,
DBGPROP_ATTRIB_HAS_EXTENDED_ATTRIBS = 0x800000
};
cpp_quote("")
typedef DWORD DBGPROP_ATTRIB_FLAGS;
cpp_quote("")
enum {
DBGPROP_INFO_NAME = 0x1,
DBGPROP_INFO_TYPE = 0x2,
DBGPROP_INFO_VALUE = 0x4,
DBGPROP_INFO_FULLNAME = 0x20,
DBGPROP_INFO_ATTRIBUTES = 0x8,
DBGPROP_INFO_DEBUGPROP = 0x10,
DBGPROP_INFO_BEAUTIFY = 0x2000000,
DBGPROP_INFO_CALLTOSTRING = 0x4000000,
DBGPROP_INFO_AUTOEXPAND = 0x8000000
};
cpp_quote("")
typedef DWORD DBGPROP_INFO_FLAGS;
cpp_quote("")
const DBGPROP_INFO_FLAGS DBGPROP_INFO_STANDARD = DBGPROP_INFO_NAME | DBGPROP_INFO_TYPE | DBGPROP_INFO_VALUE | DBGPROP_INFO_ATTRIBUTES;
const DBGPROP_INFO_FLAGS DBGPROP_INFO_ALL = DBGPROP_INFO_NAME | DBGPROP_INFO_TYPE | DBGPROP_INFO_VALUE | DBGPROP_INFO_FULLNAME | DBGPROP_INFO_ATTRIBUTES | DBGPROP_INFO_DEBUGPROP;
cpp_quote("")
typedef enum tagOBJECT_ATTRIB_FLAG {
OBJECT_ATTRIB_NO_ATTRIB = 0x0,
OBJECT_ATTRIB_NO_NAME = 0x1,
OBJECT_ATTRIB_NO_TYPE = 0x2,
OBJECT_ATTRIB_NO_VALUE = 0x4,
OBJECT_ATTRIB_VALUE_IS_INVALID = 0x8,
OBJECT_ATTRIB_VALUE_IS_OBJECT = 0x10,
OBJECT_ATTRIB_VALUE_IS_ENUM = 0x20,
OBJECT_ATTRIB_VALUE_IS_CUSTOM = 0x40,
OBJECT_ATTRIB_OBJECT_IS_EXPANDABLE =0x070,
OBJECT_ATTRIB_VALUE_HAS_CODE = 0x80,
OBJECT_ATTRIB_TYPE_IS_OBJECT = 0x100,
OBJECT_ATTRIB_TYPE_HAS_CODE = 0x200,
OBJECT_ATTRIB_TYPE_IS_EXPANDABLE = 0x100,
OBJECT_ATTRIB_SLOT_IS_CATEGORY = 0x400,
OBJECT_ATTRIB_VALUE_READONLY = 0x800,
OBJECT_ATTRIB_ACCESS_PUBLIC = 0x1000,
OBJECT_ATTRIB_ACCESS_PRIVATE = 0x2000,
OBJECT_ATTRIB_ACCESS_PROTECTED = 0x4000,
OBJECT_ATTRIB_ACCESS_FINAL = 0x8000,
OBJECT_ATTRIB_STORAGE_GLOBAL = 0x10000,
OBJECT_ATTRIB_STORAGE_STATIC = 0x20000,
OBJECT_ATTRIB_STORAGE_FIELD = 0x40000,
OBJECT_ATTRIB_STORAGE_VIRTUAL = 0x80000,
OBJECT_ATTRIB_TYPE_IS_CONSTANT = 0x100000,
OBJECT_ATTRIB_TYPE_IS_SYNCHRONIZED = 0x200000,
OBJECT_ATTRIB_TYPE_IS_VOLATILE = 0x400000,
OBJECT_ATTRIB_HAS_EXTENDED_ATTRIBS = 0x800000,
OBJECT_ATTRIB_IS_CLASS = 0x1000000,
OBJECT_ATTRIB_IS_FUNCTION = 0x2000000,
OBJECT_ATTRIB_IS_VARIABLE = 0x4000000,
OBJECT_ATTRIB_IS_PROPERTY = 0x8000000,
OBJECT_ATTRIB_IS_MACRO = 0x10000000,
OBJECT_ATTRIB_IS_TYPE = 0x20000000,
OBJECT_ATTRIB_IS_INHERITED = 0x40000000,
OBJECT_ATTRIB_IS_INTERFACE = 0x80000000
} OBJECT_ATTRIB_FLAGS;
cpp_quote("")
typedef enum tagPROP_INFO_FLAGS {
PROP_INFO_NAME = 0x1,
PROP_INFO_TYPE = 0x2,
PROP_INFO_VALUE = 0x4,
PROP_INFO_FULLNAME = 0x20,
PROP_INFO_ATTRIBUTES = 0x8,
PROP_INFO_DEBUGPROP = 0x10,
PROP_INFO_AUTOEXPAND = 0x8000000
} PROP_INFO_FLAGS;
cpp_quote("")
const DWORD PROP_INFO_STANDARD = PROP_INFO_NAME | PROP_INFO_TYPE | PROP_INFO_VALUE | PROP_INFO_ATTRIBUTES;
const DWORD PROP_INFO_ALL = PROP_INFO_NAME | PROP_INFO_TYPE | PROP_INFO_VALUE | PROP_INFO_FULLNAME | PROP_INFO_ATTRIBUTES | PROP_INFO_DEBUGPROP;
cpp_quote("")
typedef struct tagDebugPropertyInfo {
DWORD m_dwValidFields;
BSTR m_bstrName;
BSTR m_bstrType;
BSTR m_bstrValue;
BSTR m_bstrFullName;
DWORD m_dwAttrib;
IDebugProperty *m_pDebugProp;
} DebugPropertyInfo;
cpp_quote("")
typedef enum tagEX_PROP_INFO_FLAGS {
EX_PROP_INFO_ID = 0x100,
EX_PROP_INFO_NTYPE = 0x200,
EX_PROP_INFO_NVALUE = 0x400,
EX_PROP_INFO_LOCKBYTES = 0x800,
EX_PROP_INFO_DEBUGEXTPROP = 0x1000,
} EX_PROP_INFO_FLAGS;
typedef struct tagExtendedDebugPropertyInfo {
DWORD dwValidFields;
LPOLESTR pszName;
LPOLESTR pszType;
LPOLESTR pszValue;
LPOLESTR pszFullName;
DWORD dwAttrib;
IDebugProperty *pDebugProp;
DWORD nDISPID;
DWORD nType;
VARIANT varValue;
ILockBytes *plbValue;
IDebugExtendedProperty *pDebugExtProp;
} ExtendedDebugPropertyInfo;
cpp_quote("")
[object, uuid (51973c50-CB0C-11d0-B5C9-00a0244a0e7a),, pointer_default (unique)]
interface IDebugProperty : IUnknown {
[local] HRESULT GetPropertyInfo ([in] DWORD dwFieldSpec,[in] UINT nRadix,[out] DebugPropertyInfo *pPropertyInfo);
[call_as (GetPropertyInfo)] HRESULT RemoteGetPropertyInfo ([in] DWORD dwFieldSpec,[in] UINT nRadix,[out] DWORD *dwValidFields,[out] BSTR *pbstrName,[out] BSTR *pbstrType,[out] BSTR *pbstrValue,[out] BSTR *pbstrFullName,[out] DWORD *pdwAttrib,[in, out, unique] IDebugProperty **ppDebugProperty);
HRESULT GetExtendedInfo ([in] ULONG cInfos,[in, size_is (cInfos)] GUID *rgguidExtendedInfo,[out, size_is (cInfos)] VARIANT *rgvar);
HRESULT SetValueAsString ([in] LPCOLESTR pszValue,[in] UINT nRadix);
HRESULT EnumMembers ([in] DWORD dwFieldSpec,[in] UINT nRadix,[in] REFIID refiid,[out] IEnumDebugPropertyInfo **ppepi);
HRESULT GetParent ([out] IDebugProperty **ppDebugProp);
};
cpp_quote("")
[object, uuid (51973c51-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IEnumDebugPropertyInfo : IUnknown {
[local] HRESULT Next ([in] ULONG celt,[out] DebugPropertyInfo *pi,[out] ULONG *pcEltsfetched);
[call_as (Next)]
HRESULT __stdcall RemoteNext ([in] ULONG celt,[in, out, unique, size_is (celt), length_is (*pcEltsfetched)] DebugPropertyInfo *pinfo,[out] ULONG *pcEltsfetched);
HRESULT Skip ([in] ULONG celt);
HRESULT Reset (void);
HRESULT Clone ([out] IEnumDebugPropertyInfo **ppepi);
HRESULT GetCount ([out] ULONG *pcelt);
};
cpp_quote("")
[object, uuid (51973c52-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IDebugExtendedProperty : IDebugProperty {
HRESULT GetExtendedPropertyInfo ([in] DWORD dwFieldSpec,[in] UINT nRadix,[out] ExtendedDebugPropertyInfo *pExtendedPropertyInfo);
HRESULT EnumExtendedMembers ([in] DWORD dwFieldSpec,[in] UINT nRadix,[out] IEnumDebugExtendedPropertyInfo **ppeepi);
};
cpp_quote("")
[object, uuid (51973c53-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IEnumDebugExtendedPropertyInfo : IUnknown {
HRESULT Next ([in] ULONG celt,[out, size_is (celt), length_is (*pceltFetched)] ExtendedDebugPropertyInfo *rgExtendedPropertyInfo,[out] ULONG *pceltFetched);
HRESULT Skip ([in] ULONG celt);
HRESULT Reset (void);
HRESULT Clone ([out] IEnumDebugExtendedPropertyInfo **pedpe);
HRESULT GetCount ([out] ULONG *pcelt);
};
cpp_quote("")
[object, uuid (51973c54-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IPerPropertyBrowsing2 : IUnknown {
HRESULT GetDisplayString ([in] DISPID dispid,[out] BSTR *pBstr);
HRESULT MapPropertyToPage ([in] DISPID dispid,[out] CLSID *pClsidPropPage);
HRESULT GetPredefinedStrings ([in] DISPID dispid,[out] CALPOLESTR *pCaStrings,[out] CADWORD *pCaCookies);
HRESULT SetPredefinedValue ([in] DISPID dispid,[in] DWORD dwCookie);
};
cpp_quote("")
[object, uuid (51973c55-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IDebugPropertyEnumType_All : IUnknown {
HRESULT GetName ([out] BSTR *);
};
cpp_quote("")
[object, uuid (51973c56-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IDebugPropertyEnumType_Locals : IDebugPropertyEnumType_All {
};
cpp_quote("")
[object, uuid (51973c57-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IDebugPropertyEnumType_Arguments : IDebugPropertyEnumType_All {
};
cpp_quote("")
[object, uuid (51973c58-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IDebugPropertyEnumType_LocalsPlusArgs : IDebugPropertyEnumType_All {
};
cpp_quote("")
[object, uuid (51973c59-CB0C-11d0-B5C9-00a0244a0e7a), pointer_default (unique)]
interface IDebugPropertyEnumType_Registers : IDebugPropertyEnumType_All {
};
cpp_quote("#endif")

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 1.5.29 from objidlbase.idl - Do not edit ***/
/*** Autogenerated by WIDL 1.6 from objidlbase.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
@ -57,6 +57,11 @@ typedef interface IExternalConnection IExternalConnection;
typedef interface IMultiQI IMultiQI;
#endif
#ifndef __AsyncIMultiQI_FWD_DEFINED__
#define __AsyncIMultiQI_FWD_DEFINED__
typedef interface AsyncIMultiQI AsyncIMultiQI;
#endif
#ifndef __IInternalUnknown_FWD_DEFINED__
#define __IInternalUnknown_FWD_DEFINED__
typedef interface IInternalUnknown IInternalUnknown;
@ -313,6 +318,11 @@ typedef interface IEnumString IEnumString;
typedef interface IMultiQI IMultiQI;
#endif
#ifndef __AsyncIMultiQI_FWD_DEFINED__
#define __AsyncIMultiQI_FWD_DEFINED__
typedef interface AsyncIMultiQI AsyncIMultiQI;
#endif
#endif
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
@ -1327,6 +1337,113 @@ void __RPC_STUB IMultiQI_QueryMultipleInterfaces_Stub(
#endif /* __IMultiQI_INTERFACE_DEFINED__ */
/*****************************************************************************
* AsyncIMultiQI interface
*/
#ifndef __AsyncIMultiQI_INTERFACE_DEFINED__
#define __AsyncIMultiQI_INTERFACE_DEFINED__
DEFINE_GUID(IID_AsyncIMultiQI, 0x000e0020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("000e0020-0000-0000-c000-000000000046")
AsyncIMultiQI : public IUnknown
{
virtual void STDMETHODCALLTYPE Begin_QueryMultipleInterfaces(
ULONG cMQIs,
MULTI_QI *pMQIs) = 0;
virtual HRESULT STDMETHODCALLTYPE Finish_QueryMultipleInterfaces(
MULTI_QI *pMQIs) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(AsyncIMultiQI, 0x000e0020, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
#endif
#else
typedef struct AsyncIMultiQIVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
AsyncIMultiQI* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
AsyncIMultiQI* This);
ULONG (STDMETHODCALLTYPE *Release)(
AsyncIMultiQI* This);
/*** IMultiQI methods ***/
void (STDMETHODCALLTYPE *Begin_QueryMultipleInterfaces)(
AsyncIMultiQI* This,
ULONG cMQIs,
MULTI_QI *pMQIs);
HRESULT (STDMETHODCALLTYPE *Finish_QueryMultipleInterfaces)(
AsyncIMultiQI* This,
MULTI_QI *pMQIs);
END_INTERFACE
} AsyncIMultiQIVtbl;
interface AsyncIMultiQI {
CONST_VTBL AsyncIMultiQIVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define AsyncIMultiQI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define AsyncIMultiQI_AddRef(This) (This)->lpVtbl->AddRef(This)
#define AsyncIMultiQI_Release(This) (This)->lpVtbl->Release(This)
/*** IMultiQI methods ***/
#define AsyncIMultiQI_Begin_QueryMultipleInterfaces(This,cMQIs,pMQIs) (This)->lpVtbl->Begin_QueryMultipleInterfaces(This,cMQIs,pMQIs)
#define AsyncIMultiQI_Finish_QueryMultipleInterfaces(This,pMQIs) (This)->lpVtbl->Finish_QueryMultipleInterfaces(This,pMQIs)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT AsyncIMultiQI_QueryInterface(AsyncIMultiQI* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG AsyncIMultiQI_AddRef(AsyncIMultiQI* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG AsyncIMultiQI_Release(AsyncIMultiQI* This) {
return This->lpVtbl->Release(This);
}
/*** IMultiQI methods ***/
static FORCEINLINE void Begin_AsyncIMultiQI_QueryMultipleInterfaces(AsyncIMultiQI* This,ULONG cMQIs,MULTI_QI *pMQIs) {
This->lpVtbl->Begin_QueryMultipleInterfaces(This,cMQIs,pMQIs);
}
static FORCEINLINE HRESULT Finish_AsyncIMultiQI_QueryMultipleInterfaces(AsyncIMultiQI* This,MULTI_QI *pMQIs) {
return This->lpVtbl->Finish_QueryMultipleInterfaces(This);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE AsyncIMultiQI_Begin_QueryMultipleInterfaces_Proxy(
IMultiQI* This,
ULONG cMQIs,
MULTI_QI *pMQIs);
void __RPC_STUB AsyncIMultiQI_Begin_QueryMultipleInterfaces_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE AsyncIMultiQI_Finish_QueryMultipleInterfaces_Proxy(
IMultiQI* This,
ULONG cMQIs,
MULTI_QI *pMQIs);
void __RPC_STUB AsyncIMultiQI_Finish_QueryMultipleInterfaces_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __AsyncIMultiQI_INTERFACE_DEFINED__ */
#endif
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)

View File

@ -129,10 +129,7 @@ typedef struct tagMULTI_QI {
cpp_quote("")
[object, local, uuid (00000020-0000-0000-C000-000000000046),
#if 0 /* current widl doesn't support that */
async_uuid (000e0020-0000-0000-C000-000000000046)
#endif
]
async_uuid (000e0020-0000-0000-C000-000000000046)]
interface IMultiQI : IUnknown {
HRESULT QueryMultipleInterfaces ([in] ULONG cMQIs,[in, out] MULTI_QI *pMQIs);
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -47,7 +47,7 @@
extern "C" {
#endif
/* #define DefineHandleTable(w) ((w),TRUE) */
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
#define DefineHandleTable(w) ( { (VOID)(w); TRUE; } )
#define LimitEmsPages(dw)
#define SetSwapAreaSize(w) (w)
@ -82,6 +82,9 @@ extern "C" {
#define FILE_FLAG_OPEN_REPARSE_POINT 0x200000
#define FILE_FLAG_OPEN_NO_RECALL 0x100000
#define FILE_FLAG_FIRST_PIPE_INSTANCE 0x80000
#if _WIN32_WINNT >= 0x602
#define FILE_FLAG_OPEN_REQUIRING_OPLOCK 0x40000
#endif
#define PROGRESS_CONTINUE 0
#define PROGRESS_CANCEL 1
@ -95,11 +98,16 @@ extern "C" {
#define COPY_FILE_RESTARTABLE 0x2
#define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x4
#define COPY_FILE_ALLOW_DECRYPTED_DESTINATION 0x8
#if _WIN32_WINNT >= 0x0600
#define COPY_FILE_COPY_SYMLINK 0x0800
#define COPY_FILE_NO_BUFFERING 0x1000
#endif
#define REPLACEFILE_WRITE_THROUGH 0x1
#define REPLACEFILE_IGNORE_MERGE_ERRORS 0x2
#if _WIN32_WINNT >= 0x0600
#define REPLACEFILE_IGNORE_ACL_ERRORS 0x4
#endif
#define PIPE_ACCESS_INBOUND 0x1
#define PIPE_ACCESS_OUTBOUND 0x2
@ -114,10 +122,8 @@ extern "C" {
#define PIPE_READMODE_MESSAGE 0x2
#define PIPE_TYPE_BYTE 0x0
#define PIPE_TYPE_MESSAGE 0x4
#if (_WIN32_WINNT >= 0x0600)
#define PIPE_ACCEPT_REMOTE_CLIENTS 0x0
#define PIPE_REJECT_REMOTE_CLIENTS 0x8
#endif
#define PIPE_UNLIMITED_INSTANCES 255
@ -147,6 +153,9 @@ extern "C" {
typedef LPVOID LPLDT_ENTRY;
#endif
#define FAIL_FAST_GENERATE_EXCEPTION_ADDRESS 0x1
#define FAIL_FAST_NO_HARD_ERROR_DLG 0x2
#define CRITICAL_SECTION_NO_DEBUG_INFO RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO
#define SP_SERIALCOMM ((DWORD)0x1)
@ -356,6 +365,8 @@ extern "C" {
SIZE_T dwAvailVirtual;
} MEMORYSTATUS,*LPMEMORYSTATUS;
#define NUMA_NO_PREFERRED_NODE ((DWORD) -1)
#define DEBUG_PROCESS 0x1
#define DEBUG_ONLY_THIS_PROCESS 0x2
#define CREATE_SUSPENDED 0x4
@ -372,20 +383,23 @@ extern "C" {
#define CREATE_FORCEDOS 0x2000
#define BELOW_NORMAL_PRIORITY_CLASS 0x4000
#define ABOVE_NORMAL_PRIORITY_CLASS 0x8000
#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x10000
#define INHERIT_PARENT_AFFINITY 0x10000
#define INHERIT_CALLER_PRIORITY 0x20000
#define CREATE_PROTECTED_PROCESS 0x40000
#define EXTENDED_STARTUPINFO_PRESENT 0x00080000
#define PROCESS_MODE_BACKGROUND_BEGIN 0x100000
#define PROCESS_MODE_BACKGROUND_END 0x200000
#define CREATE_BREAKAWAY_FROM_JOB 0x1000000
#define CREATE_PRESERVE_CODE_AUTHZ_LEVEL 0x2000000
#define CREATE_DEFAULT_ERROR_MODE 0x4000000
#define CREATE_NO_WINDOW 0x8000000
#define PROFILE_USER 0x10000000
#define PROFILE_KERNEL 0x20000000
#define PROFILE_SERVER 0x40000000
#define CREATE_IGNORE_SYSTEM_DEFAULT 0x80000000
#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x10000
#define THREAD_PRIORITY_LOWEST THREAD_BASE_PRIORITY_MIN
#define THREAD_PRIORITY_BELOW_NORMAL (THREAD_PRIORITY_LOWEST+1)
#define THREAD_PRIORITY_NORMAL 0
@ -399,6 +413,15 @@ extern "C" {
#define THREAD_PRIORITY_TIME_CRITICAL THREAD_BASE_PRIORITY_LOWRT
#define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE
#define VOLUME_NAME_DOS 0x0
#define VOLUME_NAME_GUID 0x1
#define VOLUME_NAME_NT 0x2
#define VOLUME_NAME_NONE 0x4
#define FILE_NAME_NORMALIZED 0x0
#define FILE_NAME_OPENED 0x8
#endif /* $$$$ */
typedef PEXCEPTION_RECORD LPEXCEPTION_RECORD;
typedef PEXCEPTION_POINTERS LPEXCEPTION_POINTERS;
@ -1102,6 +1125,7 @@ extern "C" {
WINBASEAPI DWORD WINAPI FormatMessageA(DWORD dwFlags,LPCVOID lpSource,DWORD dwMessageId,DWORD dwLanguageId,LPSTR lpBuffer,DWORD nSize,va_list *Arguments);
WINBASEAPI DWORD WINAPI FormatMessageW(DWORD dwFlags,LPCVOID lpSource,DWORD dwMessageId,DWORD dwLanguageId,LPWSTR lpBuffer,DWORD nSize,va_list *Arguments);
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
#ifndef __cplusplus
#define GetCurrentTime() GetTickCount()
#else
@ -1109,6 +1133,7 @@ extern "C" {
return GetTickCount();
}
#endif
#endif
#define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x100
#define FORMAT_MESSAGE_IGNORE_INSERTS 0x200
@ -1983,7 +2008,6 @@ extern "C" {
#if (_WIN32_WINNT >= 0x0600)
#define SYMBOLIC_LINK_FLAG_FILE 0x0
#define SYMBOLIC_LINK_FLAG_DIRECTORY 0x1
#define EXTENDED_STARTUPINFO_PRESENT 0x00080000
#define CreateSymbolicLink __MINGW_NAME_AW(CreateSymbolicLink)
#define OpenPrivateNamespace __MINGW_NAME_AW(OpenPrivateNamespace)
@ -2467,14 +2491,6 @@ WINBASEAPI WINBOOL WINAPI GetFileInformationByHandleEx(
DWORD dwBufferSize
);
#define VOLUME_NAME_DOS 0x0
#define VOLUME_NAME_GUID 0x1
#define VOLUME_NAME_NT 0x2
#define VOLUME_NAME_NONE 0x4
#define FILE_NAME_NORMALIZED 0x0
#define FILE_NAME_OPENED 0x8
#define GetFullPathNameTransacted __MINGW_NAME_AW(GetFullPathNameTransacted)
WINBASEAPI DWORD WINAPI GetFullPathNameTransactedA(