| propsys.h (7.00.6002.18005-Windows 6.0) | | propsys.h (7.00.7601.17514-Windows 7.0) |
| | |
| /* this ALWAYS GENERATED file contains the definitions for the interfaces */ | | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| | |
|
| /* File created by MIDL compiler version 7.00.0499 */ | | /* File created by MIDL compiler version 7.00.0555 */ |
| /* Compiler settings for propsys.idl: | | /* Compiler settings for propsys.idl: |
|
| Oicf, W1, Zp8, env=Win32 (32b run) | | Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 |
| protocol : dce , ms_ext, c_ext, robust | | protocol : dce , ms_ext, c_ext, robust |
| error checks: allocation ref bounds_check enum stub_data | | error checks: allocation ref bounds_check enum stub_data |
| VC __declspec() decoration level: | | VC __declspec() decoration level: |
| __declspec(uuid()), __declspec(selectany), __declspec(novtable) | | __declspec(uuid()), __declspec(selectany), __declspec(novtable) |
| DECLSPEC_UUID(), MIDL_INTERFACE() | | DECLSPEC_UUID(), MIDL_INTERFACE() |
| */ | | */ |
|
| //@@MIDL_FILE_HEADING( ) | | /* @@MIDL_FILE_HEADING( ) */ |
| | |
| #pragma warning( disable: 4049 ) /* more than 64k source lines */ | | #pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| | |
| /* verify that the <rpcndr.h> version is high enough to compile this file*/ | | /* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ | | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
|
| #define __REQUIRED_RPCNDR_H_VERSION__ 475 | | #define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| #endif | | #endif |
| | |
| /* verify that the <rpcsal.h> version is high enough to compile this file*/ | | /* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| #ifndef __REQUIRED_RPCSAL_H_VERSION__ | | #ifndef __REQUIRED_RPCSAL_H_VERSION__ |
| #define __REQUIRED_RPCSAL_H_VERSION__ 100 | | #define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| #endif | | #endif |
| | |
| #include "rpc.h" | | #include "rpc.h" |
| #include "rpcndr.h" | | #include "rpcndr.h" |
| | |
| | |
| skipping to change at line 98 | | skipping to change at line 98 |
| #ifndef __IPropertyStoreCache_FWD_DEFINED__ | | #ifndef __IPropertyStoreCache_FWD_DEFINED__ |
| #define __IPropertyStoreCache_FWD_DEFINED__ | | #define __IPropertyStoreCache_FWD_DEFINED__ |
| typedef interface IPropertyStoreCache IPropertyStoreCache; | | typedef interface IPropertyStoreCache IPropertyStoreCache; |
| #endif /* __IPropertyStoreCache_FWD_DEFINED__ */ | | #endif /* __IPropertyStoreCache_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertyEnumType_FWD_DEFINED__ | | #ifndef __IPropertyEnumType_FWD_DEFINED__ |
| #define __IPropertyEnumType_FWD_DEFINED__ | | #define __IPropertyEnumType_FWD_DEFINED__ |
| typedef interface IPropertyEnumType IPropertyEnumType; | | typedef interface IPropertyEnumType IPropertyEnumType; |
| #endif /* __IPropertyEnumType_FWD_DEFINED__ */ | | #endif /* __IPropertyEnumType_FWD_DEFINED__ */ |
| | |
|
| | #ifndef __IPropertyEnumType2_FWD_DEFINED__ |
| | #define __IPropertyEnumType2_FWD_DEFINED__ |
| | typedef interface IPropertyEnumType2 IPropertyEnumType2; |
| | #endif /* __IPropertyEnumType2_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertyEnumTypeList_FWD_DEFINED__ | | #ifndef __IPropertyEnumTypeList_FWD_DEFINED__ |
| #define __IPropertyEnumTypeList_FWD_DEFINED__ | | #define __IPropertyEnumTypeList_FWD_DEFINED__ |
| typedef interface IPropertyEnumTypeList IPropertyEnumTypeList; | | typedef interface IPropertyEnumTypeList IPropertyEnumTypeList; |
| #endif /* __IPropertyEnumTypeList_FWD_DEFINED__ */ | | #endif /* __IPropertyEnumTypeList_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescription_FWD_DEFINED__ | | #ifndef __IPropertyDescription_FWD_DEFINED__ |
| #define __IPropertyDescription_FWD_DEFINED__ | | #define __IPropertyDescription_FWD_DEFINED__ |
| typedef interface IPropertyDescription IPropertyDescription; | | typedef interface IPropertyDescription IPropertyDescription; |
| #endif /* __IPropertyDescription_FWD_DEFINED__ */ | | #endif /* __IPropertyDescription_FWD_DEFINED__ */ |
| | |
|
| | #ifndef __IPropertyDescription2_FWD_DEFINED__ |
| | #define __IPropertyDescription2_FWD_DEFINED__ |
| | typedef interface IPropertyDescription2 IPropertyDescription2; |
| | #endif /* __IPropertyDescription2_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescriptionAliasInfo_FWD_DEFINED__ | | #ifndef __IPropertyDescriptionAliasInfo_FWD_DEFINED__ |
| #define __IPropertyDescriptionAliasInfo_FWD_DEFINED__ | | #define __IPropertyDescriptionAliasInfo_FWD_DEFINED__ |
| typedef interface IPropertyDescriptionAliasInfo IPropertyDescriptionAliasInfo; | | typedef interface IPropertyDescriptionAliasInfo IPropertyDescriptionAliasInfo; |
| #endif /* __IPropertyDescriptionAliasInfo_FWD_DEFINED__ */ | | #endif /* __IPropertyDescriptionAliasInfo_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescriptionSearchInfo_FWD_DEFINED__ | | #ifndef __IPropertyDescriptionSearchInfo_FWD_DEFINED__ |
| #define __IPropertyDescriptionSearchInfo_FWD_DEFINED__ | | #define __IPropertyDescriptionSearchInfo_FWD_DEFINED__ |
| typedef interface IPropertyDescriptionSearchInfo IPropertyDescriptionSearchInfo; | | typedef interface IPropertyDescriptionSearchInfo IPropertyDescriptionSearchInfo; |
| #endif /* __IPropertyDescriptionSearchInfo_FWD_DEFINED__ */ | | #endif /* __IPropertyDescriptionSearchInfo_FWD_DEFINED__ */ |
| | |
|
| | #ifndef __IPropertyDescriptionRelatedPropertyInfo_FWD_DEFINED__ |
| | #define __IPropertyDescriptionRelatedPropertyInfo_FWD_DEFINED__ |
| | typedef interface IPropertyDescriptionRelatedPropertyInfo IPropertyDescriptionRe |
| | latedPropertyInfo; |
| | #endif /* __IPropertyDescriptionRelatedPropertyInfo_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertySystem_FWD_DEFINED__ | | #ifndef __IPropertySystem_FWD_DEFINED__ |
| #define __IPropertySystem_FWD_DEFINED__ | | #define __IPropertySystem_FWD_DEFINED__ |
| typedef interface IPropertySystem IPropertySystem; | | typedef interface IPropertySystem IPropertySystem; |
| #endif /* __IPropertySystem_FWD_DEFINED__ */ | | #endif /* __IPropertySystem_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescriptionList_FWD_DEFINED__ | | #ifndef __IPropertyDescriptionList_FWD_DEFINED__ |
| #define __IPropertyDescriptionList_FWD_DEFINED__ | | #define __IPropertyDescriptionList_FWD_DEFINED__ |
| typedef interface IPropertyDescriptionList IPropertyDescriptionList; | | typedef interface IPropertyDescriptionList IPropertyDescriptionList; |
| #endif /* __IPropertyDescriptionList_FWD_DEFINED__ */ | | #endif /* __IPropertyDescriptionList_FWD_DEFINED__ */ |
| | |
| | |
| skipping to change at line 143 | | skipping to change at line 158 |
| #ifndef __IDelayedPropertyStoreFactory_FWD_DEFINED__ | | #ifndef __IDelayedPropertyStoreFactory_FWD_DEFINED__ |
| #define __IDelayedPropertyStoreFactory_FWD_DEFINED__ | | #define __IDelayedPropertyStoreFactory_FWD_DEFINED__ |
| typedef interface IDelayedPropertyStoreFactory IDelayedPropertyStoreFactory; | | typedef interface IDelayedPropertyStoreFactory IDelayedPropertyStoreFactory; |
| #endif /* __IDelayedPropertyStoreFactory_FWD_DEFINED__ */ | | #endif /* __IDelayedPropertyStoreFactory_FWD_DEFINED__ */ |
| | |
| #ifndef __IPersistSerializedPropStorage_FWD_DEFINED__ | | #ifndef __IPersistSerializedPropStorage_FWD_DEFINED__ |
| #define __IPersistSerializedPropStorage_FWD_DEFINED__ | | #define __IPersistSerializedPropStorage_FWD_DEFINED__ |
| typedef interface IPersistSerializedPropStorage IPersistSerializedPropStorage; | | typedef interface IPersistSerializedPropStorage IPersistSerializedPropStorage; |
| #endif /* __IPersistSerializedPropStorage_FWD_DEFINED__ */ | | #endif /* __IPersistSerializedPropStorage_FWD_DEFINED__ */ |
| | |
|
| | #ifndef __IPersistSerializedPropStorage2_FWD_DEFINED__ |
| | #define __IPersistSerializedPropStorage2_FWD_DEFINED__ |
| | typedef interface IPersistSerializedPropStorage2 IPersistSerializedPropStorage2; |
| | #endif /* __IPersistSerializedPropStorage2_FWD_DEFINED__ */ |
| | |
| #ifndef __IPropertySystemChangeNotify_FWD_DEFINED__ | | #ifndef __IPropertySystemChangeNotify_FWD_DEFINED__ |
| #define __IPropertySystemChangeNotify_FWD_DEFINED__ | | #define __IPropertySystemChangeNotify_FWD_DEFINED__ |
| typedef interface IPropertySystemChangeNotify IPropertySystemChangeNotify; | | typedef interface IPropertySystemChangeNotify IPropertySystemChangeNotify; |
| #endif /* __IPropertySystemChangeNotify_FWD_DEFINED__ */ | | #endif /* __IPropertySystemChangeNotify_FWD_DEFINED__ */ |
| | |
| #ifndef __ICreateObject_FWD_DEFINED__ | | #ifndef __ICreateObject_FWD_DEFINED__ |
| #define __ICreateObject_FWD_DEFINED__ | | #define __ICreateObject_FWD_DEFINED__ |
| typedef interface ICreateObject ICreateObject; | | typedef interface ICreateObject ICreateObject; |
| #endif /* __ICreateObject_FWD_DEFINED__ */ | | #endif /* __ICreateObject_FWD_DEFINED__ */ |
| | |
| | |
| skipping to change at line 180 | | skipping to change at line 200 |
| typedef struct PropertySystem PropertySystem; | | typedef struct PropertySystem PropertySystem; |
| #endif /* __cplusplus */ | | #endif /* __cplusplus */ |
| | |
| #endif /* __PropertySystem_FWD_DEFINED__ */ | | #endif /* __PropertySystem_FWD_DEFINED__ */ |
| | |
| /* header files for imported files */ | | /* header files for imported files */ |
| #include "objidl.h" | | #include "objidl.h" |
| #include "oleidl.h" | | #include "oleidl.h" |
| #include "ocidl.h" | | #include "ocidl.h" |
| #include "shtypes.h" | | #include "shtypes.h" |
|
| #include "structuredquery.h" | | #include "StructuredQueryCondition.h" |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C"{ | | extern "C"{ |
| #endif | | #endif |
| | |
| /* interface __MIDL_itf_propsys_0000_0000 */ | | /* interface __MIDL_itf_propsys_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
| #ifndef PSSTDAPI | | #ifndef PSSTDAPI |
| #if defined(_PROPSYS_) | | #if defined(_PROPSYS_) |
| | |
| skipping to change at line 222 | | skipping to change at line 242 |
| | |
| EXTERN_C const IID IID_IInitializeWithFile; | | EXTERN_C const IID IID_IInitializeWithFile; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("b7d14566-0509-4cce-a71f-0a554233bd9b") | | MIDL_INTERFACE("b7d14566-0509-4cce-a71f-0a554233bd9b") |
| IInitializeWithFile : public IUnknown | | IInitializeWithFile : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE Initialize( | | virtual HRESULT STDMETHODCALLTYPE Initialize( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszFilePath, | | /* [string][in] */ __RPC__in_string LPCWSTR pszFilePath, |
| /* [in] */ DWORD grfMode) = 0; | | /* [in] */ DWORD grfMode) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IInitializeWithFileVtbl | | typedef struct IInitializeWithFileVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IInitializeWithFile * This, | | __RPC__in IInitializeWithFile * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IInitializeWithFile * This); | | __RPC__in IInitializeWithFile * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IInitializeWithFile * This); | | __RPC__in IInitializeWithFile * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Initialize )( | | HRESULT ( STDMETHODCALLTYPE *Initialize )( |
|
| IInitializeWithFile * This, | | __RPC__in IInitializeWithFile * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszFilePath, | | /* [string][in] */ __RPC__in_string LPCWSTR pszFilePath, |
| /* [in] */ DWORD grfMode); | | /* [in] */ DWORD grfMode); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IInitializeWithFileVtbl; | | } IInitializeWithFileVtbl; |
| | |
| interface IInitializeWithFile | | interface IInitializeWithFile |
| { | | { |
| CONST_VTBL struct IInitializeWithFileVtbl *lpVtbl; | | CONST_VTBL struct IInitializeWithFileVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 293 | | skipping to change at line 313 |
| | |
| EXTERN_C const IID IID_IInitializeWithStream; | | EXTERN_C const IID IID_IInitializeWithStream; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("b824b49d-22ac-4161-ac8a-9916e8fa3f7f") | | MIDL_INTERFACE("b824b49d-22ac-4161-ac8a-9916e8fa3f7f") |
| IInitializeWithStream : public IUnknown | | IInitializeWithStream : public IUnknown |
| { | | { |
| public: | | public: |
| virtual /* [local] */ HRESULT STDMETHODCALLTYPE Initialize( | | virtual /* [local] */ HRESULT STDMETHODCALLTYPE Initialize( |
|
| /* [in] */ IStream *pstream, | | /* [annotation][in] */ |
| /* [in] */ DWORD grfMode) = 0; | | __in IStream *pstream, |
| | /* [annotation][in] */ |
| | __in DWORD grfMode) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IInitializeWithStreamVtbl | | typedef struct IInitializeWithStreamVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IInitializeWithStream * This, | | __RPC__in IInitializeWithStream * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IInitializeWithStream * This); | | __RPC__in IInitializeWithStream * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IInitializeWithStream * This); | | __RPC__in IInitializeWithStream * This); |
| | |
| /* [local] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( | | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( |
| IInitializeWithStream * This, | | IInitializeWithStream * This, |
|
| /* [in] */ IStream *pstream, | | /* [annotation][in] */ |
| /* [in] */ DWORD grfMode); | | __in IStream *pstream, |
| | /* [annotation][in] */ |
| | __in DWORD grfMode); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IInitializeWithStreamVtbl; | | } IInitializeWithStreamVtbl; |
| | |
| interface IInitializeWithStream | | interface IInitializeWithStream |
| { | | { |
| CONST_VTBL struct IInitializeWithStreamVtbl *lpVtbl; | | CONST_VTBL struct IInitializeWithStreamVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 348 | | skipping to change at line 372 |
| ( (This)->lpVtbl -> Release(This) ) | | ( (This)->lpVtbl -> Release(This) ) |
| | |
| #define IInitializeWithStream_Initialize(This,pstream,grfMode) \ | | #define IInitializeWithStream_Initialize(This,pstream,grfMode) \ |
| ( (This)->lpVtbl -> Initialize(This,pstream,grfMode) ) | | ( (This)->lpVtbl -> Initialize(This,pstream,grfMode) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| /* [call_as] */ HRESULT STDMETHODCALLTYPE IInitializeWithStream_RemoteInitialize
_Proxy( | | /* [call_as] */ HRESULT STDMETHODCALLTYPE IInitializeWithStream_RemoteInitialize
_Proxy( |
|
| IInitializeWithStream * This, | | __RPC__in IInitializeWithStream * This, |
| /* [in] */ __RPC__in_opt IStream *pstream, | | /* [in] */ __RPC__in_opt IStream *pstream, |
| /* [in] */ DWORD grfMode); | | /* [in] */ DWORD grfMode); |
| | |
| void __RPC_STUB IInitializeWithStream_RemoteInitialize_Stub( | | void __RPC_STUB IInitializeWithStream_RemoteInitialize_Stub( |
| IRpcStubBuffer *This, | | IRpcStubBuffer *This, |
| IRpcChannelBuffer *_pRpcChannelBuffer, | | IRpcChannelBuffer *_pRpcChannelBuffer, |
| PRPC_MESSAGE _pRpcMessage, | | PRPC_MESSAGE _pRpcMessage, |
| DWORD *_pdwStubPhase); | | DWORD *_pdwStubPhase); |
| | |
| #endif /* __IInitializeWithStream_INTERFACE_DEFINED__ */ | | #endif /* __IInitializeWithStream_INTERFACE_DEFINED__ */ |
| | |
| skipping to change at line 400 | | skipping to change at line 424 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyStoreVtbl | | typedef struct IPropertyStoreVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyStore * This, | | __RPC__in IPropertyStore * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyStore * This); | | __RPC__in IPropertyStore * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyStore * This); | | __RPC__in IPropertyStore * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCount )( | | HRESULT ( STDMETHODCALLTYPE *GetCount )( |
|
| IPropertyStore * This, | | __RPC__in IPropertyStore * This, |
| /* [out] */ __RPC__out DWORD *cProps); | | /* [out] */ __RPC__out DWORD *cProps); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAt )( | | HRESULT ( STDMETHODCALLTYPE *GetAt )( |
|
| IPropertyStore * This, | | __RPC__in IPropertyStore * This, |
| /* [in] */ DWORD iProp, | | /* [in] */ DWORD iProp, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetValue )( | | HRESULT ( STDMETHODCALLTYPE *GetValue )( |
|
| IPropertyStore * This, | | __RPC__in IPropertyStore * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [out] */ __RPC__out PROPVARIANT *pv); | | /* [out] */ __RPC__out PROPVARIANT *pv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetValue )( | | HRESULT ( STDMETHODCALLTYPE *SetValue )( |
|
| IPropertyStore * This, | | __RPC__in IPropertyStore * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar); | | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Commit )( | | HRESULT ( STDMETHODCALLTYPE *Commit )( |
|
| IPropertyStore * This); | | __RPC__in IPropertyStore * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyStoreVtbl; | | } IPropertyStoreVtbl; |
| | |
| interface IPropertyStore | | interface IPropertyStore |
| { | | { |
| CONST_VTBL struct IPropertyStoreVtbl *lpVtbl; | | CONST_VTBL struct IPropertyStoreVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 496 | | skipping to change at line 520 |
| | |
| EXTERN_C const IID IID_INamedPropertyStore; | | EXTERN_C const IID IID_INamedPropertyStore; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("71604b0f-97b0-4764-8577-2f13e98a1422") | | MIDL_INTERFACE("71604b0f-97b0-4764-8577-2f13e98a1422") |
| INamedPropertyStore : public IUnknown | | INamedPropertyStore : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetNamedValue( | | virtual HRESULT STDMETHODCALLTYPE GetNamedValue( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszName, | | /* [string][in] */ __RPC__in_string LPCWSTR pszName, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvar) = 0; | | /* [out] */ __RPC__out PROPVARIANT *ppropvar) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetNamedValue( | | virtual HRESULT STDMETHODCALLTYPE SetNamedValue( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszName, | | /* [string][in] */ __RPC__in_string LPCWSTR pszName, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar) = 0; | | /* [in] */ __RPC__in REFPROPVARIANT propvar) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNameCount( | | virtual HRESULT STDMETHODCALLTYPE GetNameCount( |
| /* [out] */ __RPC__out DWORD *pdwCount) = 0; | | /* [out] */ __RPC__out DWORD *pdwCount) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetNameAt( | | virtual HRESULT STDMETHODCALLTYPE GetNameAt( |
| /* [in] */ DWORD iProp, | | /* [in] */ DWORD iProp, |
| /* [out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; | | /* [out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct INamedPropertyStoreVtbl | | typedef struct INamedPropertyStoreVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| INamedPropertyStore * This, | | __RPC__in INamedPropertyStore * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| INamedPropertyStore * This); | | __RPC__in INamedPropertyStore * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| INamedPropertyStore * This); | | __RPC__in INamedPropertyStore * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNamedValue )( | | HRESULT ( STDMETHODCALLTYPE *GetNamedValue )( |
|
| INamedPropertyStore * This, | | __RPC__in INamedPropertyStore * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszName, | | /* [string][in] */ __RPC__in_string LPCWSTR pszName, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvar); | | /* [out] */ __RPC__out PROPVARIANT *ppropvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetNamedValue )( | | HRESULT ( STDMETHODCALLTYPE *SetNamedValue )( |
|
| INamedPropertyStore * This, | | __RPC__in INamedPropertyStore * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszName, | | /* [string][in] */ __RPC__in_string LPCWSTR pszName, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar); | | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNameCount )( | | HRESULT ( STDMETHODCALLTYPE *GetNameCount )( |
|
| INamedPropertyStore * This, | | __RPC__in INamedPropertyStore * This, |
| /* [out] */ __RPC__out DWORD *pdwCount); | | /* [out] */ __RPC__out DWORD *pdwCount); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetNameAt )( | | HRESULT ( STDMETHODCALLTYPE *GetNameAt )( |
|
| INamedPropertyStore * This, | | __RPC__in INamedPropertyStore * This, |
| /* [in] */ DWORD iProp, | | /* [in] */ DWORD iProp, |
| /* [out] */ __RPC__deref_out_opt BSTR *pbstrName); | | /* [out] */ __RPC__deref_out_opt BSTR *pbstrName); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } INamedPropertyStoreVtbl; | | } INamedPropertyStoreVtbl; |
| | |
| interface INamedPropertyStore | | interface INamedPropertyStore |
| { | | { |
| CONST_VTBL struct INamedPropertyStoreVtbl *lpVtbl; | | CONST_VTBL struct INamedPropertyStoreVtbl *lpVtbl; |
| }; | | }; |
| | |
| skipping to change at line 589 | | skipping to change at line 613 |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __INamedPropertyStore_INTERFACE_DEFINED__ */ | | #endif /* __INamedPropertyStore_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_propsys_0000_0004 */ | | /* interface __MIDL_itf_propsys_0000_0004 */ |
| /* [local] */ | | /* [local] */ |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagGETPROPERTYSTOREFLAGS | | enum GETPROPERTYSTOREFLAGS |
| { GPS_DEFAULT = 0, | | { GPS_DEFAULT = 0, |
| GPS_HANDLERPROPERTIESONLY = 0x1, | | GPS_HANDLERPROPERTIESONLY = 0x1, |
| GPS_READWRITE = 0x2, | | GPS_READWRITE = 0x2, |
| GPS_TEMPORARY = 0x4, | | GPS_TEMPORARY = 0x4, |
| GPS_FASTPROPERTIESONLY = 0x8, | | GPS_FASTPROPERTIESONLY = 0x8, |
| GPS_OPENSLOWITEM = 0x10, | | GPS_OPENSLOWITEM = 0x10, |
| GPS_DELAYCREATION = 0x20, | | GPS_DELAYCREATION = 0x20, |
| GPS_BESTEFFORT = 0x40, | | GPS_BESTEFFORT = 0x40, |
|
| GPS_MASK_VALID = 0x7f | | GPS_NO_OPLOCK = 0x80, |
| } ; | | GPS_MASK_VALID = 0xff |
| typedef int GETPROPERTYSTOREFLAGS; | | } GETPROPERTYSTOREFLAGS; |
| | |
| | DEFINE_ENUM_FLAG_OPERATORS(GETPROPERTYSTOREFLAGS) |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0004_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0004_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0004_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0004_v0_0_s_ifspec; |
| | |
| #ifndef __IObjectWithPropertyKey_INTERFACE_DEFINED__ | | #ifndef __IObjectWithPropertyKey_INTERFACE_DEFINED__ |
| #define __IObjectWithPropertyKey_INTERFACE_DEFINED__ | | #define __IObjectWithPropertyKey_INTERFACE_DEFINED__ |
| | |
| /* interface IObjectWithPropertyKey */ | | /* interface IObjectWithPropertyKey */ |
| /* [uuid][object] */ | | /* [uuid][object] */ |
| | |
| | |
| skipping to change at line 635 | | skipping to change at line 661 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IObjectWithPropertyKeyVtbl | | typedef struct IObjectWithPropertyKeyVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IObjectWithPropertyKey * This, | | __RPC__in IObjectWithPropertyKey * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IObjectWithPropertyKey * This); | | __RPC__in IObjectWithPropertyKey * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IObjectWithPropertyKey * This); | | __RPC__in IObjectWithPropertyKey * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *SetPropertyKey )( |
|
| IObjectWithPropertyKey * This, | | __RPC__in IObjectWithPropertyKey * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key); | | /* [in] */ __RPC__in REFPROPERTYKEY key); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
|
| IObjectWithPropertyKey * This, | | __RPC__in IObjectWithPropertyKey * This, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IObjectWithPropertyKeyVtbl; | | } IObjectWithPropertyKeyVtbl; |
| | |
| interface IObjectWithPropertyKey | | interface IObjectWithPropertyKey |
| { | | { |
| CONST_VTBL struct IObjectWithPropertyKeyVtbl *lpVtbl; | | CONST_VTBL struct IObjectWithPropertyKeyVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 689 | | skipping to change at line 715 |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IObjectWithPropertyKey_INTERFACE_DEFINED__ */ | | #endif /* __IObjectWithPropertyKey_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_propsys_0000_0005 */ | | /* interface __MIDL_itf_propsys_0000_0005 */ |
| /* [local] */ | | /* [local] */ |
| | |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
|
| enum tagPKA_FLAGS | | enum PKA_FLAGS |
| { PKA_SET = 0, | | { PKA_SET = 0, |
| PKA_APPEND = ( PKA_SET + 1 ) , | | PKA_APPEND = ( PKA_SET + 1 ) , |
| PKA_DELETE = ( PKA_APPEND + 1 ) | | PKA_DELETE = ( PKA_APPEND + 1 ) |
| } PKA_FLAGS; | | } PKA_FLAGS; |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0005_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0005_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0005_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0005_v0_0_s_ifspec; |
| | |
| #ifndef __IPropertyChange_INTERFACE_DEFINED__ | | #ifndef __IPropertyChange_INTERFACE_DEFINED__ |
| #define __IPropertyChange_INTERFACE_DEFINED__ | | #define __IPropertyChange_INTERFACE_DEFINED__ |
| | |
| skipping to change at line 725 | | skipping to change at line 751 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyChangeVtbl | | typedef struct IPropertyChangeVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyChange * This, | | __RPC__in IPropertyChange * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyChange * This); | | __RPC__in IPropertyChange * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyChange * This); | | __RPC__in IPropertyChange * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *SetPropertyKey )( |
|
| IPropertyChange * This, | | __RPC__in IPropertyChange * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key); | | /* [in] */ __RPC__in REFPROPERTYKEY key); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
|
| IPropertyChange * This, | | __RPC__in IPropertyChange * This, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ApplyToPropVariant )( | | HRESULT ( STDMETHODCALLTYPE *ApplyToPropVariant )( |
|
| IPropertyChange * This, | | __RPC__in IPropertyChange * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvarIn, | | /* [in] */ __RPC__in REFPROPVARIANT propvarIn, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvarOut); | | /* [out] */ __RPC__out PROPVARIANT *ppropvarOut); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyChangeVtbl; | | } IPropertyChangeVtbl; |
| | |
| interface IPropertyChange | | interface IPropertyChange |
| { | | { |
| CONST_VTBL struct IPropertyChangeVtbl *lpVtbl; | | CONST_VTBL struct IPropertyChangeVtbl *lpVtbl; |
| }; | | }; |
| | |
| skipping to change at line 830 | | skipping to change at line 856 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyChangeArrayVtbl | | typedef struct IPropertyChangeArrayVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyChangeArray * This); | | __RPC__in IPropertyChangeArray * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyChangeArray * This); | | __RPC__in IPropertyChangeArray * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCount )( | | HRESULT ( STDMETHODCALLTYPE *GetCount )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [out] */ __RPC__out UINT *pcOperations); | | /* [out] */ __RPC__out UINT *pcOperations); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAt )( | | HRESULT ( STDMETHODCALLTYPE *GetAt )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ UINT iIndex, | | /* [in] */ UINT iIndex, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *InsertAt )( | | HRESULT ( STDMETHODCALLTYPE *InsertAt )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ UINT iIndex, | | /* [in] */ UINT iIndex, |
| /* [in] */ __RPC__in_opt IPropertyChange *ppropChange); | | /* [in] */ __RPC__in_opt IPropertyChange *ppropChange); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Append )( | | HRESULT ( STDMETHODCALLTYPE *Append )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ __RPC__in_opt IPropertyChange *ppropChange); | | /* [in] */ __RPC__in_opt IPropertyChange *ppropChange); |
| | |
| HRESULT ( STDMETHODCALLTYPE *AppendOrReplace )( | | HRESULT ( STDMETHODCALLTYPE *AppendOrReplace )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ __RPC__in_opt IPropertyChange *ppropChange); | | /* [in] */ __RPC__in_opt IPropertyChange *ppropChange); |
| | |
| HRESULT ( STDMETHODCALLTYPE *RemoveAt )( | | HRESULT ( STDMETHODCALLTYPE *RemoveAt )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ UINT iIndex); | | /* [in] */ UINT iIndex); |
| | |
| HRESULT ( STDMETHODCALLTYPE *IsKeyInArray )( | | HRESULT ( STDMETHODCALLTYPE *IsKeyInArray )( |
|
| IPropertyChangeArray * This, | | __RPC__in IPropertyChangeArray * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key); | | /* [in] */ __RPC__in REFPROPERTYKEY key); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyChangeArrayVtbl; | | } IPropertyChangeArrayVtbl; |
| | |
| interface IPropertyChangeArray | | interface IPropertyChangeArray |
| { | | { |
| CONST_VTBL struct IPropertyChangeArrayVtbl *lpVtbl; | | CONST_VTBL struct IPropertyChangeArrayVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 944 | | skipping to change at line 970 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyStoreCapabilitiesVtbl | | typedef struct IPropertyStoreCapabilitiesVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyStoreCapabilities * This, | | __RPC__in IPropertyStoreCapabilities * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyStoreCapabilities * This); | | __RPC__in IPropertyStoreCapabilities * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyStoreCapabilities * This); | | __RPC__in IPropertyStoreCapabilities * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *IsPropertyWritable )( | | HRESULT ( STDMETHODCALLTYPE *IsPropertyWritable )( |
|
| IPropertyStoreCapabilities * This, | | __RPC__in IPropertyStoreCapabilities * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key); | | /* [in] */ __RPC__in REFPROPERTYKEY key); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyStoreCapabilitiesVtbl; | | } IPropertyStoreCapabilitiesVtbl; |
| | |
| interface IPropertyStoreCapabilities | | interface IPropertyStoreCapabilities |
| { | | { |
| CONST_VTBL struct IPropertyStoreCapabilitiesVtbl *lpVtbl; | | CONST_VTBL struct IPropertyStoreCapabilitiesVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 994 | | skipping to change at line 1020 |
| | |
| #endif /* __IPropertyStoreCapabilities_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyStoreCapabilities_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertyStoreCache_INTERFACE_DEFINED__ | | #ifndef __IPropertyStoreCache_INTERFACE_DEFINED__ |
| #define __IPropertyStoreCache_INTERFACE_DEFINED__ | | #define __IPropertyStoreCache_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertyStoreCache */ | | /* interface IPropertyStoreCache */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
|
| enum _PSC_STATE | | enum PSC_STATE |
| { PSC_NORMAL = 0, | | { PSC_NORMAL = 0, |
| PSC_NOTINSOURCE = 1, | | PSC_NOTINSOURCE = 1, |
| PSC_DIRTY = 2, | | PSC_DIRTY = 2, |
| PSC_READONLY = 3 | | PSC_READONLY = 3 |
| } PSC_STATE; | | } PSC_STATE; |
| | |
| EXTERN_C const IID IID_IPropertyStoreCache; | | EXTERN_C const IID IID_IPropertyStoreCache; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | |
| skipping to change at line 1036 | | skipping to change at line 1062 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyStoreCacheVtbl | | typedef struct IPropertyStoreCacheVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyStoreCache * This); | | __RPC__in IPropertyStoreCache * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyStoreCache * This); | | __RPC__in IPropertyStoreCache * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCount )( | | HRESULT ( STDMETHODCALLTYPE *GetCount )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [out] */ __RPC__out DWORD *cProps); | | /* [out] */ __RPC__out DWORD *cProps); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAt )( | | HRESULT ( STDMETHODCALLTYPE *GetAt )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ DWORD iProp, | | /* [in] */ DWORD iProp, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetValue )( | | HRESULT ( STDMETHODCALLTYPE *GetValue )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [out] */ __RPC__out PROPVARIANT *pv); | | /* [out] */ __RPC__out PROPVARIANT *pv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetValue )( | | HRESULT ( STDMETHODCALLTYPE *SetValue )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar); | | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Commit )( | | HRESULT ( STDMETHODCALLTYPE *Commit )( |
|
| IPropertyStoreCache * This); | | __RPC__in IPropertyStoreCache * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetState )( | | HRESULT ( STDMETHODCALLTYPE *GetState )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [out] */ __RPC__out PSC_STATE *pstate); | | /* [out] */ __RPC__out PSC_STATE *pstate); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetValueAndState )( | | HRESULT ( STDMETHODCALLTYPE *GetValueAndState )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvar, | | /* [out] */ __RPC__out PROPVARIANT *ppropvar, |
| /* [out] */ __RPC__out PSC_STATE *pstate); | | /* [out] */ __RPC__out PSC_STATE *pstate); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetState )( | | HRESULT ( STDMETHODCALLTYPE *SetState )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ PSC_STATE state); | | /* [in] */ PSC_STATE state); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetValueAndState )( | | HRESULT ( STDMETHODCALLTYPE *SetValueAndState )( |
|
| IPropertyStoreCache * This, | | __RPC__in IPropertyStoreCache * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [unique][in] */ __RPC__in_opt const PROPVARIANT *ppropvar, | | /* [unique][in] */ __RPC__in_opt const PROPVARIANT *ppropvar, |
| /* [in] */ PSC_STATE state); | | /* [in] */ PSC_STATE state); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyStoreCacheVtbl; | | } IPropertyStoreCacheVtbl; |
| | |
| interface IPropertyStoreCache | | interface IPropertyStoreCache |
| { | | { |
| CONST_VTBL struct IPropertyStoreCacheVtbl *lpVtbl; | | CONST_VTBL struct IPropertyStoreCacheVtbl *lpVtbl; |
| | |
| skipping to change at line 1149 | | skipping to change at line 1175 |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IPropertyStoreCache_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyStoreCache_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertyEnumType_INTERFACE_DEFINED__ | | #ifndef __IPropertyEnumType_INTERFACE_DEFINED__ |
| #define __IPropertyEnumType_INTERFACE_DEFINED__ | | #define __IPropertyEnumType_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertyEnumType */ | | /* interface IPropertyEnumType */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPENUMTYPE | | enum PROPENUMTYPE |
| { PET_DISCRETEVALUE = 0, | | { PET_DISCRETEVALUE = 0, |
| PET_RANGEDVALUE = 1, | | PET_RANGEDVALUE = 1, |
| PET_DEFAULTVALUE = 2, | | PET_DEFAULTVALUE = 2, |
| PET_ENDRANGE = 3 | | PET_ENDRANGE = 3 |
|
| } ; | | } PROPENUMTYPE; |
| typedef enum tagPROPENUMTYPE PROPENUMTYPE; | | |
| | |
| EXTERN_C const IID IID_IPropertyEnumType; | | EXTERN_C const IID IID_IPropertyEnumType; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("11e1fbf9-2d56-4a6b-8db3-7cd193a471f2") | | MIDL_INTERFACE("11e1fbf9-2d56-4a6b-8db3-7cd193a471f2") |
| IPropertyEnumType : public IUnknown | | IPropertyEnumType : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetEnumType( | | virtual HRESULT STDMETHODCALLTYPE GetEnumType( |
| | |
| skipping to change at line 1190 | | skipping to change at line 1215 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyEnumTypeVtbl | | typedef struct IPropertyEnumTypeVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyEnumType * This, | | __RPC__in IPropertyEnumType * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyEnumType * This); | | __RPC__in IPropertyEnumType * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyEnumType * This); | | __RPC__in IPropertyEnumType * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEnumType )( | | HRESULT ( STDMETHODCALLTYPE *GetEnumType )( |
|
| IPropertyEnumType * This, | | __RPC__in IPropertyEnumType * This, |
| /* [out] */ __RPC__out PROPENUMTYPE *penumtype); | | /* [out] */ __RPC__out PROPENUMTYPE *penumtype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetValue )( | | HRESULT ( STDMETHODCALLTYPE *GetValue )( |
|
| IPropertyEnumType * This, | | __RPC__in IPropertyEnumType * This, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvar); | | /* [out] */ __RPC__out PROPVARIANT *ppropvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRangeMinValue )( | | HRESULT ( STDMETHODCALLTYPE *GetRangeMinValue )( |
|
| IPropertyEnumType * This, | | __RPC__in IPropertyEnumType * This, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvarMin); | | /* [out] */ __RPC__out PROPVARIANT *ppropvarMin); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRangeSetValue )( | | HRESULT ( STDMETHODCALLTYPE *GetRangeSetValue )( |
|
| IPropertyEnumType * This, | | __RPC__in IPropertyEnumType * This, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvarSet); | | /* [out] */ __RPC__out PROPVARIANT *ppropvarSet); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayText )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayText )( |
|
| IPropertyEnumType * This, | | __RPC__in IPropertyEnumType * This, |
| /* [out] */ __RPC__deref_out_opt LPWSTR *ppszDisplay); | | /* [out] */ __RPC__deref_out_opt LPWSTR *ppszDisplay); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyEnumTypeVtbl; | | } IPropertyEnumTypeVtbl; |
| | |
| interface IPropertyEnumType | | interface IPropertyEnumType |
| { | | { |
| CONST_VTBL struct IPropertyEnumTypeVtbl *lpVtbl; | | CONST_VTBL struct IPropertyEnumTypeVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 1261 | | skipping to change at line 1286 |
| | |
| #define IPropertyEnumType_GetDisplayText(This,ppszDisplay) \ | | #define IPropertyEnumType_GetDisplayText(This,ppszDisplay) \ |
| ( (This)->lpVtbl -> GetDisplayText(This,ppszDisplay) ) | | ( (This)->lpVtbl -> GetDisplayText(This,ppszDisplay) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IPropertyEnumType_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyEnumType_INTERFACE_DEFINED__ */ |
| | |
|
| | #ifndef __IPropertyEnumType2_INTERFACE_DEFINED__ |
| | #define __IPropertyEnumType2_INTERFACE_DEFINED__ |
| | |
| | /* interface IPropertyEnumType2 */ |
| | /* [unique][object][uuid] */ |
| | |
| | EXTERN_C const IID IID_IPropertyEnumType2; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("9b6e051c-5ddd-4321-9070-fe2acb55e794") |
| | IPropertyEnumType2 : public IPropertyEnumType |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE GetImageReference( |
| | /* [out] */ __RPC__deref_out_opt LPWSTR *ppszImageRes) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IPropertyEnumType2Vtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | __RPC__deref_out void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | __RPC__in IPropertyEnumType2 * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | __RPC__in IPropertyEnumType2 * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetEnumType )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [out] */ __RPC__out PROPENUMTYPE *penumtype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetValue )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [out] */ __RPC__out PROPVARIANT *ppropvar); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRangeMinValue )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [out] */ __RPC__out PROPVARIANT *ppropvarMin); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRangeSetValue )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [out] */ __RPC__out PROPVARIANT *ppropvarSet); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDisplayText )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [out] */ __RPC__deref_out_opt LPWSTR *ppszDisplay); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetImageReference )( |
| | __RPC__in IPropertyEnumType2 * This, |
| | /* [out] */ __RPC__deref_out_opt LPWSTR *ppszImageRes); |
| | |
| | END_INTERFACE |
| | } IPropertyEnumType2Vtbl; |
| | |
| | interface IPropertyEnumType2 |
| | { |
| | CONST_VTBL struct IPropertyEnumType2Vtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IPropertyEnumType2_QueryInterface(This,riid,ppvObject) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IPropertyEnumType2_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IPropertyEnumType2_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IPropertyEnumType2_GetEnumType(This,penumtype) \ |
| | ( (This)->lpVtbl -> GetEnumType(This,penumtype) ) |
| | |
| | #define IPropertyEnumType2_GetValue(This,ppropvar) \ |
| | ( (This)->lpVtbl -> GetValue(This,ppropvar) ) |
| | |
| | #define IPropertyEnumType2_GetRangeMinValue(This,ppropvarMin) \ |
| | ( (This)->lpVtbl -> GetRangeMinValue(This,ppropvarMin) ) |
| | |
| | #define IPropertyEnumType2_GetRangeSetValue(This,ppropvarSet) \ |
| | ( (This)->lpVtbl -> GetRangeSetValue(This,ppropvarSet) ) |
| | |
| | #define IPropertyEnumType2_GetDisplayText(This,ppszDisplay) \ |
| | ( (This)->lpVtbl -> GetDisplayText(This,ppszDisplay) ) |
| | |
| | #define IPropertyEnumType2_GetImageReference(This,ppszImageRes) \ |
| | ( (This)->lpVtbl -> GetImageReference(This,ppszImageRes) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IPropertyEnumType2_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertyEnumTypeList_INTERFACE_DEFINED__ | | #ifndef __IPropertyEnumTypeList_INTERFACE_DEFINED__ |
| #define __IPropertyEnumTypeList_INTERFACE_DEFINED__ | | #define __IPropertyEnumTypeList_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertyEnumTypeList */ | | /* interface IPropertyEnumTypeList */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
| EXTERN_C const IID IID_IPropertyEnumTypeList; | | EXTERN_C const IID IID_IPropertyEnumTypeList; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | |
| skipping to change at line 1301 | | skipping to change at line 1430 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyEnumTypeListVtbl | | typedef struct IPropertyEnumTypeListVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyEnumTypeList * This, | | __RPC__in IPropertyEnumTypeList * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyEnumTypeList * This); | | __RPC__in IPropertyEnumTypeList * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyEnumTypeList * This); | | __RPC__in IPropertyEnumTypeList * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCount )( | | HRESULT ( STDMETHODCALLTYPE *GetCount )( |
|
| IPropertyEnumTypeList * This, | | __RPC__in IPropertyEnumTypeList * This, |
| /* [out] */ __RPC__out UINT *pctypes); | | /* [out] */ __RPC__out UINT *pctypes); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAt )( | | HRESULT ( STDMETHODCALLTYPE *GetAt )( |
|
| IPropertyEnumTypeList * This, | | __RPC__in IPropertyEnumTypeList * This, |
| /* [in] */ UINT itype, | | /* [in] */ UINT itype, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetConditionAt )( | | HRESULT ( STDMETHODCALLTYPE *GetConditionAt )( |
|
| IPropertyEnumTypeList * This, | | __RPC__in IPropertyEnumTypeList * This, |
| /* [in] */ UINT nIndex, | | /* [in] */ UINT nIndex, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FindMatchingIndex )( | | HRESULT ( STDMETHODCALLTYPE *FindMatchingIndex )( |
|
| IPropertyEnumTypeList * This, | | __RPC__in IPropertyEnumTypeList * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvarCmp, | | /* [in] */ __RPC__in REFPROPVARIANT propvarCmp, |
| /* [out] */ __RPC__out UINT *pnIndex); | | /* [out] */ __RPC__out UINT *pnIndex); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyEnumTypeListVtbl; | | } IPropertyEnumTypeListVtbl; |
| | |
| interface IPropertyEnumTypeList | | interface IPropertyEnumTypeList |
| { | | { |
| CONST_VTBL struct IPropertyEnumTypeListVtbl *lpVtbl; | | CONST_VTBL struct IPropertyEnumTypeListVtbl *lpVtbl; |
| }; | | }; |
| | |
| skipping to change at line 1376 | | skipping to change at line 1505 |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IPropertyEnumTypeList_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyEnumTypeList_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescription_INTERFACE_DEFINED__ | | #ifndef __IPropertyDescription_INTERFACE_DEFINED__ |
| #define __IPropertyDescription_INTERFACE_DEFINED__ | | #define __IPropertyDescription_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertyDescription */ | | /* interface IPropertyDescription */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_TYPE_FLAGS | | enum PROPDESC_TYPE_FLAGS |
| { PDTF_DEFAULT = 0, | | { PDTF_DEFAULT = 0, |
| PDTF_MULTIPLEVALUES = 0x1, | | PDTF_MULTIPLEVALUES = 0x1, |
| PDTF_ISINNATE = 0x2, | | PDTF_ISINNATE = 0x2, |
| PDTF_ISGROUP = 0x4, | | PDTF_ISGROUP = 0x4, |
| PDTF_CANGROUPBY = 0x8, | | PDTF_CANGROUPBY = 0x8, |
| PDTF_CANSTACKBY = 0x10, | | PDTF_CANSTACKBY = 0x10, |
| PDTF_ISTREEPROPERTY = 0x20, | | PDTF_ISTREEPROPERTY = 0x20, |
| PDTF_INCLUDEINFULLTEXTQUERY = 0x40, | | PDTF_INCLUDEINFULLTEXTQUERY = 0x40, |
| PDTF_ISVIEWABLE = 0x80, | | PDTF_ISVIEWABLE = 0x80, |
| PDTF_ISQUERYABLE = 0x100, | | PDTF_ISQUERYABLE = 0x100, |
|
| | PDTF_CANBEPURGED = 0x200, |
| | PDTF_SEARCHRAWVALUE = 0x400, |
| PDTF_ISSYSTEMPROPERTY = 0x80000000, | | PDTF_ISSYSTEMPROPERTY = 0x80000000, |
|
| PDTF_MASK_ALL = 0x800001ff | | PDTF_MASK_ALL = 0x800007ff |
| } ; | | } PROPDESC_TYPE_FLAGS; |
| typedef int PROPDESC_TYPE_FLAGS; | | |
| | |
|
| /* [v1_enum] */ | | DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_TYPE_FLAGS) |
| enum tagPROPDESC_VIEW_FLAGS | | typedef /* [v1_enum] */ |
| | enum PROPDESC_VIEW_FLAGS |
| { PDVF_DEFAULT = 0, | | { PDVF_DEFAULT = 0, |
| PDVF_CENTERALIGN = 0x1, | | PDVF_CENTERALIGN = 0x1, |
| PDVF_RIGHTALIGN = 0x2, | | PDVF_RIGHTALIGN = 0x2, |
| PDVF_BEGINNEWGROUP = 0x4, | | PDVF_BEGINNEWGROUP = 0x4, |
| PDVF_FILLAREA = 0x8, | | PDVF_FILLAREA = 0x8, |
| PDVF_SORTDESCENDING = 0x10, | | PDVF_SORTDESCENDING = 0x10, |
| PDVF_SHOWONLYIFPRESENT = 0x20, | | PDVF_SHOWONLYIFPRESENT = 0x20, |
| PDVF_SHOWBYDEFAULT = 0x40, | | PDVF_SHOWBYDEFAULT = 0x40, |
| PDVF_SHOWINPRIMARYLIST = 0x80, | | PDVF_SHOWINPRIMARYLIST = 0x80, |
| PDVF_SHOWINSECONDARYLIST = 0x100, | | PDVF_SHOWINSECONDARYLIST = 0x100, |
| PDVF_HIDELABEL = 0x200, | | PDVF_HIDELABEL = 0x200, |
| PDVF_HIDDEN = 0x800, | | PDVF_HIDDEN = 0x800, |
| PDVF_CANWRAP = 0x1000, | | PDVF_CANWRAP = 0x1000, |
| PDVF_MASK_ALL = 0x1bff | | PDVF_MASK_ALL = 0x1bff |
|
| } ; | | } PROPDESC_VIEW_FLAGS; |
| typedef int PROPDESC_VIEW_FLAGS; | | |
| | |
|
| /* [v1_enum] */ | | DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_VIEW_FLAGS) |
| enum tagPROPDESC_DISPLAYTYPE | | typedef /* [v1_enum] */ |
| | enum PROPDESC_DISPLAYTYPE |
| { PDDT_STRING = 0, | | { PDDT_STRING = 0, |
| PDDT_NUMBER = 1, | | PDDT_NUMBER = 1, |
| PDDT_BOOLEAN = 2, | | PDDT_BOOLEAN = 2, |
| PDDT_DATETIME = 3, | | PDDT_DATETIME = 3, |
| PDDT_ENUMERATED = 4 | | PDDT_ENUMERATED = 4 |
|
| } ; | | } PROPDESC_DISPLAYTYPE; |
| typedef enum tagPROPDESC_DISPLAYTYPE PROPDESC_DISPLAYTYPE; | | |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_GROUPING_RANGE | | enum PROPDESC_GROUPING_RANGE |
| { PDGR_DISCRETE = 0, | | { PDGR_DISCRETE = 0, |
| PDGR_ALPHANUMERIC = 1, | | PDGR_ALPHANUMERIC = 1, |
| PDGR_SIZE = 2, | | PDGR_SIZE = 2, |
| PDGR_DYNAMIC = 3, | | PDGR_DYNAMIC = 3, |
| PDGR_DATE = 4, | | PDGR_DATE = 4, |
| PDGR_PERCENT = 5, | | PDGR_PERCENT = 5, |
| PDGR_ENUMERATED = 6 | | PDGR_ENUMERATED = 6 |
|
| } ; | | } PROPDESC_GROUPING_RANGE; |
| typedef enum tagPROPDESC_GROUPING_RANGE PROPDESC_GROUPING_RANGE; | | |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_FORMAT_FLAGS | | enum PROPDESC_FORMAT_FLAGS |
| { PDFF_DEFAULT = 0, | | { PDFF_DEFAULT = 0, |
| PDFF_PREFIXNAME = 0x1, | | PDFF_PREFIXNAME = 0x1, |
| PDFF_FILENAME = 0x2, | | PDFF_FILENAME = 0x2, |
| PDFF_ALWAYSKB = 0x4, | | PDFF_ALWAYSKB = 0x4, |
| PDFF_RESERVED_RIGHTTOLEFT = 0x8, | | PDFF_RESERVED_RIGHTTOLEFT = 0x8, |
| PDFF_SHORTTIME = 0x10, | | PDFF_SHORTTIME = 0x10, |
| PDFF_LONGTIME = 0x20, | | PDFF_LONGTIME = 0x20, |
| PDFF_HIDETIME = 0x40, | | PDFF_HIDETIME = 0x40, |
| PDFF_SHORTDATE = 0x80, | | PDFF_SHORTDATE = 0x80, |
| PDFF_LONGDATE = 0x100, | | PDFF_LONGDATE = 0x100, |
| PDFF_HIDEDATE = 0x200, | | PDFF_HIDEDATE = 0x200, |
| PDFF_RELATIVEDATE = 0x400, | | PDFF_RELATIVEDATE = 0x400, |
| PDFF_USEEDITINVITATION = 0x800, | | PDFF_USEEDITINVITATION = 0x800, |
| PDFF_READONLY = 0x1000, | | PDFF_READONLY = 0x1000, |
| PDFF_NOAUTOREADINGORDER = 0x2000 | | PDFF_NOAUTOREADINGORDER = 0x2000 |
|
| } ; | | } PROPDESC_FORMAT_FLAGS; |
| typedef int PROPDESC_FORMAT_FLAGS; | | |
| | |
|
| /* [v1_enum] */ | | DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_FORMAT_FLAGS) |
| enum tagPROPDESC_SORTDESCRIPTION | | typedef /* [v1_enum] */ |
| | enum PROPDESC_SORTDESCRIPTION |
| { PDSD_GENERAL = 0, | | { PDSD_GENERAL = 0, |
| PDSD_A_Z = 1, | | PDSD_A_Z = 1, |
| PDSD_LOWEST_HIGHEST = 2, | | PDSD_LOWEST_HIGHEST = 2, |
| PDSD_SMALLEST_BIGGEST = 3, | | PDSD_SMALLEST_BIGGEST = 3, |
| PDSD_OLDEST_NEWEST = 4 | | PDSD_OLDEST_NEWEST = 4 |
|
| } ; | | } PROPDESC_SORTDESCRIPTION; |
| typedef enum tagPROPDESC_SORTDESCRIPTION PROPDESC_SORTDESCRIPTION; | | |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_RELATIVEDESCRIPTION_TYPE | | enum PROPDESC_RELATIVEDESCRIPTION_TYPE |
| { PDRDT_GENERAL = 0, | | { PDRDT_GENERAL = 0, |
| PDRDT_DATE = 1, | | PDRDT_DATE = 1, |
| PDRDT_SIZE = 2, | | PDRDT_SIZE = 2, |
| PDRDT_COUNT = 3, | | PDRDT_COUNT = 3, |
| PDRDT_REVISION = 4, | | PDRDT_REVISION = 4, |
| PDRDT_LENGTH = 5, | | PDRDT_LENGTH = 5, |
| PDRDT_DURATION = 6, | | PDRDT_DURATION = 6, |
| PDRDT_SPEED = 7, | | PDRDT_SPEED = 7, |
| PDRDT_RATE = 8, | | PDRDT_RATE = 8, |
| PDRDT_RATING = 9, | | PDRDT_RATING = 9, |
| PDRDT_PRIORITY = 10 | | PDRDT_PRIORITY = 10 |
|
| } ; | | } PROPDESC_RELATIVEDESCRIPTION_TYPE; |
| typedef enum tagPROPDESC_RELATIVEDESCRIPTION_TYPE PROPDESC_RELATIVEDESCRIPTION_T | | |
| YPE; | | |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_AGGREGATION_TYPE | | enum PROPDESC_AGGREGATION_TYPE |
| { PDAT_DEFAULT = 0, | | { PDAT_DEFAULT = 0, |
| PDAT_FIRST = 1, | | PDAT_FIRST = 1, |
| PDAT_SUM = 2, | | PDAT_SUM = 2, |
| PDAT_AVERAGE = 3, | | PDAT_AVERAGE = 3, |
| PDAT_DATERANGE = 4, | | PDAT_DATERANGE = 4, |
| PDAT_UNION = 5, | | PDAT_UNION = 5, |
| PDAT_MAX = 6, | | PDAT_MAX = 6, |
| PDAT_MIN = 7 | | PDAT_MIN = 7 |
|
| } ; | | } PROPDESC_AGGREGATION_TYPE; |
| typedef enum tagPROPDESC_AGGREGATION_TYPE PROPDESC_AGGREGATION_TYPE; | | |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_CONDITION_TYPE | | enum PROPDESC_CONDITION_TYPE |
| { PDCOT_NONE = 0, | | { PDCOT_NONE = 0, |
| PDCOT_STRING = 1, | | PDCOT_STRING = 1, |
| PDCOT_SIZE = 2, | | PDCOT_SIZE = 2, |
| PDCOT_DATETIME = 3, | | PDCOT_DATETIME = 3, |
| PDCOT_BOOLEAN = 4, | | PDCOT_BOOLEAN = 4, |
| PDCOT_NUMBER = 5 | | PDCOT_NUMBER = 5 |
|
| } ; | | } PROPDESC_CONDITION_TYPE; |
| typedef enum tagPROPDESC_CONDITION_TYPE PROPDESC_CONDITION_TYPE; | | |
| | |
| EXTERN_C const IID IID_IPropertyDescription; | | EXTERN_C const IID IID_IPropertyDescription; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("6f79d558-3e96-4549-a1d1-7d75d2288814") | | MIDL_INTERFACE("6f79d558-3e96-4549-a1d1-7d75d2288814") |
| IPropertyDescription : public IUnknown | | IPropertyDescription : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetPropertyKey( | | virtual HRESULT STDMETHODCALLTYPE GetPropertyKey( |
| | |
| skipping to change at line 1574 | | skipping to change at line 1699 |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetConditionType( | | virtual HRESULT STDMETHODCALLTYPE GetConditionType( |
| /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, | | /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, |
| /* [out] */ __RPC__out CONDITION_OPERATION *popDefault) = 0; | | /* [out] */ __RPC__out CONDITION_OPERATION *popDefault) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetEnumTypeList( | | virtual HRESULT STDMETHODCALLTYPE GetEnumTypeList( |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; |
| | |
| virtual /* [local] */ HRESULT STDMETHODCALLTYPE CoerceToCanonicalValue( | | virtual /* [local] */ HRESULT STDMETHODCALLTYPE CoerceToCanonicalValue( |
|
| /* [out][in] */ PROPVARIANT *ppropvar) = 0; | | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE FormatForDisplay( | | virtual HRESULT STDMETHODCALLTYPE FormatForDisplay( |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
= 0; | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
= 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE IsValueCanonical( | | virtual HRESULT STDMETHODCALLTYPE IsValueCanonical( |
| /* [in] */ __RPC__in REFPROPVARIANT propvar) = 0; | | /* [in] */ __RPC__in REFPROPVARIANT propvar) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyDescriptionVtbl | | typedef struct IPropertyDescriptionVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyDescription * This); | | __RPC__in IPropertyDescription * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyDescription * This); | | __RPC__in IPropertyDescription * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( | | HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out VARTYPE *pvartype); | | /* [out] */ __RPC__out VARTYPE *pvartype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( | | HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ PROPDESC_TYPE_FLAGS mask, | | /* [in] */ PROPDESC_TYPE_FLAGS mask, |
| /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); | | /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); | | /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( | | HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out UINT *pcxChars); | | /* [out] */ __RPC__out UINT *pcxChars); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); | | /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetColumnState )( | | HRESULT ( STDMETHODCALLTYPE *GetColumnState )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); | | /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( | | HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); | | /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( | | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); | | /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar1, | | /* [in] */ __RPC__in REFPROPVARIANT propvar1, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar2, | | /* [in] */ __RPC__in REFPROPVARIANT propvar2, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); | | /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( | | HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ BOOL fDescending, | | /* [in] */ BOOL fDescending, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript
ion); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript
ion); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( | | HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); | | /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetConditionType )( | | HRESULT ( STDMETHODCALLTYPE *GetConditionType )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, | | /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, |
| /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); | | /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( | | HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( | | /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( |
| IPropertyDescription * This, | | IPropertyDescription * This, |
|
| /* [out][in] */ PROPVARIANT *ppropvar); | | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( | | HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; |
| | |
| HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( | | HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar); | | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyDescriptionVtbl; | | } IPropertyDescriptionVtbl; |
| | |
| interface IPropertyDescription | | interface IPropertyDescription |
| { | | { |
| CONST_VTBL struct IPropertyDescriptionVtbl *lpVtbl; | | CONST_VTBL struct IPropertyDescriptionVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 1784 | | skipping to change at line 1911 |
| ( (This)->lpVtbl -> FormatForDisplay(This,propvar,pdfFlags,ppszDisplay) ) | | ( (This)->lpVtbl -> FormatForDisplay(This,propvar,pdfFlags,ppszDisplay) ) |
| | |
| #define IPropertyDescription_IsValueCanonical(This,propvar) \ | | #define IPropertyDescription_IsValueCanonical(This,propvar) \ |
| ( (This)->lpVtbl -> IsValueCanonical(This,propvar) ) | | ( (This)->lpVtbl -> IsValueCanonical(This,propvar) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| /* [call_as] */ HRESULT STDMETHODCALLTYPE IPropertyDescription_RemoteCoerceToCan
onicalValue_Proxy( | | /* [call_as] */ HRESULT STDMETHODCALLTYPE IPropertyDescription_RemoteCoerceToCan
onicalValue_Proxy( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvar); | | /* [out] */ __RPC__out PROPVARIANT *ppropvar); |
| | |
| void __RPC_STUB IPropertyDescription_RemoteCoerceToCanonicalValue_Stub( | | void __RPC_STUB IPropertyDescription_RemoteCoerceToCanonicalValue_Stub( |
| IRpcStubBuffer *This, | | IRpcStubBuffer *This, |
| IRpcChannelBuffer *_pRpcChannelBuffer, | | IRpcChannelBuffer *_pRpcChannelBuffer, |
| PRPC_MESSAGE _pRpcMessage, | | PRPC_MESSAGE _pRpcMessage, |
| DWORD *_pdwStubPhase); | | DWORD *_pdwStubPhase); |
| | |
| #endif /* __IPropertyDescription_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyDescription_INTERFACE_DEFINED__ */ |
| | |
|
| | #ifndef __IPropertyDescription2_INTERFACE_DEFINED__ |
| | #define __IPropertyDescription2_INTERFACE_DEFINED__ |
| | |
| | /* interface IPropertyDescription2 */ |
| | /* [unique][object][uuid] */ |
| | |
| | EXTERN_C const IID IID_IPropertyDescription2; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("57d2eded-5062-400e-b107-5dae79fe57a6") |
| | IPropertyDescription2 : public IPropertyDescription |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE GetImageReferenceForValue( |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszImageRes |
| | ) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IPropertyDescription2Vtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | __RPC__deref_out void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | __RPC__in IPropertyDescription2 * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | __RPC__in IPropertyDescription2 * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out VARTYPE *pvartype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ PROPDESC_TYPE_FLAGS mask, |
| | /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out UINT *pcxChars); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetColumnState )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar1, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar2, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ BOOL fDescending, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript |
| | ion); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetConditionType )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, |
| | /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| | /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( |
| | IPropertyDescription2 * This, |
| | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| | /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay) |
| | ; |
| | |
| | HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetImageReferenceForValue )( |
| | __RPC__in IPropertyDescription2 * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszImageRes |
| | ); |
| | |
| | END_INTERFACE |
| | } IPropertyDescription2Vtbl; |
| | |
| | interface IPropertyDescription2 |
| | { |
| | CONST_VTBL struct IPropertyDescription2Vtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IPropertyDescription2_QueryInterface(This,riid,ppvObject) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IPropertyDescription2_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IPropertyDescription2_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IPropertyDescription2_GetPropertyKey(This,pkey) \ |
| | ( (This)->lpVtbl -> GetPropertyKey(This,pkey) ) |
| | |
| | #define IPropertyDescription2_GetCanonicalName(This,ppszName) \ |
| | ( (This)->lpVtbl -> GetCanonicalName(This,ppszName) ) |
| | |
| | #define IPropertyDescription2_GetPropertyType(This,pvartype) \ |
| | ( (This)->lpVtbl -> GetPropertyType(This,pvartype) ) |
| | |
| | #define IPropertyDescription2_GetDisplayName(This,ppszName) \ |
| | ( (This)->lpVtbl -> GetDisplayName(This,ppszName) ) |
| | |
| | #define IPropertyDescription2_GetEditInvitation(This,ppszInvite) \ |
| | ( (This)->lpVtbl -> GetEditInvitation(This,ppszInvite) ) |
| | |
| | #define IPropertyDescription2_GetTypeFlags(This,mask,ppdtFlags) \ |
| | ( (This)->lpVtbl -> GetTypeFlags(This,mask,ppdtFlags) ) |
| | |
| | #define IPropertyDescription2_GetViewFlags(This,ppdvFlags) \ |
| | ( (This)->lpVtbl -> GetViewFlags(This,ppdvFlags) ) |
| | |
| | #define IPropertyDescription2_GetDefaultColumnWidth(This,pcxChars) \ |
| | ( (This)->lpVtbl -> GetDefaultColumnWidth(This,pcxChars) ) |
| | |
| | #define IPropertyDescription2_GetDisplayType(This,pdisplaytype) \ |
| | ( (This)->lpVtbl -> GetDisplayType(This,pdisplaytype) ) |
| | |
| | #define IPropertyDescription2_GetColumnState(This,pcsFlags) \ |
| | ( (This)->lpVtbl -> GetColumnState(This,pcsFlags) ) |
| | |
| | #define IPropertyDescription2_GetGroupingRange(This,pgr) \ |
| | ( (This)->lpVtbl -> GetGroupingRange(This,pgr) ) |
| | |
| | #define IPropertyDescription2_GetRelativeDescriptionType(This,prdt) \ |
| | ( (This)->lpVtbl -> GetRelativeDescriptionType(This,prdt) ) |
| | |
| | #define IPropertyDescription2_GetRelativeDescription(This,propvar1,propvar2,ppsz |
| | Desc1,ppszDesc2) \ |
| | ( (This)->lpVtbl -> GetRelativeDescription(This,propvar1,propvar2,ppszDesc1, |
| | ppszDesc2) ) |
| | |
| | #define IPropertyDescription2_GetSortDescription(This,psd) \ |
| | ( (This)->lpVtbl -> GetSortDescription(This,psd) ) |
| | |
| | #define IPropertyDescription2_GetSortDescriptionLabel(This,fDescending,ppszDescr |
| | iption) \ |
| | ( (This)->lpVtbl -> GetSortDescriptionLabel(This,fDescending,ppszDescription |
| | ) ) |
| | |
| | #define IPropertyDescription2_GetAggregationType(This,paggtype) \ |
| | ( (This)->lpVtbl -> GetAggregationType(This,paggtype) ) |
| | |
| | #define IPropertyDescription2_GetConditionType(This,pcontype,popDefault) \ |
| | ( (This)->lpVtbl -> GetConditionType(This,pcontype,popDefault) ) |
| | |
| | #define IPropertyDescription2_GetEnumTypeList(This,riid,ppv) \ |
| | ( (This)->lpVtbl -> GetEnumTypeList(This,riid,ppv) ) |
| | |
| | #define IPropertyDescription2_CoerceToCanonicalValue(This,ppropvar) \ |
| | ( (This)->lpVtbl -> CoerceToCanonicalValue(This,ppropvar) ) |
| | |
| | #define IPropertyDescription2_FormatForDisplay(This,propvar,pdfFlags,ppszDisplay |
| | ) \ |
| | ( (This)->lpVtbl -> FormatForDisplay(This,propvar,pdfFlags,ppszDisplay) ) |
| | |
| | #define IPropertyDescription2_IsValueCanonical(This,propvar) \ |
| | ( (This)->lpVtbl -> IsValueCanonical(This,propvar) ) |
| | |
| | #define IPropertyDescription2_GetImageReferenceForValue(This,propvar,ppszImageRe |
| | s) \ |
| | ( (This)->lpVtbl -> GetImageReferenceForValue(This,propvar,ppszImageRes) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IPropertyDescription2_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ | | #ifndef __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ |
| #define __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ | | #define __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertyDescriptionAliasInfo */ | | /* interface IPropertyDescriptionAliasInfo */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
| EXTERN_C const IID IID_IPropertyDescriptionAliasInfo; | | EXTERN_C const IID IID_IPropertyDescriptionAliasInfo; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | |
| skipping to change at line 1827 | | skipping to change at line 2182 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyDescriptionAliasInfoVtbl | | typedef struct IPropertyDescriptionAliasInfoVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyDescriptionAliasInfo * This); | | __RPC__in IPropertyDescriptionAliasInfo * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyDescriptionAliasInfo * This); | | __RPC__in IPropertyDescriptionAliasInfo * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( | | HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out VARTYPE *pvartype); | | /* [out] */ __RPC__out VARTYPE *pvartype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( | | HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ PROPDESC_TYPE_FLAGS mask, | | /* [in] */ PROPDESC_TYPE_FLAGS mask, |
| /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); | | /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); | | /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( | | HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out UINT *pcxChars); | | /* [out] */ __RPC__out UINT *pcxChars); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); | | /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetColumnState )( | | HRESULT ( STDMETHODCALLTYPE *GetColumnState )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); | | /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( | | HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); | | /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( | | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); | | /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar1, | | /* [in] */ __RPC__in REFPROPVARIANT propvar1, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar2, | | /* [in] */ __RPC__in REFPROPVARIANT propvar2, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); | | /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( | | HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ BOOL fDescending, | | /* [in] */ BOOL fDescending, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript
ion); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript
ion); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( | | HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); | | /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetConditionType )( | | HRESULT ( STDMETHODCALLTYPE *GetConditionType )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, | | /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, |
| /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); | | /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( | | HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( | | /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( |
| IPropertyDescriptionAliasInfo * This, | | IPropertyDescriptionAliasInfo * This, |
|
| /* [out][in] */ PROPVARIANT *ppropvar); | | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( | | HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; |
| | |
| HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( | | HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar); | | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortByAlias )( | | HRESULT ( STDMETHODCALLTYPE *GetSortByAlias )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAdditionalSortByAliases )( | | HRESULT ( STDMETHODCALLTYPE *GetAdditionalSortByAliases )( |
|
| IPropertyDescriptionAliasInfo * This, | | __RPC__in IPropertyDescriptionAliasInfo * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyDescriptionAliasInfoVtbl; | | } IPropertyDescriptionAliasInfoVtbl; |
| | |
| interface IPropertyDescriptionAliasInfo | | interface IPropertyDescriptionAliasInfo |
| { | | { |
| CONST_VTBL struct IPropertyDescriptionAliasInfoVtbl *lpVtbl; | | CONST_VTBL struct IPropertyDescriptionAliasInfoVtbl *lpVtbl; |
| }; | | }; |
| | |
| skipping to change at line 2041 | | skipping to change at line 2397 |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyDescriptionAliasInfo_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ | | #ifndef __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ |
| #define __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ | | #define __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertyDescriptionSearchInfo */ | | /* interface IPropertyDescriptionSearchInfo */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_SEARCHINFO_FLAGS | | enum PROPDESC_SEARCHINFO_FLAGS |
| { PDSIF_DEFAULT = 0, | | { PDSIF_DEFAULT = 0, |
| PDSIF_ININVERTEDINDEX = 0x1, | | PDSIF_ININVERTEDINDEX = 0x1, |
| PDSIF_ISCOLUMN = 0x2, | | PDSIF_ISCOLUMN = 0x2, |
|
| PDSIF_ISCOLUMNSPARSE = 0x4 | | PDSIF_ISCOLUMNSPARSE = 0x4, |
| } ; | | PDSIF_ALWAYSINCLUDE = 0x8 |
| typedef int PROPDESC_SEARCHINFO_FLAGS; | | } PROPDESC_SEARCHINFO_FLAGS; |
| | |
|
| | DEFINE_ENUM_FLAG_OPERATORS(PROPDESC_SEARCHINFO_FLAGS) |
| typedef /* [v1_enum] */ | | typedef /* [v1_enum] */ |
|
| enum tagPROPDESC_COLUMNINDEX_TYPE | | enum PROPDESC_COLUMNINDEX_TYPE |
| { PDCIT_NONE = 0, | | { PDCIT_NONE = 0, |
| PDCIT_ONDISK = 1, | | PDCIT_ONDISK = 1, |
|
| PDCIT_INMEMORY = 2 | | PDCIT_INMEMORY = 2, |
| | PDCIT_ONDEMAND = 3, |
| | PDCIT_ONDISKALL = 4, |
| | PDCIT_ONDISKVECTOR = 5 |
| } PROPDESC_COLUMNINDEX_TYPE; | | } PROPDESC_COLUMNINDEX_TYPE; |
| | |
| EXTERN_C const IID IID_IPropertyDescriptionSearchInfo; | | EXTERN_C const IID IID_IPropertyDescriptionSearchInfo; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("078f91bd-29a2-440f-924e-46a291524520") | | MIDL_INTERFACE("078f91bd-29a2-440f-924e-46a291524520") |
| IPropertyDescriptionSearchInfo : public IPropertyDescription | | IPropertyDescriptionSearchInfo : public IPropertyDescription |
| { | | { |
| public: | | public: |
| | |
| skipping to change at line 2086 | | skipping to change at line 2446 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyDescriptionSearchInfoVtbl | | typedef struct IPropertyDescriptionSearchInfoVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyDescriptionSearchInfo * This); | | __RPC__in IPropertyDescriptionSearchInfo * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyDescriptionSearchInfo * This); | | __RPC__in IPropertyDescriptionSearchInfo * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPERTYKEY *pkey); | | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( | | HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out VARTYPE *pvartype); | | /* [out] */ __RPC__out VARTYPE *pvartype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( | | HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ PROPDESC_TYPE_FLAGS mask, | | /* [in] */ PROPDESC_TYPE_FLAGS mask, |
| /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); | | /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); | | /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( | | HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out UINT *pcxChars); | | /* [out] */ __RPC__out UINT *pcxChars); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); | | /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetColumnState )( | | HRESULT ( STDMETHODCALLTYPE *GetColumnState )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); | | /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( | | HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); | | /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( | | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); | | /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar1, | | /* [in] */ __RPC__in REFPROPVARIANT propvar1, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar2, | | /* [in] */ __RPC__in REFPROPVARIANT propvar2, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); | | /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( | | HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ BOOL fDescending, | | /* [in] */ BOOL fDescending, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript
ion); | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript
ion); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( | | HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); | | /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetConditionType )( | | HRESULT ( STDMETHODCALLTYPE *GetConditionType )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, | | /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, |
| /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); | | /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( | | HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( | | /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( |
| IPropertyDescriptionSearchInfo * This, | | IPropertyDescriptionSearchInfo * This, |
|
| /* [out][in] */ PROPVARIANT *ppropvar); | | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( | | HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; |
| | |
| HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( | | HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar); | | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSearchInfoFlags )( | | HRESULT ( STDMETHODCALLTYPE *GetSearchInfoFlags )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_SEARCHINFO_FLAGS *ppdsiFlags); | | /* [out] */ __RPC__out PROPDESC_SEARCHINFO_FLAGS *ppdsiFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetColumnIndexType )( | | HRESULT ( STDMETHODCALLTYPE *GetColumnIndexType )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out PROPDESC_COLUMNINDEX_TYPE *ppdciType); | | /* [out] */ __RPC__out PROPDESC_COLUMNINDEX_TYPE *ppdciType); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetProjectionString )( | | HRESULT ( STDMETHODCALLTYPE *GetProjectionString )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__deref_out_opt LPWSTR *ppszProjection); | | /* [out] */ __RPC__deref_out_opt LPWSTR *ppszProjection); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetMaxSize )( | | HRESULT ( STDMETHODCALLTYPE *GetMaxSize )( |
|
| IPropertyDescriptionSearchInfo * This, | | __RPC__in IPropertyDescriptionSearchInfo * This, |
| /* [out] */ __RPC__out UINT *pcbMaxSize); | | /* [out] */ __RPC__out UINT *pcbMaxSize); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyDescriptionSearchInfoVtbl; | | } IPropertyDescriptionSearchInfoVtbl; |
| | |
| interface IPropertyDescriptionSearchInfo | | interface IPropertyDescriptionSearchInfo |
| { | | { |
| CONST_VTBL struct IPropertyDescriptionSearchInfoVtbl *lpVtbl; | | CONST_VTBL struct IPropertyDescriptionSearchInfoVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 2306 | | skipping to change at line 2667 |
| | |
| #define IPropertyDescriptionSearchInfo_GetMaxSize(This,pcbMaxSize) \ | | #define IPropertyDescriptionSearchInfo_GetMaxSize(This,pcbMaxSize) \ |
| ( (This)->lpVtbl -> GetMaxSize(This,pcbMaxSize) ) | | ( (This)->lpVtbl -> GetMaxSize(This,pcbMaxSize) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ */ | | #endif /* __IPropertyDescriptionSearchInfo_INTERFACE_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_propsys_0000_0014 */ | | #ifndef __IPropertyDescriptionRelatedPropertyInfo_INTERFACE_DEFINED__ |
| | #define __IPropertyDescriptionRelatedPropertyInfo_INTERFACE_DEFINED__ |
| | |
| | /* interface IPropertyDescriptionRelatedPropertyInfo */ |
| | /* [unique][object][uuid] */ |
| | |
| | EXTERN_C const IID IID_IPropertyDescriptionRelatedPropertyInfo; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("507393f4-2a3d-4a60-b59e-d9c75716c2dd") |
| | IPropertyDescriptionRelatedPropertyInfo : public IPropertyDescription |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE GetRelatedProperty( |
| | /* [in] */ __RPC__in LPCWSTR pszRelationshipName, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IPropertyDescriptionRelatedPropertyInfoVtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | __RPC__deref_out void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyKey )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPERTYKEY *pkey); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyType )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out VARTYPE *pvartype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDisplayName )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetEditInvitation )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInvite); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetTypeFlags )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ PROPDESC_TYPE_FLAGS mask, |
| | /* [out] */ __RPC__out PROPDESC_TYPE_FLAGS *ppdtFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetViewFlags )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_VIEW_FLAGS *ppdvFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDefaultColumnWidth )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out UINT *pcxChars); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetDisplayType )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_DISPLAYTYPE *pdisplaytype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetColumnState )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out SHCOLSTATEF *pcsFlags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetGroupingRange )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_GROUPING_RANGE *pgr); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescriptionType )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_RELATIVEDESCRIPTION_TYPE *prdt); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRelativeDescription )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar1, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar2, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc1, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDesc2); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetSortDescription )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_SORTDESCRIPTION *psd); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetSortDescriptionLabel )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ BOOL fDescending, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDescript |
| | ion); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetAggregationType )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_AGGREGATION_TYPE *paggtype); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetConditionType )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [out] */ __RPC__out PROPDESC_CONDITION_TYPE *pcontype, |
| | /* [out] */ __RPC__out CONDITION_OPERATION *popDefault); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetEnumTypeList )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| | /* [local] */ HRESULT ( STDMETHODCALLTYPE *CoerceToCanonicalValue )( |
| | IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| | /* [in] */ PROPDESC_FORMAT_FLAGS pdfFlags, |
| | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay) |
| | ; |
| | |
| | HRESULT ( STDMETHODCALLTYPE *IsValueCanonical )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ __RPC__in REFPROPVARIANT propvar); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetRelatedProperty )( |
| | __RPC__in IPropertyDescriptionRelatedPropertyInfo * This, |
| | /* [in] */ __RPC__in LPCWSTR pszRelationshipName, |
| | /* [in] */ __RPC__in REFIID riid, |
| | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| | END_INTERFACE |
| | } IPropertyDescriptionRelatedPropertyInfoVtbl; |
| | |
| | interface IPropertyDescriptionRelatedPropertyInfo |
| | { |
| | CONST_VTBL struct IPropertyDescriptionRelatedPropertyInfoVtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_QueryInterface(This,riid,ppvObje |
| | ct) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetPropertyKey(This,pkey) \ |
| | ( (This)->lpVtbl -> GetPropertyKey(This,pkey) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetCanonicalName(This,ppszName) |
| | \ |
| | ( (This)->lpVtbl -> GetCanonicalName(This,ppszName) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetPropertyType(This,pvartype) \ |
| | ( (This)->lpVtbl -> GetPropertyType(This,pvartype) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetDisplayName(This,ppszName) \ |
| | ( (This)->lpVtbl -> GetDisplayName(This,ppszName) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetEditInvitation(This,ppszInvit |
| | e) \ |
| | ( (This)->lpVtbl -> GetEditInvitation(This,ppszInvite) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetTypeFlags(This,mask,ppdtFlags |
| | ) \ |
| | ( (This)->lpVtbl -> GetTypeFlags(This,mask,ppdtFlags) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetViewFlags(This,ppdvFlags) \ |
| | ( (This)->lpVtbl -> GetViewFlags(This,ppdvFlags) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetDefaultColumnWidth(This,pcxCh |
| | ars) \ |
| | ( (This)->lpVtbl -> GetDefaultColumnWidth(This,pcxChars) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetDisplayType(This,pdisplaytype |
| | ) \ |
| | ( (This)->lpVtbl -> GetDisplayType(This,pdisplaytype) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetColumnState(This,pcsFlags) \ |
| | ( (This)->lpVtbl -> GetColumnState(This,pcsFlags) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetGroupingRange(This,pgr) \ |
| | ( (This)->lpVtbl -> GetGroupingRange(This,pgr) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetRelativeDescriptionType(This, |
| | prdt) \ |
| | ( (This)->lpVtbl -> GetRelativeDescriptionType(This,prdt) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetRelativeDescription(This,prop |
| | var1,propvar2,ppszDesc1,ppszDesc2) \ |
| | ( (This)->lpVtbl -> GetRelativeDescription(This,propvar1,propvar2,ppszDesc1, |
| | ppszDesc2) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetSortDescription(This,psd) \ |
| | ( (This)->lpVtbl -> GetSortDescription(This,psd) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetSortDescriptionLabel(This,fDe |
| | scending,ppszDescription) \ |
| | ( (This)->lpVtbl -> GetSortDescriptionLabel(This,fDescending,ppszDescription |
| | ) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetAggregationType(This,paggtype |
| | ) \ |
| | ( (This)->lpVtbl -> GetAggregationType(This,paggtype) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetConditionType(This,pcontype,p |
| | opDefault) \ |
| | ( (This)->lpVtbl -> GetConditionType(This,pcontype,popDefault) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetEnumTypeList(This,riid,ppv) \ |
| | ( (This)->lpVtbl -> GetEnumTypeList(This,riid,ppv) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_CoerceToCanonicalValue(This,ppro |
| | pvar) \ |
| | ( (This)->lpVtbl -> CoerceToCanonicalValue(This,ppropvar) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_FormatForDisplay(This,propvar,pd |
| | fFlags,ppszDisplay) \ |
| | ( (This)->lpVtbl -> FormatForDisplay(This,propvar,pdfFlags,ppszDisplay) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_IsValueCanonical(This,propvar) \ |
| | ( (This)->lpVtbl -> IsValueCanonical(This,propvar) ) |
| | |
| | #define IPropertyDescriptionRelatedPropertyInfo_GetRelatedProperty(This,pszRelat |
| | ionshipName,riid,ppv) \ |
| | ( (This)->lpVtbl -> GetRelatedProperty(This,pszRelationshipName,riid,ppv) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IPropertyDescriptionRelatedPropertyInfo_INTERFACE_DEFINED__ |
| | */ |
| | |
| | /* interface __MIDL_itf_propsys_0000_0017 */ |
| /* [local] */ | | /* [local] */ |
| | |
|
| /* [v1_enum] */ | | typedef /* [v1_enum] */ |
| enum tagPROPDESC_ENUMFILTER | | enum PROPDESC_ENUMFILTER |
| { PDEF_ALL = 0, | | { PDEF_ALL = 0, |
| PDEF_SYSTEM = 1, | | PDEF_SYSTEM = 1, |
| PDEF_NONSYSTEM = 2, | | PDEF_NONSYSTEM = 2, |
| PDEF_VIEWABLE = 3, | | PDEF_VIEWABLE = 3, |
| PDEF_QUERYABLE = 4, | | PDEF_QUERYABLE = 4, |
| PDEF_INFULLTEXTQUERY = 5, | | PDEF_INFULLTEXTQUERY = 5, |
| PDEF_COLUMN = 6 | | PDEF_COLUMN = 6 |
|
| } ; | | } PROPDESC_ENUMFILTER; |
| typedef enum tagPROPDESC_ENUMFILTER PROPDESC_ENUMFILTER; | | |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0014_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0017_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0014_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0017_v0_0_s_ifspec; |
| | |
| #ifndef __IPropertySystem_INTERFACE_DEFINED__ | | #ifndef __IPropertySystem_INTERFACE_DEFINED__ |
| #define __IPropertySystem_INTERFACE_DEFINED__ | | #define __IPropertySystem_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertySystem */ | | /* interface IPropertySystem */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
| EXTERN_C const IID IID_IPropertySystem; | | EXTERN_C const IID IID_IPropertySystem; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| skipping to change at line 2344 | | skipping to change at line 2934 |
| MIDL_INTERFACE("ca724e8a-c3e6-442b-88a4-6fb0db8035a3") | | MIDL_INTERFACE("ca724e8a-c3e6-442b-88a4-6fb0db8035a3") |
| IPropertySystem : public IUnknown | | IPropertySystem : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetPropertyDescription( | | virtual HRESULT STDMETHODCALLTYPE GetPropertyDescription( |
| /* [in] */ __RPC__in REFPROPERTYKEY propkey, | | /* [in] */ __RPC__in REFPROPERTYKEY propkey, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionByName( | | virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionByName( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszCanonicalName, | | /* [string][in] */ __RPC__in_string LPCWSTR pszCanonicalName, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionListFromString( | | virtual HRESULT STDMETHODCALLTYPE GetPropertyDescriptionListFromString( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszPropList, | | /* [string][in] */ __RPC__in_string LPCWSTR pszPropList, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE EnumeratePropertyDescriptions( | | virtual HRESULT STDMETHODCALLTYPE EnumeratePropertyDescriptions( |
| /* [in] */ PROPDESC_ENUMFILTER filterOn, | | /* [in] */ PROPDESC_ENUMFILTER filterOn, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE FormatForDisplay( | | virtual HRESULT STDMETHODCALLTYPE FormatForDisplay( |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdff, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdff, |
| /* [size_is][string][out] */ __RPC__out_ecount_full_string(cchText)
LPWSTR pszText, | | /* [size_is][string][out] */ __RPC__out_ecount_full_string(cchText)
LPWSTR pszText, |
|
| /* [in] */ DWORD cchText) = 0; | | /* [range][in] */ __RPC__in_range(0,0x8000) DWORD cchText) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE FormatForDisplayAlloc( | | virtual HRESULT STDMETHODCALLTYPE FormatForDisplayAlloc( |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdff, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdff, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
= 0; | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
= 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE RegisterPropertySchema( | | virtual HRESULT STDMETHODCALLTYPE RegisterPropertySchema( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszPath) = 0; | | /* [string][in] */ __RPC__in_string LPCWSTR pszPath) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE UnregisterPropertySchema( | | virtual HRESULT STDMETHODCALLTYPE UnregisterPropertySchema( |
|
| /* [string][in] */ __RPC__in LPCWSTR pszPath) = 0; | | /* [string][in] */ __RPC__in_string LPCWSTR pszPath) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE RefreshPropertySchema( void) = 0; | | virtual HRESULT STDMETHODCALLTYPE RefreshPropertySchema( void) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertySystemVtbl | | typedef struct IPropertySystemVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertySystem * This); | | __RPC__in IPropertySystem * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertySystem * This); | | __RPC__in IPropertySystem * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyDescription )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyDescription )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY propkey, | | /* [in] */ __RPC__in REFPROPERTYKEY propkey, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyDescriptionByName )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyDescriptionByName )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszCanonicalName, | | /* [string][in] */ __RPC__in_string LPCWSTR pszCanonicalName, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyDescriptionListFromString )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyDescriptionListFromString )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszPropList, | | /* [string][in] */ __RPC__in_string LPCWSTR pszPropList, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumeratePropertyDescriptions )( | | HRESULT ( STDMETHODCALLTYPE *EnumeratePropertyDescriptions )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [in] */ PROPDESC_ENUMFILTER filterOn, | | /* [in] */ PROPDESC_ENUMFILTER filterOn, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( | | HRESULT ( STDMETHODCALLTYPE *FormatForDisplay )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdff, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdff, |
| /* [size_is][string][out] */ __RPC__out_ecount_full_string(cchText)
LPWSTR pszText, | | /* [size_is][string][out] */ __RPC__out_ecount_full_string(cchText)
LPWSTR pszText, |
|
| /* [in] */ DWORD cchText); | | /* [range][in] */ __RPC__in_range(0,0x8000) DWORD cchText); |
| | |
| HRESULT ( STDMETHODCALLTYPE *FormatForDisplayAlloc )( | | HRESULT ( STDMETHODCALLTYPE *FormatForDisplayAlloc )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [in] */ __RPC__in REFPROPERTYKEY key, | | /* [in] */ __RPC__in REFPROPERTYKEY key, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [in] */ PROPDESC_FORMAT_FLAGS pdff, | | /* [in] */ PROPDESC_FORMAT_FLAGS pdff, |
| /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; | | /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszDisplay)
; |
| | |
| HRESULT ( STDMETHODCALLTYPE *RegisterPropertySchema )( | | HRESULT ( STDMETHODCALLTYPE *RegisterPropertySchema )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszPath); | | /* [string][in] */ __RPC__in_string LPCWSTR pszPath); |
| | |
| HRESULT ( STDMETHODCALLTYPE *UnregisterPropertySchema )( | | HRESULT ( STDMETHODCALLTYPE *UnregisterPropertySchema )( |
|
| IPropertySystem * This, | | __RPC__in IPropertySystem * This, |
| /* [string][in] */ __RPC__in LPCWSTR pszPath); | | /* [string][in] */ __RPC__in_string LPCWSTR pszPath); |
| | |
| HRESULT ( STDMETHODCALLTYPE *RefreshPropertySchema )( | | HRESULT ( STDMETHODCALLTYPE *RefreshPropertySchema )( |
|
| IPropertySystem * This); | | __RPC__in IPropertySystem * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertySystemVtbl; | | } IPropertySystemVtbl; |
| | |
| interface IPropertySystem | | interface IPropertySystem |
| { | | { |
| CONST_VTBL struct IPropertySystemVtbl *lpVtbl; | | CONST_VTBL struct IPropertySystemVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 2532 | | skipping to change at line 3122 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyDescriptionListVtbl | | typedef struct IPropertyDescriptionListVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyDescriptionList * This, | | __RPC__in IPropertyDescriptionList * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyDescriptionList * This); | | __RPC__in IPropertyDescriptionList * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyDescriptionList * This); | | __RPC__in IPropertyDescriptionList * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCount )( | | HRESULT ( STDMETHODCALLTYPE *GetCount )( |
|
| IPropertyDescriptionList * This, | | __RPC__in IPropertyDescriptionList * This, |
| /* [out] */ __RPC__out UINT *pcElem); | | /* [out] */ __RPC__out UINT *pcElem); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAt )( | | HRESULT ( STDMETHODCALLTYPE *GetAt )( |
|
| IPropertyDescriptionList * This, | | __RPC__in IPropertyDescriptionList * This, |
| /* [in] */ UINT iElem, | | /* [in] */ UINT iElem, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyDescriptionListVtbl; | | } IPropertyDescriptionListVtbl; |
| | |
| interface IPropertyDescriptionList | | interface IPropertyDescriptionList |
| { | | { |
| CONST_VTBL struct IPropertyDescriptionListVtbl *lpVtbl; | | CONST_VTBL struct IPropertyDescriptionListVtbl *lpVtbl; |
| | |
| skipping to change at line 2620 | | skipping to change at line 3210 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertyStoreFactoryVtbl | | typedef struct IPropertyStoreFactoryVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertyStoreFactory * This, | | __RPC__in IPropertyStoreFactory * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertyStoreFactory * This); | | __RPC__in IPropertyStoreFactory * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertyStoreFactory * This); | | __RPC__in IPropertyStoreFactory * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyStore )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyStore )( |
|
| IPropertyStoreFactory * This, | | __RPC__in IPropertyStoreFactory * This, |
| /* [in] */ GETPROPERTYSTOREFLAGS flags, | | /* [in] */ GETPROPERTYSTOREFLAGS flags, |
| /* [unique][in] */ __RPC__in_opt IUnknown *pUnkFactory, | | /* [unique][in] */ __RPC__in_opt IUnknown *pUnkFactory, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyStoreForKeys )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyStoreForKeys )( |
|
| IPropertyStoreFactory * This, | | __RPC__in IPropertyStoreFactory * This, |
| /* [unique][in] */ __RPC__in_opt const PROPERTYKEY *rgKeys, | | /* [unique][in] */ __RPC__in_opt const PROPERTYKEY *rgKeys, |
| /* [in] */ UINT cKeys, | | /* [in] */ UINT cKeys, |
| /* [in] */ GETPROPERTYSTOREFLAGS flags, | | /* [in] */ GETPROPERTYSTOREFLAGS flags, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertyStoreFactoryVtbl; | | } IPropertyStoreFactoryVtbl; |
| | |
| interface IPropertyStoreFactory | | interface IPropertyStoreFactory |
| | |
| skipping to change at line 2706 | | skipping to change at line 3296 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IDelayedPropertyStoreFactoryVtbl | | typedef struct IDelayedPropertyStoreFactoryVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IDelayedPropertyStoreFactory * This, | | __RPC__in IDelayedPropertyStoreFactory * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IDelayedPropertyStoreFactory * This); | | __RPC__in IDelayedPropertyStoreFactory * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IDelayedPropertyStoreFactory * This); | | __RPC__in IDelayedPropertyStoreFactory * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyStore )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyStore )( |
|
| IDelayedPropertyStoreFactory * This, | | __RPC__in IDelayedPropertyStoreFactory * This, |
| /* [in] */ GETPROPERTYSTOREFLAGS flags, | | /* [in] */ GETPROPERTYSTOREFLAGS flags, |
| /* [unique][in] */ __RPC__in_opt IUnknown *pUnkFactory, | | /* [unique][in] */ __RPC__in_opt IUnknown *pUnkFactory, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyStoreForKeys )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyStoreForKeys )( |
|
| IDelayedPropertyStoreFactory * This, | | __RPC__in IDelayedPropertyStoreFactory * This, |
| /* [unique][in] */ __RPC__in_opt const PROPERTYKEY *rgKeys, | | /* [unique][in] */ __RPC__in_opt const PROPERTYKEY *rgKeys, |
| /* [in] */ UINT cKeys, | | /* [in] */ UINT cKeys, |
| /* [in] */ GETPROPERTYSTOREFLAGS flags, | | /* [in] */ GETPROPERTYSTOREFLAGS flags, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDelayedPropertyStore )( | | HRESULT ( STDMETHODCALLTYPE *GetDelayedPropertyStore )( |
|
| IDelayedPropertyStoreFactory * This, | | __RPC__in IDelayedPropertyStoreFactory * This, |
| /* [in] */ GETPROPERTYSTOREFLAGS flags, | | /* [in] */ GETPROPERTYSTOREFLAGS flags, |
| /* [in] */ DWORD dwStoreId, | | /* [in] */ DWORD dwStoreId, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDelayedPropertyStoreFactoryVtbl; | | } IDelayedPropertyStoreFactoryVtbl; |
| | |
| interface IDelayedPropertyStoreFactory | | interface IDelayedPropertyStoreFactory |
| { | | { |
| | |
| skipping to change at line 2773 | | skipping to change at line 3363 |
| | |
| #define IDelayedPropertyStoreFactory_GetDelayedPropertyStore(This,flags,dwStoreI
d,riid,ppv) \ | | #define IDelayedPropertyStoreFactory_GetDelayedPropertyStore(This,flags,dwStoreI
d,riid,ppv) \ |
| ( (This)->lpVtbl -> GetDelayedPropertyStore(This,flags,dwStoreId,riid,ppv) ) | | ( (This)->lpVtbl -> GetDelayedPropertyStore(This,flags,dwStoreId,riid,ppv) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IDelayedPropertyStoreFactory_INTERFACE_DEFINED__ */ | | #endif /* __IDelayedPropertyStoreFactory_INTERFACE_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_propsys_0000_0018 */ | | /* interface __MIDL_itf_propsys_0000_0021 */ |
| /* [local] */ | | /* [local] */ |
| | |
| /* [v1_enum] */ | | /* [v1_enum] */ |
|
| enum tagPERSIST_SPROPSTORE_FLAGS | | enum _PERSIST_SPROPSTORE_FLAGS |
| { FPSPS_READONLY = 0x1 | | { FPSPS_DEFAULT = 0, |
| | FPSPS_READONLY = 0x1 |
| } ; | | } ; |
| typedef int PERSIST_SPROPSTORE_FLAGS; | | typedef int PERSIST_SPROPSTORE_FLAGS; |
| | |
| typedef struct tagSERIALIZEDPROPSTORAGE SERIALIZEDPROPSTORAGE; | | typedef struct tagSERIALIZEDPROPSTORAGE SERIALIZEDPROPSTORAGE; |
| | |
| typedef SERIALIZEDPROPSTORAGE __unaligned *PUSERIALIZEDPROPSTORAGE; | | typedef SERIALIZEDPROPSTORAGE __unaligned *PUSERIALIZEDPROPSTORAGE; |
| | |
| typedef const SERIALIZEDPROPSTORAGE __unaligned *PCUSERIALIZEDPROPSTORAGE; | | typedef const SERIALIZEDPROPSTORAGE __unaligned *PCUSERIALIZEDPROPSTORAGE; |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0018_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0021_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0018_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0021_v0_0_s_ifspec; |
| | |
| #ifndef __IPersistSerializedPropStorage_INTERFACE_DEFINED__ | | #ifndef __IPersistSerializedPropStorage_INTERFACE_DEFINED__ |
| #define __IPersistSerializedPropStorage_INTERFACE_DEFINED__ | | #define __IPersistSerializedPropStorage_INTERFACE_DEFINED__ |
| | |
| /* interface IPersistSerializedPropStorage */ | | /* interface IPersistSerializedPropStorage */ |
| /* [object][local][unique][uuid] */ | | /* [object][local][unique][uuid] */ |
| | |
| EXTERN_C const IID IID_IPersistSerializedPropStorage; | | EXTERN_C const IID IID_IPersistSerializedPropStorage; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("e318ad57-0aa0-450f-aca5-6fab7103d917") | | MIDL_INTERFACE("e318ad57-0aa0-450f-aca5-6fab7103d917") |
| IPersistSerializedPropStorage : public IUnknown | | IPersistSerializedPropStorage : public IUnknown |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE SetFlags( | | virtual HRESULT STDMETHODCALLTYPE SetFlags( |
| /* [in] */ PERSIST_SPROPSTORE_FLAGS flags) = 0; | | /* [in] */ PERSIST_SPROPSTORE_FLAGS flags) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetPropertyStorage( | | virtual HRESULT STDMETHODCALLTYPE SetPropertyStorage( |
|
| /* [in] */ | | /* [annotation][in] */ |
| __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, | | __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, |
|
| /* [in] */ | | /* [annotation][in] */ |
| __in DWORD cb) = 0; | | __in DWORD cb) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetPropertyStorage( | | virtual HRESULT STDMETHODCALLTYPE GetPropertyStorage( |
|
| /* [out] */ | | /* [annotation][out] */ |
| __deref_out_bcount(*pcb) SERIALIZEDPROPSTORAGE **ppsps, | | __deref_out_bcount(*pcb) SERIALIZEDPROPSTORAGE **ppsps, |
|
| /* [out] */ | | /* [annotation][out] */ |
| __out DWORD *pcb) = 0; | | __out DWORD *pcb) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPersistSerializedPropStorageVtbl | | typedef struct IPersistSerializedPropStorageVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| IPersistSerializedPropStorage * This, | | IPersistSerializedPropStorage * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| IPersistSerializedPropStorage * This); | | IPersistSerializedPropStorage * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| IPersistSerializedPropStorage * This); | | IPersistSerializedPropStorage * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetFlags )( | | HRESULT ( STDMETHODCALLTYPE *SetFlags )( |
| IPersistSerializedPropStorage * This, | | IPersistSerializedPropStorage * This, |
| /* [in] */ PERSIST_SPROPSTORE_FLAGS flags); | | /* [in] */ PERSIST_SPROPSTORE_FLAGS flags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPropertyStorage )( | | HRESULT ( STDMETHODCALLTYPE *SetPropertyStorage )( |
| IPersistSerializedPropStorage * This, | | IPersistSerializedPropStorage * This, |
|
| /* [in] */ | | /* [annotation][in] */ |
| __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, | | __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, |
|
| /* [in] */ | | /* [annotation][in] */ |
| __in DWORD cb); | | __in DWORD cb); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPropertyStorage )( | | HRESULT ( STDMETHODCALLTYPE *GetPropertyStorage )( |
| IPersistSerializedPropStorage * This, | | IPersistSerializedPropStorage * This, |
|
| /* [out] */ | | /* [annotation][out] */ |
| __deref_out_bcount(*pcb) SERIALIZEDPROPSTORAGE **ppsps, | | __deref_out_bcount(*pcb) SERIALIZEDPROPSTORAGE **ppsps, |
|
| /* [out] */ | | /* [annotation][out] */ |
| __out DWORD *pcb); | | __out DWORD *pcb); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPersistSerializedPropStorageVtbl; | | } IPersistSerializedPropStorageVtbl; |
| | |
| interface IPersistSerializedPropStorage | | interface IPersistSerializedPropStorage |
| { | | { |
| CONST_VTBL struct IPersistSerializedPropStorageVtbl *lpVtbl; | | CONST_VTBL struct IPersistSerializedPropStorageVtbl *lpVtbl; |
| }; | | }; |
| | |
| | |
| skipping to change at line 2892 | | skipping to change at line 3483 |
| | |
| #define IPersistSerializedPropStorage_GetPropertyStorage(This,ppsps,pcb) \ | | #define IPersistSerializedPropStorage_GetPropertyStorage(This,ppsps,pcb) \ |
| ( (This)->lpVtbl -> GetPropertyStorage(This,ppsps,pcb) ) | | ( (This)->lpVtbl -> GetPropertyStorage(This,ppsps,pcb) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IPersistSerializedPropStorage_INTERFACE_DEFINED__ */ | | #endif /* __IPersistSerializedPropStorage_INTERFACE_DEFINED__ */ |
| | |
|
| | #ifndef __IPersistSerializedPropStorage2_INTERFACE_DEFINED__ |
| | #define __IPersistSerializedPropStorage2_INTERFACE_DEFINED__ |
| | |
| | /* interface IPersistSerializedPropStorage2 */ |
| | /* [object][local][unique][uuid] */ |
| | |
| | EXTERN_C const IID IID_IPersistSerializedPropStorage2; |
| | |
| | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | MIDL_INTERFACE("77effa68-4f98-4366-ba72-573b3d880571") |
| | IPersistSerializedPropStorage2 : public IPersistSerializedPropStorage |
| | { |
| | public: |
| | virtual HRESULT STDMETHODCALLTYPE GetPropertyStorageSize( |
| | /* [annotation][out] */ |
| | __out DWORD *pcb) = 0; |
| | |
| | virtual HRESULT STDMETHODCALLTYPE GetPropertyStorageBuffer( |
| | /* [annotation][out] */ |
| | __out_bcount_part(cb, *pcbWritten) SERIALIZEDPROPSTORAGE *psps, |
| | /* [in] */ DWORD cb, |
| | /* [annotation][out] */ |
| | __out DWORD *pcbWritten) = 0; |
| | |
| | }; |
| | |
| | #else /* C style interface */ |
| | |
| | typedef struct IPersistSerializedPropStorage2Vtbl |
| | { |
| | BEGIN_INTERFACE |
| | |
| | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | IPersistSerializedPropStorage2 * This, |
| | /* [in] */ REFIID riid, |
| | /* [annotation][iid_is][out] */ |
| | __RPC__deref_out void **ppvObject); |
| | |
| | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| | IPersistSerializedPropStorage2 * This); |
| | |
| | ULONG ( STDMETHODCALLTYPE *Release )( |
| | IPersistSerializedPropStorage2 * This); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetFlags )( |
| | IPersistSerializedPropStorage2 * This, |
| | /* [in] */ PERSIST_SPROPSTORE_FLAGS flags); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *SetPropertyStorage )( |
| | IPersistSerializedPropStorage2 * This, |
| | /* [annotation][in] */ |
| | __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, |
| | /* [annotation][in] */ |
| | __in DWORD cb); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyStorage )( |
| | IPersistSerializedPropStorage2 * This, |
| | /* [annotation][out] */ |
| | __deref_out_bcount(*pcb) SERIALIZEDPROPSTORAGE **ppsps, |
| | /* [annotation][out] */ |
| | __out DWORD *pcb); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyStorageSize )( |
| | IPersistSerializedPropStorage2 * This, |
| | /* [annotation][out] */ |
| | __out DWORD *pcb); |
| | |
| | HRESULT ( STDMETHODCALLTYPE *GetPropertyStorageBuffer )( |
| | IPersistSerializedPropStorage2 * This, |
| | /* [annotation][out] */ |
| | __out_bcount_part(cb, *pcbWritten) SERIALIZEDPROPSTORAGE *psps, |
| | /* [in] */ DWORD cb, |
| | /* [annotation][out] */ |
| | __out DWORD *pcbWritten); |
| | |
| | END_INTERFACE |
| | } IPersistSerializedPropStorage2Vtbl; |
| | |
| | interface IPersistSerializedPropStorage2 |
| | { |
| | CONST_VTBL struct IPersistSerializedPropStorage2Vtbl *lpVtbl; |
| | }; |
| | |
| | #ifdef COBJMACROS |
| | |
| | #define IPersistSerializedPropStorage2_QueryInterface(This,riid,ppvObject) \ |
| | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| | |
| | #define IPersistSerializedPropStorage2_AddRef(This) \ |
| | ( (This)->lpVtbl -> AddRef(This) ) |
| | |
| | #define IPersistSerializedPropStorage2_Release(This) \ |
| | ( (This)->lpVtbl -> Release(This) ) |
| | |
| | #define IPersistSerializedPropStorage2_SetFlags(This,flags) \ |
| | ( (This)->lpVtbl -> SetFlags(This,flags) ) |
| | |
| | #define IPersistSerializedPropStorage2_SetPropertyStorage(This,psps,cb) \ |
| | ( (This)->lpVtbl -> SetPropertyStorage(This,psps,cb) ) |
| | |
| | #define IPersistSerializedPropStorage2_GetPropertyStorage(This,ppsps,pcb) \ |
| | ( (This)->lpVtbl -> GetPropertyStorage(This,ppsps,pcb) ) |
| | |
| | #define IPersistSerializedPropStorage2_GetPropertyStorageSize(This,pcb) \ |
| | ( (This)->lpVtbl -> GetPropertyStorageSize(This,pcb) ) |
| | |
| | #define IPersistSerializedPropStorage2_GetPropertyStorageBuffer(This,psps,cb,pcb |
| | Written) \ |
| | ( (This)->lpVtbl -> GetPropertyStorageBuffer(This,psps,cb,pcbWritten) ) |
| | |
| | #endif /* COBJMACROS */ |
| | |
| | #endif /* C style interface */ |
| | |
| | #endif /* __IPersistSerializedPropStorage2_INTERFACE_DEFINED__ */ |
| | |
| #ifndef __IPropertySystemChangeNotify_INTERFACE_DEFINED__ | | #ifndef __IPropertySystemChangeNotify_INTERFACE_DEFINED__ |
| #define __IPropertySystemChangeNotify_INTERFACE_DEFINED__ | | #define __IPropertySystemChangeNotify_INTERFACE_DEFINED__ |
| | |
| /* interface IPropertySystemChangeNotify */ | | /* interface IPropertySystemChangeNotify */ |
| /* [unique][object][uuid] */ | | /* [unique][object][uuid] */ |
| | |
| EXTERN_C const IID IID_IPropertySystemChangeNotify; | | EXTERN_C const IID IID_IPropertySystemChangeNotify; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| | |
| skipping to change at line 2917 | | skipping to change at line 3624 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IPropertySystemChangeNotifyVtbl | | typedef struct IPropertySystemChangeNotifyVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| IPropertySystemChangeNotify * This, | | __RPC__in IPropertySystemChangeNotify * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| IPropertySystemChangeNotify * This); | | __RPC__in IPropertySystemChangeNotify * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| IPropertySystemChangeNotify * This); | | __RPC__in IPropertySystemChangeNotify * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SchemaRefreshed )( | | HRESULT ( STDMETHODCALLTYPE *SchemaRefreshed )( |
|
| IPropertySystemChangeNotify * This); | | __RPC__in IPropertySystemChangeNotify * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IPropertySystemChangeNotifyVtbl; | | } IPropertySystemChangeNotifyVtbl; |
| | |
| interface IPropertySystemChangeNotify | | interface IPropertySystemChangeNotify |
| { | | { |
| CONST_VTBL struct IPropertySystemChangeNotifyVtbl *lpVtbl; | | CONST_VTBL struct IPropertySystemChangeNotifyVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 2988 | | skipping to change at line 3695 |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct ICreateObjectVtbl | | typedef struct ICreateObjectVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
|
| ICreateObject * This, | | __RPC__in ICreateObject * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
|
| /* [iid_is][out] */ | | /* [annotation][iid_is][out] */ |
| __RPC__deref_out void **ppvObject); | | __RPC__deref_out void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
|
| ICreateObject * This); | | __RPC__in ICreateObject * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
|
| ICreateObject * This); | | __RPC__in ICreateObject * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateObject )( | | HRESULT ( STDMETHODCALLTYPE *CreateObject )( |
|
| ICreateObject * This, | | __RPC__in ICreateObject * This, |
| /* [in] */ __RPC__in REFCLSID clsid, | | /* [in] */ __RPC__in REFCLSID clsid, |
| /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, | | /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); | | /* [iid_is][out] */ __RPC__deref_out_opt void **ppv); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } ICreateObjectVtbl; | | } ICreateObjectVtbl; |
| | |
| interface ICreateObject | | interface ICreateObject |
| { | | { |
| | |
| skipping to change at line 3034 | | skipping to change at line 3741 |
| | |
| #define ICreateObject_CreateObject(This,clsid,pUnkOuter,riid,ppv) \ | | #define ICreateObject_CreateObject(This,clsid,pUnkOuter,riid,ppv) \ |
| ( (This)->lpVtbl -> CreateObject(This,clsid,pUnkOuter,riid,ppv) ) | | ( (This)->lpVtbl -> CreateObject(This,clsid,pUnkOuter,riid,ppv) ) |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __ICreateObject_INTERFACE_DEFINED__ */ | | #endif /* __ICreateObject_INTERFACE_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_propsys_0000_0021 */ | | /* interface __MIDL_itf_propsys_0000_0025 */ |
| /* [local] */ | | /* [local] */ |
| | |
| // Format a property value for display purposes | | // Format a property value for display purposes |
| PSSTDAPI PSFormatForDisplay( | | PSSTDAPI PSFormatForDisplay( |
| __in REFPROPERTYKEY propkey, | | __in REFPROPERTYKEY propkey, |
| __in REFPROPVARIANT propvar, | | __in REFPROPVARIANT propvar, |
| __in PROPDESC_FORMAT_FLAGS pdfFlags, | | __in PROPDESC_FORMAT_FLAGS pdfFlags, |
| __out_ecount(cchText) LPWSTR pwszText, | | __out_ecount(cchText) LPWSTR pwszText, |
| __in DWORD cchText); | | __in DWORD cchText); |
| | |
| | |
| skipping to change at line 3057 | | skipping to change at line 3764 |
| __in REFPROPVARIANT propvar, | | __in REFPROPVARIANT propvar, |
| __in PROPDESC_FORMAT_FLAGS pdff, | | __in PROPDESC_FORMAT_FLAGS pdff, |
| __deref_out PWSTR *ppszDisplay); | | __deref_out PWSTR *ppszDisplay); |
| | |
| PSSTDAPI PSFormatPropertyValue( | | PSSTDAPI PSFormatPropertyValue( |
| __in IPropertyStore *pps, | | __in IPropertyStore *pps, |
| __in IPropertyDescription *ppd, | | __in IPropertyDescription *ppd, |
| __in PROPDESC_FORMAT_FLAGS pdff, | | __in PROPDESC_FORMAT_FLAGS pdff, |
| __deref_out LPWSTR *ppszDisplay); | | __deref_out LPWSTR *ppszDisplay); |
| | |
|
| | // Retrieve the image reference associated with a property value (if specified) |
| | PSSTDAPI PSGetImageReferenceForValue( |
| | __in REFPROPERTYKEY propkey, |
| | __in REFPROPVARIANT propvar, |
| | __deref_out PWSTR *ppszImageRes); |
| | |
| #define PKEY_PIDSTR_MAX 10 // will take care of any long integer value | | #define PKEY_PIDSTR_MAX 10 // will take care of any long integer value |
| #define GUIDSTRING_MAX (1 + 8 + 1 + 4 + 1 + 4 + 1 + 4 + 1 + 12 + 1 + 1) //
"{12345678-1234-1234-1234-123456789012}" | | #define GUIDSTRING_MAX (1 + 8 + 1 + 4 + 1 + 4 + 1 + 4 + 1 + 12 + 1 + 1) //
"{12345678-1234-1234-1234-123456789012}" |
| #define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX) | | #define PKEYSTR_MAX (GUIDSTRING_MAX + 1 + PKEY_PIDSTR_MAX) |
| | |
| // Convert a PROPERTYKEY to and from a PWSTR | | // Convert a PROPERTYKEY to and from a PWSTR |
| PSSTDAPI PSStringFromPropertyKey( | | PSSTDAPI PSStringFromPropertyKey( |
| __in REFPROPERTYKEY pkey, | | __in REFPROPERTYKEY pkey, |
| __out_ecount(cch) LPWSTR psz, | | __out_ecount(cch) LPWSTR psz, |
| __in UINT cch); | | __in UINT cch); |
| | |
| | |
| skipping to change at line 3168 | | skipping to change at line 3881 |
| __in IPropertyDescription *ppd, | | __in IPropertyDescription *ppd, |
| __in REFPROPVARIANT propvar); | | __in REFPROPVARIANT propvar); |
| | |
| // Interact with the set of property descriptions | | // Interact with the set of property descriptions |
| PSSTDAPI PSRegisterPropertySchema( | | PSSTDAPI PSRegisterPropertySchema( |
| __in PCWSTR pszPath); | | __in PCWSTR pszPath); |
| | |
| PSSTDAPI PSUnregisterPropertySchema( | | PSSTDAPI PSUnregisterPropertySchema( |
| __in PCWSTR pszPath); | | __in PCWSTR pszPath); |
| | |
|
| PSSTDAPI PSRefreshPropertySchema(); | | PSSTDAPI PSRefreshPropertySchema(void); |
| | |
| // Returns either: IPropertyDescriptionList or IEnumUnknown interfaces | | // Returns either: IPropertyDescriptionList or IEnumUnknown interfaces |
| PSSTDAPI PSEnumeratePropertyDescriptions( | | PSSTDAPI PSEnumeratePropertyDescriptions( |
| __in PROPDESC_ENUMFILTER filterOn, | | __in PROPDESC_ENUMFILTER filterOn, |
| __in REFIID riid, | | __in REFIID riid, |
| __deref_out void **ppv); | | __deref_out void **ppv); |
| | |
| // Convert between a PROPERTYKEY and its canonical name | | // Convert between a PROPERTYKEY and its canonical name |
| PSSTDAPI PSGetPropertyKeyFromName( | | PSSTDAPI PSGetPropertyKeyFromName( |
| __in PCWSTR pszName, | | __in PCWSTR pszName, |
| | |
| skipping to change at line 3201 | | skipping to change at line 3914 |
| // Returns an IPropertyDescriptionList interface | | // Returns an IPropertyDescriptionList interface |
| PSSTDAPI PSGetPropertyDescriptionListFromString( | | PSSTDAPI PSGetPropertyDescriptionListFromString( |
| __in LPCWSTR pszPropList, | | __in LPCWSTR pszPropList, |
| __in REFIID riid, | | __in REFIID riid, |
| __deref_out void **ppv); | | __deref_out void **ppv); |
| | |
| // Wrap an IPropertySetStorage interface in an IPropertyStore interface | | // Wrap an IPropertySetStorage interface in an IPropertyStore interface |
| // Returns an IPropertyStore or related interface | | // Returns an IPropertyStore or related interface |
| PSSTDAPI PSCreatePropertyStoreFromPropertySetStorage( | | PSSTDAPI PSCreatePropertyStoreFromPropertySetStorage( |
| __in IPropertySetStorage *ppss, | | __in IPropertySetStorage *ppss, |
|
| DWORD grfMode, | | __in DWORD grfMode, |
| REFIID riid, | | __in REFIID riid, |
| __deref_out void **ppv); | | __deref_out void **ppv); |
| | |
| // punkSource must support IPropertyStore or IPropertySetStorage | | // punkSource must support IPropertyStore or IPropertySetStorage |
| // On success, the returned ppv is guaranteed to support IPropertyStore. | | // On success, the returned ppv is guaranteed to support IPropertyStore. |
| // If punkSource already supports IPropertyStore, no wrapper is created. | | // If punkSource already supports IPropertyStore, no wrapper is created. |
| PSSTDAPI PSCreatePropertyStoreFromObject( | | PSSTDAPI PSCreatePropertyStoreFromObject( |
| __in IUnknown *punk, | | __in IUnknown *punk, |
| __in DWORD grfMode, | | __in DWORD grfMode, |
| __in REFIID riid, | | __in REFIID riid, |
| __deref_out void **ppv); | | __deref_out void **ppv); |
| | |
| skipping to change at line 3241 | | skipping to change at line 3954 |
| __in REFPROPERTYKEY rpkey, | | __in REFPROPERTYKEY rpkey, |
| __out PROPVARIANT *ppropvar); | | __out PROPVARIANT *ppropvar); |
| | |
| // Obtain a named value from serialized property storage | | // Obtain a named value from serialized property storage |
| PSSTDAPI PSGetNamedPropertyFromPropertyStorage( | | PSSTDAPI PSGetNamedPropertyFromPropertyStorage( |
| __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, | | __in_bcount(cb) PCUSERIALIZEDPROPSTORAGE psps, |
| __in DWORD cb, | | __in DWORD cb, |
| __in LPCWSTR pszName, | | __in LPCWSTR pszName, |
| __out PROPVARIANT *ppropvar); | | __out PROPVARIANT *ppropvar); |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0021_v0_0_c_ifspec; | | // Helper functions for reading and writing values from IPropertyBag's. |
| extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0021_v0_0_s_ifspec; | | PSSTDAPI PSPropertyBag_ReadType( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out VARIANT *var, |
| | VARTYPE type); |
| | PSSTDAPI PSPropertyBag_ReadStr( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out_ecount(characterCount) LPWSTR value, |
| | int characterCount); |
| | PSSTDAPI PSPropertyBag_ReadStrAlloc( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __deref_out PWSTR *value); |
| | PSSTDAPI PSPropertyBag_ReadBSTR( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __deref_out BSTR *value); |
| | PSSTDAPI PSPropertyBag_WriteStr( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in LPCWSTR value); |
| | PSSTDAPI PSPropertyBag_WriteBSTR( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in BSTR value); |
| | PSSTDAPI PSPropertyBag_ReadInt( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out INT *value); |
| | PSSTDAPI PSPropertyBag_WriteInt( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | INT value); |
| | PSSTDAPI PSPropertyBag_ReadSHORT( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out SHORT *value); |
| | PSSTDAPI PSPropertyBag_WriteSHORT( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | SHORT value); |
| | PSSTDAPI PSPropertyBag_ReadLONG( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out LONG *value); |
| | PSSTDAPI PSPropertyBag_WriteLONG( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | LONG value); |
| | PSSTDAPI PSPropertyBag_ReadDWORD( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out DWORD *value); |
| | PSSTDAPI PSPropertyBag_WriteDWORD( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | DWORD value); |
| | PSSTDAPI PSPropertyBag_ReadBOOL( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out BOOL *value); |
| | PSSTDAPI PSPropertyBag_WriteBOOL( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | BOOL value); |
| | PSSTDAPI PSPropertyBag_ReadPOINTL( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out POINTL *value); |
| | PSSTDAPI PSPropertyBag_WritePOINTL( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in const POINTL *value); |
| | PSSTDAPI PSPropertyBag_ReadPOINTS( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out POINTS *value); |
| | PSSTDAPI PSPropertyBag_WritePOINTS( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in const POINTS *value); |
| | PSSTDAPI PSPropertyBag_ReadRECTL( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out RECTL *value); |
| | PSSTDAPI PSPropertyBag_WriteRECTL( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in const RECTL *value); |
| | PSSTDAPI PSPropertyBag_ReadStream( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __deref_out IStream **value); |
| | PSSTDAPI PSPropertyBag_WriteStream( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in IStream *value); |
| | PSSTDAPI PSPropertyBag_Delete( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName); |
| | PSSTDAPI PSPropertyBag_ReadULONGLONG( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out ULONGLONG *value); |
| | PSSTDAPI PSPropertyBag_WriteULONGLONG( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | ULONGLONG value); |
| | PSSTDAPI PSPropertyBag_ReadUnknown( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in REFIID riid, |
| | __deref_out void **ppv); |
| | PSSTDAPI PSPropertyBag_WriteUnknown( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in IUnknown *punk); |
| | PSSTDAPI PSPropertyBag_ReadGUID( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out GUID *value); |
| | PSSTDAPI PSPropertyBag_WriteGUID( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in const GUID *value); |
| | PSSTDAPI PSPropertyBag_ReadPropertyKey( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __out PROPERTYKEY *value); |
| | PSSTDAPI PSPropertyBag_WritePropertyKey( |
| | __in IPropertyBag *propBag, |
| | __in LPCWSTR propName, |
| | __in REFPROPERTYKEY value); |
| | |
| | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0025_v0_0_c_ifspec; |
| | extern RPC_IF_HANDLE __MIDL_itf_propsys_0000_0025_v0_0_s_ifspec; |
| | |
| #ifndef __PropSysObjects_LIBRARY_DEFINED__ | | #ifndef __PropSysObjects_LIBRARY_DEFINED__ |
| #define __PropSysObjects_LIBRARY_DEFINED__ | | #define __PropSysObjects_LIBRARY_DEFINED__ |
| | |
| /* library PropSysObjects */ | | /* library PropSysObjects */ |
| /* [version][lcid][uuid] */ | | /* [version][lcid][uuid] */ |
| | |
| EXTERN_C const IID LIBID_PropSysObjects; | | EXTERN_C const IID LIBID_PropSysObjects; |
| | |
| EXTERN_C const CLSID CLSID_InMemoryPropertyStore; | | EXTERN_C const CLSID CLSID_InMemoryPropertyStore; |
| | |
| skipping to change at line 3271 | | skipping to change at line 4120 |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| | |
| class DECLSPEC_UUID("b8967f85-58ae-4f46-9fb2-5d7904798f4b") | | class DECLSPEC_UUID("b8967f85-58ae-4f46-9fb2-5d7904798f4b") |
| PropertySystem; | | PropertySystem; |
| #endif | | #endif |
| #endif /* __PropSysObjects_LIBRARY_DEFINED__ */ | | #endif /* __PropSysObjects_LIBRARY_DEFINED__ */ |
| | |
| /* Additional Prototypes for ALL interfaces */ | | /* Additional Prototypes for ALL interfaces */ |
| | |
|
| unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsign | | unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long |
| ed long , BSTR * ); | | *, unsigned long , __RPC__in BSTR * ); |
| unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, | | unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC_ |
| BSTR * ); | | _inout_xcount(0) unsigned char *, __RPC__in BSTR * ); |
| unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, | | unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC_ |
| BSTR * ); | | _in_xcount(0) unsigned char *, __RPC__out BSTR * ); |
| void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * | | void __RPC_USER BSTR_UserFree( __RPC__in unsigned long |
| ); | | *, __RPC__in BSTR * ); |
| | |
|
| unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, | | unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsign |
| unsigned long , LPSAFEARRAY * ); | | ed long *, unsigned long , __RPC__in LPSAFEARRAY * ); |
| unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned | | unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, |
| char *, LPSAFEARRAY * ); | | __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); |
| unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned | | unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, |
| char *, LPSAFEARRAY * ); | | __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); |
| void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, | | void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsign |
| LPSAFEARRAY * ); | | ed long *, __RPC__in LPSAFEARRAY * ); |
| | |
|
| unsigned long __RPC_USER BSTR_UserSize64( unsigned long *, unsi | | unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned lo |
| gned long , BSTR * ); | | ng *, unsigned long , __RPC__in BSTR * ); |
| unsigned char * __RPC_USER BSTR_UserMarshal64( unsigned long *, unsigned char | | unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RP |
| *, BSTR * ); | | C__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); |
| unsigned char * __RPC_USER BSTR_UserUnmarshal64(unsigned long *, unsigned char | | unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RP |
| *, BSTR * ); | | C__in_xcount(0) unsigned char *, __RPC__out BSTR * ); |
| void __RPC_USER BSTR_UserFree64( unsigned long *, BSTR | | void __RPC_USER BSTR_UserFree64( __RPC__in unsigned lo |
| * ); | | ng *, __RPC__in BSTR * ); |
| | |
|
| unsigned long __RPC_USER LPSAFEARRAY_UserSize64( unsigned long | | unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsi |
| *, unsigned long , LPSAFEARRAY * ); | | gned long *, unsigned long , __RPC__in LPSAFEARRAY * ); |
| unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( unsigned long *, unsigne | | unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long |
| d char *, LPSAFEARRAY * ); | | *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); |
| unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(unsigned long *, unsigne | | unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long |
| d char *, LPSAFEARRAY * ); | | *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); |
| void __RPC_USER LPSAFEARRAY_UserFree64( unsigned long | | void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsi |
| *, LPSAFEARRAY * ); | | gned long *, __RPC__in LPSAFEARRAY * ); |
| | |
| /* [local] */ HRESULT STDMETHODCALLTYPE IInitializeWithStream_Initialize_Proxy( | | /* [local] */ HRESULT STDMETHODCALLTYPE IInitializeWithStream_Initialize_Proxy( |
| IInitializeWithStream * This, | | IInitializeWithStream * This, |
|
| /* [in] */ IStream *pstream, | | /* [annotation][in] */ |
| /* [in] */ DWORD grfMode); | | __in IStream *pstream, |
| | /* [annotation][in] */ |
| | __in DWORD grfMode); |
| | |
| /* [call_as] */ HRESULT STDMETHODCALLTYPE IInitializeWithStream_Initialize_Stub( | | /* [call_as] */ HRESULT STDMETHODCALLTYPE IInitializeWithStream_Initialize_Stub( |
|
| IInitializeWithStream * This, | | __RPC__in IInitializeWithStream * This, |
| /* [in] */ __RPC__in_opt IStream *pstream, | | /* [in] */ __RPC__in_opt IStream *pstream, |
| /* [in] */ DWORD grfMode); | | /* [in] */ DWORD grfMode); |
| | |
| /* [local] */ HRESULT STDMETHODCALLTYPE IPropertyDescription_CoerceToCanonicalVa
lue_Proxy( | | /* [local] */ HRESULT STDMETHODCALLTYPE IPropertyDescription_CoerceToCanonicalVa
lue_Proxy( |
| IPropertyDescription * This, | | IPropertyDescription * This, |
|
| /* [out][in] */ PROPVARIANT *ppropvar); | | /* [annotation][out][in] */ |
| | __inout PROPVARIANT *ppropvar); |
| | |
| /* [call_as] */ HRESULT STDMETHODCALLTYPE IPropertyDescription_CoerceToCanonical
Value_Stub( | | /* [call_as] */ HRESULT STDMETHODCALLTYPE IPropertyDescription_CoerceToCanonical
Value_Stub( |
|
| IPropertyDescription * This, | | __RPC__in IPropertyDescription * This, |
| /* [in] */ __RPC__in REFPROPVARIANT propvar, | | /* [in] */ __RPC__in REFPROPVARIANT propvar, |
| /* [out] */ __RPC__out PROPVARIANT *ppropvar); | | /* [out] */ __RPC__out PROPVARIANT *ppropvar); |
| | |
| /* end of Additional Prototypes */ | | /* end of Additional Prototypes */ |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
| #endif | | #endif |
| | |
| End of changes. 293 change blocks. |
| 356 lines changed or deleted | | 1238 lines changed or added |
|
| propvarutil.h (7.00.6002.18005-Windows 6.0) | | propvarutil.h (7.00.7601.17514-Windows 7.0) |
| | |
| skipping to change at line 41 | | skipping to change at line 41 |
| }; | | }; |
| typedef int PSTIME_FLAGS; | | typedef int PSTIME_FLAGS; |
| | |
| //==================== | | //==================== |
| // | | // |
| // PropVariant Helpers | | // PropVariant Helpers |
| // | | // |
| //==================== | | //==================== |
| | |
| // Initialize a propvariant | | // Initialize a propvariant |
|
| PSSTDAPI InitPropVariantFromResource(HINSTANCE hinst, UINT id, __out PROPVARIANT | | PSSTDAPI InitPropVariantFromResource(__in HINSTANCE hinst, __in UINT id, __out P |
| *ppropvar); | | ROPVARIANT *ppropvar); |
| PSSTDAPI InitPropVariantFromBuffer(__in_bcount(cb) const void *pv, UINT cb, __ou | | PSSTDAPI InitPropVariantFromBuffer(__in_bcount(cb) const void *pv, __in UINT cb, |
| t PROPVARIANT *ppropvar); | | __out PROPVARIANT *ppropvar); |
| PSSTDAPI InitPropVariantFromCLSID(REFCLSID clsid, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromCLSID(__in REFCLSID clsid, __out PROPVARIANT *ppropv |
| PSSTDAPI InitPropVariantFromGUIDAsString(REFGUID guid, __out PROPVARIANT *ppropv | | ar); |
| ar); | | PSSTDAPI InitPropVariantFromGUIDAsString(__in REFGUID guid, __out PROPVARIANT *p |
| PSSTDAPI InitPropVariantFromFileTime(const FILETIME *pftIn, __out PROPVARIANT *p | | propvar); |
| propvar); | | PSSTDAPI InitPropVariantFromFileTime(__in const FILETIME *pftIn, __out PROPVARIA |
| PSSTDAPI InitPropVariantFromPropVariantVectorElem(REFPROPVARIANT propvarIn, ULON | | NT *ppropvar); |
| G iElem, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromPropVariantVectorElem(__in REFPROPVARIANT propvarIn, |
| PSSTDAPI InitPropVariantVectorFromPropVariant(REFPROPVARIANT propvarSingle, __ou | | __in ULONG iElem, __out PROPVARIANT *ppropvar); |
| t PROPVARIANT *ppropvarVector); | | PSSTDAPI InitPropVariantVectorFromPropVariant(__in REFPROPVARIANT propvarSingle, |
| PSSTDAPI InitPropVariantFromStrRet(__in STRRET *pstrret, PCUITEMID_CHILD pidl, _ | | __out PROPVARIANT *ppropvarVector); |
| _out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromStrRet(__inout STRRET *pstrret, __in_opt PCUITEMID_C |
| PSSTDAPI InitPropVariantFromBooleanVector(__in_ecount_opt(cElems) const BOOL *pr | | HILD pidl, __out PROPVARIANT *ppropvar); |
| gf, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromBooleanVector(__in_ecount_opt(cElems) const BOOL *pr |
| PSSTDAPI InitPropVariantFromInt16Vector(__in_ecount_opt(cElems) const SHORT *prg | | gf, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| n, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromInt16Vector(__in_ecount_opt(cElems) const SHORT *prg |
| PSSTDAPI InitPropVariantFromUInt16Vector(__in_ecount_opt(cElems) const USHORT *p | | n, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| rgn, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromUInt16Vector(__in_ecount_opt(cElems) const USHORT *p |
| PSSTDAPI InitPropVariantFromInt32Vector(__in_ecount_opt(cElems) const LONG *prgn | | rgn, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| , ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromInt32Vector(__in_ecount_opt(cElems) const LONG *prgn |
| PSSTDAPI InitPropVariantFromUInt32Vector(__in_ecount_opt(cElems) const ULONG *pr | | , __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| gn, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromUInt32Vector(__in_ecount_opt(cElems) const ULONG *pr |
| PSSTDAPI InitPropVariantFromInt64Vector(__in_ecount_opt(cElems) const LONGLONG * | | gn, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| prgn, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromInt64Vector(__in_ecount_opt(cElems) const LONGLONG * |
| PSSTDAPI InitPropVariantFromUInt64Vector(__in_ecount_opt(cElems) const ULONGLONG | | prgn, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| *prgn, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromUInt64Vector(__in_ecount_opt(cElems) const ULONGLONG |
| PSSTDAPI InitPropVariantFromDoubleVector(__in_ecount_opt(cElems) const DOUBLE *p | | *prgn, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| rgn, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromDoubleVector(__in_ecount_opt(cElems) const DOUBLE *p |
| PSSTDAPI InitPropVariantFromFileTimeVector(__in_ecount_opt(cElems) const FILETIM | | rgn, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| E *prgft, ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromFileTimeVector(__in_ecount_opt(cElems) const FILETIM |
| PSSTDAPI InitPropVariantFromStringVector(__in_ecount_opt(cElems) PCWSTR *prgsz, | | E *prgft, __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| ULONG cElems, __out PROPVARIANT *ppropvar); | | PSSTDAPI InitPropVariantFromStringVector(__in_ecount_opt(cElems) PCWSTR *prgsz, |
| PSSTDAPI InitPropVariantFromStringAsVector(PCWSTR psz, __out PROPVARIANT *ppropv | | __in ULONG cElems, __out PROPVARIANT *ppropvar); |
| ar); | | PSSTDAPI InitPropVariantFromStringAsVector(__in_opt PCWSTR psz, __out PROPVARIAN |
| | T *ppropvar); |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| HRESULT InitPropVariantFromBoolean(BOOL fVal, __out PROPVARIANT *ppropvar); | | HRESULT InitPropVariantFromBoolean(__in BOOL fVal, __out PROPVARIANT *ppropvar) |
| HRESULT InitPropVariantFromInt16(SHORT nVal, __out PROPVARIANT *ppropvar); | | ; |
| HRESULT InitPropVariantFromUInt16(USHORT uiVal, __out PROPVARIANT *ppropvar); | | HRESULT InitPropVariantFromInt16(__in SHORT nVal, __out PROPVARIANT *ppropvar); |
| HRESULT InitPropVariantFromInt32(LONG lVal, __out PROPVARIANT *ppropvar); | | HRESULT InitPropVariantFromUInt16(__in USHORT uiVal, __out PROPVARIANT *ppropva |
| HRESULT InitPropVariantFromUInt32(ULONG ulVal, __out PROPVARIANT *ppropvar); | | r); |
| HRESULT InitPropVariantFromInt64(LONGLONG llVal, __out PROPVARIANT *ppropvar); | | HRESULT InitPropVariantFromInt32(__in LONG lVal, __out PROPVARIANT *ppropvar); |
| HRESULT InitPropVariantFromUInt64(ULONGLONG ullVal, __out PROPVARIANT *ppropvar | | HRESULT InitPropVariantFromUInt32(__in ULONG ulVal, __out PROPVARIANT *ppropvar |
| ); | | ); |
| HRESULT InitPropVariantFromDouble(DOUBLE dblVal, __out PROPVARIANT *ppropvar); | | HRESULT InitPropVariantFromInt64(__in LONGLONG llVal, __out PROPVARIANT *ppropv |
| HRESULT InitPropVariantFromString(PCWSTR psz, __out PROPVARIANT *ppropvar); | | ar); |
| HRESULT InitPropVariantFromGUIDAsBuffer(REFGUID guid, __out PROPVARIANT *ppropv | | HRESULT InitPropVariantFromUInt64(__in ULONGLONG ullVal, __out PROPVARIANT *ppr |
| ar); | | opvar); |
| BOOL IsPropVariantVector(REFPROPVARIANT propvar); | | HRESULT InitPropVariantFromDouble(__in DOUBLE dblVal, __out PROPVARIANT *ppropv |
| BOOL IsPropVariantString(REFPROPVARIANT propvar); | | ar); |
| | HRESULT InitPropVariantFromString(__in PCWSTR psz, __out PROPVARIANT *ppropvar) |
| | ; |
| | HRESULT InitPropVariantFromGUIDAsBuffer(__in REFGUID guid, __out PROPVARIANT *p |
| | propvar); |
| | BOOL IsPropVariantVector(__in REFPROPVARIANT propvar); |
| | BOOL IsPropVariantString(__in REFPROPVARIANT propvar); |
| #endif | | #endif |
| | |
| // Extract data from a propvariant | | // Extract data from a propvariant |
|
| PSSTDAPI_(BOOL) PropVariantToBooleanWithDefault(REFPROPVARIANT propvarIn, B | | PSSTDAPI_(BOOL) PropVariantToBooleanWithDefault(__in REFPROPVARIANT propvar |
| OOL fDefault); | | In, __in BOOL fDefault); |
| PSSTDAPI_(SHORT) PropVariantToInt16WithDefault(REFPROPVARIANT propvarIn, SHO | | PSSTDAPI_(SHORT) PropVariantToInt16WithDefault(__in REFPROPVARIANT propvarIn |
| RT iDefault); | | , __in SHORT iDefault); |
| PSSTDAPI_(USHORT) PropVariantToUInt16WithDefault(REFPROPVARIANT propvarIn, US | | PSSTDAPI_(USHORT) PropVariantToUInt16WithDefault(__in REFPROPVARIANT propvarI |
| HORT uiDefault); | | n, __in USHORT uiDefault); |
| PSSTDAPI_(LONG) PropVariantToInt32WithDefault(REFPROPVARIANT propvarIn, LON | | PSSTDAPI_(LONG) PropVariantToInt32WithDefault(__in REFPROPVARIANT propvarIn |
| G lDefault); | | , __in LONG lDefault); |
| PSSTDAPI_(ULONG) PropVariantToUInt32WithDefault(REFPROPVARIANT propvarIn, UL | | PSSTDAPI_(ULONG) PropVariantToUInt32WithDefault(__in REFPROPVARIANT propvarI |
| ONG ulDefault); | | n, __in ULONG ulDefault); |
| PSSTDAPI_(LONGLONG) PropVariantToInt64WithDefault(REFPROPVARIANT propvarIn, LON | | PSSTDAPI_(LONGLONG) PropVariantToInt64WithDefault(__in REFPROPVARIANT propvarIn |
| GLONG llDefault); | | , __in LONGLONG llDefault); |
| PSSTDAPI_(ULONGLONG) PropVariantToUInt64WithDefault(REFPROPVARIANT propvarIn, UL | | PSSTDAPI_(ULONGLONG) PropVariantToUInt64WithDefault(__in REFPROPVARIANT propvarI |
| ONGLONG ullDefault); | | n, __in ULONGLONG ullDefault); |
| PSSTDAPI_(DOUBLE) PropVariantToDoubleWithDefault(REFPROPVARIANT propvarIn, DO | | PSSTDAPI_(DOUBLE) PropVariantToDoubleWithDefault(__in REFPROPVARIANT propvarI |
| UBLE dblDefault); | | n, __in DOUBLE dblDefault); |
| PSSTDAPI_(PCWSTR) PropVariantToStringWithDefault(REFPROPVARIANT propvarIn, __ | | PSSTDAPI_(PCWSTR) PropVariantToStringWithDefault(__in REFPROPVARIANT propvarI |
| in_opt LPCWSTR pszDefault); | | n, __in_opt LPCWSTR pszDefault); |
| | |
|
| PSSTDAPI PropVariantToBoolean(REFPROPVARIANT propvarIn, __out BOOL * | | PSSTDAPI PropVariantToBoolean(__in REFPROPVARIANT propvarIn, __out B |
| pfRet); | | OOL *pfRet); |
| PSSTDAPI PropVariantToInt16(REFPROPVARIANT propvarIn, __out SHORT *p | | PSSTDAPI PropVariantToInt16(__in REFPROPVARIANT propvarIn, __out SHO |
| iRet); | | RT *piRet); |
| PSSTDAPI PropVariantToUInt16(REFPROPVARIANT propvarIn, __out USHORT | | PSSTDAPI PropVariantToUInt16(__in REFPROPVARIANT propvarIn, __out US |
| *puiRet); | | HORT *puiRet); |
| PSSTDAPI PropVariantToInt32(REFPROPVARIANT propvarIn, __out LONG *pl | | PSSTDAPI PropVariantToInt32(__in REFPROPVARIANT propvarIn, __out LON |
| Ret); | | G *plRet); |
| PSSTDAPI PropVariantToUInt32(REFPROPVARIANT propvarIn, __out ULONG * | | PSSTDAPI PropVariantToUInt32(__in REFPROPVARIANT propvarIn, __out UL |
| pulRet); | | ONG *pulRet); |
| PSSTDAPI PropVariantToInt64(REFPROPVARIANT propvarIn, __out LONGLONG | | PSSTDAPI PropVariantToInt64(__in REFPROPVARIANT propvarIn, __out LON |
| *pllRet); | | GLONG *pllRet); |
| PSSTDAPI PropVariantToUInt64(REFPROPVARIANT propvarIn, __out ULONGLO | | PSSTDAPI PropVariantToUInt64(__in REFPROPVARIANT propvarIn, __out UL |
| NG *pullRet); | | ONGLONG *pullRet); |
| PSSTDAPI PropVariantToDouble(REFPROPVARIANT propvarIn, __out DOUBLE | | PSSTDAPI PropVariantToDouble(__in REFPROPVARIANT propvarIn, __out DO |
| *pdblRet); | | UBLE *pdblRet); |
| PSSTDAPI PropVariantToBuffer(REFPROPVARIANT propvar, __out_bcount(cb | | PSSTDAPI PropVariantToBuffer(__in REFPROPVARIANT propvar, __out_bcou |
| ) void *pv, UINT cb); | | nt(cb) void *pv, __in UINT cb); |
| PSSTDAPI PropVariantToString(REFPROPVARIANT propvar, __out_ecount(cc | | PSSTDAPI PropVariantToString(__in REFPROPVARIANT propvar, __out_ecou |
| h) PWSTR psz, UINT cch); | | nt(cch) PWSTR psz, __in UINT cch); |
| PSSTDAPI PropVariantToGUID(REFPROPVARIANT propvar, __out GUID *pguid | | PSSTDAPI PropVariantToGUID(__in REFPROPVARIANT propvar, __out GUID * |
| ); | | pguid); |
| PSSTDAPI PropVariantToStringAlloc(__in REFPROPVARIANT propvar, __der | | __checkReturn PSSTDAPI PropVariantToStringAlloc(__in REFPROPVARIANT propvar, __d |
| ef_out PWSTR *ppszOut); | | eref_out PWSTR *ppszOut); |
| PSSTDAPI PropVariantToBSTR(__in REFPROPVARIANT propvar, __deref_out | | __checkReturn PSSTDAPI PropVariantToBSTR(__in REFPROPVARIANT propvar, __deref_ou |
| BSTR *pbstrOut); | | t BSTR *pbstrOut); |
| PSSTDAPI PropVariantToStrRet(REFPROPVARIANT propvar, __out STRRET *p | | __checkReturn PSSTDAPI PropVariantToStrRet(__in REFPROPVARIANT propvar, __out ST |
| strret); | | RRET *pstrret); |
| PSSTDAPI PropVariantToFileTime(REFPROPVARIANT propvar, PSTIME_FLAGS | | PSSTDAPI PropVariantToFileTime(__in REFPROPVARIANT propvar, __in PST |
| pstfOut, __out FILETIME* pftOut); | | IME_FLAGS pstfOut, __out FILETIME* pftOut); |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| HRESULT PropVariantToCLSID(REFPROPVARIANT propvar, __out CLSID *pcl
sid); | | HRESULT PropVariantToCLSID(__in REFPROPVARIANT propvar, __out CLSID
*pclsid); |
| #endif | | #endif |
| | |
| // Returns element count of a VT_VECTOR or VT_ARRAY value; or 1 otherwise | | // Returns element count of a VT_VECTOR or VT_ARRAY value; or 1 otherwise |
|
| PSSTDAPI_(ULONG) PropVariantGetElementCount(REFPROPVARIANT propvar); | | PSSTDAPI_(ULONG) PropVariantGetElementCount(__in REFPROPVARIANT propvar); |
| | |
| // Extract data from a propvariant into a vector | | // Extract data from a propvariant into a vector |
|
| PSSTDAPI PropVariantToBooleanVector(REFPROPVARIANT propvar, __out_ecount_part(cr | | PSSTDAPI PropVariantToBooleanVector(__in REFPROPVARIANT propvar, __out_ecount_pa |
| gf, *pcElem) BOOL *prgf, ULONG crgf, __out ULONG *pcElem); | | rt(crgf, *pcElem) BOOL *prgf, __in ULONG crgf, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToInt16Vector(REFPROPVARIANT propvar, __out_ecount_part(crgn | | PSSTDAPI PropVariantToInt16Vector(__in REFPROPVARIANT propvar, __out_ecount_part |
| , *pcElem) SHORT *prgn, ULONG crgn, __out ULONG *pcElem); | | (crgn, *pcElem) SHORT *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToUInt16Vector(REFPROPVARIANT propvar, __out_ecount_part(crg | | PSSTDAPI PropVariantToUInt16Vector(__in REFPROPVARIANT propvar, __out_ecount_par |
| n, *pcElem) USHORT *prgn, ULONG crgn, __out ULONG *pcElem); | | t(crgn, *pcElem) USHORT *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToInt32Vector(REFPROPVARIANT propvar, __out_ecount_part(crgn | | PSSTDAPI PropVariantToInt32Vector(__in REFPROPVARIANT propvar, __out_ecount_part |
| , *pcElem) LONG *prgn, ULONG crgn, __out ULONG *pcElem); | | (crgn, *pcElem) LONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToUInt32Vector(REFPROPVARIANT propvar, __out_ecount_part(crg | | PSSTDAPI PropVariantToUInt32Vector(__in REFPROPVARIANT propvar, __out_ecount_par |
| n, *pcElem) ULONG *prgn, ULONG crgn, __out ULONG *pcElem); | | t(crgn, *pcElem) ULONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToInt64Vector(REFPROPVARIANT propvar, __out_ecount_part(crgn | | PSSTDAPI PropVariantToInt64Vector(__in REFPROPVARIANT propvar, __out_ecount_part |
| , *pcElem) LONGLONG *prgn, ULONG crgn, __out ULONG *pcElem); | | (crgn, *pcElem) LONGLONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToUInt64Vector(REFPROPVARIANT propvar, __out_ecount_part(crg | | PSSTDAPI PropVariantToUInt64Vector(__in REFPROPVARIANT propvar, __out_ecount_par |
| n, *pcElem) ULONGLONG *prgn, ULONG crgn, __out ULONG *pcElem); | | t(crgn, *pcElem) ULONGLONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToDoubleVector(REFPROPVARIANT propvar, __out_ecount_part(crg | | PSSTDAPI PropVariantToDoubleVector(__in REFPROPVARIANT propvar, __out_ecount_par |
| n, *pcElem) DOUBLE *prgn, ULONG crgn, __out ULONG *pcElem); | | t(crgn, *pcElem) DOUBLE *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToFileTimeVector(REFPROPVARIANT propvar, __out_ecount_part(c | | PSSTDAPI PropVariantToFileTimeVector(__in REFPROPVARIANT propvar, __out_ecount_p |
| rgft, *pcElem) FILETIME *prgft, ULONG crgft, __out ULONG *pcElem); | | art(crgft, *pcElem) FILETIME *prgft, __in ULONG crgft, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToStringVector(REFPROPVARIANT propvar, __out_ecount_part(crg | | __checkReturn PSSTDAPI PropVariantToStringVector(__in REFPROPVARIANT propvar, __ |
| sz, *pcElem) PWSTR *prgsz, ULONG crgsz, __out ULONG *pcElem); | | out_ecount_part(crgsz, *pcElem) PWSTR *prgsz, __in ULONG crgsz, __out ULONG *pcE |
| | lem); |
| | |
| // Extract data from a propvariant and return an newly allocated vector (free wi
th CoTaskMemFree) | | // Extract data from a propvariant and return an newly allocated vector (free wi
th CoTaskMemFree) |
|
| PSSTDAPI PropVariantToBooleanVectorAlloc(REFPROPVARIANT propvar, __deref_out_eco | | __checkReturn PSSTDAPI PropVariantToBooleanVectorAlloc(__in REFPROPVARIANT propv |
| unt(*pcElem) BOOL **pprgf, __out ULONG *pcElem); | | ar, __deref_out_ecount(*pcElem) BOOL **pprgf, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToInt16VectorAlloc(REFPROPVARIANT propvar, __deref_out_ecoun | | __checkReturn PSSTDAPI PropVariantToInt16VectorAlloc(__in REFPROPVARIANT propvar |
| t(*pcElem) SHORT **pprgn, __out ULONG *pcElem); | | , __deref_out_ecount(*pcElem) SHORT **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToUInt16VectorAlloc(REFPROPVARIANT propvar, __deref_out_ecou | | __checkReturn PSSTDAPI PropVariantToUInt16VectorAlloc(__in REFPROPVARIANT propva |
| nt(*pcElem) USHORT **pprgn, __out ULONG *pcElem); | | r, __deref_out_ecount(*pcElem) USHORT **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToInt32VectorAlloc(REFPROPVARIANT propvar, __deref_out_ecoun | | __checkReturn PSSTDAPI PropVariantToInt32VectorAlloc(__in REFPROPVARIANT propvar |
| t(*pcElem) LONG **pprgn, __out ULONG *pcElem); | | , __deref_out_ecount(*pcElem) LONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToUInt32VectorAlloc(REFPROPVARIANT propvar, __deref_out_ecou | | __checkReturn PSSTDAPI PropVariantToUInt32VectorAlloc(__in REFPROPVARIANT propva |
| nt(*pcElem) ULONG **pprgn, __out ULONG *pcElem); | | r, __deref_out_ecount(*pcElem) ULONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToInt64VectorAlloc(REFPROPVARIANT propvar, __deref_out_ecoun | | __checkReturn PSSTDAPI PropVariantToInt64VectorAlloc(__in REFPROPVARIANT propvar |
| t(*pcElem) LONGLONG **pprgn, __out ULONG *pcElem); | | , __deref_out_ecount(*pcElem) LONGLONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToUInt64VectorAlloc(REFPROPVARIANT propvar, __deref_out_ecou | | __checkReturn PSSTDAPI PropVariantToUInt64VectorAlloc(__in REFPROPVARIANT propva |
| nt(*pcElem) ULONGLONG **pprgn, __out ULONG *pcElem); | | r, __deref_out_ecount(*pcElem) ULONGLONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToDoubleVectorAlloc(REFPROPVARIANT propvar, __deref_out_ecou | | __checkReturn PSSTDAPI PropVariantToDoubleVectorAlloc(__in REFPROPVARIANT propva |
| nt(*pcElem) DOUBLE **pprgn, __out ULONG *pcElem); | | r, __deref_out_ecount(*pcElem) DOUBLE **pprgn, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToFileTimeVectorAlloc(REFPROPVARIANT propvar, __deref_out_ec | | __checkReturn PSSTDAPI PropVariantToFileTimeVectorAlloc(__in REFPROPVARIANT prop |
| ount(*pcElem) FILETIME **pprgft, __out ULONG *pcElem); | | var, __deref_out_ecount(*pcElem) FILETIME **pprgft, __out ULONG *pcElem); |
| PSSTDAPI PropVariantToStringVectorAlloc(REFPROPVARIANT propvar, __deref_out_ecou | | __checkReturn PSSTDAPI PropVariantToStringVectorAlloc(__in REFPROPVARIANT propva |
| nt(*pcElem) PWSTR **pprgsz, __out ULONG *pcElem); | | r, __deref_out_ecount(*pcElem) PWSTR **pprgsz, __out ULONG *pcElem); |
| | |
| // Extract a single element from a propvariant. If it is a VT_VECTOR or VT_ARRA
Y, returns the element you request. | | // Extract a single element from a propvariant. If it is a VT_VECTOR or VT_ARRA
Y, returns the element you request. |
| // Otherwise iElem must equal 0 and the function will returns the value. | | // Otherwise iElem must equal 0 and the function will returns the value. |
|
| PSSTDAPI PropVariantGetBooleanElem(REFPROPVARIANT propvar, ULONG iElem, __out BO | | PSSTDAPI PropVariantGetBooleanElem(__in REFPROPVARIANT propvar, __in ULONG iElem |
| OL *pfVal); | | , __out BOOL *pfVal); |
| PSSTDAPI PropVariantGetInt16Elem(REFPROPVARIANT propvar, ULONG iElem, __out SHOR | | PSSTDAPI PropVariantGetInt16Elem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| T *pnVal); | | __out SHORT *pnVal); |
| PSSTDAPI PropVariantGetUInt16Elem(REFPROPVARIANT propvar, ULONG iElem, __out USH | | PSSTDAPI PropVariantGetUInt16Elem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| ORT *pnVal); | | __out USHORT *pnVal); |
| PSSTDAPI PropVariantGetInt32Elem(REFPROPVARIANT propvar, ULONG iElem, __out LONG | | PSSTDAPI PropVariantGetInt32Elem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| *pnVal); | | __out LONG *pnVal); |
| PSSTDAPI PropVariantGetUInt32Elem(REFPROPVARIANT propvar, ULONG iElem, __out ULO | | PSSTDAPI PropVariantGetUInt32Elem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| NG *pnVal); | | __out ULONG *pnVal); |
| PSSTDAPI PropVariantGetInt64Elem(REFPROPVARIANT propvar, ULONG iElem, __out LONG | | PSSTDAPI PropVariantGetInt64Elem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| LONG *pnVal); | | __out LONGLONG *pnVal); |
| PSSTDAPI PropVariantGetUInt64Elem(REFPROPVARIANT propvar, ULONG iElem, __out ULO | | PSSTDAPI PropVariantGetUInt64Elem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| NGLONG *pnVal); | | __out ULONGLONG *pnVal); |
| PSSTDAPI PropVariantGetDoubleElem(REFPROPVARIANT propvar, ULONG iElem, __out DOU | | PSSTDAPI PropVariantGetDoubleElem(__in REFPROPVARIANT propvar, __in ULONG iElem, |
| BLE *pnVal); | | __out DOUBLE *pnVal); |
| PSSTDAPI PropVariantGetFileTimeElem(REFPROPVARIANT propvar, ULONG iElem, __out F | | PSSTDAPI PropVariantGetFileTimeElem(__in REFPROPVARIANT propvar, __in ULONG iEle |
| ILETIME *pftVal); | | m, __out FILETIME *pftVal); |
| PSSTDAPI PropVariantGetStringElem(REFPROPVARIANT propvar, ULONG iElem, __deref_o | | __checkReturn PSSTDAPI PropVariantGetStringElem(__in REFPROPVARIANT propvar, __i |
| ut PWSTR *ppszVal); | | n ULONG iElem, __deref_out PWSTR *ppszVal); |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| HRESULT PropVariantGetElem(REFPROPVARIANT propvarIn, ULONG iElem, __out PROPVAR
IANT *ppropvar); | | HRESULT PropVariantGetElem(__in REFPROPVARIANT propvarIn, __in ULONG iElem, __o
ut PROPVARIANT *ppropvar); |
| #endif | | #endif |
| | |
| // Helpers | | // Helpers |
|
| PSSTDAPI_(void) ClearPropVariantArray(__inout_ecount(cVars) PROPVARIANT *rgPropV
ar, UINT cVars); | | PSSTDAPI_(void) ClearPropVariantArray(__inout_ecount(cVars) PROPVARIANT *rgPropV
ar, __in UINT cVars); |
| | |
| typedef enum | | typedef enum |
| { | | { |
| PVCU_DEFAULT = 0, | | PVCU_DEFAULT = 0, |
| PVCU_SECOND = 1, | | PVCU_SECOND = 1, |
| PVCU_MINUTE = 2, | | PVCU_MINUTE = 2, |
| PVCU_HOUR = 3, | | PVCU_HOUR = 3, |
| PVCU_DAY = 4, | | PVCU_DAY = 4, |
| PVCU_MONTH = 5, | | PVCU_MONTH = 5, |
| PVCU_YEAR = 6 | | PVCU_YEAR = 6 |
| | |
| skipping to change at line 174 | | skipping to change at line 174 |
| PVCF_DEFAULT = 0x00000000, // When comparing strings, use
StrCmpLogical | | PVCF_DEFAULT = 0x00000000, // When comparing strings, use
StrCmpLogical |
| PVCF_TREATEMPTYASGREATERTHAN = 0x00000001, // Empty/null values are greate
r-than non-empty values | | PVCF_TREATEMPTYASGREATERTHAN = 0x00000001, // Empty/null values are greate
r-than non-empty values |
| PVCF_USESTRCMP = 0x00000002, // When comparing strings, use
StrCmp | | PVCF_USESTRCMP = 0x00000002, // When comparing strings, use
StrCmp |
| PVCF_USESTRCMPC = 0x00000004, // When comparing strings, use
StrCmpC | | PVCF_USESTRCMPC = 0x00000004, // When comparing strings, use
StrCmpC |
| PVCF_USESTRCMPI = 0x00000008, // When comparing strings, use
StrCmpI | | PVCF_USESTRCMPI = 0x00000008, // When comparing strings, use
StrCmpI |
| PVCF_USESTRCMPIC = 0x00000010, // When comparing strings, use
StrCmpIC | | PVCF_USESTRCMPIC = 0x00000010, // When comparing strings, use
StrCmpIC |
| }; | | }; |
| typedef int PROPVAR_COMPARE_FLAGS; | | typedef int PROPVAR_COMPARE_FLAGS; |
| | |
| // Comparisons | | // Comparisons |
|
| PSSTDAPI_(int) PropVariantCompareEx(REFPROPVARIANT propvar1, REFPROPVARIANT prop
var2, PROPVAR_COMPARE_UNIT unit, PROPVAR_COMPARE_FLAGS flags); | | PSSTDAPI_(int) PropVariantCompareEx(__in REFPROPVARIANT propvar1, __in REFPROPVA
RIANT propvar2, __in PROPVAR_COMPARE_UNIT unit, __in PROPVAR_COMPARE_FLAGS flags
); |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| int PropVariantCompare(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2); | | int PropVariantCompare(__in REFPROPVARIANT propvar1, __in REFPROPVARIANT propvar
2); |
| #endif | | #endif |
| | |
| enum tagPROPVAR_CHANGE_FLAGS | | enum tagPROPVAR_CHANGE_FLAGS |
| { | | { |
| PVCHF_DEFAULT = 0x00000000, | | PVCHF_DEFAULT = 0x00000000, |
| PVCHF_NOVALUEPROP = 0x00000001, // Maps to VARIANT_NOVALUEPROP f
or VariantChangeType | | PVCHF_NOVALUEPROP = 0x00000001, // Maps to VARIANT_NOVALUEPROP f
or VariantChangeType |
| PVCHF_ALPHABOOL = 0x00000002, // Maps to VARIANT_ALPHABOOL for
VariantChangeType | | PVCHF_ALPHABOOL = 0x00000002, // Maps to VARIANT_ALPHABOOL for
VariantChangeType |
| PVCHF_NOUSEROVERRIDE = 0x00000004, // Maps to VARIANT_NOUSEROVERRID
E for VariantChangeType | | PVCHF_NOUSEROVERRIDE = 0x00000004, // Maps to VARIANT_NOUSEROVERRID
E for VariantChangeType |
| PVCHF_LOCALBOOL = 0x00000008, // Maps to VARIANT_LOCALBOOL for
VariantChangeType | | PVCHF_LOCALBOOL = 0x00000008, // Maps to VARIANT_LOCALBOOL for
VariantChangeType |
| PVCHF_NOHEXSTRING = 0x00000010, // Don't convert a string that l
ooks like hexadecimal (0xABCD) to the numerical equivalent | | PVCHF_NOHEXSTRING = 0x00000010, // Don't convert a string that l
ooks like hexadecimal (0xABCD) to the numerical equivalent |
| }; | | }; |
| typedef int PROPVAR_CHANGE_FLAGS; | | typedef int PROPVAR_CHANGE_FLAGS; |
| | |
| // Coersions | | // Coersions |
|
| PSSTDAPI PropVariantChangeType(__out PROPVARIANT *ppropvarDest, REFPROPVARIANT p
ropvarSrc, PROPVAR_CHANGE_FLAGS flags, VARTYPE vt); | | PSSTDAPI PropVariantChangeType(__out PROPVARIANT *ppropvarDest, __in REFPROPVARI
ANT propvarSrc, __in PROPVAR_CHANGE_FLAGS flags, __in VARTYPE vt); |
| | |
| // Conversions | | // Conversions |
| PSSTDAPI PropVariantToVariant(__in const PROPVARIANT *pPropVar, __out VARIANT *p
Var); | | PSSTDAPI PropVariantToVariant(__in const PROPVARIANT *pPropVar, __out VARIANT *p
Var); |
| PSSTDAPI VariantToPropVariant(__in const VARIANT* pVar, __out PROPVARIANT* pProp
Var); | | PSSTDAPI VariantToPropVariant(__in const VARIANT* pVar, __out PROPVARIANT* pProp
Var); |
| | |
| // Stg functions | | // Stg functions |
|
| PSSTDAPI StgSerializePropVariant( | | __checkReturn PSSTDAPI StgSerializePropVariant( |
| __in const PROPVARIANT* ppropvar, | | __in const PROPVARIANT* ppropvar, |
| __deref_out_bcount(*pcb) SERIALIZEDPROPERTYVALUE** ppProp, | | __deref_out_bcount(*pcb) SERIALIZEDPROPERTYVALUE** ppProp, |
| __out ULONG* pcb); | | __out ULONG* pcb); |
| | |
| PSSTDAPI StgDeserializePropVariant( | | PSSTDAPI StgDeserializePropVariant( |
| __in const SERIALIZEDPROPERTYVALUE* pprop, | | __in const SERIALIZEDPROPERTYVALUE* pprop, |
| __in ULONG cbMax, | | __in ULONG cbMax, |
| __out PROPVARIANT* ppropvar); | | __out PROPVARIANT* ppropvar); |
| | |
| //================ | | //================ |
| // | | // |
| // Variant Helpers | | // Variant Helpers |
| // | | // |
| //================ | | //================ |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| BOOL IsVarTypeFloat(VARTYPE vt); | | BOOL IsVarTypeFloat(__in VARTYPE vt); |
| BOOL IsVariantArray(REFVARIANT var); | | BOOL IsVariantArray(__in REFVARIANT var); |
| BOOL IsVariantString(REFVARIANT var); | | BOOL IsVariantString(__in REFVARIANT var); |
| BOOL IsVarTypeNumber(VARTYPE vt); | | BOOL IsVarTypeNumber(__in VARTYPE vt); |
| BOOL IsVarTypeInteger(VARTYPE vt); | | BOOL IsVarTypeInteger(__in VARTYPE vt); |
| #endif | | #endif |
| | |
| // Initialize a VARIANT | | // Initialize a VARIANT |
|
| PSSTDAPI InitVariantFromResource(HINSTANCE hinst, UINT id, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromResource(__in HINSTANCE hinst, __in UINT id, __out VARIA |
| PSSTDAPI InitVariantFromBuffer(__in_bcount(cb) const void *pv, UINT cb, __out VA | | NT *pvar); |
| RIANT *pvar); | | PSSTDAPI InitVariantFromBuffer(__in_bcount(cb) const void *pv, __in UINT cb, __o |
| PSSTDAPI InitVariantFromGUIDAsString(REFGUID guid, __out VARIANT *pvar); | | ut VARIANT *pvar); |
| PSSTDAPI InitVariantFromFileTime(const FILETIME *pft, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromGUIDAsString(__in REFGUID guid, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromFileTimeArray(__in_ecount_opt(cElems) const FILETIME *pr | | PSSTDAPI InitVariantFromFileTime(__in const FILETIME *pft, __out VARIANT *pvar); |
| gft, ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromFileTimeArray(__in_ecount_opt(cElems) const FILETIME *pr |
| PSSTDAPI InitVariantFromStrRet(__in STRRET *pstrret, PCUITEMID_CHILD pidl, __out | | gft, __in ULONG cElems, __out VARIANT *pvar); |
| VARIANT *pvar); | | PSSTDAPI InitVariantFromStrRet(__in STRRET *pstrret, __in PCUITEMID_CHILD pidl, |
| PSSTDAPI InitVariantFromVariantArrayElem(REFVARIANT varIn, ULONG iElem, __out VA | | __out VARIANT *pvar); |
| RIANT *pvar); | | PSSTDAPI InitVariantFromVariantArrayElem(__in REFVARIANT varIn, __in ULONG iElem |
| | , __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromBooleanArray(__in_ecount(cElems) const BOOL *prgf, __in
ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromBooleanArray(__in_ecount(cElems) const BOOL *prgf, __in
ULONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromInt16Array(__in_ecount(cElems) const SHORT *prgn, __in U
LONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromInt16Array(__in_ecount(cElems) const SHORT *prgn, __in U
LONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromUInt16Array(__in_ecount(cElems) const USHORT *prgn, __in
ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromUInt16Array(__in_ecount(cElems) const USHORT *prgn, __in
ULONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromInt32Array(__in_ecount(cElems) const LONG *prgn, __in UL
ONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromInt32Array(__in_ecount(cElems) const LONG *prgn, __in UL
ONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromUInt32Array(__in_ecount(cElems) const ULONG *prgn, __in
ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromUInt32Array(__in_ecount(cElems) const ULONG *prgn, __in
ULONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromInt64Array(__in_ecount(cElems) const LONGLONG *prgn, __i
n ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromInt64Array(__in_ecount(cElems) const LONGLONG *prgn, __i
n ULONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromUInt64Array(__in_ecount(cElems) const ULONGLONG *prgn, _
_in ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromUInt64Array(__in_ecount(cElems) const ULONGLONG *prgn, _
_in ULONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromDoubleArray(__in_ecount(cElems) const DOUBLE *prgn, __in
ULONG cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromDoubleArray(__in_ecount(cElems) const DOUBLE *prgn, __in
ULONG cElems, __out VARIANT *pvar); |
| PSSTDAPI InitVariantFromStringArray(__in_ecount(cElems) PCWSTR *prgsz, __in ULON
G cElems, __out VARIANT *pvar); | | PSSTDAPI InitVariantFromStringArray(__in_ecount(cElems) PCWSTR *prgsz, __in ULON
G cElems, __out VARIANT *pvar); |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| HRESULT InitVariantFromBoolean(BOOL fVal, __out VARIANT *pvar); | | HRESULT InitVariantFromBoolean(__in BOOL fVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromInt16(SHORT iVal, __out VARIANT *pvar); | | HRESULT InitVariantFromInt16(__in SHORT iVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromUInt16(USHORT uiVal, __out VARIANT *pvar); | | HRESULT InitVariantFromUInt16(__in USHORT uiVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromInt32(LONG lVal, __out VARIANT *pvar); | | HRESULT InitVariantFromInt32(__in LONG lVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromUInt32(ULONG ulVal, __out VARIANT *pvar); | | HRESULT InitVariantFromUInt32(__in ULONG ulVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromInt64(LONGLONG llVal, __out VARIANT *pvar); | | HRESULT InitVariantFromInt64(__in LONGLONG llVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromUInt64(ULONGLONG ullVal, __out VARIANT *pvar); | | HRESULT InitVariantFromUInt64(__in ULONGLONG ullVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromDouble(DOUBLE dblVal, __out VARIANT *pvar); | | HRESULT InitVariantFromDouble(__in DOUBLE dblVal, __out VARIANT *pvar); |
| HRESULT InitVariantFromString(PCWSTR psz, __out VARIANT *pvar); | | HRESULT InitVariantFromString(__in PCWSTR psz, __out VARIANT *pvar); |
| HRESULT InitVariantFromDispatch(IDispatch* pdisp, __out VARIANT *pvar); | | HRESULT InitVariantFromDispatch(__in_opt IDispatch* pdisp, __out VARIANT *pvar) |
| HRESULT InitVariantFromDosDateTime(WORD wDate, WORD wTime, __out VARIANT *pvar) | | ; |
| ; | | HRESULT InitVariantFromDosDateTime(__in WORD wDate, __in WORD wTime, __out VARI |
| HRESULT InitVariantFromGUIDAsBuffer(REFGUID guid, __out VARIANT *pvar); | | ANT *pvar); |
| | HRESULT InitVariantFromGUIDAsBuffer(__in REFGUID guid, __out VARIANT *pvar); |
| #endif | | #endif |
| | |
| // Extract data from a VARIANT | | // Extract data from a VARIANT |
|
| PSSTDAPI_(BOOL) VariantToBooleanWithDefault(REFVARIANT varIn, BOOL fDefaul | | PSSTDAPI_(BOOL) VariantToBooleanWithDefault(__in REFVARIANT varIn, __in BO |
| t); | | OL fDefault); |
| PSSTDAPI_(SHORT) VariantToInt16WithDefault(REFVARIANT varIn, SHORT iDefault | | PSSTDAPI_(SHORT) VariantToInt16WithDefault(__in REFVARIANT varIn, __in SHOR |
| ); | | T iDefault); |
| PSSTDAPI_(USHORT) VariantToUInt16WithDefault(REFVARIANT varIn, USHORT uiDefa | | PSSTDAPI_(USHORT) VariantToUInt16WithDefault(__in REFVARIANT varIn, __in USH |
| ult); | | ORT uiDefault); |
| PSSTDAPI_(LONG) VariantToInt32WithDefault(REFVARIANT varIn, LONG lDefault) | | PSSTDAPI_(LONG) VariantToInt32WithDefault(__in REFVARIANT varIn, __in LONG |
| ; | | lDefault); |
| PSSTDAPI_(ULONG) VariantToUInt32WithDefault(REFVARIANT varIn, ULONG ulDefau | | PSSTDAPI_(ULONG) VariantToUInt32WithDefault(__in REFVARIANT varIn, __in ULO |
| lt); | | NG ulDefault); |
| PSSTDAPI_(LONGLONG) VariantToInt64WithDefault(REFVARIANT varIn, LONGLONG llDef | | PSSTDAPI_(LONGLONG) VariantToInt64WithDefault(__in REFVARIANT varIn, __in LONG |
| ault); | | LONG llDefault); |
| PSSTDAPI_(ULONGLONG) VariantToUInt64WithDefault(REFVARIANT varIn, ULONGLONG ull | | PSSTDAPI_(ULONGLONG) VariantToUInt64WithDefault(__in REFVARIANT varIn, __in ULO |
| Default); | | NGLONG ullDefault); |
| PSSTDAPI_(DOUBLE) VariantToDoubleWithDefault(REFVARIANT varIn, DOUBLE dblDef | | PSSTDAPI_(DOUBLE) VariantToDoubleWithDefault(__in REFVARIANT varIn, __in DOU |
| ault); | | BLE dblDefault); |
| PSSTDAPI_(PCWSTR) VariantToStringWithDefault(REFVARIANT varIn, __in_opt LPCW | | PSSTDAPI_(PCWSTR) VariantToStringWithDefault(__in REFVARIANT varIn, __in_opt |
| STR pszDefault); | | LPCWSTR pszDefault); |
| | |
|
| PSSTDAPI VariantToBoolean(REFVARIANT varIn, __out BOOL *pfRet); | | PSSTDAPI VariantToBoolean(__in REFVARIANT varIn, __out BOOL *pfRet) |
| PSSTDAPI VariantToInt16(REFVARIANT varIn, __out SHORT *piRet); | | ; |
| PSSTDAPI VariantToUInt16(REFVARIANT varIn, __out USHORT *puiRet); | | PSSTDAPI VariantToInt16(__in REFVARIANT varIn, __out SHORT *piRet); |
| PSSTDAPI VariantToInt32(REFVARIANT varIn, __out LONG *plRet); | | PSSTDAPI VariantToUInt16(__in REFVARIANT varIn, __out USHORT *puiRe |
| PSSTDAPI VariantToUInt32(REFVARIANT varIn, __out ULONG *pulRet); | | t); |
| PSSTDAPI VariantToInt64(REFVARIANT varIn, __out LONGLONG *pllRet); | | PSSTDAPI VariantToInt32(__in REFVARIANT varIn, __out LONG *plRet); |
| PSSTDAPI VariantToUInt64(REFVARIANT varIn, __out ULONGLONG *pullRet | | PSSTDAPI VariantToUInt32(__in REFVARIANT varIn, __out ULONG *pulRet |
| ); | | ); |
| PSSTDAPI VariantToDouble(REFVARIANT varIn, __out DOUBLE *pdblRet); | | PSSTDAPI VariantToInt64(__in REFVARIANT varIn, __out LONGLONG *pllR |
| PSSTDAPI VariantToBuffer(REFVARIANT varIn, __out_bcount(cb) void *p | | et); |
| v, UINT cb); | | PSSTDAPI VariantToUInt64(__in REFVARIANT varIn, __out ULONGLONG *pu |
| PSSTDAPI VariantToGUID(REFVARIANT varIn, __out GUID *pguid); | | llRet); |
| PSSTDAPI VariantToString(REFVARIANT varIn, __out_ecount(cchBuf) PWS | | PSSTDAPI VariantToDouble(__in REFVARIANT varIn, __out DOUBLE *pdblR |
| TR pszBuf, UINT cchBuf); | | et); |
| PSSTDAPI VariantToStringAlloc(REFVARIANT varIn, __deref_out PWSTR * | | PSSTDAPI VariantToBuffer(__in REFVARIANT varIn, __out_bcount(cb) vo |
| ppszBuf); | | id *pv, __in UINT cb); |
| PSSTDAPI VariantToDosDateTime(REFVARIANT varIn, __out WORD *pwDate, | | PSSTDAPI VariantToGUID(__in REFVARIANT varIn, __out GUID *pguid); |
| __out WORD *pwTime); | | PSSTDAPI VariantToString(__in REFVARIANT varIn, __out_ecount(cchBuf |
| PSSTDAPI VariantToStrRet(REFVARIANT varIn, __out STRRET *pstrret); | | ) PWSTR pszBuf, __in UINT cchBuf); |
| PSSTDAPI VariantToFileTime(REFVARIANT varIn, PSTIME_FLAGS stfOut, _ | | __checkReturn PSSTDAPI VariantToStringAlloc(__in REFVARIANT varIn, __deref_out P |
| _out FILETIME* pftOut); | | WSTR *ppszBuf); |
| | PSSTDAPI VariantToDosDateTime(__in REFVARIANT varIn, __out WORD *pw |
| | Date, __out WORD *pwTime); |
| | __checkReturn PSSTDAPI VariantToStrRet(__in REFVARIANT varIn, __out STRRET *pstr |
| | ret); |
| | PSSTDAPI VariantToFileTime(__in REFVARIANT varIn, __in PSTIME_FLAGS |
| | stfOut, __out FILETIME* pftOut); |
| | |
| // Get the element count. Returns number of elements for values of type VT_ARRA
Y; returns 1 otherwise. | | // Get the element count. Returns number of elements for values of type VT_ARRA
Y; returns 1 otherwise. |
|
| PSSTDAPI_(ULONG) VariantGetElementCount(REFVARIANT varIn); | | PSSTDAPI_(ULONG) VariantGetElementCount(__in REFVARIANT varIn); |
| | |
| // Extract data from a VARIANT into a vector | | // Extract data from a VARIANT into a vector |
|
| PSSTDAPI VariantToBooleanArray(REFVARIANT var, __out_ecount_part(crgn, *pcElem) | | PSSTDAPI VariantToBooleanArray(__in REFVARIANT var, __out_ecount_part(crgn, *pcE |
| BOOL *prgf, ULONG crgn, __out ULONG *pcElem); | | lem) BOOL *prgf, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToInt16Array(REFVARIANT var, __out_ecount_part(crgn, *pcElem) SH | | PSSTDAPI VariantToInt16Array(__in REFVARIANT var, __out_ecount_part(crgn, *pcEle |
| ORT *prgn, ULONG crgn, __out ULONG *pcElem); | | m) SHORT *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToUInt16Array(REFVARIANT var, __out_ecount_part(crgn, *pcElem) U | | PSSTDAPI VariantToUInt16Array(__in REFVARIANT var, __out_ecount_part(crgn, *pcEl |
| SHORT *prgn, ULONG crgn, __out ULONG *pcElem); | | em) USHORT *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToInt32Array(REFVARIANT var, __out_ecount_part(crgn, *pcElem) LO | | PSSTDAPI VariantToInt32Array(__in REFVARIANT var, __out_ecount_part(crgn, *pcEle |
| NG *prgn, ULONG crgn, __out ULONG *pcElem); | | m) LONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToUInt32Array(REFVARIANT var, __out_ecount_part(crgn, *pcElem) U | | PSSTDAPI VariantToUInt32Array(__in REFVARIANT var, __out_ecount_part(crgn, *pcEl |
| LONG *prgn, ULONG crgn, __out ULONG *pcElem); | | em) ULONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToInt64Array(REFVARIANT var, __out_ecount_part(crgn, *pcElem) LO | | PSSTDAPI VariantToInt64Array(__in REFVARIANT var, __out_ecount_part(crgn, *pcEle |
| NGLONG *prgn, ULONG crgn, __out ULONG *pcElem); | | m) LONGLONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToUInt64Array(REFVARIANT var, __out_ecount_part(crgn, *pcElem) U | | PSSTDAPI VariantToUInt64Array(__in REFVARIANT var, __out_ecount_part(crgn, *pcEl |
| LONGLONG *prgn, ULONG crgn, __out ULONG *pcElem); | | em) ULONGLONG *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToDoubleArray(REFVARIANT var, __out_ecount_part(crgn, *pcElem) D | | PSSTDAPI VariantToDoubleArray(__in REFVARIANT var, __out_ecount_part(crgn, *pcEl |
| OUBLE *prgn, ULONG crgn, __out ULONG *pcElem); | | em) DOUBLE *prgn, __in ULONG crgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToStringArray(REFVARIANT var, __out_ecount_part(crgsz, *pcElem) | | __checkReturn PSSTDAPI VariantToStringArray(__in REFVARIANT var, __out_ecount_pa |
| PWSTR *prgsz, ULONG crgsz, __out ULONG *pcElem); | | rt(crgsz, *pcElem) PWSTR *prgsz, __in ULONG crgsz, __out ULONG *pcElem); |
| | |
|
| // Extract data from a VARIANT into a newly allocated vector (use ClearVariantAr | | // Extract data from a VARIANT into a newly allocated vector (free with CoTaskMe |
| ray to release it) | | mFree) |
| PSSTDAPI VariantToBooleanArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) | | __checkReturn PSSTDAPI VariantToBooleanArrayAlloc(__in REFVARIANT var, __deref_o |
| BOOL **pprgf, __out ULONG *pcElem); | | ut_ecount(*pcElem) BOOL **pprgf, __out ULONG *pcElem); |
| PSSTDAPI VariantToInt16ArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) SH | | __checkReturn PSSTDAPI VariantToInt16ArrayAlloc(__in REFVARIANT var, __deref_out |
| ORT **pprgn, __out ULONG *pcElem); | | _ecount(*pcElem) SHORT **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToUInt16ArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) U | | __checkReturn PSSTDAPI VariantToUInt16ArrayAlloc(__in REFVARIANT var, __deref_ou |
| SHORT **pprgn, __out ULONG *pcElem); | | t_ecount(*pcElem) USHORT **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToInt32ArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) LO | | __checkReturn PSSTDAPI VariantToInt32ArrayAlloc(__in REFVARIANT var, __deref_out |
| NG **pprgn, __out ULONG *pcElem); | | _ecount(*pcElem) LONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToUInt32ArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) U | | __checkReturn PSSTDAPI VariantToUInt32ArrayAlloc(__in REFVARIANT var, __deref_ou |
| LONG **pprgn, __out ULONG *pcElem); | | t_ecount(*pcElem) ULONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToInt64ArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) LO | | __checkReturn PSSTDAPI VariantToInt64ArrayAlloc(__in REFVARIANT var, __deref_out |
| NGLONG **pprgn, __out ULONG *pcElem); | | _ecount(*pcElem) LONGLONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToUInt64ArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) U | | __checkReturn PSSTDAPI VariantToUInt64ArrayAlloc(__in REFVARIANT var, __deref_ou |
| LONGLONG **pprgn, __out ULONG *pcElem); | | t_ecount(*pcElem) ULONGLONG **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToDoubleArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) D | | __checkReturn PSSTDAPI VariantToDoubleArrayAlloc(__in REFVARIANT var, __deref_ou |
| OUBLE **pprgn, __out ULONG *pcElem); | | t_ecount(*pcElem) DOUBLE **pprgn, __out ULONG *pcElem); |
| PSSTDAPI VariantToStringArrayAlloc(REFVARIANT var, __deref_out_ecount(*pcElem) P | | __checkReturn PSSTDAPI VariantToStringArrayAlloc(__in REFVARIANT var, __deref_ou |
| WSTR **pprgsz, __out ULONG *pcElem); | | t_ecount(*pcElem) PWSTR **pprgsz, __out ULONG *pcElem); |
| | |
| // Get a single element of a VARIANT. If it is type VT_ARRAY, returns a the req
uested element. Otherwise | | // Get a single element of a VARIANT. If it is type VT_ARRAY, returns a the req
uested element. Otherwise |
| // iElem must equal 0 and the function returns the value. | | // iElem must equal 0 and the function returns the value. |
|
| PSSTDAPI VariantGetBooleanElem(REFVARIANT var, ULONG iElem, __out BOOL *pfVal); | | PSSTDAPI VariantGetBooleanElem(__in REFVARIANT var, __in ULONG iElem, __out BOOL |
| PSSTDAPI VariantGetInt16Elem(REFVARIANT var, ULONG iElem, __out SHORT *pnVal); | | *pfVal); |
| PSSTDAPI VariantGetUInt16Elem(REFVARIANT var, ULONG iElem, __out USHORT *pnVal); | | PSSTDAPI VariantGetInt16Elem(__in REFVARIANT var, __in ULONG iElem, __out SHORT |
| PSSTDAPI VariantGetInt32Elem(REFVARIANT var, ULONG iElem, __out LONG *pnVal); | | *pnVal); |
| PSSTDAPI VariantGetUInt32Elem(REFVARIANT var, ULONG iElem, __out ULONG *pnVal); | | PSSTDAPI VariantGetUInt16Elem(__in REFVARIANT var, __in ULONG iElem, __out USHOR |
| PSSTDAPI VariantGetInt64Elem(REFVARIANT var, ULONG iElem, __out LONGLONG *pnVal) | | T *pnVal); |
| ; | | PSSTDAPI VariantGetInt32Elem(__in REFVARIANT var, __in ULONG iElem, __out LONG * |
| PSSTDAPI VariantGetUInt64Elem(REFVARIANT var, ULONG iElem, __out ULONGLONG *pnVa | | pnVal); |
| l); | | PSSTDAPI VariantGetUInt32Elem(__in REFVARIANT var, __in ULONG iElem, __out ULONG |
| PSSTDAPI VariantGetDoubleElem(REFVARIANT var, ULONG iElem, __out DOUBLE *pnVal); | | *pnVal); |
| PSSTDAPI VariantGetStringElem(REFVARIANT var, ULONG iElem, __deref_out PWSTR *pp | | PSSTDAPI VariantGetInt64Elem(__in REFVARIANT var, __in ULONG iElem, __out LONGLO |
| szVal); | | NG *pnVal); |
| | PSSTDAPI VariantGetUInt64Elem(__in REFVARIANT var, __in ULONG iElem, __out ULONG |
| | LONG *pnVal); |
| | PSSTDAPI VariantGetDoubleElem(__in REFVARIANT var, __in ULONG iElem, __out DOUBL |
| | E *pnVal); |
| | __checkReturn PSSTDAPI VariantGetStringElem(__in REFVARIANT var, __in ULONG iEle |
| | m, __deref_out PWSTR *ppszVal); |
| #ifdef __cplusplus | | #ifdef __cplusplus |
|
| HRESULT VariantGetElem(REFVARIANT varIn, ULONG iElem, __out VARIANT *pvar); | | HRESULT VariantGetElem(__in REFVARIANT varIn, __in ULONG iElem, __out VARIANT *
pvar); |
| #endif | | #endif |
| | |
| // Helpers | | // Helpers |
|
| PSSTDAPI_(void) ClearVariantArray(__inout_ecount(cvars) VARIANT *pvars, UINT cva | | PSSTDAPI_(void) ClearVariantArray(__inout_ecount(cvars) VARIANT *pvars, __in UIN |
| rs); | | T cvars); |
| PSSTDAPI_(int) VariantCompare(REFVARIANT var1, REFVARIANT var2); | | PSSTDAPI_(int) VariantCompare(__in REFVARIANT var1, __in REFVARIANT var2); |
| | |
| //=========================== | | //=========================== |
| // | | // |
| // Property-specific notions | | // Property-specific notions |
| // | | // |
| //=========================== | | //=========================== |
| | |
| // The progress bar property control uses a specially formatted PROPVARIANT to c
onvey the look of the progress bar | | // The progress bar property control uses a specially formatted PROPVARIANT to c
onvey the look of the progress bar |
| // propvar.vt = VT_UI4 | | // propvar.vt = VT_UI4 |
| // propvar.caul.pElems[0] = current progress | | // propvar.caul.pElems[0] = current progress |
| | |
| skipping to change at line 352 | | skipping to change at line 352 |
| DPF_WARNING = 0x8, // The progress bar should be drawn in the w
arning state. | | DPF_WARNING = 0x8, // The progress bar should be drawn in the w
arning state. |
| DPF_STOPPED = 0x10, // The progress bar is stopped. | | DPF_STOPPED = 0x10, // The progress bar is stopped. |
| } DRAWPROGRESSFLAGS; | | } DRAWPROGRESSFLAGS; |
| | |
| //================ | | //================ |
| // | | // |
| // Inline Helpers | | // Inline Helpers |
| // | | // |
| //================ | | //================ |
| | |
|
| #ifdef __cplusplus | | #if defined(__cplusplus) && !defined(NO_PROPVAR_INLINES) |
| inline HRESULT InitPropVariantFromBoolean(BOOL fVal, __out PROPVARIANT *ppropvar | | inline HRESULT InitPropVariantFromBoolean(__in BOOL fVal, __out PROPVARIANT *ppr |
| ) | | opvar) |
| { | | { |
| ppropvar->vt = VT_BOOL; | | ppropvar->vt = VT_BOOL; |
| ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE; | | ppropvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromInt16(SHORT nVal, __out PROPVARIANT *ppropvar) | | inline HRESULT InitPropVariantFromInt16(__in SHORT nVal, __out PROPVARIANT *ppro
pvar) |
| { | | { |
| ppropvar->vt = VT_I2; | | ppropvar->vt = VT_I2; |
| ppropvar->iVal = nVal; | | ppropvar->iVal = nVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromUInt16(USHORT uiVal, __out PROPVARIANT *ppropv
ar) | | inline HRESULT InitPropVariantFromUInt16(__in USHORT uiVal, __out PROPVARIANT *p
propvar) |
| { | | { |
| ppropvar->vt = VT_UI2; | | ppropvar->vt = VT_UI2; |
| ppropvar->uiVal = uiVal; | | ppropvar->uiVal = uiVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromInt32(LONG lVal, __out PROPVARIANT *ppropvar) | | inline HRESULT InitPropVariantFromInt32(__in LONG lVal, __out PROPVARIANT *pprop
var) |
| { | | { |
| ppropvar->vt = VT_I4; | | ppropvar->vt = VT_I4; |
| ppropvar->lVal = lVal; | | ppropvar->lVal = lVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromUInt32(ULONG ulVal, __out PROPVARIANT *ppropva
r) | | inline HRESULT InitPropVariantFromUInt32(__in ULONG ulVal, __out PROPVARIANT *pp
ropvar) |
| { | | { |
| ppropvar->vt = VT_UI4; | | ppropvar->vt = VT_UI4; |
| ppropvar->ulVal = ulVal; | | ppropvar->ulVal = ulVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromInt64(LONGLONG llVal, __out PROPVARIANT *pprop
var) | | inline HRESULT InitPropVariantFromInt64(__in LONGLONG llVal, __out PROPVARIANT *
ppropvar) |
| { | | { |
| ppropvar->vt = VT_I8; | | ppropvar->vt = VT_I8; |
| ppropvar->hVal.QuadPart = llVal; | | ppropvar->hVal.QuadPart = llVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromUInt64(ULONGLONG ullVal, __out PROPVARIANT *pp
ropvar) | | inline HRESULT InitPropVariantFromUInt64(__in ULONGLONG ullVal, __out PROPVARIAN
T *ppropvar) |
| { | | { |
| ppropvar->vt = VT_UI8; | | ppropvar->vt = VT_UI8; |
| ppropvar->uhVal.QuadPart = ullVal; | | ppropvar->uhVal.QuadPart = ullVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitPropVariantFromDouble(DOUBLE dblVal, __out PROPVARIANT *pprop
var) | | inline HRESULT InitPropVariantFromDouble(__in DOUBLE dblVal, __out PROPVARIANT *
ppropvar) |
| { | | { |
| ppropvar->vt = VT_R8; | | ppropvar->vt = VT_R8; |
| ppropvar->dblVal = dblVal; | | ppropvar->dblVal = dblVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
| // Creates a VT_LPWSTR propvariant. | | // Creates a VT_LPWSTR propvariant. |
|
| inline HRESULT InitPropVariantFromString(PCWSTR psz, __out PROPVARIANT *ppropvar
) | | inline HRESULT InitPropVariantFromString(__in PCWSTR psz, __out PROPVARIANT *ppr
opvar) |
| { | | { |
| ppropvar->vt = VT_LPWSTR; | | ppropvar->vt = VT_LPWSTR; |
| HRESULT hr = SHStrDupW(psz, &ppropvar->pwszVal); | | HRESULT hr = SHStrDupW(psz, &ppropvar->pwszVal); |
| if (FAILED(hr)) | | if (FAILED(hr)) |
| { | | { |
| PropVariantInit(ppropvar); | | PropVariantInit(ppropvar); |
| } | | } |
| return hr; | | return hr; |
| } | | } |
| | |
| // Creates a VT_VECTOR | VT_UI1 propvariant. | | // Creates a VT_VECTOR | VT_UI1 propvariant. |
|
| inline HRESULT InitPropVariantFromGUIDAsBuffer(REFGUID guid, __out PROPVARIANT *
ppropvar) | | inline HRESULT InitPropVariantFromGUIDAsBuffer(__in REFGUID guid, __out PROPVARI
ANT *ppropvar) |
| { | | { |
| return InitPropVariantFromBuffer(&guid, sizeof(GUID), ppropvar); | | return InitPropVariantFromBuffer(&guid, sizeof(GUID), ppropvar); |
| } | | } |
| | |
|
| inline BOOL IsPropVariantVector(REFPROPVARIANT propvar) | | inline BOOL IsPropVariantVector(__in REFPROPVARIANT propvar) |
| { | | { |
| return (propvar.vt & (VT_ARRAY | VT_VECTOR)); | | return (propvar.vt & (VT_ARRAY | VT_VECTOR)); |
| } | | } |
| | |
| // If TRUE, propvar contains a unicode string. Use PropVariantToStringWithDefau
lt(propvar, NULL) to retrieve it. | | // If TRUE, propvar contains a unicode string. Use PropVariantToStringWithDefau
lt(propvar, NULL) to retrieve it. |
|
| inline BOOL IsPropVariantString(REFPROPVARIANT propvar) | | inline BOOL IsPropVariantString(__in REFPROPVARIANT propvar) |
| { | | { |
| return (PropVariantToStringWithDefault(propvar, NULL) != NULL); | | return (PropVariantToStringWithDefault(propvar, NULL) != NULL); |
| } | | } |
| | |
| // Handles int instead of LONG | | // Handles int instead of LONG |
|
| inline HRESULT PropVariantToInt32(REFPROPVARIANT propvarIn, __out int *piRet) | | inline HRESULT PropVariantToInt32(__in REFPROPVARIANT propvarIn, __out int *piRe
t) |
| { | | { |
| return PropVariantToInt32(propvarIn, (LONG*)piRet); | | return PropVariantToInt32(propvarIn, (LONG*)piRet); |
| } | | } |
| | |
| // Handles UINT instead of ULONG | | // Handles UINT instead of ULONG |
|
| inline HRESULT PropVariantToUInt32(REFPROPVARIANT propvarIn, __out UINT *piRet) | | inline HRESULT PropVariantToUInt32(__in REFPROPVARIANT propvarIn, __out UINT *pi
Ret) |
| { | | { |
| return PropVariantToUInt32(propvarIn, (ULONG*)piRet); | | return PropVariantToUInt32(propvarIn, (ULONG*)piRet); |
| } | | } |
| | |
|
| inline HRESULT PropVariantToCLSID(REFPROPVARIANT propvarIn, __out CLSID *pclsid) | | inline HRESULT PropVariantToCLSID(__in REFPROPVARIANT propvarIn, __out CLSID *pc
lsid) |
| { | | { |
| return PropVariantToGUID(propvarIn, (GUID*)pclsid); | | return PropVariantToGUID(propvarIn, (GUID*)pclsid); |
| } | | } |
| | |
|
| inline int PropVariantCompare(REFPROPVARIANT propvar1, REFPROPVARIANT propvar2) | | inline int PropVariantCompare(__in REFPROPVARIANT propvar1, __in REFPROPVARIANT
propvar2) |
| { | | { |
| return PropVariantCompareEx(propvar1, propvar2, PVCU_DEFAULT, PVCF_DEFAULT); | | return PropVariantCompareEx(propvar1, propvar2, PVCU_DEFAULT, PVCF_DEFAULT); |
| } | | } |
| | |
|
| inline HRESULT PropVariantGetElem(REFPROPVARIANT propvarIn, ULONG iElem, __out P
ROPVARIANT *ppropvar) | | inline HRESULT PropVariantGetElem(__in REFPROPVARIANT propvarIn, __in ULONG iEle
m, __out PROPVARIANT *ppropvar) |
| { | | { |
| return InitPropVariantFromPropVariantVectorElem(propvarIn, iElem, ppropvar); | | return InitPropVariantFromPropVariantVectorElem(propvarIn, iElem, ppropvar); |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromBoolean(BOOL fVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromBoolean(__in BOOL fVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_BOOL; | | pvar->vt = VT_BOOL; |
| pvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE; | | pvar->boolVal = fVal ? VARIANT_TRUE : VARIANT_FALSE; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromInt16(short iVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromInt16(__in short iVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_I2; | | pvar->vt = VT_I2; |
| pvar->iVal = iVal; | | pvar->iVal = iVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromUInt16(USHORT uiVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromUInt16(__in USHORT uiVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_UI2; | | pvar->vt = VT_UI2; |
| pvar->uiVal = uiVal; | | pvar->uiVal = uiVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromInt32(LONG lVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromInt32(__in LONG lVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_I4; | | pvar->vt = VT_I4; |
| pvar->lVal = lVal; | | pvar->lVal = lVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromUInt32(ULONG ulVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromUInt32(__in ULONG ulVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_UI4; | | pvar->vt = VT_UI4; |
| pvar->ulVal = ulVal; | | pvar->ulVal = ulVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromInt64(LONGLONG llVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromInt64(__in LONGLONG llVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_I8; | | pvar->vt = VT_I8; |
| pvar->llVal = llVal; | | pvar->llVal = llVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromUInt64(ULONGLONG ullVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromUInt64(__in ULONGLONG ullVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_UI8; | | pvar->vt = VT_UI8; |
| pvar->ullVal = ullVal; | | pvar->ullVal = ullVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromDouble(DOUBLE dblVal, __out VARIANT *pvar) | | inline HRESULT InitVariantFromDouble(__in DOUBLE dblVal, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_R8; | | pvar->vt = VT_R8; |
| pvar->dblVal = dblVal; | | pvar->dblVal = dblVal; |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromString(PCWSTR psz, __out VARIANT *pvar) | | inline HRESULT InitVariantFromString(__in PCWSTR psz, __out VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_BSTR; | | pvar->vt = VT_BSTR; |
| pvar->bstrVal = SysAllocString(psz); | | pvar->bstrVal = SysAllocString(psz); |
|
| HRESULT hr = pvar->bstrVal ? S_OK : (psz ? S_OK : E_OUTOFMEMORY); | | HRESULT hr = pvar->bstrVal ? S_OK : (psz ? E_OUTOFMEMORY : E_INVALIDARG); |
| if (FAILED(hr)) | | if (FAILED(hr)) |
| { | | { |
| VariantInit(pvar); | | VariantInit(pvar); |
| } | | } |
| return hr; | | return hr; |
| } | | } |
| | |
|
| inline HRESULT InitVariantFromDispatch(IDispatch* pdisp, __out VARIANT *pvar) | | inline HRESULT InitVariantFromDispatch(__in_opt IDispatch* pdisp, __out VARIANT
*pvar) |
| { | | { |
| pvar->vt = VT_DISPATCH; | | pvar->vt = VT_DISPATCH; |
| pvar->pdispVal = pdisp; | | pvar->pdispVal = pdisp; |
| if (pvar->pdispVal) | | if (pvar->pdispVal) |
| { | | { |
| (pvar->pdispVal)->AddRef(); | | (pvar->pdispVal)->AddRef(); |
| } | | } |
| return S_OK; | | return S_OK; |
| } | | } |
| | |
| // Creates a VT_DATE variant | | // Creates a VT_DATE variant |
|
| inline HRESULT InitVariantFromDosDateTime(WORD wDate, WORD wTime, __out VARIANT
*pvar) | | inline HRESULT InitVariantFromDosDateTime(__in WORD wDate, __in WORD wTime, __ou
t VARIANT *pvar) |
| { | | { |
| pvar->vt = VT_DATE; | | pvar->vt = VT_DATE; |
| return DosDateTimeToVariantTime(wDate, wTime, &pvar->date) ? S_OK : S_FALSE; | | return DosDateTimeToVariantTime(wDate, wTime, &pvar->date) ? S_OK : S_FALSE; |
| } | | } |
| | |
|
| inline BOOL IsVarTypeFloat(VARTYPE vt) | | inline BOOL IsVarTypeFloat(__in VARTYPE vt) |
| { | | { |
| return (vt == VT_R4 || vt == VT_R8); | | return (vt == VT_R4 || vt == VT_R8); |
| } | | } |
| | |
|
| inline BOOL IsVariantArray(REFVARIANT var) | | inline BOOL IsVariantArray(__in REFVARIANT var) |
| { | | { |
| return (var.vt & VT_ARRAY); | | return (var.vt & VT_ARRAY); |
| } | | } |
| | |
| // if TRUE, you can use VariantToStringCast to obtain the string pointer | | // if TRUE, you can use VariantToStringCast to obtain the string pointer |
|
| inline BOOL IsVariantString(REFVARIANT var) | | inline BOOL IsVariantString(__in REFVARIANT var) |
| { | | { |
| return (VariantToStringWithDefault(var, NULL) != NULL); | | return (VariantToStringWithDefault(var, NULL) != NULL); |
| } | | } |
| | |
|
| inline BOOL IsVarTypeNumber(VARTYPE vt) | | inline BOOL IsVarTypeNumber(__in VARTYPE vt) |
| { | | { |
| return IsVarTypeInteger(vt) || IsVarTypeFloat(vt); | | return IsVarTypeInteger(vt) || IsVarTypeFloat(vt); |
| } | | } |
| | |
|
| inline BOOL IsVarTypeSignedInteger(VARTYPE vt) | | inline BOOL IsVarTypeSignedInteger(__in VARTYPE vt) |
| { | | { |
| BOOL fRet = FALSE; | | BOOL fRet = FALSE; |
| switch (vt) | | switch (vt) |
| { | | { |
| case VT_I1: | | case VT_I1: |
| case VT_I2: | | case VT_I2: |
| case VT_I4: | | case VT_I4: |
| case VT_I8: | | case VT_I8: |
| fRet = TRUE; | | fRet = TRUE; |
| } | | } |
| return fRet; | | return fRet; |
| } | | } |
| | |
|
| inline BOOL IsVarTypeUnsignedInteger(VARTYPE vt) | | inline BOOL IsVarTypeUnsignedInteger(__in VARTYPE vt) |
| { | | { |
| BOOL fRet = FALSE; | | BOOL fRet = FALSE; |
| switch (vt) | | switch (vt) |
| { | | { |
| case VT_UI1: | | case VT_UI1: |
| case VT_UI2: | | case VT_UI2: |
| case VT_UI4: | | case VT_UI4: |
| case VT_UI8: | | case VT_UI8: |
| fRet = TRUE; | | fRet = TRUE; |
| } | | } |
| return fRet; | | return fRet; |
| } | | } |
| | |
|
| inline BOOL IsVarTypeInteger(VARTYPE vt) | | inline BOOL IsVarTypeInteger(__in VARTYPE vt) |
| { | | { |
| return IsVarTypeSignedInteger(vt) || IsVarTypeUnsignedInteger(vt); | | return IsVarTypeSignedInteger(vt) || IsVarTypeUnsignedInteger(vt); |
| } | | } |
| | |
| // Creates a VT_ARRAY | VT_UI1 variant. | | // Creates a VT_ARRAY | VT_UI1 variant. |
|
| inline HRESULT InitVariantFromGUIDAsBuffer(REFGUID guid, __out VARIANT *pvar) | | inline HRESULT InitVariantFromGUIDAsBuffer(__in REFGUID guid, __out VARIANT *pva
r) |
| { | | { |
| return InitVariantFromBuffer(&guid, sizeof(GUID), pvar); | | return InitVariantFromBuffer(&guid, sizeof(GUID), pvar); |
| } | | } |
| | |
| // Handles int instead of LONG | | // Handles int instead of LONG |
|
| inline HRESULT VariantToInt32(REFVARIANT varIn, __out int *piRet) | | inline HRESULT VariantToInt32(__in REFVARIANT varIn, __out int *piRet) |
| { | | { |
| return VariantToInt32(varIn, (LONG*)piRet); | | return VariantToInt32(varIn, (LONG*)piRet); |
| } | | } |
| | |
| // Handles UINT instead of ULONG | | // Handles UINT instead of ULONG |
|
| inline HRESULT VariantToUInt32(REFVARIANT varIn, __out UINT *piRet) | | inline HRESULT VariantToUInt32(__in REFVARIANT varIn, __out UINT *piRet) |
| { | | { |
| return VariantToUInt32(varIn, (ULONG*)piRet); | | return VariantToUInt32(varIn, (ULONG*)piRet); |
| } | | } |
| | |
|
| inline HRESULT VariantGetElem(REFVARIANT varIn, ULONG iElem, __out VARIANT *pvar
) | | inline HRESULT VariantGetElem(__in REFVARIANT varIn, __in ULONG iElem, __out VAR
IANT *pvar) |
| { | | { |
| return InitVariantFromVariantArrayElem(varIn, iElem, pvar); | | return InitVariantFromVariantArrayElem(varIn, iElem, pvar); |
| } | | } |
| #endif // __cplusplus | | #endif // __cplusplus |
| | |
| End of changes. 66 change blocks. |
| 332 lines changed or deleted | | 354 lines changed or added |
|