diff --git a/.gitattributes b/.gitattributes index 8cc820f525e57de7cda23d47fb1d6f6b850f2628..a4ca270e897f343e411255631df9c9ae192a1fab 100644 --- a/.gitattributes +++ b/.gitattributes @@ -127,3 +127,5 @@ miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/dpcmi.dll filter=lfs diff=lfs miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/c1xx.dll filter=lfs diff=lfs merge=lfs -text miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/link.exe filter=lfs diff=lfs merge=lfs -text miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/Microsoft.VisualStudio.Telemetry.dll filter=lfs diff=lfs merge=lfs -text +miniCUDA124/bin/nppif64_12.dll filter=lfs diff=lfs merge=lfs -text +miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/msdia140.dll filter=lfs diff=lfs merge=lfs -text diff --git a/miniCUDA124/bin/nppif64_12.dll b/miniCUDA124/bin/nppif64_12.dll new file mode 100644 index 0000000000000000000000000000000000000000..c28553262ecdc7687f1083afa8923f3c90c83e4f --- /dev/null +++ b/miniCUDA124/bin/nppif64_12.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99a96a55b89c6f4247b27faf6c2534fefc45d12047d6930b31ba35af51e5305f +size 99532288 diff --git a/miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/msdia140.dll b/miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/msdia140.dll new file mode 100644 index 0000000000000000000000000000000000000000..c5802d34d3c90a765720bac978fd8ad6dd93eec1 --- /dev/null +++ b/miniMSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/msdia140.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0f3dacc4ec4fa254e817eb5ad1c8f5f844948722d51e478bd0d61c07444507a +size 1549704 diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EvColl.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EvColl.h new file mode 100644 index 0000000000000000000000000000000000000000..75c4bc628b6f2921039a83a55f83371111317cf4 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EvColl.h @@ -0,0 +1,291 @@ +/*++ +Copyright (C) Microsoft Corporation. All rights reserved. + + +Module Name: + + evcoll.h + +Abstract: + + Event Collector API + +--*/ + + +#ifndef __EVCOLL_H__ +#define __EVCOLL_H__ +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#ifdef __cplusplus +extern "C" +{ +#endif + + +typedef HANDLE EC_HANDLE; +typedef HANDLE EC_OBJECT_ARRAY_PROPERTY_HANDLE; + + +// +// Access Control Permissions +// + +/*-------------------------------------------------------------------------- + Subscription Definitions + --------------------------------------------------------------------------*/ + +typedef enum _EC_SUBSCRIPTION_PROPERTY_ID +{ + EcSubscriptionEnabled = 0, // EcVarTypeBoolean + EcSubscriptionEventSources, // EcVarObjectArrayPropertyHandle + EcSubscriptionEventSourceAddress, // EcVarTypeString + EcSubscriptionEventSourceEnabled, // EcVarTypeBoolean + EcSubscriptionEventSourceUserName, // EcVarTypeString + EcSubscriptionEventSourcePassword, // EcVarTypeString + EcSubscriptionDescription, // EcVarTypeString + EcSubscriptionURI, // EcVarTypeString + EcSubscriptionConfigurationMode, // EcVarTypeUInt32, EC_SUBSCRIPTION_CONFIGURATION_MODE + EcSubscriptionExpires, // EcVarTypeDateTime + EcSubscriptionQuery, // EcVarTypeString + EcSubscriptionTransportName, // EcVarTypeString + EcSubscriptionTransportPort, // EcVarTypeUInt32 + EcSubscriptionDeliveryMode, // EcVarTypeUInt32, EC_SUBSCRIPTION_DELIVERY_MODE + EcSubscriptionDeliveryMaxItems, // EcVarTypeUInt32 + EcSubscriptionDeliveryMaxLatencyTime, // EcVarTypeUInt32 + EcSubscriptionHeartbeatInterval, // EcVarTypeUInt32 + EcSubscriptionLocale, // EcVarTypeString + EcSubscriptionContentFormat, // EcVarTypeUInt32, EC_SUBSCRIPTION_CONTENT_FORMAT + EcSubscriptionLogFile, // EcVarTypeString + EcSubscriptionPublisherName, // EcVarTypeString + EcSubscriptionCredentialsType, // EcVarTypeUInt32, EC_SUBSCRIPTION_CREDENTIALS_TYPE + EcSubscriptionCommonUserName, // EcVarTypeString + EcSubscriptionCommonPassword, // EcVarTypeString + EcSubscriptionHostName, // EcVarTypeString + EcSubscriptionReadExistingEvents, // EcVarTypeBoolean + EcSubscriptionDialect, // EcVarTypeString + EcSubscriptionType, // EcVarTypeUInt32, EC_SUBSCRIPTION_TYPE + EcSubscriptionAllowedIssuerCAs, // EcVarTypeString | EcArrayBitMask + EcSubscriptionAllowedSubjects, // EcVarTypeString | EcArrayBitMask + EcSubscriptionDeniedSubjects, // EcVarTypeString | EcArrayBitMask + EcSubscriptionAllowedSourceDomainComputers, // EcVarTypeString SDDL + EcSubscriptionPropertyIdEND +} EC_SUBSCRIPTION_PROPERTY_ID; + +typedef enum _EC_SUBSCRIPTION_CREDENTIALS_TYPE { + EcSubscriptionCredDefault = 0, + EcSubscriptionCredNegotiate, + EcSubscriptionCredDigest, + EcSubscriptionCredBasic, + EcSubscriptionCredLocalMachine +} EC_SUBSCRIPTION_CREDENTIALS_TYPE; + +typedef enum _EC_SUBSCRIPTION_TYPE { + EcSubscriptionTypeSourceInitiated = 0, + EcSubscriptionTypeCollectorInitiated = 1 +} EC_SUBSCRIPTION_TYPE; + +typedef enum _EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID +{ + EcSubscriptionRunTimeStatusActive = 0, // EcVarTypeUInt32, EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS + EcSubscriptionRunTimeStatusLastError, // EcVarTypeUInt32 + EcSubscriptionRunTimeStatusLastErrorMessage, // EcVarTypeString + EcSubscriptionRunTimeStatusLastErrorTime, // EcVarTypeDateTime + EcSubscriptionRunTimeStatusNextRetryTime, // EcVarTypeDateTime + EcSubscriptionRunTimeStatusEventSources, // EcVarTypeString | ArrayBitMask + EcSubscriptionRunTimeStatusLastHeartbeatTime, // EcVarTypeDateTime + EcSubscriptionRunTimeStatusInfoIdEND +} EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID; + +typedef enum _EC_VARIANT_TYPE +{ + EcVarTypeNull = 0, + EcVarTypeBoolean, + EcVarTypeUInt32, + EcVarTypeDateTime, + EcVarTypeString, + EcVarObjectArrayPropertyHandle +} EC_VARIANT_TYPE; + + +#define EC_VARIANT_TYPE_MASK 0x7f +#define EC_VARIANT_TYPE_ARRAY 128 + + +typedef struct _EC_VARIANT +{ + union + { + BOOL BooleanVal; + UINT32 UInt32Val; + ULONGLONG DateTimeVal; + LPCWSTR StringVal; + PBYTE BinaryVal; + BOOL* BooleanArr; + INT32* Int32Arr; + LPWSTR* StringArr; + EC_OBJECT_ARRAY_PROPERTY_HANDLE PropertyHandleVal; + }; + + DWORD Count; // number of elements not length in bytes. Used for arrays + // and binary/string types. + DWORD Type; + +} EC_VARIANT, *PEC_VARIANT; + + + +#define EC_READ_ACCESS 1 +#define EC_WRITE_ACCESS 2 + +#define EC_OPEN_ALWAYS 0 +#define EC_CREATE_NEW 1 +#define EC_OPEN_EXISTING 2 + +typedef enum _EC_SUBSCRIPTION_CONFIGURATION_MODE +{ + EcConfigurationModeNormal = 0, + EcConfigurationModeCustom, + EcConfigurationModeMinLatency, + EcConfigurationModeMinBandwidth + +} EC_SUBSCRIPTION_CONFIGURATION_MODE; + +typedef enum _EC_SUBSCRIPTION_DELIVERY_MODE +{ + EcDeliveryModePull = 1, + EcDeliveryModePush + +} EC_SUBSCRIPTION_DELIVERY_MODE; + + +typedef enum _EC_SUBSCRIPTION_CONTENT_FORMAT +{ + EcContentFormatEvents = 1, + EcContentFormatRenderedText +} EC_SUBSCRIPTION_CONTENT_FORMAT; + + +typedef enum _EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS +{ + EcRuntimeStatusActiveStatusDisabled = 1, + EcRuntimeStatusActiveStatusActive, + EcRuntimeStatusActiveStatusInactive, + EcRuntimeStatusActiveStatusTrying +} EC_SUBSCRIPTION_RUNTIME_STATUS_ACTIVE_STATUS; + + +EC_HANDLE WINAPI EcOpenSubscriptionEnum( + DWORD Flags + ); + +BOOL WINAPI EcEnumNextSubscription( + EC_HANDLE SubscriptionEnum, + DWORD SubscriptionNameBufferSize, + _Out_writes_to_opt_(SubscriptionNameBufferSize,*SubscriptionNameBufferUsed) + LPWSTR SubscriptionNameBuffer, + _Out_ PDWORD SubscriptionNameBufferUsed + ); + +EC_HANDLE WINAPI EcOpenSubscription( + LPCWSTR SubscriptionName, + DWORD AccessMask, + DWORD Flags + ); + +BOOL WINAPI EcSetSubscriptionProperty( + EC_HANDLE Subscription, + EC_SUBSCRIPTION_PROPERTY_ID PropertyId, + DWORD Flags, + PEC_VARIANT PropertyValue + ); + +BOOL WINAPI EcGetSubscriptionProperty( + EC_HANDLE Subscription, + EC_SUBSCRIPTION_PROPERTY_ID PropertyId, + DWORD Flags, + DWORD PropertyValueBufferSize, + PEC_VARIANT PropertyValueBuffer, + _Out_ PDWORD PropertyValueBufferUsed + ); + +BOOL WINAPI EcSaveSubscription( + EC_HANDLE Subscription, + DWORD Flags + ); + +BOOL WINAPI EcDeleteSubscription( + LPCWSTR SubscriptionName, + DWORD Flags + ); + +BOOL WINAPI EcGetObjectArraySize( + EC_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray, + _Out_ PDWORD ObjectArraySize + ); + +BOOL WINAPI EcSetObjectArrayProperty( + EC_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray, + EC_SUBSCRIPTION_PROPERTY_ID PropertyId, + DWORD ArrayIndex, + DWORD Flags, + PEC_VARIANT PropertyValue + ); + +BOOL WINAPI EcGetObjectArrayProperty( + EC_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray, + EC_SUBSCRIPTION_PROPERTY_ID PropertyId, + DWORD ArrayIndex, + DWORD Flags, + DWORD PropertyValueBufferSize, + PEC_VARIANT PropertyValueBuffer, + _Out_ PDWORD PropertyValueBufferUsed + ); + +BOOL WINAPI EcInsertObjectArrayElement( + EC_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray, + DWORD ArrayIndex + ); + +BOOL WINAPI EcRemoveObjectArrayElement( + EC_OBJECT_ARRAY_PROPERTY_HANDLE ObjectArray, + DWORD ArrayIndex + ); + +BOOL WINAPI EcGetSubscriptionRunTimeStatus( + LPCWSTR SubscriptionName, + EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID StatusInfoId, + LPCWSTR EventSourceName, + DWORD Flags, + DWORD StatusValueBufferSize, + PEC_VARIANT StatusValueBuffer, + _Out_ PDWORD StatusValueBufferUsed + ); + +BOOL WINAPI EcRetrySubscription( + LPCWSTR SubscriptionName, + LPCWSTR EventSourceName, + DWORD Flags + ); + +BOOL WINAPI EcClose( + EC_HANDLE Object + ); + + +#ifdef __cplusplus +} +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // __EC_H__ + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EventSys.Idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EventSys.Idl new file mode 100644 index 0000000000000000000000000000000000000000..5af5a009043d92d109dc54c908a97598e353c117 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EventSys.Idl @@ -0,0 +1,729 @@ +////////////////////////////////// -*- C++ -*- ///////////////////////////////// +// +// EventSystem.idl : IDL source for EventSystem.dll +// +// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved. +// This file will be processed by the MIDL tool to produce the type library +// (EventSystem.tlb) and marshalling code. +// +// -------------------------------------------------------------------------- + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; +import "ocidl.idl"; + +// Event System ProgID's +cpp_quote ("#define PROGID_EventSystem OLESTR(\"EventSystem.EventSystem\")") +cpp_quote ("#define PROGID_EventPublisher OLESTR(\"EventSystem.EventPublisher\")") +cpp_quote ("#define PROGID_EventClass OLESTR(\"EventSystem.EventClass\")") +cpp_quote ("#define PROGID_EventSubscription OLESTR(\"EventSystem.EventSubscription\")") +cpp_quote ("#define PROGID_EventPublisherCollection OLESTR(\"EventSystem.EventPublisherCollection\")") +cpp_quote ("#define PROGID_EventClassCollection OLESTR(\"EventSystem.EventClassCollection\")") +cpp_quote ("#define PROGID_EventSubscriptionCollection OLESTR(\"EventSystem.EventSubscriptionCollection\")") +cpp_quote ("#define PROGID_EventSubsystem OLESTR(\"EventSystem.EventSubsystem\")") + +// Event System object change events +cpp_quote ("#define EVENTSYSTEM_PUBLISHER_ID OLESTR(\"{d0564c30-9df4-11d1-a281-00c04fca0aa7}\")") +cpp_quote ("#define EVENTSYSTEM_SUBSYSTEM_CLSID OLESTR(\"{503c1fd8-b605-11d2-a92d-006008c60e24}\")") + +//midl_pragma warning(disable: 2039) // oleautomation conformance + + +interface IEnumEventObject; +interface IEventObjectCollection; +interface IEventControl; +interface IMultiInterfaceEventControl; + +// -------------------------------------------------------------------------- +// +// IEventSystem - Deprecated interface - Use COMAdmin interfaces instead. +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(4E14FB9F-2E22-11D1-9964-00C04FBBB345), + dual, + proxy, + helpstring("IEventSystem Interface"), + pointer_default(unique) +] +interface IEventSystem : IDispatch +{ + cpp_quote("// *****************************************************************") + cpp_quote("// This is a Deprecated interface - Use COMAdmin interfaces instead.") + cpp_quote("// *****************************************************************") + [id(1), helpstring("method Query")] + HRESULT Query([in] BSTR progID, + [in] BSTR queryCriteria, + [out] int* errorIndex, + [out,retval] IUnknown** ppInterface); + + [id(2), helpstring("method Store")] + HRESULT Store([in] BSTR ProgID, + [in] IUnknown* pInterface); + + [id(3), helpstring("method Remove")] + HRESULT Remove([in] BSTR progID, + [in] BSTR queryCriteria, + [out] int* errorIndex); + + [id(4), propget, helpstring("method get_EventObjectChangeEventClassID")] + HRESULT EventObjectChangeEventClassID([out,retval] BSTR* pbstrEventClassID); + + [id(5), helpstring("method QueryS")] + HRESULT QueryS([in] BSTR progID, + [in] BSTR queryCriteria, + [out,retval] IUnknown** ppInterface); + + [id(6), helpstring("method RemoveS")] + HRESULT RemoveS([in] BSTR progID, + [in] BSTR queryCriteria); +}; + + +// -------------------------------------------------------------------------- +// +// IEventPublisher -- Do Not Use. +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(E341516B-2E32-11D1-9964-00C04FBBB345), + dual, + proxy, + helpstring("IEventPublisher Interface"), + pointer_default(unique) +] +interface IEventPublisher : IDispatch +{ + cpp_quote("// ********************************************") + cpp_quote("// This is a Deprecated interface - Do Not Use.") + cpp_quote("// ********************************************") + [propget, id(1), helpstring("property PublisherID")] + HRESULT PublisherID([out,retval] BSTR* pbstrPublisherID); + [propput, id(1), helpstring("property PublisherID")] + HRESULT PublisherID([in] BSTR bstrPublisherID); + + [propget, id(2), helpstring("property PublisherName")] + HRESULT PublisherName([out,retval] BSTR* pbstrPublisherName); + [propput, id(2), helpstring("property PublisherName")] + HRESULT PublisherName([in] BSTR bstrPublisherName); + + [propget, id(3), helpstring("property PublisherType")] + HRESULT PublisherType([out,retval] BSTR* pbstrPublisherType); + [propput, id(3), helpstring("property PublisherType")] + HRESULT PublisherType([in] BSTR bstrPublisherType); + + [propget, id(4), helpstring("property OwnerSID")] + HRESULT OwnerSID([out,retval] BSTR* pbstrOwnerSID); + [propput, id(4), helpstring("property OwnerSID")] + HRESULT OwnerSID([in] BSTR bstrOwnerSID); + + [propget, id(5), helpstring("property Description")] + HRESULT Description([out,retval] BSTR* pbstrDescription); + [propput, id(5), helpstring("property Description")] + HRESULT Description([in] BSTR bstrDescription); + + [id(6), helpstring("method GetDefaultProperty")] + HRESULT GetDefaultProperty([in] BSTR bstrPropertyName, + [out,retval] VARIANT* propertyValue); + [id(7), helpstring("method PutDefaultProperty")] + HRESULT PutDefaultProperty([in] BSTR bstrPropertyName, + [in] VARIANT* propertyValue); + [id(8), helpstring("method RemoveDefaultProperty")] + HRESULT RemoveDefaultProperty([in] BSTR bstrPropertyName); + [id(9), helpstring("method GetDefaultPropertyCollection")] + HRESULT GetDefaultPropertyCollection([out,retval] IEventObjectCollection** collection); +}; + + +// -------------------------------------------------------------------------- +// +// IEventClass -- event component +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(fb2b72a0-7a68-11d1-88f9-0080c7d771bf), + dual, + proxy, + helpstring("IEventClass Interface"), + pointer_default(unique) +] +interface IEventClass : IDispatch +{ + [propget, id(1), helpstring("property EventClassID")] + HRESULT EventClassID([out,retval] BSTR* pbstrEventClassID); + [propput, id(1), helpstring("property EventClassID")] + HRESULT EventClassID([in] BSTR bstrEventClassID); + + [propget, id(2), helpstring("property EventClassName")] + HRESULT EventClassName([out,retval] BSTR* pbstrEventClassName); + [propput, id(2), helpstring("property EventClassName")] + HRESULT EventClassName([in] BSTR bstrEventClassName); + + [propget, id(3), helpstring("property OwnerSID")] + HRESULT OwnerSID([out,retval] BSTR* pbstrOwnerSID); + [propput, id(3), helpstring("property OwnerSID")] + HRESULT OwnerSID([in] BSTR bstrOwnerSID); + + [propget, id(4), helpstring("property FiringInterfaceID")] + HRESULT FiringInterfaceID([out,retval] BSTR* pbstrFiringInterfaceID); + [propput, id(4), helpstring("property FiringInterfaceID")] + HRESULT FiringInterfaceID([in] BSTR bstrFiringInterfaceID); + + [propget, id(5), helpstring("property Description")] + HRESULT Description([out,retval] BSTR* pbstrDescription); + [propput, id(5), helpstring("property Description")] + HRESULT Description([in] BSTR bstrDescription); + + [propget, id(6), helpstring("property CustomConfigCLSID")] + HRESULT CustomConfigCLSID([out,retval] BSTR* pbstrCustomConfigCLSID); + [propput, id(6), helpstring("property CustomConfigCLSID")] + HRESULT CustomConfigCLSID([in] BSTR bstrCustomConfigCLSID); + + [propget, id(7), helpstring("property TypeLib")] + HRESULT TypeLib([out,retval] BSTR* pbstrTypeLib); + [propput, id(7), helpstring("property TypeLib")] + HRESULT TypeLib([in] BSTR bstrTypeLib); +}; + +[ + object, + uuid(fb2b72a1-7a68-11d1-88f9-0080c7d771bf), + dual, + proxy, + helpstring("IEventClass2 Interface"), + pointer_default(unique) +] +interface IEventClass2 : IEventClass +{ + [id(8), propget, helpstring("property PublisherID")] + HRESULT PublisherID([out,retval] BSTR* pbstrPublisherID); + [id(8), propput, helpstring("property PublisherID")] + HRESULT PublisherID([in] BSTR bstrPublisherID); + + [id(9), propget, helpstring("property MultiInterfacePublisherFilterCLSID")] + HRESULT MultiInterfacePublisherFilterCLSID([out,retval] BSTR* pbstrPubFilCLSID); + [id(9), propput, helpstring("property MultiInterfacePublisherFilterCLSID")] + HRESULT MultiInterfacePublisherFilterCLSID([in] BSTR bstrPubFilCLSID); + + [id(10), propget, helpstring("property AllowInprocActivation")] + HRESULT AllowInprocActivation([out,retval]BOOL* pfAllowInprocActivation); + [id(10), propput, helpstring("property AllowInprocActivation")] + HRESULT AllowInprocActivation([in]BOOL fAllowInprocActivation); + + [id(11), propget, helpstring("property FireInParallel")] + HRESULT FireInParallel([out,retval]BOOL* pfFireInParallel); + [id(11), propput, helpstring("property FireInParallel")] + HRESULT FireInParallel([in]BOOL fFireInParallel); +} + +// -------------------------------------------------------------------------- +// +// IEventSubscription -- event system subscriptions +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(4A6B0E15-2E38-11D1-9965-00C04FBBB345), + dual, + proxy, + helpstring("IEventSubscription Interface"), + pointer_default(unique) +] +interface IEventSubscription : IDispatch +{ + [propget, id(1), helpstring("property SubscriptionID")] + HRESULT SubscriptionID([out,retval] BSTR* pbstrSubscriptionID); + [propput, id(1), helpstring("property SubscriptionID")] + HRESULT SubscriptionID([in] BSTR bstrSubscriptionID); + + [propget, id(2), helpstring("property SubscriptionName")] + HRESULT SubscriptionName([out,retval] BSTR* pbstrSubscriptionName); + [propput, id(2), helpstring("property SubscriptionName")] + HRESULT SubscriptionName([in] BSTR bstrSubscriptionName); + + [propget, id(3), helpstring("property PublisherID")] + HRESULT PublisherID([out,retval] BSTR* pbstrPublisherID); + [propput, id(3), helpstring("property PublisherID")] + HRESULT PublisherID([in] BSTR bstrPublisherID); + + [propget, id(4), helpstring("property EventClassID")] + HRESULT EventClassID([out,retval] BSTR* pbstrEventClassID); + [propput, id(4), helpstring("property EventClassID")] + HRESULT EventClassID([in] BSTR bstrEventClassID); + + [propget, id(5), helpstring("property MethodName")] + HRESULT MethodName([out,retval] BSTR* pbstrMethodName); + [propput, id(5), helpstring("property MethodName")] + HRESULT MethodName([in] BSTR bstrMethodName); + + [propget, id(6), helpstring("property SubscriberCLSID")] + HRESULT SubscriberCLSID([out,retval] BSTR* pbstrSubscriberCLSID); + [propput, id(6), helpstring("property SubscriberCLSID")] + HRESULT SubscriberCLSID([in] BSTR bstrSubscriberCLSID); + + [propget, id(7), helpstring("property SubscriberInterface")] + HRESULT SubscriberInterface([out,retval] IUnknown** ppSubscriberInterface); + [propput, id(7), helpstring("property SubscriberInterface")] + HRESULT SubscriberInterface([in] IUnknown* pSubscriberInterface); + + [propget, id(8), helpstring("property PerUser")] + HRESULT PerUser([out,retval] BOOL* pfPerUser); + [propput, id(8), helpstring("property PerUser")] + HRESULT PerUser([in] BOOL fPerUser); + + [propget, id(9), helpstring("property OwnerSID")] + HRESULT OwnerSID([out,retval] BSTR* pbstrOwnerSID); + [propput, id(9), helpstring("property OwnerSID")] + HRESULT OwnerSID([in] BSTR bstrOwnerSID); + + [propget, id(10), helpstring("property Enabled")] + HRESULT Enabled([out,retval] BOOL* pfEnabled); + [propput, id(10), helpstring("property Enabled")] + HRESULT Enabled([in] BOOL fEnabled); + + [propget, id(11), helpstring("property Description")] + HRESULT Description([out,retval] BSTR* pbstrDescription); + [propput, id(11), helpstring("property Description")] + HRESULT Description([in] BSTR bstrDescription); + + [propget, id(12), helpstring("property MachineName")] + HRESULT MachineName([out,retval] BSTR* pbstrMachineName); + [propput, id(12), helpstring("property MachineName")] + HRESULT MachineName([in] BSTR bstrMachineName); + + [id(13), helpstring("method GetPublisherProperty")] + HRESULT GetPublisherProperty([in] BSTR bstrPropertyName, + [out,retval] VARIANT* propertyValue); + [id(14), helpstring("method PutPublisherProperty")] + HRESULT PutPublisherProperty([in] BSTR bstrPropertyName, + [in] VARIANT* propertyValue); + [id(15), helpstring("method RemovePublisherProperty")] + HRESULT RemovePublisherProperty([in] BSTR bstrPropertyName); + [id(16), helpstring("method GetPublisherPropertyCollection")] + HRESULT GetPublisherPropertyCollection([out,retval] IEventObjectCollection** collection); + + [id(17), helpstring("method GetSubscriberProperty")] + HRESULT GetSubscriberProperty([in] BSTR bstrPropertyName, + [out,retval] VARIANT* propertyValue); + [id(18), helpstring("method PutSubscriberProperty")] + HRESULT PutSubscriberProperty([in] BSTR bstrPropertyName, + [in] VARIANT* propertyValue); + [id(19), helpstring("method RemoveSubscriberProperty")] + HRESULT RemoveSubscriberProperty([in] BSTR bstrPropertyName); + [id(20), helpstring("method GetSubscriberPropertyCollection")] + HRESULT GetSubscriberPropertyCollection([out,retval] IEventObjectCollection** collection); + + [id(21), propget, helpstring("property InterfaceID")] + HRESULT InterfaceID([out,retval] BSTR* pbstrInterfaceID); + [id(21), propput, helpstring("property InterfaceID")] + HRESULT InterfaceID([in] BSTR bstrInterfaceID); +}; + + +[ + object, + uuid(e0498c93-4efe-11d1-9971-00c04fbbb345), + dual, + proxy, + helpstring("IFiringControl Interface"), + pointer_default(unique) +] +interface IFiringControl : IDispatch { + [id(1), helpstring("Fire a single subscription")] + HRESULT FireSubscription([in] IEventSubscription* subscription); +}; + + +// -------------------------------------------------------------------------- +// +// IPublisherFilter - Deprecated interface - Use IMultiInterfacePublisherFilter instead. +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(465e5cc0-7b26-11d1-88fb-0080c7d771bf), + helpstring("IPublisherFilter Interface"), + pointer_default(unique) +] +interface IPublisherFilter : IUnknown +{ + cpp_quote("// ****************************************************************************") + cpp_quote("// This is a Deprecated interface - Use IMultiInterfacePublisherFilter instead.") + cpp_quote("// ****************************************************************************") + [helpstring("User-called method to initialize the publisher filter after it is installed")] + HRESULT Initialize([in] BSTR methodName, [in,unique] IDispatch* dispUserDefined); + + [helpstring("Prepare to fire all subscriptions in your collection")] + HRESULT PrepareToFire([in] BSTR methodName, [in] IFiringControl* firingControl); +}; + + +// -------------------------------------------------------------------------- +// +// IMultiInterfacePublisherFilter +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(465e5cc1-7b26-11d1-88fb-0080c7d771bf), + helpstring("IMultiInterfacePublisherFilter Interface"), + pointer_default(unique) +] +interface IMultiInterfacePublisherFilter : IUnknown +{ + [helpstring("User-called method to initialize the publisher filter after it is installed")] + HRESULT Initialize([in] IMultiInterfaceEventControl* pEIC); + + [helpstring("Prepare to fire all subscriptions in your collection")] + HRESULT PrepareToFire([in] REFIID iid, + [in] BSTR methodName, + [in] IFiringControl* firingControl); +}; + + +// -------------------------------------------------------------------------- +// +// IEventObjectChange +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(F4A07D70-2E25-11D1-9964-00C04FBBB345), + helpstring("IEventObjectChange Interface"), + pointer_default(unique) +] +interface IEventObjectChange : IUnknown +{ + typedef enum { + [helpstring("A new object was added")] + EOC_NewObject, + [helpstring("An existing object was modified")] + EOC_ModifiedObject, + [helpstring("An existing object was deleted")] + EOC_DeletedObject + } EOC_ChangeType; + + [helpstring("method ChangedSubscription")] + HRESULT ChangedSubscription([in] EOC_ChangeType changeType, + [in] BSTR bstrSubscriptionID); + + [helpstring("method ChangedEventClass")] + HRESULT ChangedEventClass([in] EOC_ChangeType changeType, + [in] BSTR bstrEventClassID); + + [helpstring("method ChangedPublisher")] + HRESULT ChangedPublisher([in] EOC_ChangeType changeType, + [in] BSTR bstrPublisherID); +}; + +// -------------------------------------------------------------------------- +// +// IEventObjectChange2 +// +// -------------------------------------------------------------------------- +cpp_quote( "#ifndef _COMEVENTSYSCHANGEINFO_" ) +cpp_quote( "#define _COMEVENTSYSCHANGEINFO_" ) + + +typedef [hidden] struct +{ + DWORD cbSize; // size of this struct + EOC_ChangeType changeType; // the type of change that was made + BSTR objectId; // the EventClassID or SubscriptionID affected. + BSTR partitionId; // the EventClassPartitionID or SubscriberPartitionID affected. + BSTR applicationId; // the EventClassApplicationID or SubscriberApplicationID affected. + GUID reserved [10]; +} COMEVENTSYSCHANGEINFO ; + +cpp_quote( "#endif // _COMEVENTSYSCHANGEINFO_" ) + +[ + object, + uuid(7701A9C3-BD68-438f-83E0-67BF4F53A422), + helpstring("IEventObjectChange2 Interface"), + pointer_default(unique) +] +interface IEventObjectChange2 : IUnknown +{ + [helpstring("method ChangedSubscription")] + HRESULT ChangedSubscription([in] COMEVENTSYSCHANGEINFO* pInfo); + + [helpstring("method ChangedEventClass")] + HRESULT ChangedEventClass([in] COMEVENTSYSCHANGEINFO* pInfo); + +}; + + +// -------------------------------------------------------------------------- +// +// IEnumEventObject -- An interface that provides an enumeration of an +// EventClass, Publisher, or Subscription object. +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(F4A07D63-2E25-11D1-9964-00C04FBBB345), + helpstring("IEnumEventObject Interface"), + pointer_default(unique) +] +interface IEnumEventObject : IUnknown +{ + [id(1), helpstring("method Clone")] + HRESULT Clone([out] IEnumEventObject** ppInterface); + + [id(3), helpstring("method Next")] + HRESULT Next([in] ULONG cReqElem, + [out,size_is(cReqElem), length_is(*cRetElem)] IUnknown** ppInterface, + [out] ULONG* cRetElem); + + [id(4), helpstring("method Reset")] + HRESULT Reset(); + + [id(5), helpstring("method Skip")] + HRESULT Skip([in] ULONG cSkipElem); +}; + +[ + object, + uuid(f89ac270-d4eb-11d1-b682-00805fc79216), + dual, + proxy, + helpstring("IEventObjectCollection Interface"), + pointer_default(unique) +] +interface IEventObjectCollection : IDispatch +{ + [id(DISPID_NEWENUM), propget, restricted, helpstring("Create new IEnumVARIANT")] + HRESULT _NewEnum([out,retval] IUnknown** ppUnkEnum); + + [id(DISPID_VALUE), propget] + HRESULT Item([in] BSTR objectID, [out,retval] VARIANT* pItem); + + [id(1), propget, helpstring("Create new IEnumEventObject")] + HRESULT NewEnum([out,retval] IEnumEventObject** ppEnum); + + [id(2), propget, helpstring("Number of items in the collection")] + HRESULT Count([out,retval] long* pCount); + + [id(3), helpstring("Add an item to the collection")] + HRESULT Add([in] VARIANT* item, [in] BSTR objectID); + + [id(4), helpstring("Remove an item from the collection")] + HRESULT Remove([in] BSTR objectID); +} + + +// -------------------------------------------------------------------------- +// +// IEventProperty -- An interface that represents a name/property pair. +// +// -------------------------------------------------------------------------- + + +[ + object, + uuid(da538ee2-f4de-11d1-b6bb-00805fc79216), + dual, + proxy, + helpstring("IEventProperty Interface"), + pointer_default(unique) +] +interface IEventProperty : IDispatch +{ + [id(1), propget, helpstring("property Name")] + HRESULT Name([out,retval] BSTR* propertyName); + [id(1), propput, helpstring("property Name")] + HRESULT Name([in] BSTR propertyName); + + [id(2), propget, helpstring("property Value")] + HRESULT Value([out,retval] VARIANT* propertyValue); + [id(2), propput, helpstring("property Value")] + HRESULT Value([in] VARIANT* propertyValue); +}; + + +// -------------------------------------------------------------------------- +// +// IEventControl - Deprecated interface - Use IMultiInterfaceEventControl instead. +// +// -------------------------------------------------------------------------- + +[ + object, + uuid(0343e2f4-86f6-11d1-b760-00c04fb926af), + dual, + proxy, + helpstring("IEventControl Interface"), + pointer_default(unique) +] +interface IEventControl : IDispatch +{ + cpp_quote("// *************************************************************************") + cpp_quote("// This is a Deprecated interface - Use IMultiInterfaceEventControl instead.") + cpp_quote("// *************************************************************************") + [id(1), helpstring("method SetPublisherFilter")] + HRESULT SetPublisherFilter([in] BSTR methodName, + [in,unique] IPublisherFilter* pPublisherFilter); + + [propget, id(2), helpstring("property AllowInprocActivation")] + HRESULT AllowInprocActivation([out,retval] BOOL* pfAllowInprocActivation); + [propput, id(2), helpstring("property AllowInprocActivation")] + HRESULT AllowInprocActivation([in] BOOL fAllowInprocActivation); + + [id(3), helpstring("Get a self-updating collection of subscriptions to a given method")] + HRESULT GetSubscriptions([in,unique] BSTR methodName, + [in,unique] BSTR optionalCriteria, + [in,unique] int* optionalErrorIndex, + [out,retval] IEventObjectCollection** ppCollection); + [id(4), helpstring("Establish the default query to use when not filtering")] + HRESULT SetDefaultQuery([in] BSTR methodName, + [in] BSTR criteria, + [out,retval] int* errorIndex); +}; + + +[ + object, + uuid(0343e2f5-86f6-11d1-b760-00c04fb926af), + helpstring("IMultiInterfaceEventControl Interface"), + pointer_default(unique) +] +interface IMultiInterfaceEventControl : IUnknown +{ + [helpstring("method SetMultiInterfacePublisherFilter")] + HRESULT SetMultiInterfacePublisherFilter([in,unique] IMultiInterfacePublisherFilter* classFilter); + + [helpstring("Get a self-updating collection of subscriptions to an IID/method")] + HRESULT GetSubscriptions([in] REFIID eventIID, + [in,unique] BSTR bstrMethodName, + [in,unique] BSTR optionalCriteria, + [in,unique] int* optionalErrorIndex, + [out,retval] IEventObjectCollection** ppCollection); + + [helpstring("Establish the default query to use when not filtering.")] + HRESULT SetDefaultQuery([in] REFIID eventIID, + [in] BSTR bstrMethodName, + [in] BSTR bstrCriteria, + [out,retval] int* errorIndex); + + [propget, helpstring("property AllowInprocActivation")] + HRESULT AllowInprocActivation([out,retval] BOOL* pfAllowInprocActivation); + [propput, helpstring("property AllowInprocActivation")] + HRESULT AllowInprocActivation([in] BOOL fAllowInprocActivation); + + [propget, helpstring("property FireInParallel")] + HRESULT FireInParallel([out,retval] BOOL* pfFireInParallel); + [propput, helpstring("property FireInParallel")] + HRESULT FireInParallel([in] BOOL fFireInParallel); +} + +[ + object, + uuid(784121F1-62A6-4b89-855F-D65F296DE83A), + helpstring("IDontSupportEventSubscription Interface"), + pointer_default(unique) +] +interface IDontSupportEventSubscription : IUnknown +{ + // No methods (except IUnknown). This interface just serves to let an object indicate + // it does not wish to support event subscriptions. +}; + + +//////////////////////////////////////////////////////////////////////////////// +// +// Classes.... +// +//////////////////////////////////////////////////////////////////////////////// + + +[ + uuid(e81221dc-c4d8-11d1-b653-00805fc79216), + version(1.0), + helpstring("EventSystem 1.0 Type Library") +] +library DummyEventSystemLib +{ + importlib("stdole2.tlb"); + importlib("stdole32.tlb"); + + [ + uuid(4E14FBA2-2E22-11D1-9964-00C04FBBB345), + helpstring("CEventSystem Class") + ] + coclass CEventSystem + { + [default] interface IEventSystem; + }; + + [ + uuid(ab944620-79c6-11d1-88f9-0080c7d771bf), + version(1.0) + ] + coclass CEventPublisher + { + [default] interface IEventPublisher; + }; + + [ + uuid(cdbec9c0-7a68-11d1-88f9-0080c7d771bf), + version(1.0) + ] + coclass CEventClass + { + [default] interface IEventClass; + }; + + [ + uuid(7542e960-79c7-11d1-88f9-0080c7d771bf), + version(1.0) + ] + coclass CEventSubscription + { + [default] interface IEventSubscription; + }; + + // EventObjectChange is the EventClassID used by COM+ Events to + // publish IEventObjectChange notifications. + [ + uuid(d0565000-9df4-11d1-a281-00c04fca0aa7), + version(1.0) + ] + coclass EventObjectChange + { + [default] interface IEventObjectChange; + }; + + // EventObjectChange2 is the EventClassID used by COM+ Events to + // publish IEventObjectChange2 notifications. + [ + uuid(BB07BACD-CD56-4e63-A8FF-CBF0355FB9F4), + version(1.0) + ] + coclass EventObjectChange2 + { + [default] interface IEventObjectChange2; + }; + +} + +//midl_pragma warning(default: 2039) // oleautomation conformance + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EventSys.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EventSys.h new file mode 100644 index 0000000000000000000000000000000000000000..35fb21d4f3a30efd50dcd65287ada50cc84a7ee4 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/EventSys.h @@ -0,0 +1,3483 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 500 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __eventsys_h__ +#define __eventsys_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IEventSystem_FWD_DEFINED__ +#define __IEventSystem_FWD_DEFINED__ +typedef interface IEventSystem IEventSystem; + +#endif /* __IEventSystem_FWD_DEFINED__ */ + + +#ifndef __IEventPublisher_FWD_DEFINED__ +#define __IEventPublisher_FWD_DEFINED__ +typedef interface IEventPublisher IEventPublisher; + +#endif /* __IEventPublisher_FWD_DEFINED__ */ + + +#ifndef __IEventClass_FWD_DEFINED__ +#define __IEventClass_FWD_DEFINED__ +typedef interface IEventClass IEventClass; + +#endif /* __IEventClass_FWD_DEFINED__ */ + + +#ifndef __IEventClass2_FWD_DEFINED__ +#define __IEventClass2_FWD_DEFINED__ +typedef interface IEventClass2 IEventClass2; + +#endif /* __IEventClass2_FWD_DEFINED__ */ + + +#ifndef __IEventSubscription_FWD_DEFINED__ +#define __IEventSubscription_FWD_DEFINED__ +typedef interface IEventSubscription IEventSubscription; + +#endif /* __IEventSubscription_FWD_DEFINED__ */ + + +#ifndef __IFiringControl_FWD_DEFINED__ +#define __IFiringControl_FWD_DEFINED__ +typedef interface IFiringControl IFiringControl; + +#endif /* __IFiringControl_FWD_DEFINED__ */ + + +#ifndef __IPublisherFilter_FWD_DEFINED__ +#define __IPublisherFilter_FWD_DEFINED__ +typedef interface IPublisherFilter IPublisherFilter; + +#endif /* __IPublisherFilter_FWD_DEFINED__ */ + + +#ifndef __IMultiInterfacePublisherFilter_FWD_DEFINED__ +#define __IMultiInterfacePublisherFilter_FWD_DEFINED__ +typedef interface IMultiInterfacePublisherFilter IMultiInterfacePublisherFilter; + +#endif /* __IMultiInterfacePublisherFilter_FWD_DEFINED__ */ + + +#ifndef __IEventObjectChange_FWD_DEFINED__ +#define __IEventObjectChange_FWD_DEFINED__ +typedef interface IEventObjectChange IEventObjectChange; + +#endif /* __IEventObjectChange_FWD_DEFINED__ */ + + +#ifndef __IEventObjectChange2_FWD_DEFINED__ +#define __IEventObjectChange2_FWD_DEFINED__ +typedef interface IEventObjectChange2 IEventObjectChange2; + +#endif /* __IEventObjectChange2_FWD_DEFINED__ */ + + +#ifndef __IEnumEventObject_FWD_DEFINED__ +#define __IEnumEventObject_FWD_DEFINED__ +typedef interface IEnumEventObject IEnumEventObject; + +#endif /* __IEnumEventObject_FWD_DEFINED__ */ + + +#ifndef __IEventObjectCollection_FWD_DEFINED__ +#define __IEventObjectCollection_FWD_DEFINED__ +typedef interface IEventObjectCollection IEventObjectCollection; + +#endif /* __IEventObjectCollection_FWD_DEFINED__ */ + + +#ifndef __IEventProperty_FWD_DEFINED__ +#define __IEventProperty_FWD_DEFINED__ +typedef interface IEventProperty IEventProperty; + +#endif /* __IEventProperty_FWD_DEFINED__ */ + + +#ifndef __IEventControl_FWD_DEFINED__ +#define __IEventControl_FWD_DEFINED__ +typedef interface IEventControl IEventControl; + +#endif /* __IEventControl_FWD_DEFINED__ */ + + +#ifndef __IMultiInterfaceEventControl_FWD_DEFINED__ +#define __IMultiInterfaceEventControl_FWD_DEFINED__ +typedef interface IMultiInterfaceEventControl IMultiInterfaceEventControl; + +#endif /* __IMultiInterfaceEventControl_FWD_DEFINED__ */ + + +#ifndef __IDontSupportEventSubscription_FWD_DEFINED__ +#define __IDontSupportEventSubscription_FWD_DEFINED__ +typedef interface IDontSupportEventSubscription IDontSupportEventSubscription; + +#endif /* __IDontSupportEventSubscription_FWD_DEFINED__ */ + + +#ifndef __CEventSystem_FWD_DEFINED__ +#define __CEventSystem_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class CEventSystem CEventSystem; +#else +typedef struct CEventSystem CEventSystem; +#endif /* __cplusplus */ + +#endif /* __CEventSystem_FWD_DEFINED__ */ + + +#ifndef __CEventPublisher_FWD_DEFINED__ +#define __CEventPublisher_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class CEventPublisher CEventPublisher; +#else +typedef struct CEventPublisher CEventPublisher; +#endif /* __cplusplus */ + +#endif /* __CEventPublisher_FWD_DEFINED__ */ + + +#ifndef __CEventClass_FWD_DEFINED__ +#define __CEventClass_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class CEventClass CEventClass; +#else +typedef struct CEventClass CEventClass; +#endif /* __cplusplus */ + +#endif /* __CEventClass_FWD_DEFINED__ */ + + +#ifndef __CEventSubscription_FWD_DEFINED__ +#define __CEventSubscription_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class CEventSubscription CEventSubscription; +#else +typedef struct CEventSubscription CEventSubscription; +#endif /* __cplusplus */ + +#endif /* __CEventSubscription_FWD_DEFINED__ */ + + +#ifndef __EventObjectChange_FWD_DEFINED__ +#define __EventObjectChange_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class EventObjectChange EventObjectChange; +#else +typedef struct EventObjectChange EventObjectChange; +#endif /* __cplusplus */ + +#endif /* __EventObjectChange_FWD_DEFINED__ */ + + +#ifndef __EventObjectChange2_FWD_DEFINED__ +#define __EventObjectChange2_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class EventObjectChange2 EventObjectChange2; +#else +typedef struct EventObjectChange2 EventObjectChange2; +#endif /* __cplusplus */ + +#endif /* __EventObjectChange2_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_eventsys_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#define PROGID_EventSystem OLESTR("EventSystem.EventSystem") +#define PROGID_EventPublisher OLESTR("EventSystem.EventPublisher") +#define PROGID_EventClass OLESTR("EventSystem.EventClass") +#define PROGID_EventSubscription OLESTR("EventSystem.EventSubscription") +#define PROGID_EventPublisherCollection OLESTR("EventSystem.EventPublisherCollection") +#define PROGID_EventClassCollection OLESTR("EventSystem.EventClassCollection") +#define PROGID_EventSubscriptionCollection OLESTR("EventSystem.EventSubscriptionCollection") +#define PROGID_EventSubsystem OLESTR("EventSystem.EventSubsystem") +#define EVENTSYSTEM_PUBLISHER_ID OLESTR("{d0564c30-9df4-11d1-a281-00c04fca0aa7}") +#define EVENTSYSTEM_SUBSYSTEM_CLSID OLESTR("{503c1fd8-b605-11d2-a92d-006008c60e24}") + + + + + + +extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_0000_v0_0_s_ifspec; + +#ifndef __IEventSystem_INTERFACE_DEFINED__ +#define __IEventSystem_INTERFACE_DEFINED__ + +/* interface IEventSystem */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + +// ***************************************************************** +// This is a Deprecated interface - Use COMAdmin interfaces instead. +// ***************************************************************** + +EXTERN_C const IID IID_IEventSystem; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4E14FB9F-2E22-11D1-9964-00C04FBBB345") + IEventSystem : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Query( + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria, + /* [out] */ __RPC__out int *errorIndex, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppInterface) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Store( + /* [in] */ __RPC__in BSTR ProgID, + /* [in] */ __RPC__in_opt IUnknown *pInterface) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria, + /* [out] */ __RPC__out int *errorIndex) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_EventObjectChangeEventClassID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryS( + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppInterface) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveS( + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventSystemVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventSystem * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventSystem * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventSystem * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventSystem * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventSystem * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventSystem, Query) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Query )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria, + /* [out] */ __RPC__out int *errorIndex, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppInterface); + + DECLSPEC_XFGVIRT(IEventSystem, Store) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Store )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in BSTR ProgID, + /* [in] */ __RPC__in_opt IUnknown *pInterface); + + DECLSPEC_XFGVIRT(IEventSystem, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria, + /* [out] */ __RPC__out int *errorIndex); + + DECLSPEC_XFGVIRT(IEventSystem, get_EventObjectChangeEventClassID) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EventObjectChangeEventClassID )( + __RPC__in IEventSystem * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID); + + DECLSPEC_XFGVIRT(IEventSystem, QueryS) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryS )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppInterface); + + DECLSPEC_XFGVIRT(IEventSystem, RemoveS) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveS )( + __RPC__in IEventSystem * This, + /* [in] */ __RPC__in BSTR progID, + /* [in] */ __RPC__in BSTR queryCriteria); + + END_INTERFACE + } IEventSystemVtbl; + + interface IEventSystem + { + CONST_VTBL struct IEventSystemVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventSystem_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventSystem_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventSystem_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventSystem_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventSystem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventSystem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventSystem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventSystem_Query(This,progID,queryCriteria,errorIndex,ppInterface) \ + ( (This)->lpVtbl -> Query(This,progID,queryCriteria,errorIndex,ppInterface) ) + +#define IEventSystem_Store(This,ProgID,pInterface) \ + ( (This)->lpVtbl -> Store(This,ProgID,pInterface) ) + +#define IEventSystem_Remove(This,progID,queryCriteria,errorIndex) \ + ( (This)->lpVtbl -> Remove(This,progID,queryCriteria,errorIndex) ) + +#define IEventSystem_get_EventObjectChangeEventClassID(This,pbstrEventClassID) \ + ( (This)->lpVtbl -> get_EventObjectChangeEventClassID(This,pbstrEventClassID) ) + +#define IEventSystem_QueryS(This,progID,queryCriteria,ppInterface) \ + ( (This)->lpVtbl -> QueryS(This,progID,queryCriteria,ppInterface) ) + +#define IEventSystem_RemoveS(This,progID,queryCriteria) \ + ( (This)->lpVtbl -> RemoveS(This,progID,queryCriteria) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventSystem_INTERFACE_DEFINED__ */ + + +#ifndef __IEventPublisher_INTERFACE_DEFINED__ +#define __IEventPublisher_INTERFACE_DEFINED__ + +/* interface IEventPublisher */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + +// ******************************************** +// This is a Deprecated interface - Do Not Use. +// ******************************************** + +EXTERN_C const IID IID_IEventPublisher; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("E341516B-2E32-11D1-9964-00C04FBBB345") + IEventPublisher : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherID( + /* [in] */ __RPC__in BSTR bstrPublisherID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherName( + /* [in] */ __RPC__in BSTR bstrPublisherName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherType( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherType( + /* [in] */ __RPC__in BSTR bstrPublisherType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OwnerSID( + /* [in] */ __RPC__in BSTR bstrOwnerSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( + /* [in] */ __RPC__in BSTR bstrDescription) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [retval][out] */ __RPC__out VARIANT *propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutDefaultProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [in] */ __RPC__in VARIANT *propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveDefaultProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultPropertyCollection( + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **collection) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventPublisherVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventPublisher * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventPublisher * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventPublisher * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventPublisher * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventPublisher * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventPublisher, get_PublisherID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherID )( + __RPC__in IEventPublisher * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherID); + + DECLSPEC_XFGVIRT(IEventPublisher, put_PublisherID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherID )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrPublisherID); + + DECLSPEC_XFGVIRT(IEventPublisher, get_PublisherName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherName )( + __RPC__in IEventPublisher * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherName); + + DECLSPEC_XFGVIRT(IEventPublisher, put_PublisherName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherName )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrPublisherName); + + DECLSPEC_XFGVIRT(IEventPublisher, get_PublisherType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherType )( + __RPC__in IEventPublisher * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherType); + + DECLSPEC_XFGVIRT(IEventPublisher, put_PublisherType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherType )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrPublisherType); + + DECLSPEC_XFGVIRT(IEventPublisher, get_OwnerSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( + __RPC__in IEventPublisher * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventPublisher, put_OwnerSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventPublisher, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IEventPublisher * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription); + + DECLSPEC_XFGVIRT(IEventPublisher, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrDescription); + + DECLSPEC_XFGVIRT(IEventPublisher, GetDefaultProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultProperty )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [retval][out] */ __RPC__out VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventPublisher, PutDefaultProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutDefaultProperty )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [in] */ __RPC__in VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventPublisher, RemoveDefaultProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveDefaultProperty )( + __RPC__in IEventPublisher * This, + /* [in] */ __RPC__in BSTR bstrPropertyName); + + DECLSPEC_XFGVIRT(IEventPublisher, GetDefaultPropertyCollection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultPropertyCollection )( + __RPC__in IEventPublisher * This, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **collection); + + END_INTERFACE + } IEventPublisherVtbl; + + interface IEventPublisher + { + CONST_VTBL struct IEventPublisherVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventPublisher_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventPublisher_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventPublisher_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventPublisher_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventPublisher_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventPublisher_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventPublisher_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventPublisher_get_PublisherID(This,pbstrPublisherID) \ + ( (This)->lpVtbl -> get_PublisherID(This,pbstrPublisherID) ) + +#define IEventPublisher_put_PublisherID(This,bstrPublisherID) \ + ( (This)->lpVtbl -> put_PublisherID(This,bstrPublisherID) ) + +#define IEventPublisher_get_PublisherName(This,pbstrPublisherName) \ + ( (This)->lpVtbl -> get_PublisherName(This,pbstrPublisherName) ) + +#define IEventPublisher_put_PublisherName(This,bstrPublisherName) \ + ( (This)->lpVtbl -> put_PublisherName(This,bstrPublisherName) ) + +#define IEventPublisher_get_PublisherType(This,pbstrPublisherType) \ + ( (This)->lpVtbl -> get_PublisherType(This,pbstrPublisherType) ) + +#define IEventPublisher_put_PublisherType(This,bstrPublisherType) \ + ( (This)->lpVtbl -> put_PublisherType(This,bstrPublisherType) ) + +#define IEventPublisher_get_OwnerSID(This,pbstrOwnerSID) \ + ( (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID) ) + +#define IEventPublisher_put_OwnerSID(This,bstrOwnerSID) \ + ( (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID) ) + +#define IEventPublisher_get_Description(This,pbstrDescription) \ + ( (This)->lpVtbl -> get_Description(This,pbstrDescription) ) + +#define IEventPublisher_put_Description(This,bstrDescription) \ + ( (This)->lpVtbl -> put_Description(This,bstrDescription) ) + +#define IEventPublisher_GetDefaultProperty(This,bstrPropertyName,propertyValue) \ + ( (This)->lpVtbl -> GetDefaultProperty(This,bstrPropertyName,propertyValue) ) + +#define IEventPublisher_PutDefaultProperty(This,bstrPropertyName,propertyValue) \ + ( (This)->lpVtbl -> PutDefaultProperty(This,bstrPropertyName,propertyValue) ) + +#define IEventPublisher_RemoveDefaultProperty(This,bstrPropertyName) \ + ( (This)->lpVtbl -> RemoveDefaultProperty(This,bstrPropertyName) ) + +#define IEventPublisher_GetDefaultPropertyCollection(This,collection) \ + ( (This)->lpVtbl -> GetDefaultPropertyCollection(This,collection) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventPublisher_INTERFACE_DEFINED__ */ + + +#ifndef __IEventClass_INTERFACE_DEFINED__ +#define __IEventClass_INTERFACE_DEFINED__ + +/* interface IEventClass */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + + +EXTERN_C const IID IID_IEventClass; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("fb2b72a0-7a68-11d1-88f9-0080c7d771bf") + IEventClass : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventClassID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventClassID( + /* [in] */ __RPC__in BSTR bstrEventClassID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventClassName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventClassName( + /* [in] */ __RPC__in BSTR bstrEventClassName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OwnerSID( + /* [in] */ __RPC__in BSTR bstrOwnerSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FiringInterfaceID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFiringInterfaceID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FiringInterfaceID( + /* [in] */ __RPC__in BSTR bstrFiringInterfaceID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( + /* [in] */ __RPC__in BSTR bstrDescription) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CustomConfigCLSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCustomConfigCLSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CustomConfigCLSID( + /* [in] */ __RPC__in BSTR bstrCustomConfigCLSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TypeLib( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTypeLib) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TypeLib( + /* [in] */ __RPC__in BSTR bstrTypeLib) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventClassVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventClass * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventClass * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventClass * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventClass * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventClass * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventClass, get_EventClassID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassID )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID); + + DECLSPEC_XFGVIRT(IEventClass, put_EventClassID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassID )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrEventClassID); + + DECLSPEC_XFGVIRT(IEventClass, get_EventClassName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassName )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassName); + + DECLSPEC_XFGVIRT(IEventClass, put_EventClassName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassName )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrEventClassName); + + DECLSPEC_XFGVIRT(IEventClass, get_OwnerSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventClass, put_OwnerSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventClass, get_FiringInterfaceID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FiringInterfaceID )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFiringInterfaceID); + + DECLSPEC_XFGVIRT(IEventClass, put_FiringInterfaceID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FiringInterfaceID )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrFiringInterfaceID); + + DECLSPEC_XFGVIRT(IEventClass, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription); + + DECLSPEC_XFGVIRT(IEventClass, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrDescription); + + DECLSPEC_XFGVIRT(IEventClass, get_CustomConfigCLSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CustomConfigCLSID )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCustomConfigCLSID); + + DECLSPEC_XFGVIRT(IEventClass, put_CustomConfigCLSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CustomConfigCLSID )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrCustomConfigCLSID); + + DECLSPEC_XFGVIRT(IEventClass, get_TypeLib) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TypeLib )( + __RPC__in IEventClass * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTypeLib); + + DECLSPEC_XFGVIRT(IEventClass, put_TypeLib) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TypeLib )( + __RPC__in IEventClass * This, + /* [in] */ __RPC__in BSTR bstrTypeLib); + + END_INTERFACE + } IEventClassVtbl; + + interface IEventClass + { + CONST_VTBL struct IEventClassVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventClass_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventClass_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventClass_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventClass_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventClass_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventClass_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventClass_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventClass_get_EventClassID(This,pbstrEventClassID) \ + ( (This)->lpVtbl -> get_EventClassID(This,pbstrEventClassID) ) + +#define IEventClass_put_EventClassID(This,bstrEventClassID) \ + ( (This)->lpVtbl -> put_EventClassID(This,bstrEventClassID) ) + +#define IEventClass_get_EventClassName(This,pbstrEventClassName) \ + ( (This)->lpVtbl -> get_EventClassName(This,pbstrEventClassName) ) + +#define IEventClass_put_EventClassName(This,bstrEventClassName) \ + ( (This)->lpVtbl -> put_EventClassName(This,bstrEventClassName) ) + +#define IEventClass_get_OwnerSID(This,pbstrOwnerSID) \ + ( (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID) ) + +#define IEventClass_put_OwnerSID(This,bstrOwnerSID) \ + ( (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID) ) + +#define IEventClass_get_FiringInterfaceID(This,pbstrFiringInterfaceID) \ + ( (This)->lpVtbl -> get_FiringInterfaceID(This,pbstrFiringInterfaceID) ) + +#define IEventClass_put_FiringInterfaceID(This,bstrFiringInterfaceID) \ + ( (This)->lpVtbl -> put_FiringInterfaceID(This,bstrFiringInterfaceID) ) + +#define IEventClass_get_Description(This,pbstrDescription) \ + ( (This)->lpVtbl -> get_Description(This,pbstrDescription) ) + +#define IEventClass_put_Description(This,bstrDescription) \ + ( (This)->lpVtbl -> put_Description(This,bstrDescription) ) + +#define IEventClass_get_CustomConfigCLSID(This,pbstrCustomConfigCLSID) \ + ( (This)->lpVtbl -> get_CustomConfigCLSID(This,pbstrCustomConfigCLSID) ) + +#define IEventClass_put_CustomConfigCLSID(This,bstrCustomConfigCLSID) \ + ( (This)->lpVtbl -> put_CustomConfigCLSID(This,bstrCustomConfigCLSID) ) + +#define IEventClass_get_TypeLib(This,pbstrTypeLib) \ + ( (This)->lpVtbl -> get_TypeLib(This,pbstrTypeLib) ) + +#define IEventClass_put_TypeLib(This,bstrTypeLib) \ + ( (This)->lpVtbl -> put_TypeLib(This,bstrTypeLib) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventClass_INTERFACE_DEFINED__ */ + + +#ifndef __IEventClass2_INTERFACE_DEFINED__ +#define __IEventClass2_INTERFACE_DEFINED__ + +/* interface IEventClass2 */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + + +EXTERN_C const IID IID_IEventClass2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("fb2b72a1-7a68-11d1-88f9-0080c7d771bf") + IEventClass2 : public IEventClass + { + public: + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PublisherID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherID) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_PublisherID( + /* [in] */ __RPC__in BSTR bstrPublisherID) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MultiInterfacePublisherFilterCLSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPubFilCLSID) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MultiInterfacePublisherFilterCLSID( + /* [in] */ __RPC__in BSTR bstrPubFilCLSID) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AllowInprocActivation( + /* [retval][out] */ __RPC__out BOOL *pfAllowInprocActivation) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_AllowInprocActivation( + /* [in] */ BOOL fAllowInprocActivation) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FireInParallel( + /* [retval][out] */ __RPC__out BOOL *pfFireInParallel) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_FireInParallel( + /* [in] */ BOOL fFireInParallel) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventClass2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventClass2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventClass2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventClass2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventClass2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventClass2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventClass, get_EventClassID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassID )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID); + + DECLSPEC_XFGVIRT(IEventClass, put_EventClassID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassID )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrEventClassID); + + DECLSPEC_XFGVIRT(IEventClass, get_EventClassName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassName )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassName); + + DECLSPEC_XFGVIRT(IEventClass, put_EventClassName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassName )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrEventClassName); + + DECLSPEC_XFGVIRT(IEventClass, get_OwnerSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventClass, put_OwnerSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventClass, get_FiringInterfaceID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FiringInterfaceID )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFiringInterfaceID); + + DECLSPEC_XFGVIRT(IEventClass, put_FiringInterfaceID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FiringInterfaceID )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrFiringInterfaceID); + + DECLSPEC_XFGVIRT(IEventClass, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription); + + DECLSPEC_XFGVIRT(IEventClass, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrDescription); + + DECLSPEC_XFGVIRT(IEventClass, get_CustomConfigCLSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CustomConfigCLSID )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCustomConfigCLSID); + + DECLSPEC_XFGVIRT(IEventClass, put_CustomConfigCLSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CustomConfigCLSID )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrCustomConfigCLSID); + + DECLSPEC_XFGVIRT(IEventClass, get_TypeLib) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TypeLib )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTypeLib); + + DECLSPEC_XFGVIRT(IEventClass, put_TypeLib) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TypeLib )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrTypeLib); + + DECLSPEC_XFGVIRT(IEventClass2, get_PublisherID) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherID )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherID); + + DECLSPEC_XFGVIRT(IEventClass2, put_PublisherID) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherID )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrPublisherID); + + DECLSPEC_XFGVIRT(IEventClass2, get_MultiInterfacePublisherFilterCLSID) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MultiInterfacePublisherFilterCLSID )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPubFilCLSID); + + DECLSPEC_XFGVIRT(IEventClass2, put_MultiInterfacePublisherFilterCLSID) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MultiInterfacePublisherFilterCLSID )( + __RPC__in IEventClass2 * This, + /* [in] */ __RPC__in BSTR bstrPubFilCLSID); + + DECLSPEC_XFGVIRT(IEventClass2, get_AllowInprocActivation) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInprocActivation )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__out BOOL *pfAllowInprocActivation); + + DECLSPEC_XFGVIRT(IEventClass2, put_AllowInprocActivation) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInprocActivation )( + __RPC__in IEventClass2 * This, + /* [in] */ BOOL fAllowInprocActivation); + + DECLSPEC_XFGVIRT(IEventClass2, get_FireInParallel) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FireInParallel )( + __RPC__in IEventClass2 * This, + /* [retval][out] */ __RPC__out BOOL *pfFireInParallel); + + DECLSPEC_XFGVIRT(IEventClass2, put_FireInParallel) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FireInParallel )( + __RPC__in IEventClass2 * This, + /* [in] */ BOOL fFireInParallel); + + END_INTERFACE + } IEventClass2Vtbl; + + interface IEventClass2 + { + CONST_VTBL struct IEventClass2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventClass2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventClass2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventClass2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventClass2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventClass2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventClass2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventClass2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventClass2_get_EventClassID(This,pbstrEventClassID) \ + ( (This)->lpVtbl -> get_EventClassID(This,pbstrEventClassID) ) + +#define IEventClass2_put_EventClassID(This,bstrEventClassID) \ + ( (This)->lpVtbl -> put_EventClassID(This,bstrEventClassID) ) + +#define IEventClass2_get_EventClassName(This,pbstrEventClassName) \ + ( (This)->lpVtbl -> get_EventClassName(This,pbstrEventClassName) ) + +#define IEventClass2_put_EventClassName(This,bstrEventClassName) \ + ( (This)->lpVtbl -> put_EventClassName(This,bstrEventClassName) ) + +#define IEventClass2_get_OwnerSID(This,pbstrOwnerSID) \ + ( (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID) ) + +#define IEventClass2_put_OwnerSID(This,bstrOwnerSID) \ + ( (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID) ) + +#define IEventClass2_get_FiringInterfaceID(This,pbstrFiringInterfaceID) \ + ( (This)->lpVtbl -> get_FiringInterfaceID(This,pbstrFiringInterfaceID) ) + +#define IEventClass2_put_FiringInterfaceID(This,bstrFiringInterfaceID) \ + ( (This)->lpVtbl -> put_FiringInterfaceID(This,bstrFiringInterfaceID) ) + +#define IEventClass2_get_Description(This,pbstrDescription) \ + ( (This)->lpVtbl -> get_Description(This,pbstrDescription) ) + +#define IEventClass2_put_Description(This,bstrDescription) \ + ( (This)->lpVtbl -> put_Description(This,bstrDescription) ) + +#define IEventClass2_get_CustomConfigCLSID(This,pbstrCustomConfigCLSID) \ + ( (This)->lpVtbl -> get_CustomConfigCLSID(This,pbstrCustomConfigCLSID) ) + +#define IEventClass2_put_CustomConfigCLSID(This,bstrCustomConfigCLSID) \ + ( (This)->lpVtbl -> put_CustomConfigCLSID(This,bstrCustomConfigCLSID) ) + +#define IEventClass2_get_TypeLib(This,pbstrTypeLib) \ + ( (This)->lpVtbl -> get_TypeLib(This,pbstrTypeLib) ) + +#define IEventClass2_put_TypeLib(This,bstrTypeLib) \ + ( (This)->lpVtbl -> put_TypeLib(This,bstrTypeLib) ) + + +#define IEventClass2_get_PublisherID(This,pbstrPublisherID) \ + ( (This)->lpVtbl -> get_PublisherID(This,pbstrPublisherID) ) + +#define IEventClass2_put_PublisherID(This,bstrPublisherID) \ + ( (This)->lpVtbl -> put_PublisherID(This,bstrPublisherID) ) + +#define IEventClass2_get_MultiInterfacePublisherFilterCLSID(This,pbstrPubFilCLSID) \ + ( (This)->lpVtbl -> get_MultiInterfacePublisherFilterCLSID(This,pbstrPubFilCLSID) ) + +#define IEventClass2_put_MultiInterfacePublisherFilterCLSID(This,bstrPubFilCLSID) \ + ( (This)->lpVtbl -> put_MultiInterfacePublisherFilterCLSID(This,bstrPubFilCLSID) ) + +#define IEventClass2_get_AllowInprocActivation(This,pfAllowInprocActivation) \ + ( (This)->lpVtbl -> get_AllowInprocActivation(This,pfAllowInprocActivation) ) + +#define IEventClass2_put_AllowInprocActivation(This,fAllowInprocActivation) \ + ( (This)->lpVtbl -> put_AllowInprocActivation(This,fAllowInprocActivation) ) + +#define IEventClass2_get_FireInParallel(This,pfFireInParallel) \ + ( (This)->lpVtbl -> get_FireInParallel(This,pfFireInParallel) ) + +#define IEventClass2_put_FireInParallel(This,fFireInParallel) \ + ( (This)->lpVtbl -> put_FireInParallel(This,fFireInParallel) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventClass2_INTERFACE_DEFINED__ */ + + +#ifndef __IEventSubscription_INTERFACE_DEFINED__ +#define __IEventSubscription_INTERFACE_DEFINED__ + +/* interface IEventSubscription */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + + +EXTERN_C const IID IID_IEventSubscription; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4A6B0E15-2E38-11D1-9965-00C04FBBB345") + IEventSubscription : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriptionID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubscriptionID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriptionID( + /* [in] */ __RPC__in BSTR bstrSubscriptionID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriptionName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubscriptionName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriptionName( + /* [in] */ __RPC__in BSTR bstrSubscriptionName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherID( + /* [in] */ __RPC__in BSTR bstrPublisherID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventClassID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventClassID( + /* [in] */ __RPC__in BSTR bstrEventClassID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MethodName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrMethodName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MethodName( + /* [in] */ __RPC__in BSTR bstrMethodName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriberCLSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubscriberCLSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriberCLSID( + /* [in] */ __RPC__in BSTR bstrSubscriberCLSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriberInterface( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppSubscriberInterface) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SubscriberInterface( + /* [in] */ __RPC__in_opt IUnknown *pSubscriberInterface) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PerUser( + /* [retval][out] */ __RPC__out BOOL *pfPerUser) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PerUser( + /* [in] */ BOOL fPerUser) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OwnerSID( + /* [in] */ __RPC__in BSTR bstrOwnerSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled( + /* [retval][out] */ __RPC__out BOOL *pfEnabled) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled( + /* [in] */ BOOL fEnabled) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( + /* [in] */ __RPC__in BSTR bstrDescription) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MachineName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrMachineName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MachineName( + /* [in] */ __RPC__in BSTR bstrMachineName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPublisherProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [retval][out] */ __RPC__out VARIANT *propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutPublisherProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [in] */ __RPC__in VARIANT *propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemovePublisherProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPublisherPropertyCollection( + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **collection) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSubscriberProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [retval][out] */ __RPC__out VARIANT *propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PutSubscriberProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [in] */ __RPC__in VARIANT *propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveSubscriberProperty( + /* [in] */ __RPC__in BSTR bstrPropertyName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSubscriberPropertyCollection( + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **collection) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_InterfaceID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrInterfaceID) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_InterfaceID( + /* [in] */ __RPC__in BSTR bstrInterfaceID) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventSubscriptionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventSubscription * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventSubscription * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventSubscription * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventSubscription * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventSubscription * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventSubscription, get_SubscriptionID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriptionID )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubscriptionID); + + DECLSPEC_XFGVIRT(IEventSubscription, put_SubscriptionID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriptionID )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrSubscriptionID); + + DECLSPEC_XFGVIRT(IEventSubscription, get_SubscriptionName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriptionName )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubscriptionName); + + DECLSPEC_XFGVIRT(IEventSubscription, put_SubscriptionName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriptionName )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrSubscriptionName); + + DECLSPEC_XFGVIRT(IEventSubscription, get_PublisherID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PublisherID )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrPublisherID); + + DECLSPEC_XFGVIRT(IEventSubscription, put_PublisherID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PublisherID )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPublisherID); + + DECLSPEC_XFGVIRT(IEventSubscription, get_EventClassID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventClassID )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEventClassID); + + DECLSPEC_XFGVIRT(IEventSubscription, put_EventClassID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventClassID )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrEventClassID); + + DECLSPEC_XFGVIRT(IEventSubscription, get_MethodName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MethodName )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrMethodName); + + DECLSPEC_XFGVIRT(IEventSubscription, put_MethodName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MethodName )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrMethodName); + + DECLSPEC_XFGVIRT(IEventSubscription, get_SubscriberCLSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriberCLSID )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubscriberCLSID); + + DECLSPEC_XFGVIRT(IEventSubscription, put_SubscriberCLSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriberCLSID )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrSubscriberCLSID); + + DECLSPEC_XFGVIRT(IEventSubscription, get_SubscriberInterface) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriberInterface )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppSubscriberInterface); + + DECLSPEC_XFGVIRT(IEventSubscription, put_SubscriberInterface) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SubscriberInterface )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in_opt IUnknown *pSubscriberInterface); + + DECLSPEC_XFGVIRT(IEventSubscription, get_PerUser) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PerUser )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__out BOOL *pfPerUser); + + DECLSPEC_XFGVIRT(IEventSubscription, put_PerUser) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PerUser )( + __RPC__in IEventSubscription * This, + /* [in] */ BOOL fPerUser); + + DECLSPEC_XFGVIRT(IEventSubscription, get_OwnerSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSID )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventSubscription, put_OwnerSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OwnerSID )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrOwnerSID); + + DECLSPEC_XFGVIRT(IEventSubscription, get_Enabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__out BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IEventSubscription, put_Enabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )( + __RPC__in IEventSubscription * This, + /* [in] */ BOOL fEnabled); + + DECLSPEC_XFGVIRT(IEventSubscription, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription); + + DECLSPEC_XFGVIRT(IEventSubscription, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrDescription); + + DECLSPEC_XFGVIRT(IEventSubscription, get_MachineName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MachineName )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrMachineName); + + DECLSPEC_XFGVIRT(IEventSubscription, put_MachineName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MachineName )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrMachineName); + + DECLSPEC_XFGVIRT(IEventSubscription, GetPublisherProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPublisherProperty )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [retval][out] */ __RPC__out VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventSubscription, PutPublisherProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutPublisherProperty )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [in] */ __RPC__in VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventSubscription, RemovePublisherProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemovePublisherProperty )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPropertyName); + + DECLSPEC_XFGVIRT(IEventSubscription, GetPublisherPropertyCollection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPublisherPropertyCollection )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **collection); + + DECLSPEC_XFGVIRT(IEventSubscription, GetSubscriberProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSubscriberProperty )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [retval][out] */ __RPC__out VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventSubscription, PutSubscriberProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutSubscriberProperty )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPropertyName, + /* [in] */ __RPC__in VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventSubscription, RemoveSubscriberProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveSubscriberProperty )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrPropertyName); + + DECLSPEC_XFGVIRT(IEventSubscription, GetSubscriberPropertyCollection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSubscriberPropertyCollection )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **collection); + + DECLSPEC_XFGVIRT(IEventSubscription, get_InterfaceID) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_InterfaceID )( + __RPC__in IEventSubscription * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrInterfaceID); + + DECLSPEC_XFGVIRT(IEventSubscription, put_InterfaceID) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_InterfaceID )( + __RPC__in IEventSubscription * This, + /* [in] */ __RPC__in BSTR bstrInterfaceID); + + END_INTERFACE + } IEventSubscriptionVtbl; + + interface IEventSubscription + { + CONST_VTBL struct IEventSubscriptionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventSubscription_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventSubscription_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventSubscription_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventSubscription_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventSubscription_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventSubscription_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventSubscription_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventSubscription_get_SubscriptionID(This,pbstrSubscriptionID) \ + ( (This)->lpVtbl -> get_SubscriptionID(This,pbstrSubscriptionID) ) + +#define IEventSubscription_put_SubscriptionID(This,bstrSubscriptionID) \ + ( (This)->lpVtbl -> put_SubscriptionID(This,bstrSubscriptionID) ) + +#define IEventSubscription_get_SubscriptionName(This,pbstrSubscriptionName) \ + ( (This)->lpVtbl -> get_SubscriptionName(This,pbstrSubscriptionName) ) + +#define IEventSubscription_put_SubscriptionName(This,bstrSubscriptionName) \ + ( (This)->lpVtbl -> put_SubscriptionName(This,bstrSubscriptionName) ) + +#define IEventSubscription_get_PublisherID(This,pbstrPublisherID) \ + ( (This)->lpVtbl -> get_PublisherID(This,pbstrPublisherID) ) + +#define IEventSubscription_put_PublisherID(This,bstrPublisherID) \ + ( (This)->lpVtbl -> put_PublisherID(This,bstrPublisherID) ) + +#define IEventSubscription_get_EventClassID(This,pbstrEventClassID) \ + ( (This)->lpVtbl -> get_EventClassID(This,pbstrEventClassID) ) + +#define IEventSubscription_put_EventClassID(This,bstrEventClassID) \ + ( (This)->lpVtbl -> put_EventClassID(This,bstrEventClassID) ) + +#define IEventSubscription_get_MethodName(This,pbstrMethodName) \ + ( (This)->lpVtbl -> get_MethodName(This,pbstrMethodName) ) + +#define IEventSubscription_put_MethodName(This,bstrMethodName) \ + ( (This)->lpVtbl -> put_MethodName(This,bstrMethodName) ) + +#define IEventSubscription_get_SubscriberCLSID(This,pbstrSubscriberCLSID) \ + ( (This)->lpVtbl -> get_SubscriberCLSID(This,pbstrSubscriberCLSID) ) + +#define IEventSubscription_put_SubscriberCLSID(This,bstrSubscriberCLSID) \ + ( (This)->lpVtbl -> put_SubscriberCLSID(This,bstrSubscriberCLSID) ) + +#define IEventSubscription_get_SubscriberInterface(This,ppSubscriberInterface) \ + ( (This)->lpVtbl -> get_SubscriberInterface(This,ppSubscriberInterface) ) + +#define IEventSubscription_put_SubscriberInterface(This,pSubscriberInterface) \ + ( (This)->lpVtbl -> put_SubscriberInterface(This,pSubscriberInterface) ) + +#define IEventSubscription_get_PerUser(This,pfPerUser) \ + ( (This)->lpVtbl -> get_PerUser(This,pfPerUser) ) + +#define IEventSubscription_put_PerUser(This,fPerUser) \ + ( (This)->lpVtbl -> put_PerUser(This,fPerUser) ) + +#define IEventSubscription_get_OwnerSID(This,pbstrOwnerSID) \ + ( (This)->lpVtbl -> get_OwnerSID(This,pbstrOwnerSID) ) + +#define IEventSubscription_put_OwnerSID(This,bstrOwnerSID) \ + ( (This)->lpVtbl -> put_OwnerSID(This,bstrOwnerSID) ) + +#define IEventSubscription_get_Enabled(This,pfEnabled) \ + ( (This)->lpVtbl -> get_Enabled(This,pfEnabled) ) + +#define IEventSubscription_put_Enabled(This,fEnabled) \ + ( (This)->lpVtbl -> put_Enabled(This,fEnabled) ) + +#define IEventSubscription_get_Description(This,pbstrDescription) \ + ( (This)->lpVtbl -> get_Description(This,pbstrDescription) ) + +#define IEventSubscription_put_Description(This,bstrDescription) \ + ( (This)->lpVtbl -> put_Description(This,bstrDescription) ) + +#define IEventSubscription_get_MachineName(This,pbstrMachineName) \ + ( (This)->lpVtbl -> get_MachineName(This,pbstrMachineName) ) + +#define IEventSubscription_put_MachineName(This,bstrMachineName) \ + ( (This)->lpVtbl -> put_MachineName(This,bstrMachineName) ) + +#define IEventSubscription_GetPublisherProperty(This,bstrPropertyName,propertyValue) \ + ( (This)->lpVtbl -> GetPublisherProperty(This,bstrPropertyName,propertyValue) ) + +#define IEventSubscription_PutPublisherProperty(This,bstrPropertyName,propertyValue) \ + ( (This)->lpVtbl -> PutPublisherProperty(This,bstrPropertyName,propertyValue) ) + +#define IEventSubscription_RemovePublisherProperty(This,bstrPropertyName) \ + ( (This)->lpVtbl -> RemovePublisherProperty(This,bstrPropertyName) ) + +#define IEventSubscription_GetPublisherPropertyCollection(This,collection) \ + ( (This)->lpVtbl -> GetPublisherPropertyCollection(This,collection) ) + +#define IEventSubscription_GetSubscriberProperty(This,bstrPropertyName,propertyValue) \ + ( (This)->lpVtbl -> GetSubscriberProperty(This,bstrPropertyName,propertyValue) ) + +#define IEventSubscription_PutSubscriberProperty(This,bstrPropertyName,propertyValue) \ + ( (This)->lpVtbl -> PutSubscriberProperty(This,bstrPropertyName,propertyValue) ) + +#define IEventSubscription_RemoveSubscriberProperty(This,bstrPropertyName) \ + ( (This)->lpVtbl -> RemoveSubscriberProperty(This,bstrPropertyName) ) + +#define IEventSubscription_GetSubscriberPropertyCollection(This,collection) \ + ( (This)->lpVtbl -> GetSubscriberPropertyCollection(This,collection) ) + +#define IEventSubscription_get_InterfaceID(This,pbstrInterfaceID) \ + ( (This)->lpVtbl -> get_InterfaceID(This,pbstrInterfaceID) ) + +#define IEventSubscription_put_InterfaceID(This,bstrInterfaceID) \ + ( (This)->lpVtbl -> put_InterfaceID(This,bstrInterfaceID) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventSubscription_INTERFACE_DEFINED__ */ + + +#ifndef __IFiringControl_INTERFACE_DEFINED__ +#define __IFiringControl_INTERFACE_DEFINED__ + +/* interface IFiringControl */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFiringControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("e0498c93-4efe-11d1-9971-00c04fbbb345") + IFiringControl : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FireSubscription( + /* [in] */ __RPC__in_opt IEventSubscription *subscription) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFiringControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFiringControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFiringControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFiringControl * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFiringControl * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFiringControl * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFiringControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFiringControl * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFiringControl, FireSubscription) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FireSubscription )( + __RPC__in IFiringControl * This, + /* [in] */ __RPC__in_opt IEventSubscription *subscription); + + END_INTERFACE + } IFiringControlVtbl; + + interface IFiringControl + { + CONST_VTBL struct IFiringControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFiringControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFiringControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFiringControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFiringControl_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFiringControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFiringControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFiringControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFiringControl_FireSubscription(This,subscription) \ + ( (This)->lpVtbl -> FireSubscription(This,subscription) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFiringControl_INTERFACE_DEFINED__ */ + + +#ifndef __IPublisherFilter_INTERFACE_DEFINED__ +#define __IPublisherFilter_INTERFACE_DEFINED__ + +/* interface IPublisherFilter */ +/* [unique][helpstring][uuid][object] */ + +// **************************************************************************** +// This is a Deprecated interface - Use IMultiInterfacePublisherFilter instead. +// **************************************************************************** + +EXTERN_C const IID IID_IPublisherFilter; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("465e5cc0-7b26-11d1-88fb-0080c7d771bf") + IPublisherFilter : public IUnknown + { + public: + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( + /* [in] */ __RPC__in BSTR methodName, + /* [unique][in] */ __RPC__in_opt IDispatch *dispUserDefined) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PrepareToFire( + /* [in] */ __RPC__in BSTR methodName, + /* [in] */ __RPC__in_opt IFiringControl *firingControl) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPublisherFilterVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IPublisherFilter * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IPublisherFilter * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IPublisherFilter * This); + + DECLSPEC_XFGVIRT(IPublisherFilter, Initialize) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( + __RPC__in IPublisherFilter * This, + /* [in] */ __RPC__in BSTR methodName, + /* [unique][in] */ __RPC__in_opt IDispatch *dispUserDefined); + + DECLSPEC_XFGVIRT(IPublisherFilter, PrepareToFire) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PrepareToFire )( + __RPC__in IPublisherFilter * This, + /* [in] */ __RPC__in BSTR methodName, + /* [in] */ __RPC__in_opt IFiringControl *firingControl); + + END_INTERFACE + } IPublisherFilterVtbl; + + interface IPublisherFilter + { + CONST_VTBL struct IPublisherFilterVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPublisherFilter_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPublisherFilter_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPublisherFilter_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPublisherFilter_Initialize(This,methodName,dispUserDefined) \ + ( (This)->lpVtbl -> Initialize(This,methodName,dispUserDefined) ) + +#define IPublisherFilter_PrepareToFire(This,methodName,firingControl) \ + ( (This)->lpVtbl -> PrepareToFire(This,methodName,firingControl) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPublisherFilter_INTERFACE_DEFINED__ */ + + +#ifndef __IMultiInterfacePublisherFilter_INTERFACE_DEFINED__ +#define __IMultiInterfacePublisherFilter_INTERFACE_DEFINED__ + +/* interface IMultiInterfacePublisherFilter */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMultiInterfacePublisherFilter; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("465e5cc1-7b26-11d1-88fb-0080c7d771bf") + IMultiInterfacePublisherFilter : public IUnknown + { + public: + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( + /* [in] */ __RPC__in_opt IMultiInterfaceEventControl *pEIC) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PrepareToFire( + /* [in] */ __RPC__in REFIID iid, + /* [in] */ __RPC__in BSTR methodName, + /* [in] */ __RPC__in_opt IFiringControl *firingControl) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMultiInterfacePublisherFilterVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IMultiInterfacePublisherFilter * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IMultiInterfacePublisherFilter * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IMultiInterfacePublisherFilter * This); + + DECLSPEC_XFGVIRT(IMultiInterfacePublisherFilter, Initialize) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( + __RPC__in IMultiInterfacePublisherFilter * This, + /* [in] */ __RPC__in_opt IMultiInterfaceEventControl *pEIC); + + DECLSPEC_XFGVIRT(IMultiInterfacePublisherFilter, PrepareToFire) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PrepareToFire )( + __RPC__in IMultiInterfacePublisherFilter * This, + /* [in] */ __RPC__in REFIID iid, + /* [in] */ __RPC__in BSTR methodName, + /* [in] */ __RPC__in_opt IFiringControl *firingControl); + + END_INTERFACE + } IMultiInterfacePublisherFilterVtbl; + + interface IMultiInterfacePublisherFilter + { + CONST_VTBL struct IMultiInterfacePublisherFilterVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMultiInterfacePublisherFilter_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMultiInterfacePublisherFilter_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMultiInterfacePublisherFilter_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMultiInterfacePublisherFilter_Initialize(This,pEIC) \ + ( (This)->lpVtbl -> Initialize(This,pEIC) ) + +#define IMultiInterfacePublisherFilter_PrepareToFire(This,iid,methodName,firingControl) \ + ( (This)->lpVtbl -> PrepareToFire(This,iid,methodName,firingControl) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMultiInterfacePublisherFilter_INTERFACE_DEFINED__ */ + + +#ifndef __IEventObjectChange_INTERFACE_DEFINED__ +#define __IEventObjectChange_INTERFACE_DEFINED__ + +/* interface IEventObjectChange */ +/* [unique][helpstring][uuid][object] */ + +typedef /* [public][public][public][public][public][public] */ +enum __MIDL_IEventObjectChange_0001 + { + EOC_NewObject = 0, + EOC_ModifiedObject = ( EOC_NewObject + 1 ) , + EOC_DeletedObject = ( EOC_ModifiedObject + 1 ) + } EOC_ChangeType; + + +EXTERN_C const IID IID_IEventObjectChange; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("F4A07D70-2E25-11D1-9964-00C04FBBB345") + IEventObjectChange : public IUnknown + { + public: + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangedSubscription( + /* [in] */ EOC_ChangeType changeType, + /* [in] */ __RPC__in BSTR bstrSubscriptionID) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangedEventClass( + /* [in] */ EOC_ChangeType changeType, + /* [in] */ __RPC__in BSTR bstrEventClassID) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangedPublisher( + /* [in] */ EOC_ChangeType changeType, + /* [in] */ __RPC__in BSTR bstrPublisherID) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventObjectChangeVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventObjectChange * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventObjectChange * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventObjectChange * This); + + DECLSPEC_XFGVIRT(IEventObjectChange, ChangedSubscription) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangedSubscription )( + __RPC__in IEventObjectChange * This, + /* [in] */ EOC_ChangeType changeType, + /* [in] */ __RPC__in BSTR bstrSubscriptionID); + + DECLSPEC_XFGVIRT(IEventObjectChange, ChangedEventClass) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangedEventClass )( + __RPC__in IEventObjectChange * This, + /* [in] */ EOC_ChangeType changeType, + /* [in] */ __RPC__in BSTR bstrEventClassID); + + DECLSPEC_XFGVIRT(IEventObjectChange, ChangedPublisher) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangedPublisher )( + __RPC__in IEventObjectChange * This, + /* [in] */ EOC_ChangeType changeType, + /* [in] */ __RPC__in BSTR bstrPublisherID); + + END_INTERFACE + } IEventObjectChangeVtbl; + + interface IEventObjectChange + { + CONST_VTBL struct IEventObjectChangeVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventObjectChange_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventObjectChange_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventObjectChange_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventObjectChange_ChangedSubscription(This,changeType,bstrSubscriptionID) \ + ( (This)->lpVtbl -> ChangedSubscription(This,changeType,bstrSubscriptionID) ) + +#define IEventObjectChange_ChangedEventClass(This,changeType,bstrEventClassID) \ + ( (This)->lpVtbl -> ChangedEventClass(This,changeType,bstrEventClassID) ) + +#define IEventObjectChange_ChangedPublisher(This,changeType,bstrPublisherID) \ + ( (This)->lpVtbl -> ChangedPublisher(This,changeType,bstrPublisherID) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventObjectChange_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_eventsys_0000_0009 */ +/* [local] */ + +#ifndef _COMEVENTSYSCHANGEINFO_ +#define _COMEVENTSYSCHANGEINFO_ +typedef /* [public][public][public][hidden] */ struct __MIDL___MIDL_itf_eventsys_0000_0009_0001 + { + DWORD cbSize; + EOC_ChangeType changeType; + BSTR objectId; + BSTR partitionId; + BSTR applicationId; + GUID reserved[ 10 ]; + } COMEVENTSYSCHANGEINFO; + +#endif // _COMEVENTSYSCHANGEINFO_ + + +extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_0009_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_0009_v0_0_s_ifspec; + +#ifndef __IEventObjectChange2_INTERFACE_DEFINED__ +#define __IEventObjectChange2_INTERFACE_DEFINED__ + +/* interface IEventObjectChange2 */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IEventObjectChange2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("7701A9C3-BD68-438f-83E0-67BF4F53A422") + IEventObjectChange2 : public IUnknown + { + public: + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangedSubscription( + /* [in] */ __RPC__in COMEVENTSYSCHANGEINFO *pInfo) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangedEventClass( + /* [in] */ __RPC__in COMEVENTSYSCHANGEINFO *pInfo) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventObjectChange2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventObjectChange2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventObjectChange2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventObjectChange2 * This); + + DECLSPEC_XFGVIRT(IEventObjectChange2, ChangedSubscription) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangedSubscription )( + __RPC__in IEventObjectChange2 * This, + /* [in] */ __RPC__in COMEVENTSYSCHANGEINFO *pInfo); + + DECLSPEC_XFGVIRT(IEventObjectChange2, ChangedEventClass) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangedEventClass )( + __RPC__in IEventObjectChange2 * This, + /* [in] */ __RPC__in COMEVENTSYSCHANGEINFO *pInfo); + + END_INTERFACE + } IEventObjectChange2Vtbl; + + interface IEventObjectChange2 + { + CONST_VTBL struct IEventObjectChange2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventObjectChange2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventObjectChange2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventObjectChange2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventObjectChange2_ChangedSubscription(This,pInfo) \ + ( (This)->lpVtbl -> ChangedSubscription(This,pInfo) ) + +#define IEventObjectChange2_ChangedEventClass(This,pInfo) \ + ( (This)->lpVtbl -> ChangedEventClass(This,pInfo) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventObjectChange2_INTERFACE_DEFINED__ */ + + +#ifndef __IEnumEventObject_INTERFACE_DEFINED__ +#define __IEnumEventObject_INTERFACE_DEFINED__ + +/* interface IEnumEventObject */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IEnumEventObject; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("F4A07D63-2E25-11D1-9964-00C04FBBB345") + IEnumEventObject : public IUnknown + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone( + /* [out] */ __RPC__deref_out_opt IEnumEventObject **ppInterface) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Next( + /* [in] */ ULONG cReqElem, + /* [length_is][size_is][out] */ __RPC__out_ecount_part(cReqElem, *cRetElem) IUnknown **ppInterface, + /* [out] */ __RPC__out ULONG *cRetElem) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Skip( + /* [in] */ ULONG cSkipElem) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEnumEventObjectVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEnumEventObject * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEnumEventObject * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEnumEventObject * This); + + DECLSPEC_XFGVIRT(IEnumEventObject, Clone) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )( + __RPC__in IEnumEventObject * This, + /* [out] */ __RPC__deref_out_opt IEnumEventObject **ppInterface); + + DECLSPEC_XFGVIRT(IEnumEventObject, Next) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Next )( + __RPC__in IEnumEventObject * This, + /* [in] */ ULONG cReqElem, + /* [length_is][size_is][out] */ __RPC__out_ecount_part(cReqElem, *cRetElem) IUnknown **ppInterface, + /* [out] */ __RPC__out ULONG *cRetElem); + + DECLSPEC_XFGVIRT(IEnumEventObject, Reset) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reset )( + __RPC__in IEnumEventObject * This); + + DECLSPEC_XFGVIRT(IEnumEventObject, Skip) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Skip )( + __RPC__in IEnumEventObject * This, + /* [in] */ ULONG cSkipElem); + + END_INTERFACE + } IEnumEventObjectVtbl; + + interface IEnumEventObject + { + CONST_VTBL struct IEnumEventObjectVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEnumEventObject_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEnumEventObject_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEnumEventObject_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEnumEventObject_Clone(This,ppInterface) \ + ( (This)->lpVtbl -> Clone(This,ppInterface) ) + +#define IEnumEventObject_Next(This,cReqElem,ppInterface,cRetElem) \ + ( (This)->lpVtbl -> Next(This,cReqElem,ppInterface,cRetElem) ) + +#define IEnumEventObject_Reset(This) \ + ( (This)->lpVtbl -> Reset(This) ) + +#define IEnumEventObject_Skip(This,cSkipElem) \ + ( (This)->lpVtbl -> Skip(This,cSkipElem) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEnumEventObject_INTERFACE_DEFINED__ */ + + +#ifndef __IEventObjectCollection_INTERFACE_DEFINED__ +#define __IEventObjectCollection_INTERFACE_DEFINED__ + +/* interface IEventObjectCollection */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + + +EXTERN_C const IID IID_IEventObjectCollection; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f89ac270-d4eb-11d1-b682-00805fc79216") + IEventObjectCollection : public IDispatch + { + public: + virtual /* [helpstring][restricted][propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnkEnum) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ __RPC__in BSTR objectID, + /* [retval][out] */ __RPC__out VARIANT *pItem) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IEnumEventObject **ppEnum) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *pCount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( + /* [in] */ __RPC__in VARIANT *item, + /* [in] */ __RPC__in BSTR objectID) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ __RPC__in BSTR objectID) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventObjectCollectionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventObjectCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventObjectCollection * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventObjectCollection * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventObjectCollection * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventObjectCollection * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventObjectCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventObjectCollection * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventObjectCollection, get__NewEnum) + /* [helpstring][restricted][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IEventObjectCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnkEnum); + + DECLSPEC_XFGVIRT(IEventObjectCollection, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IEventObjectCollection * This, + /* [in] */ __RPC__in BSTR objectID, + /* [retval][out] */ __RPC__out VARIANT *pItem); + + DECLSPEC_XFGVIRT(IEventObjectCollection, get_NewEnum) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NewEnum )( + __RPC__in IEventObjectCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IEnumEventObject **ppEnum); + + DECLSPEC_XFGVIRT(IEventObjectCollection, get_Count) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IEventObjectCollection * This, + /* [retval][out] */ __RPC__out long *pCount); + + DECLSPEC_XFGVIRT(IEventObjectCollection, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IEventObjectCollection * This, + /* [in] */ __RPC__in VARIANT *item, + /* [in] */ __RPC__in BSTR objectID); + + DECLSPEC_XFGVIRT(IEventObjectCollection, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IEventObjectCollection * This, + /* [in] */ __RPC__in BSTR objectID); + + END_INTERFACE + } IEventObjectCollectionVtbl; + + interface IEventObjectCollection + { + CONST_VTBL struct IEventObjectCollectionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventObjectCollection_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventObjectCollection_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventObjectCollection_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventObjectCollection_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventObjectCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventObjectCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventObjectCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventObjectCollection_get__NewEnum(This,ppUnkEnum) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnkEnum) ) + +#define IEventObjectCollection_get_Item(This,objectID,pItem) \ + ( (This)->lpVtbl -> get_Item(This,objectID,pItem) ) + +#define IEventObjectCollection_get_NewEnum(This,ppEnum) \ + ( (This)->lpVtbl -> get_NewEnum(This,ppEnum) ) + +#define IEventObjectCollection_get_Count(This,pCount) \ + ( (This)->lpVtbl -> get_Count(This,pCount) ) + +#define IEventObjectCollection_Add(This,item,objectID) \ + ( (This)->lpVtbl -> Add(This,item,objectID) ) + +#define IEventObjectCollection_Remove(This,objectID) \ + ( (This)->lpVtbl -> Remove(This,objectID) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventObjectCollection_INTERFACE_DEFINED__ */ + + +#ifndef __IEventProperty_INTERFACE_DEFINED__ +#define __IEventProperty_INTERFACE_DEFINED__ + +/* interface IEventProperty */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + + +EXTERN_C const IID IID_IEventProperty; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("da538ee2-f4de-11d1-b6bb-00805fc79216") + IEventProperty : public IDispatch + { + public: + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *propertyName) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR propertyName) = 0; + + virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value( + /* [retval][out] */ __RPC__out VARIANT *propertyValue) = 0; + + virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Value( + /* [in] */ __RPC__in VARIANT *propertyValue) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventPropertyVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventProperty * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventProperty * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventProperty * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventProperty * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventProperty * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventProperty * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventProperty * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventProperty, get_Name) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IEventProperty * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *propertyName); + + DECLSPEC_XFGVIRT(IEventProperty, put_Name) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IEventProperty * This, + /* [in] */ __RPC__in BSTR propertyName); + + DECLSPEC_XFGVIRT(IEventProperty, get_Value) + /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( + __RPC__in IEventProperty * This, + /* [retval][out] */ __RPC__out VARIANT *propertyValue); + + DECLSPEC_XFGVIRT(IEventProperty, put_Value) + /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( + __RPC__in IEventProperty * This, + /* [in] */ __RPC__in VARIANT *propertyValue); + + END_INTERFACE + } IEventPropertyVtbl; + + interface IEventProperty + { + CONST_VTBL struct IEventPropertyVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventProperty_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventProperty_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventProperty_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventProperty_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventProperty_get_Name(This,propertyName) \ + ( (This)->lpVtbl -> get_Name(This,propertyName) ) + +#define IEventProperty_put_Name(This,propertyName) \ + ( (This)->lpVtbl -> put_Name(This,propertyName) ) + +#define IEventProperty_get_Value(This,propertyValue) \ + ( (This)->lpVtbl -> get_Value(This,propertyValue) ) + +#define IEventProperty_put_Value(This,propertyValue) \ + ( (This)->lpVtbl -> put_Value(This,propertyValue) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventProperty_INTERFACE_DEFINED__ */ + + +#ifndef __IEventControl_INTERFACE_DEFINED__ +#define __IEventControl_INTERFACE_DEFINED__ + +/* interface IEventControl */ +/* [unique][helpstring][proxy][dual][uuid][object] */ + +// ************************************************************************* +// This is a Deprecated interface - Use IMultiInterfaceEventControl instead. +// ************************************************************************* + +EXTERN_C const IID IID_IEventControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0343e2f4-86f6-11d1-b760-00c04fb926af") + IEventControl : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPublisherFilter( + /* [in] */ __RPC__in BSTR methodName, + /* [unique][in] */ __RPC__in_opt IPublisherFilter *pPublisherFilter) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AllowInprocActivation( + /* [retval][out] */ __RPC__out BOOL *pfAllowInprocActivation) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AllowInprocActivation( + /* [in] */ BOOL fAllowInprocActivation) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSubscriptions( + /* [unique][in] */ __RPC__in_opt BSTR methodName, + /* [unique][in] */ __RPC__in_opt BSTR optionalCriteria, + /* [unique][in] */ __RPC__in_opt int *optionalErrorIndex, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **ppCollection) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetDefaultQuery( + /* [in] */ __RPC__in BSTR methodName, + /* [in] */ __RPC__in BSTR criteria, + /* [retval][out] */ __RPC__out int *errorIndex) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEventControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEventControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEventControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEventControl * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IEventControl * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IEventControl * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IEventControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IEventControl * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IEventControl, SetPublisherFilter) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetPublisherFilter )( + __RPC__in IEventControl * This, + /* [in] */ __RPC__in BSTR methodName, + /* [unique][in] */ __RPC__in_opt IPublisherFilter *pPublisherFilter); + + DECLSPEC_XFGVIRT(IEventControl, get_AllowInprocActivation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInprocActivation )( + __RPC__in IEventControl * This, + /* [retval][out] */ __RPC__out BOOL *pfAllowInprocActivation); + + DECLSPEC_XFGVIRT(IEventControl, put_AllowInprocActivation) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInprocActivation )( + __RPC__in IEventControl * This, + /* [in] */ BOOL fAllowInprocActivation); + + DECLSPEC_XFGVIRT(IEventControl, GetSubscriptions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSubscriptions )( + __RPC__in IEventControl * This, + /* [unique][in] */ __RPC__in_opt BSTR methodName, + /* [unique][in] */ __RPC__in_opt BSTR optionalCriteria, + /* [unique][in] */ __RPC__in_opt int *optionalErrorIndex, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **ppCollection); + + DECLSPEC_XFGVIRT(IEventControl, SetDefaultQuery) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetDefaultQuery )( + __RPC__in IEventControl * This, + /* [in] */ __RPC__in BSTR methodName, + /* [in] */ __RPC__in BSTR criteria, + /* [retval][out] */ __RPC__out int *errorIndex); + + END_INTERFACE + } IEventControlVtbl; + + interface IEventControl + { + CONST_VTBL struct IEventControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEventControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEventControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEventControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEventControl_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IEventControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IEventControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IEventControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IEventControl_SetPublisherFilter(This,methodName,pPublisherFilter) \ + ( (This)->lpVtbl -> SetPublisherFilter(This,methodName,pPublisherFilter) ) + +#define IEventControl_get_AllowInprocActivation(This,pfAllowInprocActivation) \ + ( (This)->lpVtbl -> get_AllowInprocActivation(This,pfAllowInprocActivation) ) + +#define IEventControl_put_AllowInprocActivation(This,fAllowInprocActivation) \ + ( (This)->lpVtbl -> put_AllowInprocActivation(This,fAllowInprocActivation) ) + +#define IEventControl_GetSubscriptions(This,methodName,optionalCriteria,optionalErrorIndex,ppCollection) \ + ( (This)->lpVtbl -> GetSubscriptions(This,methodName,optionalCriteria,optionalErrorIndex,ppCollection) ) + +#define IEventControl_SetDefaultQuery(This,methodName,criteria,errorIndex) \ + ( (This)->lpVtbl -> SetDefaultQuery(This,methodName,criteria,errorIndex) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEventControl_INTERFACE_DEFINED__ */ + + +#ifndef __IMultiInterfaceEventControl_INTERFACE_DEFINED__ +#define __IMultiInterfaceEventControl_INTERFACE_DEFINED__ + +/* interface IMultiInterfaceEventControl */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMultiInterfaceEventControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0343e2f5-86f6-11d1-b760-00c04fb926af") + IMultiInterfaceEventControl : public IUnknown + { + public: + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetMultiInterfacePublisherFilter( + /* [unique][in] */ __RPC__in_opt IMultiInterfacePublisherFilter *classFilter) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSubscriptions( + /* [in] */ __RPC__in REFIID eventIID, + /* [unique][in] */ __RPC__in_opt BSTR bstrMethodName, + /* [unique][in] */ __RPC__in_opt BSTR optionalCriteria, + /* [unique][in] */ __RPC__in_opt int *optionalErrorIndex, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **ppCollection) = 0; + + virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDefaultQuery( + /* [in] */ __RPC__in REFIID eventIID, + /* [in] */ __RPC__in BSTR bstrMethodName, + /* [in] */ __RPC__in BSTR bstrCriteria, + /* [retval][out] */ __RPC__out int *errorIndex) = 0; + + virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_AllowInprocActivation( + /* [retval][out] */ __RPC__out BOOL *pfAllowInprocActivation) = 0; + + virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_AllowInprocActivation( + /* [in] */ BOOL fAllowInprocActivation) = 0; + + virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_FireInParallel( + /* [retval][out] */ __RPC__out BOOL *pfFireInParallel) = 0; + + virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_FireInParallel( + /* [in] */ BOOL fFireInParallel) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMultiInterfaceEventControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IMultiInterfaceEventControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IMultiInterfaceEventControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IMultiInterfaceEventControl * This); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, SetMultiInterfacePublisherFilter) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetMultiInterfacePublisherFilter )( + __RPC__in IMultiInterfaceEventControl * This, + /* [unique][in] */ __RPC__in_opt IMultiInterfacePublisherFilter *classFilter); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, GetSubscriptions) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSubscriptions )( + __RPC__in IMultiInterfaceEventControl * This, + /* [in] */ __RPC__in REFIID eventIID, + /* [unique][in] */ __RPC__in_opt BSTR bstrMethodName, + /* [unique][in] */ __RPC__in_opt BSTR optionalCriteria, + /* [unique][in] */ __RPC__in_opt int *optionalErrorIndex, + /* [retval][out] */ __RPC__deref_out_opt IEventObjectCollection **ppCollection); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, SetDefaultQuery) + /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDefaultQuery )( + __RPC__in IMultiInterfaceEventControl * This, + /* [in] */ __RPC__in REFIID eventIID, + /* [in] */ __RPC__in BSTR bstrMethodName, + /* [in] */ __RPC__in BSTR bstrCriteria, + /* [retval][out] */ __RPC__out int *errorIndex); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, get_AllowInprocActivation) + /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowInprocActivation )( + __RPC__in IMultiInterfaceEventControl * This, + /* [retval][out] */ __RPC__out BOOL *pfAllowInprocActivation); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, put_AllowInprocActivation) + /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowInprocActivation )( + __RPC__in IMultiInterfaceEventControl * This, + /* [in] */ BOOL fAllowInprocActivation); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, get_FireInParallel) + /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FireInParallel )( + __RPC__in IMultiInterfaceEventControl * This, + /* [retval][out] */ __RPC__out BOOL *pfFireInParallel); + + DECLSPEC_XFGVIRT(IMultiInterfaceEventControl, put_FireInParallel) + /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FireInParallel )( + __RPC__in IMultiInterfaceEventControl * This, + /* [in] */ BOOL fFireInParallel); + + END_INTERFACE + } IMultiInterfaceEventControlVtbl; + + interface IMultiInterfaceEventControl + { + CONST_VTBL struct IMultiInterfaceEventControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMultiInterfaceEventControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMultiInterfaceEventControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMultiInterfaceEventControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMultiInterfaceEventControl_SetMultiInterfacePublisherFilter(This,classFilter) \ + ( (This)->lpVtbl -> SetMultiInterfacePublisherFilter(This,classFilter) ) + +#define IMultiInterfaceEventControl_GetSubscriptions(This,eventIID,bstrMethodName,optionalCriteria,optionalErrorIndex,ppCollection) \ + ( (This)->lpVtbl -> GetSubscriptions(This,eventIID,bstrMethodName,optionalCriteria,optionalErrorIndex,ppCollection) ) + +#define IMultiInterfaceEventControl_SetDefaultQuery(This,eventIID,bstrMethodName,bstrCriteria,errorIndex) \ + ( (This)->lpVtbl -> SetDefaultQuery(This,eventIID,bstrMethodName,bstrCriteria,errorIndex) ) + +#define IMultiInterfaceEventControl_get_AllowInprocActivation(This,pfAllowInprocActivation) \ + ( (This)->lpVtbl -> get_AllowInprocActivation(This,pfAllowInprocActivation) ) + +#define IMultiInterfaceEventControl_put_AllowInprocActivation(This,fAllowInprocActivation) \ + ( (This)->lpVtbl -> put_AllowInprocActivation(This,fAllowInprocActivation) ) + +#define IMultiInterfaceEventControl_get_FireInParallel(This,pfFireInParallel) \ + ( (This)->lpVtbl -> get_FireInParallel(This,pfFireInParallel) ) + +#define IMultiInterfaceEventControl_put_FireInParallel(This,fFireInParallel) \ + ( (This)->lpVtbl -> put_FireInParallel(This,fFireInParallel) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMultiInterfaceEventControl_INTERFACE_DEFINED__ */ + + +#ifndef __IDontSupportEventSubscription_INTERFACE_DEFINED__ +#define __IDontSupportEventSubscription_INTERFACE_DEFINED__ + +/* interface IDontSupportEventSubscription */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IDontSupportEventSubscription; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("784121F1-62A6-4b89-855F-D65F296DE83A") + IDontSupportEventSubscription : public IUnknown + { + public: + }; + + +#else /* C style interface */ + + typedef struct IDontSupportEventSubscriptionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IDontSupportEventSubscription * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IDontSupportEventSubscription * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IDontSupportEventSubscription * This); + + END_INTERFACE + } IDontSupportEventSubscriptionVtbl; + + interface IDontSupportEventSubscription + { + CONST_VTBL struct IDontSupportEventSubscriptionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IDontSupportEventSubscription_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IDontSupportEventSubscription_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IDontSupportEventSubscription_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IDontSupportEventSubscription_INTERFACE_DEFINED__ */ + + + +#ifndef __DummyEventSystemLib_LIBRARY_DEFINED__ +#define __DummyEventSystemLib_LIBRARY_DEFINED__ + +/* library DummyEventSystemLib */ +/* [helpstring][version][uuid] */ + + +EXTERN_C const IID LIBID_DummyEventSystemLib; + +EXTERN_C const CLSID CLSID_CEventSystem; + +#ifdef __cplusplus + +class DECLSPEC_UUID("4E14FBA2-2E22-11D1-9964-00C04FBBB345") +CEventSystem; +#endif + +EXTERN_C const CLSID CLSID_CEventPublisher; + +#ifdef __cplusplus + +class DECLSPEC_UUID("ab944620-79c6-11d1-88f9-0080c7d771bf") +CEventPublisher; +#endif + +EXTERN_C const CLSID CLSID_CEventClass; + +#ifdef __cplusplus + +class DECLSPEC_UUID("cdbec9c0-7a68-11d1-88f9-0080c7d771bf") +CEventClass; +#endif + +EXTERN_C const CLSID CLSID_CEventSubscription; + +#ifdef __cplusplus + +class DECLSPEC_UUID("7542e960-79c7-11d1-88f9-0080c7d771bf") +CEventSubscription; +#endif + +EXTERN_C const CLSID CLSID_EventObjectChange; + +#ifdef __cplusplus + +class DECLSPEC_UUID("d0565000-9df4-11d1-a281-00c04fca0aa7") +EventObjectChange; +#endif + +EXTERN_C const CLSID CLSID_EventObjectChange2; + +#ifdef __cplusplus + +class DECLSPEC_UUID("BB07BACD-CD56-4e63-A8FF-CBF0355FB9F4") +EventObjectChange2; +#endif +#endif /* __DummyEventSystemLib_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_eventsys_0000_0017 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_0017_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_eventsys_0000_0017_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDisp.Idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDisp.Idl new file mode 100644 index 0000000000000000000000000000000000000000..903a321bfcd6b0bb1b784b8faed35f768e783c91 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDisp.Idl @@ -0,0 +1,1115 @@ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation. All Rights Reserved. +// +//;begin_internal +// +// NOTE: exdisp's tlb is registered through ieframe.man. You MUST update +// ieframe.man to include any registration changes you cause here. +// +//;end_internal +// +//-------------------------------------------------------------------------- + +cpp_quote("//=--------------------------------------------------------------------------=") +cpp_quote("// exdisp.h") +cpp_quote("//=--------------------------------------------------------------------------=") +cpp_quote("// (C) Copyright Microsoft Corporation. All Rights Reserved.") +cpp_quote("//") +cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF") +cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO") +cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A") +cpp_quote("// PARTICULAR PURPOSE.") +cpp_quote("//=--------------------------------------------------------------------------=") +cpp_quote("") + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "ocidl.idl"; +import "docobj.idl"; + +#include +#include "exdispid.h" + +cpp_quote("#define SID_SkipHung IID_IEnumVARIANT") + +[ + uuid(EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B), // LIBID_ShDocVw + helpstring("Microsoft Internet Controls"), + lcid(0x0000), + version(1.1) +] +library SHDocVw { + + importlib("stdole2.tlb"); + + [ + uuid(EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B), // IID_IWebBrowser + helpstring("Web Browser interface"), + helpcontext(0x0000), + hidden, + dual, + oleautomation, + odl + ] + interface IWebBrowser : IDispatch + { + [id(100), helpstring("Navigates to the previous item in the history list."), helpcontext(0x0000)] + HRESULT GoBack(); + [id(101), helpstring("Navigates to the next item in the history list."), helpcontext(0x0000)] + HRESULT GoForward(); + [id(102), helpstring("Go home/start page."), helpcontext(0x0000)] + HRESULT GoHome(); + [id(103), helpstring("Go Search Page."), helpcontext(0x0000)] + HRESULT GoSearch(); + + [id(104), helpstring("Navigates to a URL or file."), helpcontext(0x0000)] + HRESULT Navigate([in] BSTR URL, + [in, optional, unique] VARIANT * Flags, + [in, optional, unique] VARIANT * TargetFrameName, + [in, optional, unique] VARIANT * PostData, + [in, optional, unique] VARIANT * Headers); + typedef + [ + uuid(14EE5380-A378-11cf-A731-00A0C9082637), + helpstring("Constants for WebBrowser navigation flags") + ] + enum BrowserNavConstants { + [helpstring("Open in new window")] navOpenInNewWindow = 0x0001, + [helpstring("Exclude from history list")] navNoHistory = 0x0002, + [helpstring("Don't read from cache")] navNoReadFromCache = 0x0004, + [helpstring("Don't write from cache")] navNoWriteToCache = 0x0008, + [helpstring("Try other sites on failure")] navAllowAutosearch = 0x0010, + [helpstring("OpenBrowserBar")] navBrowserBar = 0x0020, + [helpstring("Hyperlink")] navHyperlink = 0x0040, + [helpstring("Enforce restricted zone")] navEnforceRestricted = 0x0080, + [helpstring("Apply new window management")] navNewWindowsManaged = 0x0100, + [helpstring("Untrusted download")] navUntrustedForDownload = 0x0200, + [helpstring("Trusted for ActiveX prompt")] navTrustedForActiveX = 0x0400, + [helpstring("Open in new tab")] navOpenInNewTab = 0x0800, + [helpstring("Open in a background tab")] navOpenInBackgroundTab = 0x1000, + [helpstring("Maintain the wordwheel text")] navKeepWordWheelText = 0x2000, + [helpstring("Virtual tab across MIC levels")] navVirtualTab = 0x4000, + [helpstring("Block x-domain redirects")] navBlockRedirectsXDomain = 0x8000, + [helpstring("Force open in foreground tab")] navOpenNewForegroundTab = 0x10000, + [helpstring("Travel Log nav with screenshot")] navTravelLogScreenshot = 0x20000, + [helpstring("Defer unload of virtual tab")] navDeferUnload = 0x40000, + [helpstring("Speculative navigate")] navSpeculative = 0x80000, + [helpstring("Suggest open in new window")] navSuggestNewWindow = 0x100000, + [helpstring("Suggest open in new tab")] navSuggestNewTab = 0x200000, + [helpstring("Reserved")] navReserved1 = 0x400000, + [helpstring("HP navigation")] navHomepageNavigate = 0x800000, + [helpstring("Treat nav as refresh")] navRefresh = 0x1000000, + [helpstring("Host initiated navigation")] navHostNavigation = 0x2000000, + [helpstring("Reserved")] navReserved2 = 0x4000000, + [helpstring("Reserved")] navReserved3 = 0x8000000, + [helpstring("Reserved")] navReserved4 = 0x10000000, + [helpstring("Reserved")] navReserved5 = 0x20000000, + [helpstring("Reserved")] navReserved6 = 0x40000000, + [helpstring("Reserved")] navReserved7 = 0x80000000, + } BrowserNavConstants; + +cpp_quote("//;begin_internal") +cpp_quote("#define navUserInitiatedAction navReserved1") +cpp_quote("#define navDisableDownloadSave navReserved2") +cpp_quote("#define navServerRedirectedVtabSwitch navReserved3") +cpp_quote("#define navVtabSwitchNotUserInitiatedAction navReserved4") +cpp_quote("#define navCheckDontShowNeedIE navReserved5") +cpp_quote("#define navCheckDontShowNeedHVSI navReserved6") +cpp_quote("#define navCheckDontShowHVSINeedHost navReserved7") +cpp_quote("//;end_internal") + + [id(DISPID_REFRESH), helpstring("Refresh the currently viewed page."), helpcontext(0x0000)] + HRESULT Refresh(); + + // The standard Refresh takes no parameters and we need some... use a new name + [id(105), helpstring("Refresh the currently viewed page."), helpcontext(0x0000)] + HRESULT Refresh2([in, optional, unique] VARIANT * Level); + + typedef + [ + uuid(C317C261-A991-11cf-A731-00A0C9082637), + helpstring("Constants for Refresh") + ] + enum RefreshConstants { // must map to these in sdk\inc\docobj.h + [helpstring("Refresh normal")] REFRESH_NORMAL = 0, //== OLECMDIDF_REFRESH_NORMAL + [helpstring("Refresh if expired")] REFRESH_IFEXPIRED = 1, //== OLECMDIDF_REFRESH_IFEXPIRED + [helpstring("Refresh completely")] REFRESH_COMPLETELY = 3 //== OLECMDIDF_REFRESH_COMPLETELY + } RefreshConstants; + + [id(106), helpstring("Stops opening a file."), helpcontext(0x0000)] + HRESULT Stop(); + + // Automation heirarchy... + [id(200), propget, helpstring("Returns the application automation object if accessible, this automation object otherwise.."), helpcontext(0x0000)] + HRESULT Application([out,retval] IDispatch** ppDisp); + + [id(201), propget, helpstring("Returns the automation object of the container/parent if one exists or this automation object."), helpcontext(0x0000)] + HRESULT Parent([out,retval] IDispatch** ppDisp); + + [id(202), propget, helpstring("Returns the container/parent automation object, if any."), helpcontext(0x0000)] + HRESULT Container([out,retval] IDispatch** ppDisp); + + [id(203), propget, helpstring("Returns the active Document automation object, if any."), helpcontext(0x0000)] + HRESULT Document([out,retval] IDispatch** ppDisp); + + [id(204), propget, helpstring("Returns True if this is the top level object."), helpcontext(0x0000)] + HRESULT TopLevelContainer([out, retval] VARIANT_BOOL* pBool); + + [id(205), propget, helpstring("Returns the type of the contained document object."), helpcontext(0x0000)] + HRESULT Type([out,retval] BSTR* Type); + + // Window stuff... + [id(206), propget, helpstring("The horizontal position (pixels) of the frame window relative to the screen/container."), helpcontext(0x0000)] + HRESULT Left([out, retval] long *pl); + [id(206), propput] + HRESULT Left([in] long Left); + [id(207), propget, helpstring("The vertical position (pixels) of the frame window relative to the screen/container."), helpcontext(0x0000)] + HRESULT Top([out, retval] long *pl); + [id(207), propput] + HRESULT Top([in] long Top); + [id(208), propget, helpstring("The horizontal dimension (pixels) of the frame window/object."), helpcontext(0x0000)] + HRESULT Width([out, retval] long *pl); + [id(208), propput] + HRESULT Width([in] long Width); + [id(209), propget, helpstring("The vertical dimension (pixels) of the frame window/object."), helpcontext(0x0000)] + HRESULT Height([out, retval] long *pl); + [id(209), propput] + HRESULT Height([in] long Height); + + // WebBrowser stuff... + [id(210), propget, helpstring("Gets the short (UI-friendly) name of the URL/file currently viewed."), helpcontext(0x0000)] + HRESULT LocationName([out,retval] BSTR *LocationName); + + [id(211), propget, helpstring("Gets the full URL/path currently viewed."), helpcontext(0x0000)] + HRESULT LocationURL([out,retval] BSTR * LocationURL); + + // Added a property to see if the viewer is currenly busy or not... + [id(212), propget, helpstring("Query to see if something is still in progress."), helpcontext(0x0000)] + HRESULT Busy([out,retval] VARIANT_BOOL *pBool); + } + + [ + uuid(EAB22AC2-30C1-11CF-A7EB-0000C05BAE0B), // DIID_DWebBrowserEvents + helpstring("Web Browser Control Events (old)"), + hidden + ] + dispinterface DWebBrowserEvents + { + properties: + methods: + [id(DISPID_BEFORENAVIGATE), helpstring("Fired when a new hyperlink is being navigated to."), helpcontext(0x0000)] + void BeforeNavigate([in] BSTR URL, long Flags, BSTR TargetFrameName, VARIANT * PostData, BSTR Headers, [in, out]VARIANT_BOOL * Cancel); + + [id(DISPID_NAVIGATECOMPLETE), helpstring("Fired when the document being navigated to becomes visible and enters the navigation stack."), helpcontext(0x0000)] + void NavigateComplete([in] BSTR URL ); + + [id(DISPID_STATUSTEXTCHANGE), helpstring("Statusbar text changed."), helpcontext(0x0000)] + void StatusTextChange([in]BSTR Text); + + [id(DISPID_PROGRESSCHANGE), helpstring("Fired when download progress is updated."), helpcontext(0x0000)] + void ProgressChange([in] long Progress, [in] long ProgressMax); + + [id(DISPID_DOWNLOADCOMPLETE), helpstring("Download of page complete."), helpcontext(0x0000)] + void DownloadComplete(); + + [id(DISPID_COMMANDSTATECHANGE), helpstring("The enabled state of a command changed"), helpcontext(0x0000)] + void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable); + + [id(DISPID_DOWNLOADBEGIN), helpstring("Download of a page started."), helpcontext(0x000)] + void DownloadBegin(); + + [id(DISPID_NEWWINDOW), helpstring("Fired when a new window should be created."), helpcontext(0x0000)] + void NewWindow([in] BSTR URL, [in] long Flags, [in] BSTR TargetFrameName, [in] VARIANT * PostData, [in] BSTR Headers, [in,out] VARIANT_BOOL * Processed); + + [id(DISPID_TITLECHANGE), helpstring("Document title changed."), helpcontext(0x0000)] + void TitleChange([in]BSTR Text); + + [id(DISPID_FRAMEBEFORENAVIGATE), helpstring("Fired when a new hyperlink is being navigated to in a frame."), helpcontext(0x0000)] + void FrameBeforeNavigate([in] BSTR URL, long Flags, BSTR TargetFrameName, VARIANT * PostData, BSTR Headers, [in, out]VARIANT_BOOL * Cancel); + + [id(DISPID_FRAMENAVIGATECOMPLETE), helpstring("Fired when a new hyperlink is being navigated to in a frame."), helpcontext(0x0000)] + void FrameNavigateComplete([in] BSTR URL ); + + [id(DISPID_FRAMENEWWINDOW), helpstring("Fired when a new window should be created."), helpcontext(0x0000)] + void FrameNewWindow([in] BSTR URL, [in] long Flags, [in] BSTR TargetFrameName, [in] VARIANT * PostData, [in] BSTR Headers, [in,out] VARIANT_BOOL * Processed); + + // The following are IWebBrowserApp specific: + // + [id(DISPID_QUIT), helpstring("Fired when application is quiting."), helpcontext(0x0000)] + void Quit([in, out] VARIANT_BOOL * Cancel); + + [id(DISPID_WINDOWMOVE), helpstring("Fired when window has been moved."), helpcontext(0x0000)] + void WindowMove(); + + [id(DISPID_WINDOWRESIZE), helpstring("Fired when window has been sized."), helpcontext(0x0000)] + void WindowResize(); + + [id(DISPID_WINDOWACTIVATE), helpstring("Fired when window has been activated."), helpcontext(0x0000)] + void WindowActivate(); + + [id(DISPID_PROPERTYCHANGE), helpstring("Fired when the PutProperty method has been called."), helpcontext(0x0000)] + void PropertyChange([in] BSTR Property); + } + + typedef + [ + uuid(34A226E0-DF30-11CF-89A9-00A0C9054129), + helpstring("Constants for WebBrowser CommandStateChange") + ] + enum CommandStateChangeConstants { + [helpstring("Command Change")] CSC_UPDATECOMMANDS = (int) 0xFFFFFFFF, + [helpstring("Navigate Forward")] CSC_NAVIGATEFORWARD = 0x00000001, + [helpstring("Navigate Back")] CSC_NAVIGATEBACK = 0x00000002, + } CommandStateChangeConstants; + + [ + uuid(0002DF05-0000-0000-C000-000000000046), // IID_IWebBrowserApp + helpstring("Web Browser Application Interface."), + helpcontext(0x0000), + hidden, + oleautomation, + dual + ] + interface IWebBrowserApp : IWebBrowser + { + [id(300), helpstring("Exits application and closes the open document."), helpcontext(0x0000)] + HRESULT Quit(); + + [id(301), helpstring("Converts client sizes into window sizes."), helpcontext(0x0000)] + HRESULT ClientToWindow([in,out] int* pcx, [in,out] int* pcy); + + [id(302), helpstring("Associates vtValue with the name szProperty in the context of the object."), helpcontext(0x0000)] + HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue); + + [id(303), helpstring("Retrieve the Associated value for the property vtValue in the context of the object."), helpcontext(0x0000)] + HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue); + + [id(0), propget, helpstring("Returns name of the application."), helpcontext(0x0000)] + HRESULT Name([out,retval] BSTR* Name); + + [id(DISPID_HWND), propget, helpstring("Returns the HWND of the current IE window."), helpcontext(0x0000)] + HRESULT HWND([out,retval] SHANDLE_PTR * pHWND); + + [id(400), propget, helpstring("Returns file specification of the application, including path."), helpcontext(0x0000)] + HRESULT FullName([out,retval] BSTR* FullName); + + [id(401), propget, helpstring("Returns the path to the application."), helpcontext(0x0000)] + HRESULT Path([out,retval] BSTR* Path); + + [id(402), propget, helpstring("Determines whether the application is visible or hidden."), helpcontext(0x0000)] + HRESULT Visible([out, retval] VARIANT_BOOL* pBool); + [id(402), propput, helpstring("Determines whether the application is visible or hidden."), helpcontext(0x0000)] + HRESULT Visible([in] VARIANT_BOOL Value); + + [id(403), propget, helpstring("Turn on or off the statusbar."), helpcontext(0x0000)] + HRESULT StatusBar([out, retval] VARIANT_BOOL* pBool); + [id(403), propput, helpstring("Turn on or off the statusbar."), helpcontext(0x0000)] + HRESULT StatusBar([in] VARIANT_BOOL Value); + + [id(404), propget, helpstring("Text of Status window."), helpcontext(0x0000)] + HRESULT StatusText([out, retval] BSTR *StatusText); + [id(404), propput, helpstring("Text of Status window."), helpcontext(0x0000)] + HRESULT StatusText([in] BSTR StatusText); + + [id(405), propget, helpstring("Controls which toolbar is shown."), helpcontext(0x0000)] + HRESULT ToolBar([out, retval] int * Value); + [id(405), propput, helpstring("Controls which toolbar is shown."), helpcontext(0x0000)] + HRESULT ToolBar([in] int Value); + + [id(406), propget, helpstring("Controls whether menubar is shown."), helpcontext(0x0000)] + HRESULT MenuBar([out, retval] VARIANT_BOOL * Value); + [id(406), propput, helpstring("Controls whether menubar is shown."), helpcontext(0x0000)] + HRESULT MenuBar([in] VARIANT_BOOL Value); + + [id(407), propget, helpstring("Maximizes window and turns off statusbar, toolbar, menubar, and titlebar."), helpcontext(0x0000)] + HRESULT FullScreen([out, retval] VARIANT_BOOL * pbFullScreen); + [id(407), propput, helpstring("Maximizes window and turns off statusbar, toolbar, menubar, and titlebar."), helpcontext(0x0000)] + HRESULT FullScreen([in] VARIANT_BOOL bFullScreen); + } + + [ + uuid(D30C1661-CDAF-11d0-8A3E-00C04FC9E26E), // IID_IWebBrowser2 + helpstring("Web Browser Interface for IE4."), + helpcontext(0x0000), + hidden, + oleautomation, + dual + ] + interface IWebBrowser2 : IWebBrowserApp + { + [id(500), helpstring("Navigates to a URL or file or pidl."), helpcontext(0x0000)] + HRESULT Navigate2([in] VARIANT * URL, + [in, optional, unique] VARIANT * Flags, + [in, optional, unique] VARIANT * TargetFrameName, + [in, optional, unique] VARIANT * PostData, + [in, optional, unique] VARIANT * Headers); + + + [id(501), helpstring("IOleCommandTarget::QueryStatus"), helpcontext(0x0000)] + HRESULT QueryStatusWB([in] OLECMDID cmdID, [out, retval] OLECMDF * pcmdf); + [id(502), helpstring("IOleCommandTarget::Exec"), helpcontext(0x0000)] + HRESULT ExecWB([in] OLECMDID cmdID, [in] OLECMDEXECOPT cmdexecopt, [in, optional, unique] VARIANT * pvaIn, [in, out, optional, unique] VARIANT * pvaOut); + [id(503), helpstring("Set BrowserBar to Clsid"), helpcontext(0x0000)] + HRESULT ShowBrowserBar( [in] VARIANT * pvaClsid, + [in, optional, unique] VARIANT * pvarShow, + [in, optional, unique] VARIANT * pvarSize ); + + [id(DISPID_READYSTATE), propget, bindable] + HRESULT ReadyState([retval, out] READYSTATE * plReadyState); + + [id(550), propget, helpstring("Controls if the frame is offline (read from cache)"), helpcontext(0x0000)] + HRESULT Offline([out, retval] VARIANT_BOOL * pbOffline); + [id(550), propput, helpstring("Controls if the frame is offline (read from cache)"), helpcontext(0x0000)] + HRESULT Offline([in] VARIANT_BOOL bOffline); + + [id(551), propget, helpstring("Controls if any dialog boxes can be shown"), helpcontext(0x0000)] + HRESULT Silent([out, retval] VARIANT_BOOL * pbSilent); + [id(551), propput, helpstring("Controls if any dialog boxes can be shown"), helpcontext(0x0000)] + HRESULT Silent([in] VARIANT_BOOL bSilent); + + [id(552), propget, helpstring("Registers OC as a top-level browser (for target name resolution)"), helpcontext(0x0000)] + HRESULT RegisterAsBrowser([out, retval] VARIANT_BOOL * pbRegister); + [id(552), propput, helpstring("Registers OC as a top-level browser (for target name resolution)"), helpcontext(0x0000)] + HRESULT RegisterAsBrowser([in] VARIANT_BOOL bRegister); + + [id(553), propget, helpstring("Registers OC as a drop target for navigation"), helpcontext(0x0000)] + HRESULT RegisterAsDropTarget([out, retval] VARIANT_BOOL * pbRegister); + [id(553), propput, helpstring("Registers OC as a drop target for navigation"), helpcontext(0x0000)] + HRESULT RegisterAsDropTarget([in] VARIANT_BOOL bRegister); + + [id(554), propget, helpstring("Controls if the browser is in theater mode"), helpcontext(0x0000)] + HRESULT TheaterMode([out, retval] VARIANT_BOOL * pbRegister); + [id(554), propput, helpstring("Controls if the browser is in theater mode"), helpcontext(0x0000)] + HRESULT TheaterMode([in] VARIANT_BOOL bRegister); + + [id(555), propget, helpstring("Controls whether address bar is shown"), helpcontext(0x0000)] + HRESULT AddressBar([out, retval] VARIANT_BOOL * Value); + [id(555), propput, helpstring("Controls whether address bar is shown"), helpcontext(0x0000)] + HRESULT AddressBar([in] VARIANT_BOOL Value); + + [id(556), propget, helpstring("Controls whether the window is resizable"), helpcontext(0x0000)] + HRESULT Resizable([out, retval] VARIANT_BOOL * Value); + [id(556), propput, helpstring("Controls whether the window is resizable"), helpcontext(0x0000)] + HRESULT Resizable([in] VARIANT_BOOL Value); + } + + typedef + [ + uuid(65507BE0-91A8-11d3-A845-009027220E6D), + helpstring("Constants for WebBrowser security icon notification") + ] + enum SecureLockIconConstants { + secureLockIconUnsecure = 0x0000, + secureLockIconMixed = 0x0001, + secureLockIconSecureUnknownBits = 0x0002, + secureLockIconSecure40Bit = 0x0003, + secureLockIconSecure56Bit = 0x0004, + secureLockIconSecureFortezza = 0x0005, + secureLockIconSecure128Bit = 0x0006, + } SecureLockIconConstants; + + typedef + [ + uuid(a8317d46-03cb-4975-ae94-85e9f2e1d020), + helpstring("Constants for WebBrowser NewProcess notification") + ] + enum NewProcessCauseConstants { + ProtectedModeRedirect = 0x0001, + } NewProcessCauseConstants; + + [ + uuid(34A715A0-6587-11D0-924A-0020AFC7AC4D), // IID_DWebBrowserEvents2 + helpstring("Web Browser Control events interface"), + hidden + ] + dispinterface DWebBrowserEvents2 + { + properties: + methods: + [id(DISPID_STATUSTEXTCHANGE), helpstring("Statusbar text changed."), helpcontext(0x0000)] + void StatusTextChange([in]BSTR Text); + + [id(DISPID_PROGRESSCHANGE), helpstring("Fired when download progress is updated."), helpcontext(0x0000)] + void ProgressChange([in] long Progress, [in] long ProgressMax); + + [id(DISPID_COMMANDSTATECHANGE), helpstring("The enabled state of a command changed."), helpcontext(0x0000)] + void CommandStateChange([in] long Command, [in] VARIANT_BOOL Enable); + + [id(DISPID_DOWNLOADBEGIN), helpstring("Download of a page started."), helpcontext(0x000)] + void DownloadBegin(); + + [id(DISPID_DOWNLOADCOMPLETE), helpstring("Download of page complete."), helpcontext(0x0000)] + void DownloadComplete(); + + [id(DISPID_TITLECHANGE), helpstring("Document title changed."), helpcontext(0x0000)] + void TitleChange([in] BSTR Text); + + [id(DISPID_PROPERTYCHANGE), helpstring("Fired when the PutProperty method has been called."), helpcontext(0x0000)] + void PropertyChange([in] BSTR szProperty); + + // New events for IE40: + // + [id(DISPID_BEFORENAVIGATE2), helpstring("Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified."), helpcontext(0x0000)] + void BeforeNavigate2([in] IDispatch* pDisp, + [in] VARIANT * URL, [in] VARIANT * Flags, [in] VARIANT * TargetFrameName, [in] VARIANT * PostData, [in] VARIANT * Headers, + [in,out] VARIANT_BOOL * Cancel); + + [id(DISPID_NEWWINDOW2), helpstring("A new, hidden, non-navigated WebBrowser window is needed."), helpcontext(0x0000)] + void NewWindow2([in, out] IDispatch** ppDisp, [in, out] VARIANT_BOOL * Cancel); + + [id(DISPID_NAVIGATECOMPLETE2), helpstring("Fired when the document being navigated to becomes visible and enters the navigation stack."), helpcontext(0x0000)] + void NavigateComplete2([in] IDispatch* pDisp, [in] VARIANT * URL ); + + [id(DISPID_DOCUMENTCOMPLETE), helpstring("Fired when the document being navigated to reaches ReadyState_Complete."), helpcontext(0x0000)] + void DocumentComplete([in] IDispatch* pDisp, [in] VARIANT * URL ); + + [id(DISPID_ONQUIT), helpstring("Fired when application is quiting."), helpcontext(0x0000)] + void OnQuit(); + + [id(DISPID_ONVISIBLE), helpstring("Fired when the window should be shown/hidden"), helpcontext(0x0000)] + void OnVisible([in] VARIANT_BOOL Visible); + + [id(DISPID_ONTOOLBAR), helpstring("Fired when the toolbar should be shown/hidden"), helpcontext(0x0000)] + void OnToolBar([in] VARIANT_BOOL ToolBar); + + [id(DISPID_ONMENUBAR), helpstring("Fired when the menubar should be shown/hidden"), helpcontext(0x0000)] + void OnMenuBar([in] VARIANT_BOOL MenuBar); + + [id(DISPID_ONSTATUSBAR), helpstring("Fired when the statusbar should be shown/hidden"), helpcontext(0x0000)] + void OnStatusBar([in] VARIANT_BOOL StatusBar); + + [id(DISPID_ONFULLSCREEN), helpstring("Fired when fullscreen mode should be on/off"), helpcontext(0x0000)] + void OnFullScreen([in] VARIANT_BOOL FullScreen); + + [id(DISPID_ONTHEATERMODE), helpstring("Fired when theater mode should be on/off"), helpcontext(0x0000)] + void OnTheaterMode([in] VARIANT_BOOL TheaterMode); + + // New events for IE 5.5 + + [id(DISPID_WINDOWSETRESIZABLE), helpstring("Fired when the host window should allow/disallow resizing"), helpcontext(0x0000)] + void WindowSetResizable([in] VARIANT_BOOL Resizable); + + [id(DISPID_WINDOWSETLEFT), helpstring("Fired when the host window should change its Left coordinate"), helpcontext(0x0000)] + void WindowSetLeft([in] long Left); + + [id(DISPID_WINDOWSETTOP), helpstring("Fired when the host window should change its Top coordinate"), helpcontext(0x0000)] + void WindowSetTop([in] long Top); + + [id(DISPID_WINDOWSETWIDTH), helpstring("Fired when the host window should change its width"), helpcontext(0x0000)] + void WindowSetWidth([in] long Width); + + [id(DISPID_WINDOWSETHEIGHT), helpstring("Fired when the host window should change its height"), helpcontext(0x0000)] + void WindowSetHeight([in] long Height); + + [id(DISPID_WINDOWCLOSING), helpstring("Fired when the WebBrowser is about to be closed by script"), helpcontext(0x0000)] + void WindowClosing([in] VARIANT_BOOL IsChildWindow, [in, out] VARIANT_BOOL * Cancel); + + [id(DISPID_CLIENTTOHOSTWINDOW), helpstring("Fired to request client sizes be converted to host window sizes"), helpcontext(0x0000)] + void ClientToHostWindow([in, out] long* CX, [in, out] long* CY); + + [id(DISPID_SETSECURELOCKICON), helpstring("Fired to indicate the security level of the current web page contents"), helpcontext(0x0000)] + void SetSecureLockIcon([in] long SecureLockIcon); + + [id(DISPID_FILEDOWNLOAD), helpstring("Fired to indicate the File Download dialog is opening"), helpcontext(0x0000)] + void FileDownload([in] VARIANT_BOOL ActiveDocument, [in, out] VARIANT_BOOL * Cancel); + + // New events for IE 6.0 + + [id(DISPID_NAVIGATEERROR), helpstring("Fired when a binding error occurs (window or frameset element)."), helpcontext(0x0000)] + void NavigateError([in] IDispatch* pDisp, [in] VARIANT* URL, [in] VARIANT* Frame, [in] VARIANT* StatusCode, [in,out] VARIANT_BOOL* Cancel); + + [id(DISPID_PRINTTEMPLATEINSTANTIATION), helpstring("Fired when a print template is instantiated."), helpcontext(0x0000)] + void PrintTemplateInstantiation([in] IDispatch* pDisp); + + [id(DISPID_PRINTTEMPLATETEARDOWN), helpstring("Fired when a print template destroyed."), helpcontext(0x0000)] + void PrintTemplateTeardown([in] IDispatch* pDisp); + + [id(DISPID_UPDATEPAGESTATUS), helpstring("Fired when a page is spooled. When it is fired can be changed by a custom template."), helpcontext(0x0000)] + void UpdatePageStatus([in] IDispatch* pDisp, [in] VARIANT* nPage, [in] VARIANT* fDone); + + [id(DISPID_PRIVACYIMPACTEDSTATECHANGE), helpstring("Fired when the global privacy impacted state changes"), helpcontext(0x0000)] + void PrivacyImpactedStateChange([in] VARIANT_BOOL bImpacted); + + [id(DISPID_NEWWINDOW3), helpstring("A new, hidden, non-navigated WebBrowser window is needed."), helpcontext(0x0000)] + void NewWindow3([in, out] IDispatch** ppDisp, [in, out] VARIANT_BOOL * Cancel, [in] DWORD dwFlags, [in] BSTR bstrUrlContext, [in] BSTR bstrUrl); + + // New events for IE 7.0 + + [id(DISPID_SETPHISHINGFILTERSTATUS), helpstring("Fired to indicate the progress and status of the Phishing Filter analysis of the current web page"), helpcontext(0x0000)] + void SetPhishingFilterStatus([in] long PhishingFilterStatus); + + [id(DISPID_WINDOWSTATECHANGED), helpstring("Fired to indicate that the browser window's visibility or enabled state has changed."), helpcontext(0x0000)] + void WindowStateChanged([in] DWORD dwWindowStateFlags, [in] DWORD dwValidFlagsMask); + + // New Events for IE 8.0 + [id(DISPID_NEWPROCESS), helpstring("A new, hidden, non-navigated process is created to handle the navigation."), helpcontext(0x0000)] + void NewProcess([in] long lCauseFlag, [in] IDispatch* pWB2, [in, out] VARIANT_BOOL * Cancel); + + [id(DISPID_THIRDPARTYURLBLOCKED), helpstring("Fired when a third-party URL is blocked."), helpcontext(0x0000)] + void ThirdPartyUrlBlocked([in] VARIANT* URL, [in] DWORD dwCount); + + [id(DISPID_REDIRECTXDOMAINBLOCKED), helpstring("Fired when a x-domain redirect is blocked."), helpcontext(0x0000)] + void RedirectXDomainBlocked([in] IDispatch* pDisp, [in] VARIANT* StartURL, [in] VARIANT* RedirectURL, [in] VARIANT* Frame, [in] VARIANT* StatusCode); + + // New Events for IE 10.0 + [id(DISPID_BEFORESCRIPTEXECUTE), helpstring("Fired prior to the first script execution."), helpcontext(0x0000)] + void BeforeScriptExecute([in] IDispatch* pDispWindow); + + [id(DISPID_WEBWORKERSTARTED), helpstring("Fired after a Web Worker has been started."), helpcontext(0x0000)] + void WebWorkerStarted([in] DWORD dwUniqueID, [in] BSTR bstrWorkerLabel); + + [id(DISPID_WEBWORKERFINISHED), helpstring("Fired after a Web Worker has closed"), helpcontext(0x0000)] + void WebWorkerFinsihed([in] DWORD dwUniqueID); + } + + + + [ + uuid(EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B), // v.1 clsid CLSID_WebBrowser_V1 + control, + helpstring("WebBrowser Control") + ] + coclass WebBrowser_V1 + { + interface IWebBrowser2; + [default] interface IWebBrowser; + [source] dispinterface DWebBrowserEvents2; + [default, source] dispinterface DWebBrowserEvents; + } + + [ + uuid(8856F961-340A-11D0-A96B-00C04FD705A2), // v.2 clsid CLSID_WebBrowser + control, + helpstring("WebBrowser Control") + ] + coclass WebBrowser + { + [default] interface IWebBrowser2; + interface IWebBrowser; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; + } + + [ + uuid(0002DF01-0000-0000-C000-000000000046), // CLSID_InternetExplorer + helpstring("Internet Explorer Application."), + ] + coclass InternetExplorer + { + [default] interface IWebBrowser2; + interface IWebBrowserApp; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; + } + + [ + uuid(D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E), // CLSID_InternetExplorerMedium + helpstring("Internet Explorer Application with default integrity of Medium"), + ] + coclass InternetExplorerMedium + { + [default] interface IWebBrowser2; + interface IWebBrowserApp; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; + } + + [ + uuid(c08afd90-f2a1-11d1-8455-00a0c91f3880), // CLSID_ShellBrowserWindow + helpstring("Shell Browser Window."), + hidden, + noncreatable, + ] + coclass ShellBrowserWindow + { + [default] interface IWebBrowser2; + interface IWebBrowserApp; + [default, source] dispinterface DWebBrowserEvents2; + [source] dispinterface DWebBrowserEvents; + } + + + typedef + [ + uuid(F41E6981-28E5-11d0-82B4-00A0C90C29C5), + helpstring("Constants for ShellWindows registration") + ] + enum ShellWindowTypeConstants { + [helpstring("Explorer")] SWC_EXPLORER = 0x0, + [helpstring("Various Browsing Windows")] SWC_BROWSER = 0x00000001, + [helpstring("3rd Party Browsers")] SWC_3RDPARTY = 0x00000002, + [helpstring("Creation Callback")] SWC_CALLBACK = 0x00000004, + [helpstring("The Windows Desktop")] SWC_DESKTOP = 0x00000008, + } ShellWindowTypeConstants; + + typedef + [ + uuid(7716a370-38ca-11d0-a48b-00a0c90a8f39), + helpstring("Options for ShellWindows FindWindow"), + hidden + ] + enum ShellWindowFindWindowOptions { + [helpstring("Need Dispatch")] SWFO_NEEDDISPATCH = 0x00000001, + [helpstring("Include Pending")] SWFO_INCLUDEPENDING = 0x00000002, + [helpstring("Cookie Passed")] SWFO_COOKIEPASSED = 0x00000004, + } ShellWindowFindWindowOptions; + + [ + uuid(fe4106e0-399a-11d0-a48c-00a0c90a8f39), // DIID_DShellWindowsEvents + helpstring("Event interface for IShellWindows"), + ] + dispinterface DShellWindowsEvents + { + properties: + methods: + [id(DISPID_WINDOWREGISTERED), helpstring("A new window was registered."), helpcontext(0x0000)] + void WindowRegistered([in] long lCookie); + + [id(DISPID_WINDOWREVOKED), helpstring("A new window was revoked."), helpcontext(0x0000)] + void WindowRevoked([in] long lCookie); + } + + [ + uuid(85CB6900-4D95-11CF-960C-0080C7F4EE85), // IID_IShellWindows + helpstring("Definition of interface IShellWindows"), + oleautomation, + dual, + odl, + ] + interface IShellWindows : IDispatch + { + //Properties + [propget, helpstring("Get count of open Shell windows")] + HRESULT Count([out, retval] long *Count); + + //Methods + [id(0), helpstring("Return the shell window for the given index")] + HRESULT Item([in,optional] VARIANT index, [out, retval]IDispatch **Folder); + + [id(-4), helpstring("Enumerates the figures")] + HRESULT _NewEnum([out, retval] IUnknown **ppunk); + + // Some private hidden members to allow shell windows to add and + // remove themself from the list. We mark them hidden to keep + // random VB apps from trying to Register... + [helpstring("Register a window with the list"), hidden] + HRESULT Register([in] IDispatch *pid, + [in] long hwnd, + [in] int swClass, + [out]long *plCookie); + + [helpstring("Register a pending open with the list"), hidden] + HRESULT RegisterPending([in] long lThreadId, + [in] VARIANT* pvarloc, // will hold pidl that is being opened. + [in] VARIANT* pvarlocRoot, // Optional root pidl + [in] int swClass, + [out]long *plCookie); + + [helpstring("Remove a window from the list"), hidden] + HRESULT Revoke([in]long lCookie); + // As an optimization, each window notifies the new location + // only when + // (1) it's being deactivated + // (2) getFullName is called (we overload it to force update) + [helpstring("Notifies the new location"), hidden] + HRESULT OnNavigate([in]long lCookie, [in] VARIANT* pvarLoc); + [helpstring("Notifies the activation"), hidden] + HRESULT OnActivated([in]long lCookie, [in] VARIANT_BOOL fActive); + [helpstring("Find the window based on the location"), hidden] + HRESULT FindWindowSW([in] VARIANT* pvarLoc, + [in] VARIANT* pvarLocRoot, /* unused */ + [in] int swClass, + [out] long * phwnd, + [in] int swfwOptions, + [out,retval] IDispatch** ppdispOut); + [helpstring("Notifies on creation and frame name set"), hidden] + HRESULT OnCreated([in]long lCookie,[in] IUnknown *punk); + + [helpstring("Used by IExplore to register different processes"), hidden] + HRESULT ProcessAttachDetach([in] VARIANT_BOOL fAttach); + } + + [ + uuid(9BA05972-F6A8-11CF-A442-00A0C90A8F39), // CLSID_ShellWindows + helpstring("ShellDispatch Load in Shell Context") + ] + coclass ShellWindows + { + [default] interface IShellWindows; + [default, source] dispinterface DShellWindowsEvents; + } + + [ + uuid(729FE2F8-1EA8-11d1-8F85-00C04FC2FBE1), // IID_IShellUIHelper + helpstring("Shell UI Helper Control Interface"), + oleautomation, dual + ] + interface IShellUIHelper : IDispatch + { + [hidden, id(DISPID_RESETFIRSTBOOTMODE)] HRESULT ResetFirstBootMode(); + [hidden, id(DISPID_RESETSAFEMODE)] HRESULT ResetSafeMode(); + [hidden, id(DISPID_REFRESHOFFLINEDESKTOP)] HRESULT RefreshOfflineDesktop(); + [id(DISPID_ADDFAVORITE)] HRESULT AddFavorite([in] BSTR URL, [in, optional, unique] VARIANT *Title); + [id(DISPID_ADDCHANNEL)] HRESULT AddChannel([in] BSTR URL); + [id(DISPID_ADDDESKTOPCOMPONENT)] HRESULT AddDesktopComponent([in] BSTR URL, [in] BSTR Type, + [in, optional, unique] VARIANT *Left, + [in, optional, unique] VARIANT *Top, + [in, optional, unique] VARIANT *Width, + [in, optional, unique] VARIANT *Height); + [id(DISPID_ISSUBSCRIBED)] HRESULT IsSubscribed([in] BSTR URL, [out,retval] VARIANT_BOOL* pBool); + [id(DISPID_NAVIGATEANDFIND)] HRESULT NavigateAndFind([in] BSTR URL, [in] BSTR strQuery, [in] VARIANT* varTargetFrame); + [id(DISPID_IMPORTEXPORTFAVORITES)] HRESULT ImportExportFavorites([in] VARIANT_BOOL fImport, [in] BSTR strImpExpPath); + [id(DISPID_AUTOCOMPLETESAVEFORM)] HRESULT AutoCompleteSaveForm([in, optional, unique] VARIANT *Form); + [id(DISPID_AUTOSCAN)] HRESULT AutoScan([in] BSTR strSearch, [in] BSTR strFailureUrl, [in, optional, unique] VARIANT* pvarTargetFrame); + [hidden, id(DISPID_AUTOCOMPLETEATTACH)] HRESULT AutoCompleteAttach([in, optional, unique] VARIANT *Reserved); + [id(DISPID_SHOWBROWSERUI)] HRESULT ShowBrowserUI([in] BSTR bstrName, [in] VARIANT *pvarIn, [out, retval] VARIANT *pvarOut); + } + + [ + uuid(a7fe6eda-1932-4281-b881-87b31b8bc52c), // IID_IShellUIHelper2 + helpstring("Shell UI Helper Control Interface 2"), + oleautomation, dual + ] + interface IShellUIHelper2 : IShellUIHelper + { + [id(DISPID_ADDSEARCHPROVIDER)] HRESULT AddSearchProvider([in] BSTR URL); + [id(DISPID_RUNONCESHOWN)] HRESULT RunOnceShown(); + [id(DISPID_SKIPRUNONCE)] HRESULT SkipRunOnce(); + [id(DISPID_CUSTOMIZESETTINGS)] HRESULT CustomizeSettings( + [in] VARIANT_BOOL fSQM, + [in] VARIANT_BOOL fPhishing, + [in] BSTR bstrLocale); + [id(DISPID_SQMENABLED)] HRESULT SqmEnabled([out, retval] VARIANT_BOOL* pfEnabled); + [id(DISPID_PHISHINGENABLED)] HRESULT PhishingEnabled([out, retval] VARIANT_BOOL* pfEnabled); + [id(DISPID_BRANDIMAGEURI)] HRESULT BrandImageUri([out, retval] BSTR* pbstrUri); + [id(DISPID_SKIPTABSWELCOME)] HRESULT SkipTabsWelcome(); + [id(DISPID_DIAGNOSECONNECTION)] HRESULT DiagnoseConnection(); + [id(DISPID_CUSTOMIZECLEARTYPE)] HRESULT CustomizeClearType([in] VARIANT_BOOL fSet); + [id(DISPID_ISSEARCHPROVIDERINSTALLED)] HRESULT IsSearchProviderInstalled([in] BSTR URL, [out, retval] DWORD *pdwResult); + [id(DISPID_ISSEARCHMIGRATED)] HRESULT IsSearchMigrated([out, retval] VARIANT_BOOL* pfMigrated); + [id(DISPID_DEFAULTSEARCHPROVIDER)] HRESULT DefaultSearchProvider([out, retval] BSTR* pbstrName); + [id(DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE)] HRESULT RunOnceRequiredSettingsComplete([in] VARIANT_BOOL fComplete); + [id(DISPID_RUNONCEHASSHOWN)] HRESULT RunOnceHasShown([out, retval] VARIANT_BOOL* pfShown); + [id(DISPID_SEARCHGUIDEURL)] HRESULT SearchGuideUrl([out, retval] BSTR* pbstrUrl); + } + + [ + + uuid(528DF2EC-D419-40bc-9B6D-DCDBF9C1B25D), // IID_IShellUIHelper3 + + helpstring("Shell UI Helper Control Interface 3"), + oleautomation, dual + ] + interface IShellUIHelper3 : IShellUIHelper2 + { + [id(DISPID_ADDSERVICE)] HRESULT AddService([in] BSTR URL); + [id(DISPID_ISSERVICEINSTALLED)] HRESULT IsServiceInstalled([in] BSTR URL, [in] BSTR Verb, [out, retval] DWORD *pdwResult); + [id(DISPID_INPRIVATEFILTERINGENABLED)] HRESULT InPrivateFilteringEnabled([out, retval] VARIANT_BOOL *pfEnabled); + [id(DISPID_ADDTOFAVORITESBAR)] HRESULT AddToFavoritesBar([in] BSTR URL, [in] BSTR Title, [optional, in] VARIANT *Type); + [id(DISPID_BUILDNEWTABPAGE)] HRESULT BuildNewTabPage(); + [id(DISPID_SETRECENTLYCLOSEDVISIBLE)] HRESULT SetRecentlyClosedVisible([in] VARIANT_BOOL fVisible); + [id(DISPID_SETACTIVITIESVISIBLE)] HRESULT SetActivitiesVisible([in] VARIANT_BOOL fVisible); + [id(DISPID_CONTENTDISCOVERYRESET)] HRESULT ContentDiscoveryReset(); + [id(DISPID_SUGGESTEDSITESENABLED)] HRESULT IsSuggestedSitesEnabled([out, retval] VARIANT_BOOL* pfEnabled); + [id(DISPID_ENABLESUGGESTEDSITES)] HRESULT EnableSuggestedSites([in] VARIANT_BOOL fEnable); + [id(DISPID_NAVIGATETOSUGGESTEDSITES)] HRESULT NavigateToSuggestedSites([in] BSTR bstrRelativeUrl); + [id(DISPID_SHOWTABSHELP)] HRESULT ShowTabsHelp(); + [id(DISPID_SHOWINPRIVATEHELP)] HRESULT ShowInPrivateHelp(); + } + + [ + uuid(B36E6A53-8073-499E-824C-D776330A333E), // IID_IShellUIHelper4 + + helpstring("Shell UI Helper Control Interface 4"), + oleautomation, dual + ] + interface IShellUIHelper4 : IShellUIHelper3 + { + [id(DISPID_ISSITEMODE)] HRESULT msIsSiteMode([out, retval] VARIANT_BOOL *pfSiteMode); + [id(DISPID_SETTHUMBNAILBUTTONS)] HRESULT msSiteModeShowThumbBar(); + [id(DISPID_ADDTHUMBNAILBUTTONS)] HRESULT msSiteModeAddThumbBarButton([in] BSTR bstrIconURL, [in] BSTR bstrTooltip, [out, retval] VARIANT *pvarButtonID); + [id(DISPID_UPDATETHUMBNAILBUTTON)] HRESULT msSiteModeUpdateThumbBarButton([in] VARIANT ButtonID, [in] VARIANT_BOOL fEnabled, [in] VARIANT_BOOL fVisible); + [id(DISPID_SETSITEMODEICONOVERLAY)] HRESULT msSiteModeSetIconOverlay([in] BSTR IconUrl, [optional, in] VARIANT *pvarDescription); + [id(DISPID_CLEARSITEMODEICONOVERLAY)] HRESULT msSiteModeClearIconOverlay(); + [id(DISPID_ADDSITEMODE)] HRESULT msAddSiteMode(); + [id(DISPID_SITEMODECREATEJUMPLIST)] HRESULT msSiteModeCreateJumpList([in] BSTR bstrHeader); + [id(DISPID_SITEMODEADDJUMPLISTITEM)] HRESULT msSiteModeAddJumpListItem([in] BSTR bstrName, [in] BSTR bstrActionUri, [in] BSTR bstrIconUri, [optional, in] VARIANT *pvarWindowType); + [id(DISPID_SITEMODECLEARJUMPLIST)] HRESULT msSiteModeClearJumpList(); + [id(DISPID_SITEMODESHOWJUMPLIST)] HRESULT msSiteModeShowJumpList(); + [id(DISPID_SITEMODEADDBUTTONSTYLE)] HRESULT msSiteModeAddButtonStyle([in] VARIANT uiButtonID, [in] BSTR bstrIconUrl, [in] BSTR bstrTooltip, [out, retval] VARIANT *pvarStyleID); + [id(DISPID_SITEMODESHOWBUTTONSTYLE)] HRESULT msSiteModeShowButtonStyle([in] VARIANT uiButtonID, [in] VARIANT uiStyleID); + [id(DISPID_SITEMODEACTIVATE)] HRESULT msSiteModeActivate(); + [id(DISPID_ISSITEMODEFIRSTRUN)] HRESULT msIsSiteModeFirstRun([in] VARIANT_BOOL fPreserveState, [out, retval] VARIANT *puiFirstRun); + [id(DISPID_ADDTRACKINGPROTECTIONLIST)] HRESULT msAddTrackingProtectionList([in] BSTR URL, [in] BSTR bstrFilterName); + [id(DISPID_TRACKINGPROTECTIONENABLED)] HRESULT msTrackingProtectionEnabled([out, retval] VARIANT_BOOL *pfEnabled); + [id(DISPID_ACTIVEXFILTERINGENABLED)] HRESULT msActiveXFilteringEnabled([out, retval] VARIANT_BOOL *pfEnabled); + } + + [ + uuid(A2A08B09-103D-4D3F-B91C-EA455CA82EFA), // IID_IShellUIHelper5 + + helpstring("Shell UI Helper Control Interface 5"), + oleautomation, dual + ] + interface IShellUIHelper5 : IShellUIHelper4 + { + [id(DISPID_PROVISIONNETWORKS)] HRESULT msProvisionNetworks([in] BSTR bstrProvisioningXml, [out, retval] VARIANT *puiResult); + [id(DISPID_REPORTSAFEURL)] HRESULT msReportSafeUrl(); + [id(DISPID_SITEMODEREFRESHBADGE)] HRESULT msSiteModeRefreshBadge(); + [id(DISPID_SITEMODECLEARBADGE)] HRESULT msSiteModeClearBadge(); + [id(DISPID_DIAGNOSECONNECTIONUILESS)] HRESULT msDiagnoseConnectionUILess(); + [id(DISPID_LAUNCHNETWORKCLIENTHELP)] HRESULT msLaunchNetworkClientHelp(); + [id(DISPID_CHANGEDEFAULTBROWSER)] HRESULT msChangeDefaultBrowser([in] VARIANT_BOOL fChange); + } + + [ + uuid(987A573E-46EE-4E89-96AB-DDF7F8FDC98C), // IID_IShellUIHelper6 + + helpstring("Shell UI Helper Control Interface 6"), + oleautomation, dual + ] + interface IShellUIHelper6 : IShellUIHelper5 + { + [id(DISPID_STOPPERIODICUPDATE)] HRESULT msStopPeriodicTileUpdate(); + [id(DISPID_STARTPERIODICUPDATE)] HRESULT msStartPeriodicTileUpdate([in] VARIANT pollingUris, [optional, in] VARIANT startTime, [optional, in] VARIANT uiUpdateRecurrence); + [id(DISPID_STARTPERIODICUPDATEBATCH)] HRESULT msStartPeriodicTileUpdateBatch([in] VARIANT pollingUris, [optional, in] VARIANT startTime, [optional, in] VARIANT uiUpdateRecurrence); + [id(DISPID_CLEARNOTIFICATION)] HRESULT msClearTile(); + [id(DISPID_ENABLENOTIFICATIONQUEUE)] HRESULT msEnableTileNotificationQueue([in] VARIANT_BOOL fChange); + [id(DISPID_PINNEDSITESTATE)] HRESULT msPinnedSiteState([out, retval] VARIANT *pvarSiteState); + [id(DISPID_ENABLENOTIFICATIONQUEUESQUARE)] HRESULT msEnableTileNotificationQueueForSquare150x150([in] VARIANT_BOOL fChange); + [id(DISPID_ENABLENOTIFICATIONQUEUEWIDE)] HRESULT msEnableTileNotificationQueueForWide310x150([in] VARIANT_BOOL fChange); + [id(DISPID_ENABLENOTIFICATIONQUEUELARGE)] HRESULT msEnableTileNotificationQueueForSquare310x310([in] VARIANT_BOOL fChange); + [id(DISPID_SCHEDULEDTILENOTIFICATION)] HRESULT msScheduledTileNotification([in] BSTR bstrNotificationXml, [in] BSTR bstrNotificationId, [in] BSTR bstrNotificationTag, [optional, in] VARIANT startTime, [optional, in] VARIANT expirationTime); + [id(DISPID_REMOVESCHEDULEDTILENOTIFICATION)] HRESULT msRemoveScheduledTileNotification([in] BSTR bstrNotificationId); + [id(DISPID_STARTBADGEUPDATE)] HRESULT msStartPeriodicBadgeUpdate([in] BSTR pollingUri, [optional, in] VARIANT startTime, [optional, in] VARIANT uiUpdateRecurrence); + [id(DISPID_STOPBADGEUPDATE)] HRESULT msStopPeriodicBadgeUpdate(); + [id(DISPID_LAUNCHINTERNETOPTIONS)] HRESULT msLaunchInternetOptions(); + } + + [ + uuid(60E567C8-9573-4AB2-A264-637C6C161CB1), // IID_IShellUIHelper7 + + helpstring("Shell UI Helper Control Interface 7"), + oleautomation, dual + ] + interface IShellUIHelper7 : IShellUIHelper6 + { + [id(DISPID_GETEXPERIMENTALFLAG)] HRESULT SetExperimentalFlag([in] BSTR bstrFlagString, [in] VARIANT_BOOL vfFlag); + [id(DISPID_SETEXPERIMENTALFLAG)] HRESULT GetExperimentalFlag([in] BSTR bstrFlagString, [out, retval] VARIANT_BOOL* vfFlag); + [id(DISPID_SETEXPERIMENTALVALUE)] HRESULT SetExperimentalValue([in] BSTR bstrValueString, [in] DWORD dwValue); + [id(DISPID_GETEXPERIMENTALVALUE)] HRESULT GetExperimentalValue([in] BSTR bstrValueString, [out, retval] DWORD* pdwValue); + [id(DISPID_RESETEXPERIMENTALFLAGS)] HRESULT ResetAllExperimentalFlagsAndValues(); + [id(DISPID_GETNEEDIEAUTOLAUNCHFLAG)] HRESULT GetNeedIEAutoLaunchFlag([in] BSTR bstrUrl, [out, retval] VARIANT_BOOL* flag); + [id(DISPID_SETNEEDIEAUTOLAUNCHFLAG)] HRESULT SetNeedIEAutoLaunchFlag([in] BSTR bstrUrl, [in] VARIANT_BOOL flag); + [id(DISPID_HASNEEDIEAUTOLAUNCHFLAG)] HRESULT HasNeedIEAutoLaunchFlag([in] BSTR bstrUrl, [out, retval] VARIANT_BOOL* exists); + [id(DISPID_LAUNCHIE)] HRESULT LaunchIE([in] BSTR bstrUrl, [in] VARIANT_BOOL automated); + } + + [ + uuid(66DEBCF2-05B0-4F07-B49B-B96241A65DB2), // IID_IShellUIHelper8 + + helpstring("Shell UI Helper Control Interface 8"), + oleautomation, dual + ] + interface IShellUIHelper8 : IShellUIHelper7 + { + [id(DISPID_GETCVLISTDATA)] HRESULT GetCVListData([out, retval] BSTR* pbstrResult); + [id(DISPID_GETCVLISTLOCALDATA)] HRESULT GetCVListLocalData([out, retval] BSTR* pbstrResult); + [id(DISPID_GETEMIELISTDATA)] HRESULT GetEMIEListData([out, retval] BSTR* pbstrResult); + [id(DISPID_GETEMIELISTLOCALDATA)] HRESULT GetEMIEListLocalData([out, retval] BSTR* pbstrResult); + [id(DISPID_OPENFAVORITESPANE)] HRESULT OpenFavoritesPane(); + [id(DISPID_OPENFAVORITESSETTINGS)] HRESULT OpenFavoritesSettings(); + [id(DISPID_LAUNCHINHVSI)] HRESULT LaunchInHVSI([in] BSTR bstrUrl); + } + + [ + uuid(6cdf73b0-7f2f-451f-bc0f-63e0f3284e54), // IID_IShellUIHelper9 + + helpstring("Shell UI Helper Control Interface 9"), + oleautomation, dual + ] + interface IShellUIHelper9 : IShellUIHelper8 + { + [id(DISPID_GETOSSKU)] HRESULT GetOSSku([out, retval] DWORD* pdwResult); + } + + [ + uuid(64AB4BB7-111E-11d1-8F79-00C04FC2FBE1) // CLSID_ShellUIHelper + ] + coclass ShellUIHelper + { + [default] interface IShellUIHelper9; + } + + [ + uuid(55136806-B2DE-11D1-B9F2-00A0C98BC547) //DIID_DShellNameSpaceEvents + ] + dispinterface DShellNameSpaceEvents + { + properties: + methods: + [id(DISPID_FAVSELECTIONCHANGE)] + void FavoritesSelectionChange([in] long cItems, [in] long hItem, [in] BSTR strName, + [in] BSTR strUrl, [in] long cVisits, [in] BSTR strDate, + [in] BOOL fAvailableOffline); + [id(DISPID_SELECTIONCHANGE)] + void SelectionChange(); + [id(DISPID_DOUBLECLICK)] + void DoubleClick(); + [id(DISPID_INITIALIZED)] + void Initialized(); + } + + [ + object, + uuid(55136804-B2DE-11D1-B9F2-00A0C98BC547), //IID_IShellFavoritesNameSpace + dual, + helpstring("IShellFavoritesNameSpace Interface"), + pointer_default(unique), + hidden + ] + interface IShellFavoritesNameSpace : IDispatch + { + [id(DISPID_MOVESELECTIONUP), helpstring("method MoveSelectionUp")] + HRESULT MoveSelectionUp(); + [id(DISPID_MOVESELECTIONDOWN), helpstring("method MoveSelectionDown")] + HRESULT MoveSelectionDown(); + [id(DISPID_RESETSORT), helpstring("method ResetSort")] + HRESULT ResetSort(); + [id(DISPID_NEWFOLDER), helpstring("method NewFolder")] + HRESULT NewFolder(); + [id(DISPID_SYNCHRONIZE), helpstring("method Synchronize")] + HRESULT Synchronize(); + [id(DISPID_IMPORT), helpstring("method Import")] + HRESULT Import(); + [id(DISPID_EXPORT), helpstring("method Export")] + HRESULT Export(); + [id(DISPID_INVOKECONTEXTMENU), helpstring("method InvokeContextMenuCommand")] + HRESULT InvokeContextMenuCommand([in] BSTR strCommand); + [id(DISPID_MOVESELECTIONTO), helpstring("method MoveSelectionTo")] + HRESULT MoveSelectionTo(); + [propget, id(DISPID_SUBSCRIPTIONSENABLED), helpstring("Query to see if subscriptions are enabled")] + HRESULT SubscriptionsEnabled([out, retval] VARIANT_BOOL *pBool); + [id(DISPID_CREATESUBSCRIPTION), helpstring("method CreateSubscriptionForSelection")] + HRESULT CreateSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool); + [id(DISPID_DELETESUBSCRIPTION), helpstring("method DeleteSubscriptionForSelection")] + HRESULT DeleteSubscriptionForSelection([out, retval] VARIANT_BOOL *pBool); + + [id(DISPID_SETROOT), helpstring("old, use put_Root() instead")] + HRESULT SetRoot([in] BSTR bstrFullPath); + } + + [ + object, + uuid(e572d3c9-37be-4ae2-825d-d521763e3108), // IID_IShellNameSpace + dual, + helpstring("IShellNameSpace Interface"), + pointer_default(unique), + hidden + ] + interface IShellNameSpace : IShellFavoritesNameSpace + { + [propget, id(DISPID_ENUMOPTIONS), helpstring("options ")] + HRESULT EnumOptions([out, retval] LONG *pgrfEnumFlags); + [propput, id(DISPID_ENUMOPTIONS), helpstring("options ")] + HRESULT EnumOptions([in] LONG lVal); + + [propget, id(DISPID_SELECTEDITEM), helpstring("get the selected item")] + HRESULT SelectedItem([out, retval] IDispatch **pItem); + [propput, id(DISPID_SELECTEDITEM), helpstring("select an item in the tree")] + HRESULT SelectedItem([in] IDispatch *pItem); + + [propget, id(DISPID_ROOT), helpstring("get the root item")] + HRESULT Root([out, retval] VARIANT *pvar); + [propput, id(DISPID_ROOT), helpstring("set the root")] + HRESULT Root([in] VARIANT var); + [propget, id(DISPID_DEPTH), helpstring("")] + HRESULT Depth([out, retval] int *piDepth); + [propput, id(DISPID_DEPTH), helpstring("")] + HRESULT Depth([in] int iDepth); + [propget, id(DISPID_MODE), helpstring("")] + HRESULT Mode([out, retval] UINT *puMode); + [propput, id(DISPID_MODE), helpstring("")] + HRESULT Mode([in] UINT uMode); + [propget, id(DISPID_FLAGS), helpstring("")] + HRESULT Flags([out, retval] DWORD *pdwFlags); + [propput, id(DISPID_FLAGS), helpstring("")] + HRESULT Flags([in] DWORD dwFlags); + [propput, id(DISPID_TVFLAGS), helpstring("")] + HRESULT TVFlags([in] DWORD dwFlags); + [propget, id(DISPID_TVFLAGS), helpstring("")] + HRESULT TVFlags([out, retval] DWORD *dwFlags); + [propget, id(DISPID_NSCOLUMNS), helpstring("")] + HRESULT Columns([out, retval] BSTR *bstrColumns); + [propput, id(DISPID_NSCOLUMNS), helpstring("")] + HRESULT Columns([in] BSTR bstrColumns); + [propget, id(DISPID_COUNTVIEWTYPES), helpstring("number of view types")] + HRESULT CountViewTypes([out, retval] int *piTypes); + [id(DISPID_SETVIEWTYPE), helpstring("set view type")] + HRESULT SetViewType([in] int iType); + [id(DISPID_SELECTEDITEMS), helpstring("collection of selected items")] + HRESULT SelectedItems([out, retval] IDispatch **ppid); + [id(DISPID_EXPAND), helpstring("expands item specified depth")] + HRESULT Expand([in] VARIANT var, int iDepth); + //[propget,id(DISPID_READYSTATE), helpstring("return ready state of the control")] + // HRESULT ReadyState([retval, out] READYSTATE * plReadyState); + [id(DISPID_UNSELECTALL), helpstring("unselects all items")] + HRESULT UnselectAll(); + } + + [ + uuid(55136805-B2DE-11D1-B9F2-00A0C98BC547) // CLSID_ShellNameSpace + ] + coclass ShellNameSpace + { + [default] interface IShellNameSpace; + [default, source] dispinterface DShellNameSpaceEvents; + }; + + [ + uuid(F3470F24-15FD-11d2-BB2E-00805FF7EFCA), // IID_IScriptErrorList + helpstring("Script Error List Interface"), + oleautomation, + hidden, + dual, + ] + interface IScriptErrorList : IDispatch + { + // navigation through list of errors + [id(DISPID_ADVANCEERROR)] HRESULT advanceError(); + [id(DISPID_RETREATERROR)] HRESULT retreatError(); + [id(DISPID_CANADVANCEERROR)] HRESULT canAdvanceError([out, retval] BOOL * pfCanAdvance); + [id(DISPID_CANRETREATERROR)] HRESULT canRetreatError([out, retval] BOOL * pfCanRetreat); + + // data access for the current error in the error list + [id(DISPID_GETERRORLINE)] HRESULT getErrorLine([out, retval] LONG * plLine); + [id(DISPID_GETERRORCHAR)] HRESULT getErrorChar([out, retval] LONG * plChar); + [id(DISPID_GETERRORCODE)] HRESULT getErrorCode([out, retval] LONG * plCode); + [id(DISPID_GETERRORMSG)] HRESULT getErrorMsg([out, retval] BSTR * pstr); + [id(DISPID_GETERRORURL)] HRESULT getErrorUrl([out, retval] BSTR * pstr); + + [id(DISPID_GETALWAYSSHOWLOCKSTATE)] HRESULT getAlwaysShowLockState([out, retval] BOOL * pfAlwaysShowLocked); + [id(DISPID_GETDETAILSSTATE)] HRESULT getDetailsPaneOpen([out, retval] BOOL * pfDetailsPaneOpen); + [id(DISPID_SETDETAILSSTATE)] HRESULT setDetailsPaneOpen(BOOL fDetailsPaneOpen); + [id(DISPID_GETPERERRSTATE)] HRESULT getPerErrorDisplay([out, retval] BOOL * pfPerErrorDisplay); + [id(DISPID_SETPERERRSTATE)] HRESULT setPerErrorDisplay(BOOL fPerErrorDisplay); + } + [ + uuid(EFD01300-160F-11d2-BB2E-00805FF7EFCA), // CLSID_ScriptErrorList + hidden, + noncreatable, + ] + coclass CScriptErrorList + { + [default] interface IScriptErrorList; + } + +}; // SHDocVw library + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDisp.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDisp.h new file mode 100644 index 0000000000000000000000000000000000000000..11b2ea79d49a9184a8f56c460edc7b703a4ac51c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDisp.h @@ -0,0 +1,10231 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 500 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + + +#ifndef __exdisp_h__ +#define __exdisp_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IWebBrowser_FWD_DEFINED__ +#define __IWebBrowser_FWD_DEFINED__ +typedef interface IWebBrowser IWebBrowser; + +#endif /* __IWebBrowser_FWD_DEFINED__ */ + + +#ifndef __DWebBrowserEvents_FWD_DEFINED__ +#define __DWebBrowserEvents_FWD_DEFINED__ +typedef interface DWebBrowserEvents DWebBrowserEvents; + +#endif /* __DWebBrowserEvents_FWD_DEFINED__ */ + + +#ifndef __IWebBrowserApp_FWD_DEFINED__ +#define __IWebBrowserApp_FWD_DEFINED__ +typedef interface IWebBrowserApp IWebBrowserApp; + +#endif /* __IWebBrowserApp_FWD_DEFINED__ */ + + +#ifndef __IWebBrowser2_FWD_DEFINED__ +#define __IWebBrowser2_FWD_DEFINED__ +typedef interface IWebBrowser2 IWebBrowser2; + +#endif /* __IWebBrowser2_FWD_DEFINED__ */ + + +#ifndef __DWebBrowserEvents2_FWD_DEFINED__ +#define __DWebBrowserEvents2_FWD_DEFINED__ +typedef interface DWebBrowserEvents2 DWebBrowserEvents2; + +#endif /* __DWebBrowserEvents2_FWD_DEFINED__ */ + + +#ifndef __WebBrowser_V1_FWD_DEFINED__ +#define __WebBrowser_V1_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class WebBrowser_V1 WebBrowser_V1; +#else +typedef struct WebBrowser_V1 WebBrowser_V1; +#endif /* __cplusplus */ + +#endif /* __WebBrowser_V1_FWD_DEFINED__ */ + + +#ifndef __WebBrowser_FWD_DEFINED__ +#define __WebBrowser_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class WebBrowser WebBrowser; +#else +typedef struct WebBrowser WebBrowser; +#endif /* __cplusplus */ + +#endif /* __WebBrowser_FWD_DEFINED__ */ + + +#ifndef __InternetExplorer_FWD_DEFINED__ +#define __InternetExplorer_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class InternetExplorer InternetExplorer; +#else +typedef struct InternetExplorer InternetExplorer; +#endif /* __cplusplus */ + +#endif /* __InternetExplorer_FWD_DEFINED__ */ + + +#ifndef __InternetExplorerMedium_FWD_DEFINED__ +#define __InternetExplorerMedium_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class InternetExplorerMedium InternetExplorerMedium; +#else +typedef struct InternetExplorerMedium InternetExplorerMedium; +#endif /* __cplusplus */ + +#endif /* __InternetExplorerMedium_FWD_DEFINED__ */ + + +#ifndef __ShellBrowserWindow_FWD_DEFINED__ +#define __ShellBrowserWindow_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class ShellBrowserWindow ShellBrowserWindow; +#else +typedef struct ShellBrowserWindow ShellBrowserWindow; +#endif /* __cplusplus */ + +#endif /* __ShellBrowserWindow_FWD_DEFINED__ */ + + +#ifndef __DShellWindowsEvents_FWD_DEFINED__ +#define __DShellWindowsEvents_FWD_DEFINED__ +typedef interface DShellWindowsEvents DShellWindowsEvents; + +#endif /* __DShellWindowsEvents_FWD_DEFINED__ */ + + +#ifndef __IShellWindows_FWD_DEFINED__ +#define __IShellWindows_FWD_DEFINED__ +typedef interface IShellWindows IShellWindows; + +#endif /* __IShellWindows_FWD_DEFINED__ */ + + +#ifndef __ShellWindows_FWD_DEFINED__ +#define __ShellWindows_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class ShellWindows ShellWindows; +#else +typedef struct ShellWindows ShellWindows; +#endif /* __cplusplus */ + +#endif /* __ShellWindows_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper_FWD_DEFINED__ +#define __IShellUIHelper_FWD_DEFINED__ +typedef interface IShellUIHelper IShellUIHelper; + +#endif /* __IShellUIHelper_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper2_FWD_DEFINED__ +#define __IShellUIHelper2_FWD_DEFINED__ +typedef interface IShellUIHelper2 IShellUIHelper2; + +#endif /* __IShellUIHelper2_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper3_FWD_DEFINED__ +#define __IShellUIHelper3_FWD_DEFINED__ +typedef interface IShellUIHelper3 IShellUIHelper3; + +#endif /* __IShellUIHelper3_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper4_FWD_DEFINED__ +#define __IShellUIHelper4_FWD_DEFINED__ +typedef interface IShellUIHelper4 IShellUIHelper4; + +#endif /* __IShellUIHelper4_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper5_FWD_DEFINED__ +#define __IShellUIHelper5_FWD_DEFINED__ +typedef interface IShellUIHelper5 IShellUIHelper5; + +#endif /* __IShellUIHelper5_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper6_FWD_DEFINED__ +#define __IShellUIHelper6_FWD_DEFINED__ +typedef interface IShellUIHelper6 IShellUIHelper6; + +#endif /* __IShellUIHelper6_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper7_FWD_DEFINED__ +#define __IShellUIHelper7_FWD_DEFINED__ +typedef interface IShellUIHelper7 IShellUIHelper7; + +#endif /* __IShellUIHelper7_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper8_FWD_DEFINED__ +#define __IShellUIHelper8_FWD_DEFINED__ +typedef interface IShellUIHelper8 IShellUIHelper8; + +#endif /* __IShellUIHelper8_FWD_DEFINED__ */ + + +#ifndef __IShellUIHelper9_FWD_DEFINED__ +#define __IShellUIHelper9_FWD_DEFINED__ +typedef interface IShellUIHelper9 IShellUIHelper9; + +#endif /* __IShellUIHelper9_FWD_DEFINED__ */ + + +#ifndef __ShellUIHelper_FWD_DEFINED__ +#define __ShellUIHelper_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class ShellUIHelper ShellUIHelper; +#else +typedef struct ShellUIHelper ShellUIHelper; +#endif /* __cplusplus */ + +#endif /* __ShellUIHelper_FWD_DEFINED__ */ + + +#ifndef __DShellNameSpaceEvents_FWD_DEFINED__ +#define __DShellNameSpaceEvents_FWD_DEFINED__ +typedef interface DShellNameSpaceEvents DShellNameSpaceEvents; + +#endif /* __DShellNameSpaceEvents_FWD_DEFINED__ */ + + +#ifndef __IShellFavoritesNameSpace_FWD_DEFINED__ +#define __IShellFavoritesNameSpace_FWD_DEFINED__ +typedef interface IShellFavoritesNameSpace IShellFavoritesNameSpace; + +#endif /* __IShellFavoritesNameSpace_FWD_DEFINED__ */ + + +#ifndef __IShellNameSpace_FWD_DEFINED__ +#define __IShellNameSpace_FWD_DEFINED__ +typedef interface IShellNameSpace IShellNameSpace; + +#endif /* __IShellNameSpace_FWD_DEFINED__ */ + + +#ifndef __ShellNameSpace_FWD_DEFINED__ +#define __ShellNameSpace_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class ShellNameSpace ShellNameSpace; +#else +typedef struct ShellNameSpace ShellNameSpace; +#endif /* __cplusplus */ + +#endif /* __ShellNameSpace_FWD_DEFINED__ */ + + +#ifndef __IScriptErrorList_FWD_DEFINED__ +#define __IScriptErrorList_FWD_DEFINED__ +typedef interface IScriptErrorList IScriptErrorList; + +#endif /* __IScriptErrorList_FWD_DEFINED__ */ + + +#ifndef __CScriptErrorList_FWD_DEFINED__ +#define __CScriptErrorList_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class CScriptErrorList CScriptErrorList; +#else +typedef struct CScriptErrorList CScriptErrorList; +#endif /* __cplusplus */ + +#endif /* __CScriptErrorList_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "ocidl.h" +#include "docobj.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_exdisp_0000_0000 */ +/* [local] */ + +//=--------------------------------------------------------------------------= +// exdisp.h +//=--------------------------------------------------------------------------= +// (C) Copyright Microsoft Corporation. All Rights Reserved. +// +// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF +// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A +// PARTICULAR PURPOSE. +//=--------------------------------------------------------------------------= + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#pragma warning(push) +#pragma warning(disable:4001) +#pragma once +#pragma warning(push) +#pragma warning(disable:4001) +#pragma once +#pragma warning(pop) +#pragma warning(pop) +#pragma region Desktop Family +#pragma endregion +#define SID_SkipHung IID_IEnumVARIANT + + +extern RPC_IF_HANDLE __MIDL_itf_exdisp_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_exdisp_0000_0000_v0_0_s_ifspec; + + +#ifndef __SHDocVw_LIBRARY_DEFINED__ +#define __SHDocVw_LIBRARY_DEFINED__ + +/* library SHDocVw */ +/* [version][lcid][helpstring][uuid] */ + +typedef /* [helpstring][uuid] */ DECLSPEC_UUID("34A226E0-DF30-11CF-89A9-00A0C9054129") +enum CommandStateChangeConstants + { + CSC_UPDATECOMMANDS = ( int )0xffffffff, + CSC_NAVIGATEFORWARD = 0x1, + CSC_NAVIGATEBACK = 0x2 + } CommandStateChangeConstants; + +typedef /* [helpstring][uuid] */ DECLSPEC_UUID("65507BE0-91A8-11d3-A845-009027220E6D") +enum SecureLockIconConstants + { + secureLockIconUnsecure = 0, + secureLockIconMixed = 0x1, + secureLockIconSecureUnknownBits = 0x2, + secureLockIconSecure40Bit = 0x3, + secureLockIconSecure56Bit = 0x4, + secureLockIconSecureFortezza = 0x5, + secureLockIconSecure128Bit = 0x6 + } SecureLockIconConstants; + +typedef /* [helpstring][uuid] */ DECLSPEC_UUID("a8317d46-03cb-4975-ae94-85e9f2e1d020") +enum NewProcessCauseConstants + { + ProtectedModeRedirect = 0x1 + } NewProcessCauseConstants; + +typedef /* [helpstring][uuid] */ DECLSPEC_UUID("F41E6981-28E5-11d0-82B4-00A0C90C29C5") +enum ShellWindowTypeConstants + { + SWC_EXPLORER = 0, + SWC_BROWSER = 0x1, + SWC_3RDPARTY = 0x2, + SWC_CALLBACK = 0x4, + SWC_DESKTOP = 0x8 + } ShellWindowTypeConstants; + +typedef /* [hidden][helpstring][uuid] */ DECLSPEC_UUID("7716a370-38ca-11d0-a48b-00a0c90a8f39") +enum ShellWindowFindWindowOptions + { + SWFO_NEEDDISPATCH = 0x1, + SWFO_INCLUDEPENDING = 0x2, + SWFO_COOKIEPASSED = 0x4 + } ShellWindowFindWindowOptions; + + +EXTERN_C const IID LIBID_SHDocVw; + +#ifndef __IWebBrowser_INTERFACE_DEFINED__ +#define __IWebBrowser_INTERFACE_DEFINED__ + +/* interface IWebBrowser */ +/* [object][oleautomation][dual][hidden][helpcontext][helpstring][uuid] */ + +typedef /* [helpstring][uuid] */ DECLSPEC_UUID("14EE5380-A378-11cf-A731-00A0C9082637") +enum BrowserNavConstants + { + navOpenInNewWindow = 0x1, + navNoHistory = 0x2, + navNoReadFromCache = 0x4, + navNoWriteToCache = 0x8, + navAllowAutosearch = 0x10, + navBrowserBar = 0x20, + navHyperlink = 0x40, + navEnforceRestricted = 0x80, + navNewWindowsManaged = 0x100, + navUntrustedForDownload = 0x200, + navTrustedForActiveX = 0x400, + navOpenInNewTab = 0x800, + navOpenInBackgroundTab = 0x1000, + navKeepWordWheelText = 0x2000, + navVirtualTab = 0x4000, + navBlockRedirectsXDomain = 0x8000, + navOpenNewForegroundTab = 0x10000, + navTravelLogScreenshot = 0x20000, + navDeferUnload = 0x40000, + navSpeculative = 0x80000, + navSuggestNewWindow = 0x100000, + navSuggestNewTab = 0x200000, + navReserved1 = 0x400000, + navHomepageNavigate = 0x800000, + navRefresh = 0x1000000, + navHostNavigation = 0x2000000, + navReserved2 = 0x4000000, + navReserved3 = 0x8000000, + navReserved4 = 0x10000000, + navReserved5 = 0x20000000, + navReserved6 = 0x40000000, + navReserved7 = 0x80000000 + } BrowserNavConstants; + +//;begin_internal +#define navUserInitiatedAction navReserved1 +#define navDisableDownloadSave navReserved2 +#define navServerRedirectedVtabSwitch navReserved3 +#define navVtabSwitchNotUserInitiatedAction navReserved4 +#define navCheckDontShowNeedIE navReserved5 +#define navCheckDontShowNeedHVSI navReserved6 +#define navCheckDontShowHVSINeedHost navReserved7 +//;end_internal +typedef /* [helpstring][uuid] */ DECLSPEC_UUID("C317C261-A991-11cf-A731-00A0C9082637") +enum RefreshConstants + { + REFRESH_NORMAL = 0, + REFRESH_IFEXPIRED = 1, + REFRESH_COMPLETELY = 3 + } RefreshConstants; + + +EXTERN_C const IID IID_IWebBrowser; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B") + IWebBrowser : public IDispatch + { + public: + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GoBack( void) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GoForward( void) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GoHome( void) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GoSearch( void) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Navigate( + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh2( + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Level) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop( void) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Application( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Parent( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Container( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Document( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TopLevelContainer( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Type( + /* [retval][out] */ __RPC__deref_out_opt BSTR *Type) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Left( + /* [retval][out] */ __RPC__out long *pl) = 0; + + virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Left( + /* [in] */ long Left) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Top( + /* [retval][out] */ __RPC__out long *pl) = 0; + + virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Top( + /* [in] */ long Top) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Width( + /* [retval][out] */ __RPC__out long *pl) = 0; + + virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Width( + /* [in] */ long Width) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Height( + /* [retval][out] */ __RPC__out long *pl) = 0; + + virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Height( + /* [in] */ long Height) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_LocationName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationName) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_LocationURL( + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationURL) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Busy( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IWebBrowserVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IWebBrowser * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IWebBrowser * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IWebBrowser * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IWebBrowser * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IWebBrowser * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IWebBrowser, GoBack) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoBack )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoForward) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoForward )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoHome) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoHome )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoSearch) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoSearch )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IWebBrowser, Navigate) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate )( + __RPC__in IWebBrowser * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers); + + DECLSPEC_XFGVIRT(IWebBrowser, Refresh) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IWebBrowser, Refresh2) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh2 )( + __RPC__in IWebBrowser * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Level); + + DECLSPEC_XFGVIRT(IWebBrowser, Stop) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )( + __RPC__in IWebBrowser * This); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Application) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Parent) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Container) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Container )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Document) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_TopLevelContainer) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TopLevelContainer )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Type) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Type); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Left) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Left )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Left) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Left )( + __RPC__in IWebBrowser * This, + /* [in] */ long Left); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Top) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Top )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Top) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Top )( + __RPC__in IWebBrowser * This, + /* [in] */ long Top); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Width) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Width) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( + __RPC__in IWebBrowser * This, + /* [in] */ long Width); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Height) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Height )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Height) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Height )( + __RPC__in IWebBrowser * This, + /* [in] */ long Height); + + DECLSPEC_XFGVIRT(IWebBrowser, get_LocationName) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationName )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationName); + + DECLSPEC_XFGVIRT(IWebBrowser, get_LocationURL) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationURL )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationURL); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Busy) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Busy )( + __RPC__in IWebBrowser * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + END_INTERFACE + } IWebBrowserVtbl; + + interface IWebBrowser + { + CONST_VTBL struct IWebBrowserVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IWebBrowser_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IWebBrowser_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IWebBrowser_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IWebBrowser_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IWebBrowser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IWebBrowser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IWebBrowser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IWebBrowser_GoBack(This) \ + ( (This)->lpVtbl -> GoBack(This) ) + +#define IWebBrowser_GoForward(This) \ + ( (This)->lpVtbl -> GoForward(This) ) + +#define IWebBrowser_GoHome(This) \ + ( (This)->lpVtbl -> GoHome(This) ) + +#define IWebBrowser_GoSearch(This) \ + ( (This)->lpVtbl -> GoSearch(This) ) + +#define IWebBrowser_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) \ + ( (This)->lpVtbl -> Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) ) + +#define IWebBrowser_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IWebBrowser_Refresh2(This,Level) \ + ( (This)->lpVtbl -> Refresh2(This,Level) ) + +#define IWebBrowser_Stop(This) \ + ( (This)->lpVtbl -> Stop(This) ) + +#define IWebBrowser_get_Application(This,ppDisp) \ + ( (This)->lpVtbl -> get_Application(This,ppDisp) ) + +#define IWebBrowser_get_Parent(This,ppDisp) \ + ( (This)->lpVtbl -> get_Parent(This,ppDisp) ) + +#define IWebBrowser_get_Container(This,ppDisp) \ + ( (This)->lpVtbl -> get_Container(This,ppDisp) ) + +#define IWebBrowser_get_Document(This,ppDisp) \ + ( (This)->lpVtbl -> get_Document(This,ppDisp) ) + +#define IWebBrowser_get_TopLevelContainer(This,pBool) \ + ( (This)->lpVtbl -> get_TopLevelContainer(This,pBool) ) + +#define IWebBrowser_get_Type(This,Type) \ + ( (This)->lpVtbl -> get_Type(This,Type) ) + +#define IWebBrowser_get_Left(This,pl) \ + ( (This)->lpVtbl -> get_Left(This,pl) ) + +#define IWebBrowser_put_Left(This,Left) \ + ( (This)->lpVtbl -> put_Left(This,Left) ) + +#define IWebBrowser_get_Top(This,pl) \ + ( (This)->lpVtbl -> get_Top(This,pl) ) + +#define IWebBrowser_put_Top(This,Top) \ + ( (This)->lpVtbl -> put_Top(This,Top) ) + +#define IWebBrowser_get_Width(This,pl) \ + ( (This)->lpVtbl -> get_Width(This,pl) ) + +#define IWebBrowser_put_Width(This,Width) \ + ( (This)->lpVtbl -> put_Width(This,Width) ) + +#define IWebBrowser_get_Height(This,pl) \ + ( (This)->lpVtbl -> get_Height(This,pl) ) + +#define IWebBrowser_put_Height(This,Height) \ + ( (This)->lpVtbl -> put_Height(This,Height) ) + +#define IWebBrowser_get_LocationName(This,LocationName) \ + ( (This)->lpVtbl -> get_LocationName(This,LocationName) ) + +#define IWebBrowser_get_LocationURL(This,LocationURL) \ + ( (This)->lpVtbl -> get_LocationURL(This,LocationURL) ) + +#define IWebBrowser_get_Busy(This,pBool) \ + ( (This)->lpVtbl -> get_Busy(This,pBool) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IWebBrowser_INTERFACE_DEFINED__ */ + + +#ifndef __DWebBrowserEvents_DISPINTERFACE_DEFINED__ +#define __DWebBrowserEvents_DISPINTERFACE_DEFINED__ + +/* dispinterface DWebBrowserEvents */ +/* [hidden][helpstring][uuid] */ + + +EXTERN_C const IID DIID_DWebBrowserEvents; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("EAB22AC2-30C1-11CF-A7EB-0000C05BAE0B") + DWebBrowserEvents : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct DWebBrowserEventsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in DWebBrowserEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in DWebBrowserEvents * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in DWebBrowserEvents * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in DWebBrowserEvents * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in DWebBrowserEvents * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in DWebBrowserEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + DWebBrowserEvents * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } DWebBrowserEventsVtbl; + + interface DWebBrowserEvents + { + CONST_VTBL struct DWebBrowserEventsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define DWebBrowserEvents_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define DWebBrowserEvents_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define DWebBrowserEvents_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define DWebBrowserEvents_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define DWebBrowserEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define DWebBrowserEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define DWebBrowserEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __DWebBrowserEvents_DISPINTERFACE_DEFINED__ */ + + +#ifndef __IWebBrowserApp_INTERFACE_DEFINED__ +#define __IWebBrowserApp_INTERFACE_DEFINED__ + +/* interface IWebBrowserApp */ +/* [object][dual][oleautomation][hidden][helpcontext][helpstring][uuid] */ + + +EXTERN_C const IID IID_IWebBrowserApp; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0002DF05-0000-0000-C000-000000000046") + IWebBrowserApp : public IWebBrowser + { + public: + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Quit( void) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE ClientToWindow( + /* [out][in] */ __RPC__inout int *pcx, + /* [out][in] */ __RPC__inout int *pcy) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE PutProperty( + /* [in] */ __RPC__in BSTR Property, + /* [in] */ VARIANT vtValue) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE GetProperty( + /* [in] */ __RPC__in BSTR Property, + /* [retval][out] */ __RPC__out VARIANT *pvtValue) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *Name) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_HWND( + /* [retval][out] */ __RPC__out SHANDLE_PTR *pHWND) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FullName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *FullName) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Path( + /* [retval][out] */ __RPC__deref_out_opt BSTR *Path) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Visible( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Visible( + /* [in] */ VARIANT_BOOL Value) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_StatusBar( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_StatusBar( + /* [in] */ VARIANT_BOOL Value) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_StatusText( + /* [retval][out] */ __RPC__deref_out_opt BSTR *StatusText) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_StatusText( + /* [in] */ __RPC__in BSTR StatusText) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ToolBar( + /* [retval][out] */ __RPC__out int *Value) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ToolBar( + /* [in] */ int Value) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MenuBar( + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MenuBar( + /* [in] */ VARIANT_BOOL Value) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_FullScreen( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbFullScreen) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_FullScreen( + /* [in] */ VARIANT_BOOL bFullScreen) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IWebBrowserAppVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IWebBrowserApp * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IWebBrowserApp * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IWebBrowserApp * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IWebBrowserApp * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IWebBrowserApp * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IWebBrowser, GoBack) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoBack )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoForward) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoForward )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoHome) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoHome )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoSearch) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoSearch )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowser, Navigate) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate )( + __RPC__in IWebBrowserApp * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers); + + DECLSPEC_XFGVIRT(IWebBrowser, Refresh) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowser, Refresh2) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh2 )( + __RPC__in IWebBrowserApp * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Level); + + DECLSPEC_XFGVIRT(IWebBrowser, Stop) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Application) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Parent) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Container) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Container )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Document) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_TopLevelContainer) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TopLevelContainer )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Type) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Type); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Left) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Left )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Left) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Left )( + __RPC__in IWebBrowserApp * This, + /* [in] */ long Left); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Top) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Top )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Top) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Top )( + __RPC__in IWebBrowserApp * This, + /* [in] */ long Top); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Width) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Width) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( + __RPC__in IWebBrowserApp * This, + /* [in] */ long Width); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Height) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Height )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Height) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Height )( + __RPC__in IWebBrowserApp * This, + /* [in] */ long Height); + + DECLSPEC_XFGVIRT(IWebBrowser, get_LocationName) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationName )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationName); + + DECLSPEC_XFGVIRT(IWebBrowser, get_LocationURL) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationURL )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationURL); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Busy) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Busy )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowserApp, Quit) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Quit )( + __RPC__in IWebBrowserApp * This); + + DECLSPEC_XFGVIRT(IWebBrowserApp, ClientToWindow) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientToWindow )( + __RPC__in IWebBrowserApp * This, + /* [out][in] */ __RPC__inout int *pcx, + /* [out][in] */ __RPC__inout int *pcy); + + DECLSPEC_XFGVIRT(IWebBrowserApp, PutProperty) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutProperty )( + __RPC__in IWebBrowserApp * This, + /* [in] */ __RPC__in BSTR Property, + /* [in] */ VARIANT vtValue); + + DECLSPEC_XFGVIRT(IWebBrowserApp, GetProperty) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetProperty )( + __RPC__in IWebBrowserApp * This, + /* [in] */ __RPC__in BSTR Property, + /* [retval][out] */ __RPC__out VARIANT *pvtValue); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_Name) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Name); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_HWND) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out SHANDLE_PTR *pHWND); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_FullName) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FullName )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *FullName); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_Path) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Path); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_Visible) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_Visible) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )( + __RPC__in IWebBrowserApp * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_StatusBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StatusBar )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_StatusBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusBar )( + __RPC__in IWebBrowserApp * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_StatusText) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StatusText )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *StatusText); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_StatusText) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusText )( + __RPC__in IWebBrowserApp * This, + /* [in] */ __RPC__in BSTR StatusText); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_ToolBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ToolBar )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out int *Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_ToolBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ToolBar )( + __RPC__in IWebBrowserApp * This, + /* [in] */ int Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_MenuBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MenuBar )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_MenuBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MenuBar )( + __RPC__in IWebBrowserApp * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_FullScreen) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FullScreen )( + __RPC__in IWebBrowserApp * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbFullScreen); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_FullScreen) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FullScreen )( + __RPC__in IWebBrowserApp * This, + /* [in] */ VARIANT_BOOL bFullScreen); + + END_INTERFACE + } IWebBrowserAppVtbl; + + interface IWebBrowserApp + { + CONST_VTBL struct IWebBrowserAppVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IWebBrowserApp_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IWebBrowserApp_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IWebBrowserApp_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IWebBrowserApp_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IWebBrowserApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IWebBrowserApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IWebBrowserApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IWebBrowserApp_GoBack(This) \ + ( (This)->lpVtbl -> GoBack(This) ) + +#define IWebBrowserApp_GoForward(This) \ + ( (This)->lpVtbl -> GoForward(This) ) + +#define IWebBrowserApp_GoHome(This) \ + ( (This)->lpVtbl -> GoHome(This) ) + +#define IWebBrowserApp_GoSearch(This) \ + ( (This)->lpVtbl -> GoSearch(This) ) + +#define IWebBrowserApp_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) \ + ( (This)->lpVtbl -> Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) ) + +#define IWebBrowserApp_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IWebBrowserApp_Refresh2(This,Level) \ + ( (This)->lpVtbl -> Refresh2(This,Level) ) + +#define IWebBrowserApp_Stop(This) \ + ( (This)->lpVtbl -> Stop(This) ) + +#define IWebBrowserApp_get_Application(This,ppDisp) \ + ( (This)->lpVtbl -> get_Application(This,ppDisp) ) + +#define IWebBrowserApp_get_Parent(This,ppDisp) \ + ( (This)->lpVtbl -> get_Parent(This,ppDisp) ) + +#define IWebBrowserApp_get_Container(This,ppDisp) \ + ( (This)->lpVtbl -> get_Container(This,ppDisp) ) + +#define IWebBrowserApp_get_Document(This,ppDisp) \ + ( (This)->lpVtbl -> get_Document(This,ppDisp) ) + +#define IWebBrowserApp_get_TopLevelContainer(This,pBool) \ + ( (This)->lpVtbl -> get_TopLevelContainer(This,pBool) ) + +#define IWebBrowserApp_get_Type(This,Type) \ + ( (This)->lpVtbl -> get_Type(This,Type) ) + +#define IWebBrowserApp_get_Left(This,pl) \ + ( (This)->lpVtbl -> get_Left(This,pl) ) + +#define IWebBrowserApp_put_Left(This,Left) \ + ( (This)->lpVtbl -> put_Left(This,Left) ) + +#define IWebBrowserApp_get_Top(This,pl) \ + ( (This)->lpVtbl -> get_Top(This,pl) ) + +#define IWebBrowserApp_put_Top(This,Top) \ + ( (This)->lpVtbl -> put_Top(This,Top) ) + +#define IWebBrowserApp_get_Width(This,pl) \ + ( (This)->lpVtbl -> get_Width(This,pl) ) + +#define IWebBrowserApp_put_Width(This,Width) \ + ( (This)->lpVtbl -> put_Width(This,Width) ) + +#define IWebBrowserApp_get_Height(This,pl) \ + ( (This)->lpVtbl -> get_Height(This,pl) ) + +#define IWebBrowserApp_put_Height(This,Height) \ + ( (This)->lpVtbl -> put_Height(This,Height) ) + +#define IWebBrowserApp_get_LocationName(This,LocationName) \ + ( (This)->lpVtbl -> get_LocationName(This,LocationName) ) + +#define IWebBrowserApp_get_LocationURL(This,LocationURL) \ + ( (This)->lpVtbl -> get_LocationURL(This,LocationURL) ) + +#define IWebBrowserApp_get_Busy(This,pBool) \ + ( (This)->lpVtbl -> get_Busy(This,pBool) ) + + +#define IWebBrowserApp_Quit(This) \ + ( (This)->lpVtbl -> Quit(This) ) + +#define IWebBrowserApp_ClientToWindow(This,pcx,pcy) \ + ( (This)->lpVtbl -> ClientToWindow(This,pcx,pcy) ) + +#define IWebBrowserApp_PutProperty(This,Property,vtValue) \ + ( (This)->lpVtbl -> PutProperty(This,Property,vtValue) ) + +#define IWebBrowserApp_GetProperty(This,Property,pvtValue) \ + ( (This)->lpVtbl -> GetProperty(This,Property,pvtValue) ) + +#define IWebBrowserApp_get_Name(This,Name) \ + ( (This)->lpVtbl -> get_Name(This,Name) ) + +#define IWebBrowserApp_get_HWND(This,pHWND) \ + ( (This)->lpVtbl -> get_HWND(This,pHWND) ) + +#define IWebBrowserApp_get_FullName(This,FullName) \ + ( (This)->lpVtbl -> get_FullName(This,FullName) ) + +#define IWebBrowserApp_get_Path(This,Path) \ + ( (This)->lpVtbl -> get_Path(This,Path) ) + +#define IWebBrowserApp_get_Visible(This,pBool) \ + ( (This)->lpVtbl -> get_Visible(This,pBool) ) + +#define IWebBrowserApp_put_Visible(This,Value) \ + ( (This)->lpVtbl -> put_Visible(This,Value) ) + +#define IWebBrowserApp_get_StatusBar(This,pBool) \ + ( (This)->lpVtbl -> get_StatusBar(This,pBool) ) + +#define IWebBrowserApp_put_StatusBar(This,Value) \ + ( (This)->lpVtbl -> put_StatusBar(This,Value) ) + +#define IWebBrowserApp_get_StatusText(This,StatusText) \ + ( (This)->lpVtbl -> get_StatusText(This,StatusText) ) + +#define IWebBrowserApp_put_StatusText(This,StatusText) \ + ( (This)->lpVtbl -> put_StatusText(This,StatusText) ) + +#define IWebBrowserApp_get_ToolBar(This,Value) \ + ( (This)->lpVtbl -> get_ToolBar(This,Value) ) + +#define IWebBrowserApp_put_ToolBar(This,Value) \ + ( (This)->lpVtbl -> put_ToolBar(This,Value) ) + +#define IWebBrowserApp_get_MenuBar(This,Value) \ + ( (This)->lpVtbl -> get_MenuBar(This,Value) ) + +#define IWebBrowserApp_put_MenuBar(This,Value) \ + ( (This)->lpVtbl -> put_MenuBar(This,Value) ) + +#define IWebBrowserApp_get_FullScreen(This,pbFullScreen) \ + ( (This)->lpVtbl -> get_FullScreen(This,pbFullScreen) ) + +#define IWebBrowserApp_put_FullScreen(This,bFullScreen) \ + ( (This)->lpVtbl -> put_FullScreen(This,bFullScreen) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IWebBrowserApp_INTERFACE_DEFINED__ */ + + +#ifndef __IWebBrowser2_INTERFACE_DEFINED__ +#define __IWebBrowser2_INTERFACE_DEFINED__ + +/* interface IWebBrowser2 */ +/* [object][dual][oleautomation][hidden][helpcontext][helpstring][uuid] */ + + +EXTERN_C const IID IID_IWebBrowser2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("D30C1661-CDAF-11d0-8A3E-00C04FC9E26E") + IWebBrowser2 : public IWebBrowserApp + { + public: + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE Navigate2( + /* [in] */ __RPC__in VARIANT *URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryStatusWB( + /* [in] */ OLECMDID cmdID, + /* [retval][out] */ __RPC__out OLECMDF *pcmdf) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE ExecWB( + /* [in] */ OLECMDID cmdID, + /* [in] */ OLECMDEXECOPT cmdexecopt, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvaIn, + /* [unique][optional][out][in] */ __RPC__inout_opt VARIANT *pvaOut) = 0; + + virtual /* [helpcontext][helpstring][id] */ HRESULT STDMETHODCALLTYPE ShowBrowserBar( + /* [in] */ __RPC__in VARIANT *pvaClsid, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarShow, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarSize) = 0; + + virtual /* [bindable][propget][id] */ HRESULT STDMETHODCALLTYPE get_ReadyState( + /* [out][retval] */ __RPC__out READYSTATE *plReadyState) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Offline( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbOffline) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Offline( + /* [in] */ VARIANT_BOOL bOffline) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Silent( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSilent) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Silent( + /* [in] */ VARIANT_BOOL bSilent) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_RegisterAsBrowser( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_RegisterAsBrowser( + /* [in] */ VARIANT_BOOL bRegister) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_RegisterAsDropTarget( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_RegisterAsDropTarget( + /* [in] */ VARIANT_BOOL bRegister) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TheaterMode( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_TheaterMode( + /* [in] */ VARIANT_BOOL bRegister) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AddressBar( + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_AddressBar( + /* [in] */ VARIANT_BOOL Value) = 0; + + virtual /* [helpcontext][helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Resizable( + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value) = 0; + + virtual /* [helpcontext][helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Resizable( + /* [in] */ VARIANT_BOOL Value) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IWebBrowser2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IWebBrowser2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IWebBrowser2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IWebBrowser2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IWebBrowser, GoBack) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoBack )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoForward) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoForward )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoHome) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoHome )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowser, GoSearch) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoSearch )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowser, Navigate) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers); + + DECLSPEC_XFGVIRT(IWebBrowser, Refresh) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowser, Refresh2) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh2 )( + __RPC__in IWebBrowser2 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Level); + + DECLSPEC_XFGVIRT(IWebBrowser, Stop) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Application) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Parent) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Container) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Container )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Document) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp); + + DECLSPEC_XFGVIRT(IWebBrowser, get_TopLevelContainer) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TopLevelContainer )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Type) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Type); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Left) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Left )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Left) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Left )( + __RPC__in IWebBrowser2 * This, + /* [in] */ long Left); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Top) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Top )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Top) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Top )( + __RPC__in IWebBrowser2 * This, + /* [in] */ long Top); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Width) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Width) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( + __RPC__in IWebBrowser2 * This, + /* [in] */ long Width); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Height) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Height )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out long *pl); + + DECLSPEC_XFGVIRT(IWebBrowser, put_Height) + /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Height )( + __RPC__in IWebBrowser2 * This, + /* [in] */ long Height); + + DECLSPEC_XFGVIRT(IWebBrowser, get_LocationName) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationName )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationName); + + DECLSPEC_XFGVIRT(IWebBrowser, get_LocationURL) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationURL )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *LocationURL); + + DECLSPEC_XFGVIRT(IWebBrowser, get_Busy) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Busy )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowserApp, Quit) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Quit )( + __RPC__in IWebBrowser2 * This); + + DECLSPEC_XFGVIRT(IWebBrowserApp, ClientToWindow) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientToWindow )( + __RPC__in IWebBrowser2 * This, + /* [out][in] */ __RPC__inout int *pcx, + /* [out][in] */ __RPC__inout int *pcy); + + DECLSPEC_XFGVIRT(IWebBrowserApp, PutProperty) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutProperty )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in BSTR Property, + /* [in] */ VARIANT vtValue); + + DECLSPEC_XFGVIRT(IWebBrowserApp, GetProperty) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetProperty )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in BSTR Property, + /* [retval][out] */ __RPC__out VARIANT *pvtValue); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_Name) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Name); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_HWND) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out SHANDLE_PTR *pHWND); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_FullName) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FullName )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *FullName); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_Path) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *Path); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_Visible) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_Visible) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_StatusBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StatusBar )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_StatusBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusBar )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_StatusText) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StatusText )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *StatusText); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_StatusText) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusText )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in BSTR StatusText); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_ToolBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ToolBar )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out int *Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_ToolBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ToolBar )( + __RPC__in IWebBrowser2 * This, + /* [in] */ int Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_MenuBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MenuBar )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_MenuBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MenuBar )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowserApp, get_FullScreen) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FullScreen )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbFullScreen); + + DECLSPEC_XFGVIRT(IWebBrowserApp, put_FullScreen) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FullScreen )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL bFullScreen); + + DECLSPEC_XFGVIRT(IWebBrowser2, Navigate2) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate2 )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in VARIANT *URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers); + + DECLSPEC_XFGVIRT(IWebBrowser2, QueryStatusWB) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryStatusWB )( + __RPC__in IWebBrowser2 * This, + /* [in] */ OLECMDID cmdID, + /* [retval][out] */ __RPC__out OLECMDF *pcmdf); + + DECLSPEC_XFGVIRT(IWebBrowser2, ExecWB) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecWB )( + __RPC__in IWebBrowser2 * This, + /* [in] */ OLECMDID cmdID, + /* [in] */ OLECMDEXECOPT cmdexecopt, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvaIn, + /* [unique][optional][out][in] */ __RPC__inout_opt VARIANT *pvaOut); + + DECLSPEC_XFGVIRT(IWebBrowser2, ShowBrowserBar) + /* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserBar )( + __RPC__in IWebBrowser2 * This, + /* [in] */ __RPC__in VARIANT *pvaClsid, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarShow, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarSize); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_ReadyState) + /* [bindable][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ReadyState )( + __RPC__in IWebBrowser2 * This, + /* [out][retval] */ __RPC__out READYSTATE *plReadyState); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_Offline) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Offline )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbOffline); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_Offline) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Offline )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL bOffline); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_Silent) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Silent )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSilent); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_Silent) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Silent )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL bSilent); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_RegisterAsBrowser) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RegisterAsBrowser )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_RegisterAsBrowser) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RegisterAsBrowser )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL bRegister); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_RegisterAsDropTarget) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RegisterAsDropTarget )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_RegisterAsDropTarget) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RegisterAsDropTarget )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL bRegister); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_TheaterMode) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TheaterMode )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_TheaterMode) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_TheaterMode )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL bRegister); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_AddressBar) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AddressBar )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_AddressBar) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AddressBar )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL Value); + + DECLSPEC_XFGVIRT(IWebBrowser2, get_Resizable) + /* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Resizable )( + __RPC__in IWebBrowser2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *Value); + + DECLSPEC_XFGVIRT(IWebBrowser2, put_Resizable) + /* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Resizable )( + __RPC__in IWebBrowser2 * This, + /* [in] */ VARIANT_BOOL Value); + + END_INTERFACE + } IWebBrowser2Vtbl; + + interface IWebBrowser2 + { + CONST_VTBL struct IWebBrowser2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IWebBrowser2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IWebBrowser2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IWebBrowser2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IWebBrowser2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IWebBrowser2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IWebBrowser2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IWebBrowser2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IWebBrowser2_GoBack(This) \ + ( (This)->lpVtbl -> GoBack(This) ) + +#define IWebBrowser2_GoForward(This) \ + ( (This)->lpVtbl -> GoForward(This) ) + +#define IWebBrowser2_GoHome(This) \ + ( (This)->lpVtbl -> GoHome(This) ) + +#define IWebBrowser2_GoSearch(This) \ + ( (This)->lpVtbl -> GoSearch(This) ) + +#define IWebBrowser2_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) \ + ( (This)->lpVtbl -> Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) ) + +#define IWebBrowser2_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IWebBrowser2_Refresh2(This,Level) \ + ( (This)->lpVtbl -> Refresh2(This,Level) ) + +#define IWebBrowser2_Stop(This) \ + ( (This)->lpVtbl -> Stop(This) ) + +#define IWebBrowser2_get_Application(This,ppDisp) \ + ( (This)->lpVtbl -> get_Application(This,ppDisp) ) + +#define IWebBrowser2_get_Parent(This,ppDisp) \ + ( (This)->lpVtbl -> get_Parent(This,ppDisp) ) + +#define IWebBrowser2_get_Container(This,ppDisp) \ + ( (This)->lpVtbl -> get_Container(This,ppDisp) ) + +#define IWebBrowser2_get_Document(This,ppDisp) \ + ( (This)->lpVtbl -> get_Document(This,ppDisp) ) + +#define IWebBrowser2_get_TopLevelContainer(This,pBool) \ + ( (This)->lpVtbl -> get_TopLevelContainer(This,pBool) ) + +#define IWebBrowser2_get_Type(This,Type) \ + ( (This)->lpVtbl -> get_Type(This,Type) ) + +#define IWebBrowser2_get_Left(This,pl) \ + ( (This)->lpVtbl -> get_Left(This,pl) ) + +#define IWebBrowser2_put_Left(This,Left) \ + ( (This)->lpVtbl -> put_Left(This,Left) ) + +#define IWebBrowser2_get_Top(This,pl) \ + ( (This)->lpVtbl -> get_Top(This,pl) ) + +#define IWebBrowser2_put_Top(This,Top) \ + ( (This)->lpVtbl -> put_Top(This,Top) ) + +#define IWebBrowser2_get_Width(This,pl) \ + ( (This)->lpVtbl -> get_Width(This,pl) ) + +#define IWebBrowser2_put_Width(This,Width) \ + ( (This)->lpVtbl -> put_Width(This,Width) ) + +#define IWebBrowser2_get_Height(This,pl) \ + ( (This)->lpVtbl -> get_Height(This,pl) ) + +#define IWebBrowser2_put_Height(This,Height) \ + ( (This)->lpVtbl -> put_Height(This,Height) ) + +#define IWebBrowser2_get_LocationName(This,LocationName) \ + ( (This)->lpVtbl -> get_LocationName(This,LocationName) ) + +#define IWebBrowser2_get_LocationURL(This,LocationURL) \ + ( (This)->lpVtbl -> get_LocationURL(This,LocationURL) ) + +#define IWebBrowser2_get_Busy(This,pBool) \ + ( (This)->lpVtbl -> get_Busy(This,pBool) ) + + +#define IWebBrowser2_Quit(This) \ + ( (This)->lpVtbl -> Quit(This) ) + +#define IWebBrowser2_ClientToWindow(This,pcx,pcy) \ + ( (This)->lpVtbl -> ClientToWindow(This,pcx,pcy) ) + +#define IWebBrowser2_PutProperty(This,Property,vtValue) \ + ( (This)->lpVtbl -> PutProperty(This,Property,vtValue) ) + +#define IWebBrowser2_GetProperty(This,Property,pvtValue) \ + ( (This)->lpVtbl -> GetProperty(This,Property,pvtValue) ) + +#define IWebBrowser2_get_Name(This,Name) \ + ( (This)->lpVtbl -> get_Name(This,Name) ) + +#define IWebBrowser2_get_HWND(This,pHWND) \ + ( (This)->lpVtbl -> get_HWND(This,pHWND) ) + +#define IWebBrowser2_get_FullName(This,FullName) \ + ( (This)->lpVtbl -> get_FullName(This,FullName) ) + +#define IWebBrowser2_get_Path(This,Path) \ + ( (This)->lpVtbl -> get_Path(This,Path) ) + +#define IWebBrowser2_get_Visible(This,pBool) \ + ( (This)->lpVtbl -> get_Visible(This,pBool) ) + +#define IWebBrowser2_put_Visible(This,Value) \ + ( (This)->lpVtbl -> put_Visible(This,Value) ) + +#define IWebBrowser2_get_StatusBar(This,pBool) \ + ( (This)->lpVtbl -> get_StatusBar(This,pBool) ) + +#define IWebBrowser2_put_StatusBar(This,Value) \ + ( (This)->lpVtbl -> put_StatusBar(This,Value) ) + +#define IWebBrowser2_get_StatusText(This,StatusText) \ + ( (This)->lpVtbl -> get_StatusText(This,StatusText) ) + +#define IWebBrowser2_put_StatusText(This,StatusText) \ + ( (This)->lpVtbl -> put_StatusText(This,StatusText) ) + +#define IWebBrowser2_get_ToolBar(This,Value) \ + ( (This)->lpVtbl -> get_ToolBar(This,Value) ) + +#define IWebBrowser2_put_ToolBar(This,Value) \ + ( (This)->lpVtbl -> put_ToolBar(This,Value) ) + +#define IWebBrowser2_get_MenuBar(This,Value) \ + ( (This)->lpVtbl -> get_MenuBar(This,Value) ) + +#define IWebBrowser2_put_MenuBar(This,Value) \ + ( (This)->lpVtbl -> put_MenuBar(This,Value) ) + +#define IWebBrowser2_get_FullScreen(This,pbFullScreen) \ + ( (This)->lpVtbl -> get_FullScreen(This,pbFullScreen) ) + +#define IWebBrowser2_put_FullScreen(This,bFullScreen) \ + ( (This)->lpVtbl -> put_FullScreen(This,bFullScreen) ) + + +#define IWebBrowser2_Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) \ + ( (This)->lpVtbl -> Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) ) + +#define IWebBrowser2_QueryStatusWB(This,cmdID,pcmdf) \ + ( (This)->lpVtbl -> QueryStatusWB(This,cmdID,pcmdf) ) + +#define IWebBrowser2_ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut) \ + ( (This)->lpVtbl -> ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut) ) + +#define IWebBrowser2_ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize) \ + ( (This)->lpVtbl -> ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize) ) + +#define IWebBrowser2_get_ReadyState(This,plReadyState) \ + ( (This)->lpVtbl -> get_ReadyState(This,plReadyState) ) + +#define IWebBrowser2_get_Offline(This,pbOffline) \ + ( (This)->lpVtbl -> get_Offline(This,pbOffline) ) + +#define IWebBrowser2_put_Offline(This,bOffline) \ + ( (This)->lpVtbl -> put_Offline(This,bOffline) ) + +#define IWebBrowser2_get_Silent(This,pbSilent) \ + ( (This)->lpVtbl -> get_Silent(This,pbSilent) ) + +#define IWebBrowser2_put_Silent(This,bSilent) \ + ( (This)->lpVtbl -> put_Silent(This,bSilent) ) + +#define IWebBrowser2_get_RegisterAsBrowser(This,pbRegister) \ + ( (This)->lpVtbl -> get_RegisterAsBrowser(This,pbRegister) ) + +#define IWebBrowser2_put_RegisterAsBrowser(This,bRegister) \ + ( (This)->lpVtbl -> put_RegisterAsBrowser(This,bRegister) ) + +#define IWebBrowser2_get_RegisterAsDropTarget(This,pbRegister) \ + ( (This)->lpVtbl -> get_RegisterAsDropTarget(This,pbRegister) ) + +#define IWebBrowser2_put_RegisterAsDropTarget(This,bRegister) \ + ( (This)->lpVtbl -> put_RegisterAsDropTarget(This,bRegister) ) + +#define IWebBrowser2_get_TheaterMode(This,pbRegister) \ + ( (This)->lpVtbl -> get_TheaterMode(This,pbRegister) ) + +#define IWebBrowser2_put_TheaterMode(This,bRegister) \ + ( (This)->lpVtbl -> put_TheaterMode(This,bRegister) ) + +#define IWebBrowser2_get_AddressBar(This,Value) \ + ( (This)->lpVtbl -> get_AddressBar(This,Value) ) + +#define IWebBrowser2_put_AddressBar(This,Value) \ + ( (This)->lpVtbl -> put_AddressBar(This,Value) ) + +#define IWebBrowser2_get_Resizable(This,Value) \ + ( (This)->lpVtbl -> get_Resizable(This,Value) ) + +#define IWebBrowser2_put_Resizable(This,Value) \ + ( (This)->lpVtbl -> put_Resizable(This,Value) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IWebBrowser2_INTERFACE_DEFINED__ */ + + +#ifndef __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ +#define __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ + +/* dispinterface DWebBrowserEvents2 */ +/* [hidden][helpstring][uuid] */ + + +EXTERN_C const IID DIID_DWebBrowserEvents2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("34A715A0-6587-11D0-924A-0020AFC7AC4D") + DWebBrowserEvents2 : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct DWebBrowserEvents2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in DWebBrowserEvents2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in DWebBrowserEvents2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in DWebBrowserEvents2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in DWebBrowserEvents2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in DWebBrowserEvents2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in DWebBrowserEvents2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + DWebBrowserEvents2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } DWebBrowserEvents2Vtbl; + + interface DWebBrowserEvents2 + { + CONST_VTBL struct DWebBrowserEvents2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define DWebBrowserEvents2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define DWebBrowserEvents2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define DWebBrowserEvents2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define DWebBrowserEvents2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define DWebBrowserEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define DWebBrowserEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define DWebBrowserEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __DWebBrowserEvents2_DISPINTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_WebBrowser_V1; + +#ifdef __cplusplus + +class DECLSPEC_UUID("EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B") +WebBrowser_V1; +#endif + +EXTERN_C const CLSID CLSID_WebBrowser; + +#ifdef __cplusplus + +class DECLSPEC_UUID("8856F961-340A-11D0-A96B-00C04FD705A2") +WebBrowser; +#endif + +EXTERN_C const CLSID CLSID_InternetExplorer; + +#ifdef __cplusplus + +class DECLSPEC_UUID("0002DF01-0000-0000-C000-000000000046") +InternetExplorer; +#endif + +EXTERN_C const CLSID CLSID_InternetExplorerMedium; + +#ifdef __cplusplus + +class DECLSPEC_UUID("D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E") +InternetExplorerMedium; +#endif + +EXTERN_C const CLSID CLSID_ShellBrowserWindow; + +#ifdef __cplusplus + +class DECLSPEC_UUID("c08afd90-f2a1-11d1-8455-00a0c91f3880") +ShellBrowserWindow; +#endif + +#ifndef __DShellWindowsEvents_DISPINTERFACE_DEFINED__ +#define __DShellWindowsEvents_DISPINTERFACE_DEFINED__ + +/* dispinterface DShellWindowsEvents */ +/* [helpstring][uuid] */ + + +EXTERN_C const IID DIID_DShellWindowsEvents; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("fe4106e0-399a-11d0-a48c-00a0c90a8f39") + DShellWindowsEvents : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct DShellWindowsEventsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in DShellWindowsEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in DShellWindowsEvents * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in DShellWindowsEvents * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in DShellWindowsEvents * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in DShellWindowsEvents * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in DShellWindowsEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + DShellWindowsEvents * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } DShellWindowsEventsVtbl; + + interface DShellWindowsEvents + { + CONST_VTBL struct DShellWindowsEventsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define DShellWindowsEvents_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define DShellWindowsEvents_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define DShellWindowsEvents_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define DShellWindowsEvents_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define DShellWindowsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define DShellWindowsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define DShellWindowsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __DShellWindowsEvents_DISPINTERFACE_DEFINED__ */ + + +#ifndef __IShellWindows_INTERFACE_DEFINED__ +#define __IShellWindows_INTERFACE_DEFINED__ + +/* interface IShellWindows */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellWindows; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("85CB6900-4D95-11CF-960C-0080C7F4EE85") + IShellWindows : public IDispatch + { + public: + virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *Count) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item( + /* [optional][in] */ VARIANT index, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **Folder) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE _NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppunk) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE Register( + /* [in] */ __RPC__in_opt IDispatch *pid, + /* [in] */ long hwnd, + /* [in] */ int swClass, + /* [out] */ __RPC__out long *plCookie) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE RegisterPending( + /* [in] */ long lThreadId, + /* [in] */ __RPC__in VARIANT *pvarloc, + /* [in] */ __RPC__in VARIANT *pvarlocRoot, + /* [in] */ int swClass, + /* [out] */ __RPC__out long *plCookie) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE Revoke( + /* [in] */ long lCookie) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE OnNavigate( + /* [in] */ long lCookie, + /* [in] */ __RPC__in VARIANT *pvarLoc) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE OnActivated( + /* [in] */ long lCookie, + /* [in] */ VARIANT_BOOL fActive) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE FindWindowSW( + /* [in] */ __RPC__in VARIANT *pvarLoc, + /* [in] */ __RPC__in VARIANT *pvarLocRoot, + /* [in] */ int swClass, + /* [out] */ __RPC__out long *phwnd, + /* [in] */ int swfwOptions, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppdispOut) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE OnCreated( + /* [in] */ long lCookie, + /* [in] */ __RPC__in_opt IUnknown *punk) = 0; + + virtual /* [hidden][helpstring] */ HRESULT STDMETHODCALLTYPE ProcessAttachDetach( + /* [in] */ VARIANT_BOOL fAttach) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellWindowsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellWindows * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellWindows * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellWindows * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellWindows * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellWindows * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellWindows * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellWindows * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellWindows, get_Count) + /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IShellWindows * This, + /* [retval][out] */ __RPC__out long *Count); + + DECLSPEC_XFGVIRT(IShellWindows, Item) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Item )( + __RPC__in IShellWindows * This, + /* [optional][in] */ VARIANT index, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **Folder); + + DECLSPEC_XFGVIRT(IShellWindows, _NewEnum) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *_NewEnum )( + __RPC__in IShellWindows * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppunk); + + DECLSPEC_XFGVIRT(IShellWindows, Register) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Register )( + __RPC__in IShellWindows * This, + /* [in] */ __RPC__in_opt IDispatch *pid, + /* [in] */ long hwnd, + /* [in] */ int swClass, + /* [out] */ __RPC__out long *plCookie); + + DECLSPEC_XFGVIRT(IShellWindows, RegisterPending) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *RegisterPending )( + __RPC__in IShellWindows * This, + /* [in] */ long lThreadId, + /* [in] */ __RPC__in VARIANT *pvarloc, + /* [in] */ __RPC__in VARIANT *pvarlocRoot, + /* [in] */ int swClass, + /* [out] */ __RPC__out long *plCookie); + + DECLSPEC_XFGVIRT(IShellWindows, Revoke) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *Revoke )( + __RPC__in IShellWindows * This, + /* [in] */ long lCookie); + + DECLSPEC_XFGVIRT(IShellWindows, OnNavigate) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnNavigate )( + __RPC__in IShellWindows * This, + /* [in] */ long lCookie, + /* [in] */ __RPC__in VARIANT *pvarLoc); + + DECLSPEC_XFGVIRT(IShellWindows, OnActivated) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnActivated )( + __RPC__in IShellWindows * This, + /* [in] */ long lCookie, + /* [in] */ VARIANT_BOOL fActive); + + DECLSPEC_XFGVIRT(IShellWindows, FindWindowSW) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindWindowSW )( + __RPC__in IShellWindows * This, + /* [in] */ __RPC__in VARIANT *pvarLoc, + /* [in] */ __RPC__in VARIANT *pvarLocRoot, + /* [in] */ int swClass, + /* [out] */ __RPC__out long *phwnd, + /* [in] */ int swfwOptions, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppdispOut); + + DECLSPEC_XFGVIRT(IShellWindows, OnCreated) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnCreated )( + __RPC__in IShellWindows * This, + /* [in] */ long lCookie, + /* [in] */ __RPC__in_opt IUnknown *punk); + + DECLSPEC_XFGVIRT(IShellWindows, ProcessAttachDetach) + /* [hidden][helpstring] */ HRESULT ( STDMETHODCALLTYPE *ProcessAttachDetach )( + __RPC__in IShellWindows * This, + /* [in] */ VARIANT_BOOL fAttach); + + END_INTERFACE + } IShellWindowsVtbl; + + interface IShellWindows + { + CONST_VTBL struct IShellWindowsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellWindows_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellWindows_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellWindows_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellWindows_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellWindows_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellWindows_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellWindows_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellWindows_get_Count(This,Count) \ + ( (This)->lpVtbl -> get_Count(This,Count) ) + +#define IShellWindows_Item(This,index,Folder) \ + ( (This)->lpVtbl -> Item(This,index,Folder) ) + +#define IShellWindows__NewEnum(This,ppunk) \ + ( (This)->lpVtbl -> _NewEnum(This,ppunk) ) + +#define IShellWindows_Register(This,pid,hwnd,swClass,plCookie) \ + ( (This)->lpVtbl -> Register(This,pid,hwnd,swClass,plCookie) ) + +#define IShellWindows_RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie) \ + ( (This)->lpVtbl -> RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie) ) + +#define IShellWindows_Revoke(This,lCookie) \ + ( (This)->lpVtbl -> Revoke(This,lCookie) ) + +#define IShellWindows_OnNavigate(This,lCookie,pvarLoc) \ + ( (This)->lpVtbl -> OnNavigate(This,lCookie,pvarLoc) ) + +#define IShellWindows_OnActivated(This,lCookie,fActive) \ + ( (This)->lpVtbl -> OnActivated(This,lCookie,fActive) ) + +#define IShellWindows_FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut) \ + ( (This)->lpVtbl -> FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut) ) + +#define IShellWindows_OnCreated(This,lCookie,punk) \ + ( (This)->lpVtbl -> OnCreated(This,lCookie,punk) ) + +#define IShellWindows_ProcessAttachDetach(This,fAttach) \ + ( (This)->lpVtbl -> ProcessAttachDetach(This,fAttach) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellWindows_INTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_ShellWindows; + +#ifdef __cplusplus + +class DECLSPEC_UUID("9BA05972-F6A8-11CF-A442-00A0C90A8F39") +ShellWindows; +#endif + +#ifndef __IShellUIHelper_INTERFACE_DEFINED__ +#define __IShellUIHelper_INTERFACE_DEFINED__ + +/* interface IShellUIHelper */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("729FE2F8-1EA8-11d1-8F85-00C04FC2FBE1") + IShellUIHelper : public IDispatch + { + public: + virtual /* [id][hidden] */ HRESULT STDMETHODCALLTYPE ResetFirstBootMode( void) = 0; + + virtual /* [id][hidden] */ HRESULT STDMETHODCALLTYPE ResetSafeMode( void) = 0; + + virtual /* [id][hidden] */ HRESULT STDMETHODCALLTYPE RefreshOfflineDesktop( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddFavorite( + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddChannel( + /* [in] */ __RPC__in BSTR URL) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddDesktopComponent( + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsSubscribed( + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE NavigateAndFind( + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE ImportExportFavorites( + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AutoCompleteSaveForm( + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AutoScan( + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame) = 0; + + virtual /* [id][hidden] */ HRESULT STDMETHODCALLTYPE AutoCompleteAttach( + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE ShowBrowserUI( + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelperVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + END_INTERFACE + } IShellUIHelperVtbl; + + interface IShellUIHelper + { + CONST_VTBL struct IShellUIHelperVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper2_INTERFACE_DEFINED__ +#define __IShellUIHelper2_INTERFACE_DEFINED__ + +/* interface IShellUIHelper2 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a7fe6eda-1932-4281-b881-87b31b8bc52c") + IShellUIHelper2 : public IShellUIHelper + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddSearchProvider( + /* [in] */ __RPC__in BSTR URL) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE RunOnceShown( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SkipRunOnce( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE CustomizeSettings( + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SqmEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE PhishingEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE BrandImageUri( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SkipTabsWelcome( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE DiagnoseConnection( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE CustomizeClearType( + /* [in] */ VARIANT_BOOL fSet) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsSearchProviderInstalled( + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsSearchMigrated( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE DefaultSearchProvider( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE RunOnceRequiredSettingsComplete( + /* [in] */ VARIANT_BOOL fComplete) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE RunOnceHasShown( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SearchGuideUrl( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper2 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper2 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper2 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper2 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + END_INTERFACE + } IShellUIHelper2Vtbl; + + interface IShellUIHelper2 + { + CONST_VTBL struct IShellUIHelper2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper2_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper2_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper2_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper2_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper2_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper2_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper2_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper2_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper2_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper2_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper2_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper2_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper2_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper2_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper2_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper2_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper2_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper2_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper2_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper2_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper2_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper2_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper2_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper2_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper2_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper2_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper2_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper2_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper2_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper2_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper3_INTERFACE_DEFINED__ +#define __IShellUIHelper3_INTERFACE_DEFINED__ + +/* interface IShellUIHelper3 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper3; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("528DF2EC-D419-40bc-9B6D-DCDBF9C1B25D") + IShellUIHelper3 : public IShellUIHelper2 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddService( + /* [in] */ __RPC__in BSTR URL) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsServiceInstalled( + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE InPrivateFilteringEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddToFavoritesBar( + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE BuildNewTabPage( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetRecentlyClosedVisible( + /* [in] */ VARIANT_BOOL fVisible) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetActivitiesVisible( + /* [in] */ VARIANT_BOOL fVisible) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE ContentDiscoveryReset( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsSuggestedSitesEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE EnableSuggestedSites( + /* [in] */ VARIANT_BOOL fEnable) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE NavigateToSuggestedSites( + /* [in] */ __RPC__in BSTR bstrRelativeUrl) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE ShowTabsHelp( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE ShowInPrivateHelp( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper3Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper3 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper3 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper3 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper3 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper3 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper3 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper3 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper3 * This); + + END_INTERFACE + } IShellUIHelper3Vtbl; + + interface IShellUIHelper3 + { + CONST_VTBL struct IShellUIHelper3Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper3_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper3_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper3_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper3_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper3_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper3_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper3_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper3_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper3_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper3_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper3_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper3_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper3_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper3_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper3_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper3_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper3_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper3_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper3_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper3_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper3_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper3_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper3_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper3_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper3_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper3_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper3_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper3_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper3_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper3_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper3_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper3_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper3_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper3_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper3_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper3_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper3_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper3_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper3_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper3_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper3_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper3_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper3_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper3_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper3_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper3_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper3_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper4_INTERFACE_DEFINED__ +#define __IShellUIHelper4_INTERFACE_DEFINED__ + +/* interface IShellUIHelper4 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper4; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("B36E6A53-8073-499E-824C-D776330A333E") + IShellUIHelper4 : public IShellUIHelper3 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msIsSiteMode( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeShowThumbBar( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeAddThumbBarButton( + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeUpdateThumbBarButton( + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeSetIconOverlay( + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeClearIconOverlay( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msAddSiteMode( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeCreateJumpList( + /* [in] */ __RPC__in BSTR bstrHeader) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeAddJumpListItem( + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeClearJumpList( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeShowJumpList( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeAddButtonStyle( + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeShowButtonStyle( + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeActivate( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msIsSiteModeFirstRun( + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msAddTrackingProtectionList( + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msTrackingProtectionEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msActiveXFilteringEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper4Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper4 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper4 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper4 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper4 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteMode )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowThumbBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowThumbBar )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddThumbBarButton )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeUpdateThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeUpdateThumbBarButton )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeSetIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeSetIconOverlay )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearIconOverlay )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddSiteMode )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeCreateJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeCreateJumpList )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR bstrHeader); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddJumpListItem) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddJumpListItem )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearJumpList )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowJumpList )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddButtonStyle )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowButtonStyle )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeActivate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeActivate )( + __RPC__in IShellUIHelper4 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteModeFirstRun) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteModeFirstRun )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddTrackingProtectionList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddTrackingProtectionList )( + __RPC__in IShellUIHelper4 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msTrackingProtectionEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msTrackingProtectionEnabled )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msActiveXFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msActiveXFilteringEnabled )( + __RPC__in IShellUIHelper4 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + END_INTERFACE + } IShellUIHelper4Vtbl; + + interface IShellUIHelper4 + { + CONST_VTBL struct IShellUIHelper4Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper4_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper4_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper4_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper4_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper4_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper4_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper4_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper4_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper4_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper4_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper4_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper4_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper4_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper4_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper4_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper4_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper4_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper4_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper4_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper4_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper4_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper4_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper4_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper4_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper4_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper4_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper4_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper4_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper4_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper4_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper4_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper4_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper4_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper4_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper4_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper4_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper4_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper4_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper4_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper4_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper4_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper4_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper4_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper4_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper4_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper4_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper4_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + + +#define IShellUIHelper4_msIsSiteMode(This,pfSiteMode) \ + ( (This)->lpVtbl -> msIsSiteMode(This,pfSiteMode) ) + +#define IShellUIHelper4_msSiteModeShowThumbBar(This) \ + ( (This)->lpVtbl -> msSiteModeShowThumbBar(This) ) + +#define IShellUIHelper4_msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) \ + ( (This)->lpVtbl -> msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) ) + +#define IShellUIHelper4_msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) \ + ( (This)->lpVtbl -> msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) ) + +#define IShellUIHelper4_msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) \ + ( (This)->lpVtbl -> msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) ) + +#define IShellUIHelper4_msSiteModeClearIconOverlay(This) \ + ( (This)->lpVtbl -> msSiteModeClearIconOverlay(This) ) + +#define IShellUIHelper4_msAddSiteMode(This) \ + ( (This)->lpVtbl -> msAddSiteMode(This) ) + +#define IShellUIHelper4_msSiteModeCreateJumpList(This,bstrHeader) \ + ( (This)->lpVtbl -> msSiteModeCreateJumpList(This,bstrHeader) ) + +#define IShellUIHelper4_msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) \ + ( (This)->lpVtbl -> msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) ) + +#define IShellUIHelper4_msSiteModeClearJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeClearJumpList(This) ) + +#define IShellUIHelper4_msSiteModeShowJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeShowJumpList(This) ) + +#define IShellUIHelper4_msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) \ + ( (This)->lpVtbl -> msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) ) + +#define IShellUIHelper4_msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) \ + ( (This)->lpVtbl -> msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) ) + +#define IShellUIHelper4_msSiteModeActivate(This) \ + ( (This)->lpVtbl -> msSiteModeActivate(This) ) + +#define IShellUIHelper4_msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) \ + ( (This)->lpVtbl -> msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) ) + +#define IShellUIHelper4_msAddTrackingProtectionList(This,URL,bstrFilterName) \ + ( (This)->lpVtbl -> msAddTrackingProtectionList(This,URL,bstrFilterName) ) + +#define IShellUIHelper4_msTrackingProtectionEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msTrackingProtectionEnabled(This,pfEnabled) ) + +#define IShellUIHelper4_msActiveXFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msActiveXFilteringEnabled(This,pfEnabled) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper4_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper5_INTERFACE_DEFINED__ +#define __IShellUIHelper5_INTERFACE_DEFINED__ + +/* interface IShellUIHelper5 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper5; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("A2A08B09-103D-4D3F-B91C-EA455CA82EFA") + IShellUIHelper5 : public IShellUIHelper4 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msProvisionNetworks( + /* [in] */ __RPC__in BSTR bstrProvisioningXml, + /* [retval][out] */ __RPC__out VARIANT *puiResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msReportSafeUrl( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeRefreshBadge( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msSiteModeClearBadge( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msDiagnoseConnectionUILess( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msLaunchNetworkClientHelp( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msChangeDefaultBrowser( + /* [in] */ VARIANT_BOOL fChange) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper5Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper5 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper5 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper5 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper5 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteMode )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowThumbBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowThumbBar )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddThumbBarButton )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeUpdateThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeUpdateThumbBarButton )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeSetIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeSetIconOverlay )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearIconOverlay )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddSiteMode )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeCreateJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeCreateJumpList )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR bstrHeader); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddJumpListItem) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddJumpListItem )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearJumpList )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowJumpList )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddButtonStyle )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowButtonStyle )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeActivate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeActivate )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteModeFirstRun) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteModeFirstRun )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddTrackingProtectionList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddTrackingProtectionList )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msTrackingProtectionEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msTrackingProtectionEnabled )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msActiveXFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msActiveXFilteringEnabled )( + __RPC__in IShellUIHelper5 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msProvisionNetworks) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msProvisionNetworks )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ __RPC__in BSTR bstrProvisioningXml, + /* [retval][out] */ __RPC__out VARIANT *puiResult); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msReportSafeUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msReportSafeUrl )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeRefreshBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeRefreshBadge )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeClearBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearBadge )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msDiagnoseConnectionUILess) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msDiagnoseConnectionUILess )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msLaunchNetworkClientHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchNetworkClientHelp )( + __RPC__in IShellUIHelper5 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msChangeDefaultBrowser) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msChangeDefaultBrowser )( + __RPC__in IShellUIHelper5 * This, + /* [in] */ VARIANT_BOOL fChange); + + END_INTERFACE + } IShellUIHelper5Vtbl; + + interface IShellUIHelper5 + { + CONST_VTBL struct IShellUIHelper5Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper5_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper5_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper5_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper5_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper5_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper5_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper5_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper5_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper5_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper5_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper5_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper5_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper5_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper5_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper5_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper5_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper5_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper5_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper5_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper5_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper5_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper5_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper5_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper5_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper5_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper5_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper5_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper5_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper5_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper5_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper5_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper5_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper5_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper5_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper5_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper5_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper5_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper5_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper5_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper5_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper5_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper5_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper5_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper5_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper5_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper5_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper5_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper5_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper5_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + + +#define IShellUIHelper5_msIsSiteMode(This,pfSiteMode) \ + ( (This)->lpVtbl -> msIsSiteMode(This,pfSiteMode) ) + +#define IShellUIHelper5_msSiteModeShowThumbBar(This) \ + ( (This)->lpVtbl -> msSiteModeShowThumbBar(This) ) + +#define IShellUIHelper5_msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) \ + ( (This)->lpVtbl -> msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) ) + +#define IShellUIHelper5_msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) \ + ( (This)->lpVtbl -> msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) ) + +#define IShellUIHelper5_msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) \ + ( (This)->lpVtbl -> msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) ) + +#define IShellUIHelper5_msSiteModeClearIconOverlay(This) \ + ( (This)->lpVtbl -> msSiteModeClearIconOverlay(This) ) + +#define IShellUIHelper5_msAddSiteMode(This) \ + ( (This)->lpVtbl -> msAddSiteMode(This) ) + +#define IShellUIHelper5_msSiteModeCreateJumpList(This,bstrHeader) \ + ( (This)->lpVtbl -> msSiteModeCreateJumpList(This,bstrHeader) ) + +#define IShellUIHelper5_msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) \ + ( (This)->lpVtbl -> msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) ) + +#define IShellUIHelper5_msSiteModeClearJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeClearJumpList(This) ) + +#define IShellUIHelper5_msSiteModeShowJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeShowJumpList(This) ) + +#define IShellUIHelper5_msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) \ + ( (This)->lpVtbl -> msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) ) + +#define IShellUIHelper5_msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) \ + ( (This)->lpVtbl -> msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) ) + +#define IShellUIHelper5_msSiteModeActivate(This) \ + ( (This)->lpVtbl -> msSiteModeActivate(This) ) + +#define IShellUIHelper5_msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) \ + ( (This)->lpVtbl -> msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) ) + +#define IShellUIHelper5_msAddTrackingProtectionList(This,URL,bstrFilterName) \ + ( (This)->lpVtbl -> msAddTrackingProtectionList(This,URL,bstrFilterName) ) + +#define IShellUIHelper5_msTrackingProtectionEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msTrackingProtectionEnabled(This,pfEnabled) ) + +#define IShellUIHelper5_msActiveXFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msActiveXFilteringEnabled(This,pfEnabled) ) + + +#define IShellUIHelper5_msProvisionNetworks(This,bstrProvisioningXml,puiResult) \ + ( (This)->lpVtbl -> msProvisionNetworks(This,bstrProvisioningXml,puiResult) ) + +#define IShellUIHelper5_msReportSafeUrl(This) \ + ( (This)->lpVtbl -> msReportSafeUrl(This) ) + +#define IShellUIHelper5_msSiteModeRefreshBadge(This) \ + ( (This)->lpVtbl -> msSiteModeRefreshBadge(This) ) + +#define IShellUIHelper5_msSiteModeClearBadge(This) \ + ( (This)->lpVtbl -> msSiteModeClearBadge(This) ) + +#define IShellUIHelper5_msDiagnoseConnectionUILess(This) \ + ( (This)->lpVtbl -> msDiagnoseConnectionUILess(This) ) + +#define IShellUIHelper5_msLaunchNetworkClientHelp(This) \ + ( (This)->lpVtbl -> msLaunchNetworkClientHelp(This) ) + +#define IShellUIHelper5_msChangeDefaultBrowser(This,fChange) \ + ( (This)->lpVtbl -> msChangeDefaultBrowser(This,fChange) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper5_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper6_INTERFACE_DEFINED__ +#define __IShellUIHelper6_INTERFACE_DEFINED__ + +/* interface IShellUIHelper6 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper6; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("987A573E-46EE-4E89-96AB-DDF7F8FDC98C") + IShellUIHelper6 : public IShellUIHelper5 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msStopPeriodicTileUpdate( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msStartPeriodicTileUpdate( + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msStartPeriodicTileUpdateBatch( + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msClearTile( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msEnableTileNotificationQueue( + /* [in] */ VARIANT_BOOL fChange) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msPinnedSiteState( + /* [retval][out] */ __RPC__out VARIANT *pvarSiteState) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msEnableTileNotificationQueueForSquare150x150( + /* [in] */ VARIANT_BOOL fChange) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msEnableTileNotificationQueueForWide310x150( + /* [in] */ VARIANT_BOOL fChange) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msEnableTileNotificationQueueForSquare310x310( + /* [in] */ VARIANT_BOOL fChange) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msScheduledTileNotification( + /* [in] */ __RPC__in BSTR bstrNotificationXml, + /* [in] */ __RPC__in BSTR bstrNotificationId, + /* [in] */ __RPC__in BSTR bstrNotificationTag, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT expirationTime) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msRemoveScheduledTileNotification( + /* [in] */ __RPC__in BSTR bstrNotificationId) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msStartPeriodicBadgeUpdate( + /* [in] */ __RPC__in BSTR pollingUri, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msStopPeriodicBadgeUpdate( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE msLaunchInternetOptions( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper6Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper6 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper6 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper6 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper6 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteMode )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowThumbBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowThumbBar )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddThumbBarButton )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeUpdateThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeUpdateThumbBarButton )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeSetIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeSetIconOverlay )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearIconOverlay )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddSiteMode )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeCreateJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeCreateJumpList )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrHeader); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddJumpListItem) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddJumpListItem )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearJumpList )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowJumpList )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddButtonStyle )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowButtonStyle )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeActivate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeActivate )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteModeFirstRun) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteModeFirstRun )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddTrackingProtectionList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddTrackingProtectionList )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msTrackingProtectionEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msTrackingProtectionEnabled )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msActiveXFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msActiveXFilteringEnabled )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msProvisionNetworks) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msProvisionNetworks )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrProvisioningXml, + /* [retval][out] */ __RPC__out VARIANT *puiResult); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msReportSafeUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msReportSafeUrl )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeRefreshBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeRefreshBadge )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeClearBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearBadge )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msDiagnoseConnectionUILess) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msDiagnoseConnectionUILess )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msLaunchNetworkClientHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchNetworkClientHelp )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msChangeDefaultBrowser) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msChangeDefaultBrowser )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicTileUpdate )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdate )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdateBatch) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdateBatch )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msClearTile) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msClearTile )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueue )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msPinnedSiteState) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msPinnedSiteState )( + __RPC__in IShellUIHelper6 * This, + /* [retval][out] */ __RPC__out VARIANT *pvarSiteState); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare150x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare150x150 )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForWide310x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForWide310x150 )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare310x310) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare310x310 )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msScheduledTileNotification )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrNotificationXml, + /* [in] */ __RPC__in BSTR bstrNotificationId, + /* [in] */ __RPC__in BSTR bstrNotificationTag, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT expirationTime); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msRemoveScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msRemoveScheduledTileNotification )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR bstrNotificationId); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper6 * This, + /* [in] */ __RPC__in BSTR pollingUri, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper6 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msLaunchInternetOptions) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchInternetOptions )( + __RPC__in IShellUIHelper6 * This); + + END_INTERFACE + } IShellUIHelper6Vtbl; + + interface IShellUIHelper6 + { + CONST_VTBL struct IShellUIHelper6Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper6_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper6_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper6_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper6_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper6_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper6_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper6_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper6_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper6_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper6_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper6_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper6_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper6_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper6_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper6_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper6_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper6_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper6_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper6_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper6_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper6_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper6_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper6_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper6_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper6_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper6_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper6_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper6_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper6_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper6_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper6_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper6_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper6_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper6_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper6_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper6_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper6_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper6_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper6_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper6_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper6_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper6_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper6_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper6_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper6_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper6_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper6_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper6_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper6_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + + +#define IShellUIHelper6_msIsSiteMode(This,pfSiteMode) \ + ( (This)->lpVtbl -> msIsSiteMode(This,pfSiteMode) ) + +#define IShellUIHelper6_msSiteModeShowThumbBar(This) \ + ( (This)->lpVtbl -> msSiteModeShowThumbBar(This) ) + +#define IShellUIHelper6_msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) \ + ( (This)->lpVtbl -> msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) ) + +#define IShellUIHelper6_msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) \ + ( (This)->lpVtbl -> msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) ) + +#define IShellUIHelper6_msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) \ + ( (This)->lpVtbl -> msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) ) + +#define IShellUIHelper6_msSiteModeClearIconOverlay(This) \ + ( (This)->lpVtbl -> msSiteModeClearIconOverlay(This) ) + +#define IShellUIHelper6_msAddSiteMode(This) \ + ( (This)->lpVtbl -> msAddSiteMode(This) ) + +#define IShellUIHelper6_msSiteModeCreateJumpList(This,bstrHeader) \ + ( (This)->lpVtbl -> msSiteModeCreateJumpList(This,bstrHeader) ) + +#define IShellUIHelper6_msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) \ + ( (This)->lpVtbl -> msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) ) + +#define IShellUIHelper6_msSiteModeClearJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeClearJumpList(This) ) + +#define IShellUIHelper6_msSiteModeShowJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeShowJumpList(This) ) + +#define IShellUIHelper6_msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) \ + ( (This)->lpVtbl -> msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) ) + +#define IShellUIHelper6_msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) \ + ( (This)->lpVtbl -> msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) ) + +#define IShellUIHelper6_msSiteModeActivate(This) \ + ( (This)->lpVtbl -> msSiteModeActivate(This) ) + +#define IShellUIHelper6_msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) \ + ( (This)->lpVtbl -> msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) ) + +#define IShellUIHelper6_msAddTrackingProtectionList(This,URL,bstrFilterName) \ + ( (This)->lpVtbl -> msAddTrackingProtectionList(This,URL,bstrFilterName) ) + +#define IShellUIHelper6_msTrackingProtectionEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msTrackingProtectionEnabled(This,pfEnabled) ) + +#define IShellUIHelper6_msActiveXFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msActiveXFilteringEnabled(This,pfEnabled) ) + + +#define IShellUIHelper6_msProvisionNetworks(This,bstrProvisioningXml,puiResult) \ + ( (This)->lpVtbl -> msProvisionNetworks(This,bstrProvisioningXml,puiResult) ) + +#define IShellUIHelper6_msReportSafeUrl(This) \ + ( (This)->lpVtbl -> msReportSafeUrl(This) ) + +#define IShellUIHelper6_msSiteModeRefreshBadge(This) \ + ( (This)->lpVtbl -> msSiteModeRefreshBadge(This) ) + +#define IShellUIHelper6_msSiteModeClearBadge(This) \ + ( (This)->lpVtbl -> msSiteModeClearBadge(This) ) + +#define IShellUIHelper6_msDiagnoseConnectionUILess(This) \ + ( (This)->lpVtbl -> msDiagnoseConnectionUILess(This) ) + +#define IShellUIHelper6_msLaunchNetworkClientHelp(This) \ + ( (This)->lpVtbl -> msLaunchNetworkClientHelp(This) ) + +#define IShellUIHelper6_msChangeDefaultBrowser(This,fChange) \ + ( (This)->lpVtbl -> msChangeDefaultBrowser(This,fChange) ) + + +#define IShellUIHelper6_msStopPeriodicTileUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicTileUpdate(This) ) + +#define IShellUIHelper6_msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper6_msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper6_msClearTile(This) \ + ( (This)->lpVtbl -> msClearTile(This) ) + +#define IShellUIHelper6_msEnableTileNotificationQueue(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueue(This,fChange) ) + +#define IShellUIHelper6_msPinnedSiteState(This,pvarSiteState) \ + ( (This)->lpVtbl -> msPinnedSiteState(This,pvarSiteState) ) + +#define IShellUIHelper6_msEnableTileNotificationQueueForSquare150x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare150x150(This,fChange) ) + +#define IShellUIHelper6_msEnableTileNotificationQueueForWide310x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForWide310x150(This,fChange) ) + +#define IShellUIHelper6_msEnableTileNotificationQueueForSquare310x310(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare310x310(This,fChange) ) + +#define IShellUIHelper6_msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) \ + ( (This)->lpVtbl -> msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) ) + +#define IShellUIHelper6_msRemoveScheduledTileNotification(This,bstrNotificationId) \ + ( (This)->lpVtbl -> msRemoveScheduledTileNotification(This,bstrNotificationId) ) + +#define IShellUIHelper6_msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper6_msStopPeriodicBadgeUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicBadgeUpdate(This) ) + +#define IShellUIHelper6_msLaunchInternetOptions(This) \ + ( (This)->lpVtbl -> msLaunchInternetOptions(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper6_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper7_INTERFACE_DEFINED__ +#define __IShellUIHelper7_INTERFACE_DEFINED__ + +/* interface IShellUIHelper7 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper7; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("60E567C8-9573-4AB2-A264-637C6C161CB1") + IShellUIHelper7 : public IShellUIHelper6 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetExperimentalFlag( + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [in] */ VARIANT_BOOL vfFlag) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetExperimentalFlag( + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [retval][out] */ __RPC__out VARIANT_BOOL *vfFlag) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetExperimentalValue( + /* [in] */ __RPC__in BSTR bstrValueString, + /* [in] */ DWORD dwValue) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetExperimentalValue( + /* [in] */ __RPC__in BSTR bstrValueString, + /* [retval][out] */ __RPC__out DWORD *pdwValue) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE ResetAllExperimentalFlagsAndValues( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetNeedIEAutoLaunchFlag( + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *flag) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetNeedIEAutoLaunchFlag( + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL flag) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE HasNeedIEAutoLaunchFlag( + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *exists) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE LaunchIE( + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL automated) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper7Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper7 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper7 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper7 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper7 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteMode )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowThumbBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowThumbBar )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddThumbBarButton )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeUpdateThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeUpdateThumbBarButton )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeSetIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeSetIconOverlay )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearIconOverlay )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddSiteMode )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeCreateJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeCreateJumpList )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrHeader); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddJumpListItem) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddJumpListItem )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearJumpList )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowJumpList )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddButtonStyle )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowButtonStyle )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeActivate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeActivate )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteModeFirstRun) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteModeFirstRun )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddTrackingProtectionList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddTrackingProtectionList )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msTrackingProtectionEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msTrackingProtectionEnabled )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msActiveXFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msActiveXFilteringEnabled )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msProvisionNetworks) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msProvisionNetworks )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrProvisioningXml, + /* [retval][out] */ __RPC__out VARIANT *puiResult); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msReportSafeUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msReportSafeUrl )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeRefreshBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeRefreshBadge )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeClearBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearBadge )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msDiagnoseConnectionUILess) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msDiagnoseConnectionUILess )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msLaunchNetworkClientHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchNetworkClientHelp )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msChangeDefaultBrowser) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msChangeDefaultBrowser )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicTileUpdate )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdate )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdateBatch) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdateBatch )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msClearTile) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msClearTile )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueue )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msPinnedSiteState) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msPinnedSiteState )( + __RPC__in IShellUIHelper7 * This, + /* [retval][out] */ __RPC__out VARIANT *pvarSiteState); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare150x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare150x150 )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForWide310x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForWide310x150 )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare310x310) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare310x310 )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msScheduledTileNotification )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrNotificationXml, + /* [in] */ __RPC__in BSTR bstrNotificationId, + /* [in] */ __RPC__in BSTR bstrNotificationTag, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT expirationTime); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msRemoveScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msRemoveScheduledTileNotification )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrNotificationId); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR pollingUri, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msLaunchInternetOptions) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchInternetOptions )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetExperimentalFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetExperimentalFlag )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [in] */ VARIANT_BOOL vfFlag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetExperimentalFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetExperimentalFlag )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [retval][out] */ __RPC__out VARIANT_BOOL *vfFlag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetExperimentalValue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetExperimentalValue )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrValueString, + /* [in] */ DWORD dwValue); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetExperimentalValue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetExperimentalValue )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrValueString, + /* [retval][out] */ __RPC__out DWORD *pdwValue); + + DECLSPEC_XFGVIRT(IShellUIHelper7, ResetAllExperimentalFlagsAndValues) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ResetAllExperimentalFlagsAndValues )( + __RPC__in IShellUIHelper7 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *flag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL flag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, HasNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *HasNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *exists); + + DECLSPEC_XFGVIRT(IShellUIHelper7, LaunchIE) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *LaunchIE )( + __RPC__in IShellUIHelper7 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL automated); + + END_INTERFACE + } IShellUIHelper7Vtbl; + + interface IShellUIHelper7 + { + CONST_VTBL struct IShellUIHelper7Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper7_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper7_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper7_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper7_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper7_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper7_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper7_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper7_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper7_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper7_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper7_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper7_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper7_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper7_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper7_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper7_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper7_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper7_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper7_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper7_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper7_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper7_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper7_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper7_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper7_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper7_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper7_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper7_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper7_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper7_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper7_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper7_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper7_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper7_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper7_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper7_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper7_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper7_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper7_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper7_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper7_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper7_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper7_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper7_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper7_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper7_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper7_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper7_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper7_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + + +#define IShellUIHelper7_msIsSiteMode(This,pfSiteMode) \ + ( (This)->lpVtbl -> msIsSiteMode(This,pfSiteMode) ) + +#define IShellUIHelper7_msSiteModeShowThumbBar(This) \ + ( (This)->lpVtbl -> msSiteModeShowThumbBar(This) ) + +#define IShellUIHelper7_msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) \ + ( (This)->lpVtbl -> msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) ) + +#define IShellUIHelper7_msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) \ + ( (This)->lpVtbl -> msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) ) + +#define IShellUIHelper7_msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) \ + ( (This)->lpVtbl -> msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) ) + +#define IShellUIHelper7_msSiteModeClearIconOverlay(This) \ + ( (This)->lpVtbl -> msSiteModeClearIconOverlay(This) ) + +#define IShellUIHelper7_msAddSiteMode(This) \ + ( (This)->lpVtbl -> msAddSiteMode(This) ) + +#define IShellUIHelper7_msSiteModeCreateJumpList(This,bstrHeader) \ + ( (This)->lpVtbl -> msSiteModeCreateJumpList(This,bstrHeader) ) + +#define IShellUIHelper7_msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) \ + ( (This)->lpVtbl -> msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) ) + +#define IShellUIHelper7_msSiteModeClearJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeClearJumpList(This) ) + +#define IShellUIHelper7_msSiteModeShowJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeShowJumpList(This) ) + +#define IShellUIHelper7_msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) \ + ( (This)->lpVtbl -> msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) ) + +#define IShellUIHelper7_msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) \ + ( (This)->lpVtbl -> msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) ) + +#define IShellUIHelper7_msSiteModeActivate(This) \ + ( (This)->lpVtbl -> msSiteModeActivate(This) ) + +#define IShellUIHelper7_msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) \ + ( (This)->lpVtbl -> msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) ) + +#define IShellUIHelper7_msAddTrackingProtectionList(This,URL,bstrFilterName) \ + ( (This)->lpVtbl -> msAddTrackingProtectionList(This,URL,bstrFilterName) ) + +#define IShellUIHelper7_msTrackingProtectionEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msTrackingProtectionEnabled(This,pfEnabled) ) + +#define IShellUIHelper7_msActiveXFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msActiveXFilteringEnabled(This,pfEnabled) ) + + +#define IShellUIHelper7_msProvisionNetworks(This,bstrProvisioningXml,puiResult) \ + ( (This)->lpVtbl -> msProvisionNetworks(This,bstrProvisioningXml,puiResult) ) + +#define IShellUIHelper7_msReportSafeUrl(This) \ + ( (This)->lpVtbl -> msReportSafeUrl(This) ) + +#define IShellUIHelper7_msSiteModeRefreshBadge(This) \ + ( (This)->lpVtbl -> msSiteModeRefreshBadge(This) ) + +#define IShellUIHelper7_msSiteModeClearBadge(This) \ + ( (This)->lpVtbl -> msSiteModeClearBadge(This) ) + +#define IShellUIHelper7_msDiagnoseConnectionUILess(This) \ + ( (This)->lpVtbl -> msDiagnoseConnectionUILess(This) ) + +#define IShellUIHelper7_msLaunchNetworkClientHelp(This) \ + ( (This)->lpVtbl -> msLaunchNetworkClientHelp(This) ) + +#define IShellUIHelper7_msChangeDefaultBrowser(This,fChange) \ + ( (This)->lpVtbl -> msChangeDefaultBrowser(This,fChange) ) + + +#define IShellUIHelper7_msStopPeriodicTileUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicTileUpdate(This) ) + +#define IShellUIHelper7_msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper7_msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper7_msClearTile(This) \ + ( (This)->lpVtbl -> msClearTile(This) ) + +#define IShellUIHelper7_msEnableTileNotificationQueue(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueue(This,fChange) ) + +#define IShellUIHelper7_msPinnedSiteState(This,pvarSiteState) \ + ( (This)->lpVtbl -> msPinnedSiteState(This,pvarSiteState) ) + +#define IShellUIHelper7_msEnableTileNotificationQueueForSquare150x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare150x150(This,fChange) ) + +#define IShellUIHelper7_msEnableTileNotificationQueueForWide310x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForWide310x150(This,fChange) ) + +#define IShellUIHelper7_msEnableTileNotificationQueueForSquare310x310(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare310x310(This,fChange) ) + +#define IShellUIHelper7_msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) \ + ( (This)->lpVtbl -> msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) ) + +#define IShellUIHelper7_msRemoveScheduledTileNotification(This,bstrNotificationId) \ + ( (This)->lpVtbl -> msRemoveScheduledTileNotification(This,bstrNotificationId) ) + +#define IShellUIHelper7_msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper7_msStopPeriodicBadgeUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicBadgeUpdate(This) ) + +#define IShellUIHelper7_msLaunchInternetOptions(This) \ + ( (This)->lpVtbl -> msLaunchInternetOptions(This) ) + + +#define IShellUIHelper7_SetExperimentalFlag(This,bstrFlagString,vfFlag) \ + ( (This)->lpVtbl -> SetExperimentalFlag(This,bstrFlagString,vfFlag) ) + +#define IShellUIHelper7_GetExperimentalFlag(This,bstrFlagString,vfFlag) \ + ( (This)->lpVtbl -> GetExperimentalFlag(This,bstrFlagString,vfFlag) ) + +#define IShellUIHelper7_SetExperimentalValue(This,bstrValueString,dwValue) \ + ( (This)->lpVtbl -> SetExperimentalValue(This,bstrValueString,dwValue) ) + +#define IShellUIHelper7_GetExperimentalValue(This,bstrValueString,pdwValue) \ + ( (This)->lpVtbl -> GetExperimentalValue(This,bstrValueString,pdwValue) ) + +#define IShellUIHelper7_ResetAllExperimentalFlagsAndValues(This) \ + ( (This)->lpVtbl -> ResetAllExperimentalFlagsAndValues(This) ) + +#define IShellUIHelper7_GetNeedIEAutoLaunchFlag(This,bstrUrl,flag) \ + ( (This)->lpVtbl -> GetNeedIEAutoLaunchFlag(This,bstrUrl,flag) ) + +#define IShellUIHelper7_SetNeedIEAutoLaunchFlag(This,bstrUrl,flag) \ + ( (This)->lpVtbl -> SetNeedIEAutoLaunchFlag(This,bstrUrl,flag) ) + +#define IShellUIHelper7_HasNeedIEAutoLaunchFlag(This,bstrUrl,exists) \ + ( (This)->lpVtbl -> HasNeedIEAutoLaunchFlag(This,bstrUrl,exists) ) + +#define IShellUIHelper7_LaunchIE(This,bstrUrl,automated) \ + ( (This)->lpVtbl -> LaunchIE(This,bstrUrl,automated) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper7_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper8_INTERFACE_DEFINED__ +#define __IShellUIHelper8_INTERFACE_DEFINED__ + +/* interface IShellUIHelper8 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper8; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("66DEBCF2-05B0-4F07-B49B-B96241A65DB2") + IShellUIHelper8 : public IShellUIHelper7 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetCVListData( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetCVListLocalData( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetEMIEListData( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetEMIEListLocalData( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenFavoritesPane( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE OpenFavoritesSettings( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE LaunchInHVSI( + /* [in] */ __RPC__in BSTR bstrUrl) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper8Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper8 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper8 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper8 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper8 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteMode )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowThumbBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowThumbBar )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddThumbBarButton )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeUpdateThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeUpdateThumbBarButton )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeSetIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeSetIconOverlay )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearIconOverlay )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddSiteMode )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeCreateJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeCreateJumpList )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrHeader); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddJumpListItem) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddJumpListItem )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearJumpList )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowJumpList )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddButtonStyle )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowButtonStyle )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeActivate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeActivate )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteModeFirstRun) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteModeFirstRun )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddTrackingProtectionList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddTrackingProtectionList )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msTrackingProtectionEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msTrackingProtectionEnabled )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msActiveXFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msActiveXFilteringEnabled )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msProvisionNetworks) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msProvisionNetworks )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrProvisioningXml, + /* [retval][out] */ __RPC__out VARIANT *puiResult); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msReportSafeUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msReportSafeUrl )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeRefreshBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeRefreshBadge )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeClearBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearBadge )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msDiagnoseConnectionUILess) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msDiagnoseConnectionUILess )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msLaunchNetworkClientHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchNetworkClientHelp )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msChangeDefaultBrowser) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msChangeDefaultBrowser )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicTileUpdate )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdate )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdateBatch) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdateBatch )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msClearTile) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msClearTile )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueue )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msPinnedSiteState) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msPinnedSiteState )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__out VARIANT *pvarSiteState); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare150x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare150x150 )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForWide310x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForWide310x150 )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare310x310) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare310x310 )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msScheduledTileNotification )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrNotificationXml, + /* [in] */ __RPC__in BSTR bstrNotificationId, + /* [in] */ __RPC__in BSTR bstrNotificationTag, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT expirationTime); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msRemoveScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msRemoveScheduledTileNotification )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrNotificationId); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR pollingUri, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msLaunchInternetOptions) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchInternetOptions )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetExperimentalFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetExperimentalFlag )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [in] */ VARIANT_BOOL vfFlag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetExperimentalFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetExperimentalFlag )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [retval][out] */ __RPC__out VARIANT_BOOL *vfFlag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetExperimentalValue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetExperimentalValue )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrValueString, + /* [in] */ DWORD dwValue); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetExperimentalValue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetExperimentalValue )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrValueString, + /* [retval][out] */ __RPC__out DWORD *pdwValue); + + DECLSPEC_XFGVIRT(IShellUIHelper7, ResetAllExperimentalFlagsAndValues) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ResetAllExperimentalFlagsAndValues )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *flag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL flag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, HasNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *HasNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *exists); + + DECLSPEC_XFGVIRT(IShellUIHelper7, LaunchIE) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *LaunchIE )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL automated); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetCVListData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCVListData )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetCVListLocalData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCVListLocalData )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetEMIEListData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetEMIEListData )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetEMIEListLocalData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetEMIEListLocalData )( + __RPC__in IShellUIHelper8 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, OpenFavoritesPane) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenFavoritesPane )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper8, OpenFavoritesSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenFavoritesSettings )( + __RPC__in IShellUIHelper8 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper8, LaunchInHVSI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *LaunchInHVSI )( + __RPC__in IShellUIHelper8 * This, + /* [in] */ __RPC__in BSTR bstrUrl); + + END_INTERFACE + } IShellUIHelper8Vtbl; + + interface IShellUIHelper8 + { + CONST_VTBL struct IShellUIHelper8Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper8_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper8_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper8_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper8_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper8_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper8_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper8_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper8_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper8_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper8_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper8_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper8_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper8_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper8_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper8_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper8_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper8_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper8_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper8_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper8_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper8_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper8_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper8_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper8_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper8_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper8_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper8_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper8_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper8_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper8_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper8_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper8_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper8_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper8_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper8_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper8_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper8_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper8_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper8_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper8_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper8_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper8_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper8_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper8_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper8_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper8_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper8_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper8_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper8_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + + +#define IShellUIHelper8_msIsSiteMode(This,pfSiteMode) \ + ( (This)->lpVtbl -> msIsSiteMode(This,pfSiteMode) ) + +#define IShellUIHelper8_msSiteModeShowThumbBar(This) \ + ( (This)->lpVtbl -> msSiteModeShowThumbBar(This) ) + +#define IShellUIHelper8_msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) \ + ( (This)->lpVtbl -> msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) ) + +#define IShellUIHelper8_msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) \ + ( (This)->lpVtbl -> msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) ) + +#define IShellUIHelper8_msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) \ + ( (This)->lpVtbl -> msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) ) + +#define IShellUIHelper8_msSiteModeClearIconOverlay(This) \ + ( (This)->lpVtbl -> msSiteModeClearIconOverlay(This) ) + +#define IShellUIHelper8_msAddSiteMode(This) \ + ( (This)->lpVtbl -> msAddSiteMode(This) ) + +#define IShellUIHelper8_msSiteModeCreateJumpList(This,bstrHeader) \ + ( (This)->lpVtbl -> msSiteModeCreateJumpList(This,bstrHeader) ) + +#define IShellUIHelper8_msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) \ + ( (This)->lpVtbl -> msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) ) + +#define IShellUIHelper8_msSiteModeClearJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeClearJumpList(This) ) + +#define IShellUIHelper8_msSiteModeShowJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeShowJumpList(This) ) + +#define IShellUIHelper8_msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) \ + ( (This)->lpVtbl -> msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) ) + +#define IShellUIHelper8_msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) \ + ( (This)->lpVtbl -> msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) ) + +#define IShellUIHelper8_msSiteModeActivate(This) \ + ( (This)->lpVtbl -> msSiteModeActivate(This) ) + +#define IShellUIHelper8_msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) \ + ( (This)->lpVtbl -> msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) ) + +#define IShellUIHelper8_msAddTrackingProtectionList(This,URL,bstrFilterName) \ + ( (This)->lpVtbl -> msAddTrackingProtectionList(This,URL,bstrFilterName) ) + +#define IShellUIHelper8_msTrackingProtectionEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msTrackingProtectionEnabled(This,pfEnabled) ) + +#define IShellUIHelper8_msActiveXFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msActiveXFilteringEnabled(This,pfEnabled) ) + + +#define IShellUIHelper8_msProvisionNetworks(This,bstrProvisioningXml,puiResult) \ + ( (This)->lpVtbl -> msProvisionNetworks(This,bstrProvisioningXml,puiResult) ) + +#define IShellUIHelper8_msReportSafeUrl(This) \ + ( (This)->lpVtbl -> msReportSafeUrl(This) ) + +#define IShellUIHelper8_msSiteModeRefreshBadge(This) \ + ( (This)->lpVtbl -> msSiteModeRefreshBadge(This) ) + +#define IShellUIHelper8_msSiteModeClearBadge(This) \ + ( (This)->lpVtbl -> msSiteModeClearBadge(This) ) + +#define IShellUIHelper8_msDiagnoseConnectionUILess(This) \ + ( (This)->lpVtbl -> msDiagnoseConnectionUILess(This) ) + +#define IShellUIHelper8_msLaunchNetworkClientHelp(This) \ + ( (This)->lpVtbl -> msLaunchNetworkClientHelp(This) ) + +#define IShellUIHelper8_msChangeDefaultBrowser(This,fChange) \ + ( (This)->lpVtbl -> msChangeDefaultBrowser(This,fChange) ) + + +#define IShellUIHelper8_msStopPeriodicTileUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicTileUpdate(This) ) + +#define IShellUIHelper8_msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper8_msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper8_msClearTile(This) \ + ( (This)->lpVtbl -> msClearTile(This) ) + +#define IShellUIHelper8_msEnableTileNotificationQueue(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueue(This,fChange) ) + +#define IShellUIHelper8_msPinnedSiteState(This,pvarSiteState) \ + ( (This)->lpVtbl -> msPinnedSiteState(This,pvarSiteState) ) + +#define IShellUIHelper8_msEnableTileNotificationQueueForSquare150x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare150x150(This,fChange) ) + +#define IShellUIHelper8_msEnableTileNotificationQueueForWide310x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForWide310x150(This,fChange) ) + +#define IShellUIHelper8_msEnableTileNotificationQueueForSquare310x310(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare310x310(This,fChange) ) + +#define IShellUIHelper8_msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) \ + ( (This)->lpVtbl -> msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) ) + +#define IShellUIHelper8_msRemoveScheduledTileNotification(This,bstrNotificationId) \ + ( (This)->lpVtbl -> msRemoveScheduledTileNotification(This,bstrNotificationId) ) + +#define IShellUIHelper8_msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper8_msStopPeriodicBadgeUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicBadgeUpdate(This) ) + +#define IShellUIHelper8_msLaunchInternetOptions(This) \ + ( (This)->lpVtbl -> msLaunchInternetOptions(This) ) + + +#define IShellUIHelper8_SetExperimentalFlag(This,bstrFlagString,vfFlag) \ + ( (This)->lpVtbl -> SetExperimentalFlag(This,bstrFlagString,vfFlag) ) + +#define IShellUIHelper8_GetExperimentalFlag(This,bstrFlagString,vfFlag) \ + ( (This)->lpVtbl -> GetExperimentalFlag(This,bstrFlagString,vfFlag) ) + +#define IShellUIHelper8_SetExperimentalValue(This,bstrValueString,dwValue) \ + ( (This)->lpVtbl -> SetExperimentalValue(This,bstrValueString,dwValue) ) + +#define IShellUIHelper8_GetExperimentalValue(This,bstrValueString,pdwValue) \ + ( (This)->lpVtbl -> GetExperimentalValue(This,bstrValueString,pdwValue) ) + +#define IShellUIHelper8_ResetAllExperimentalFlagsAndValues(This) \ + ( (This)->lpVtbl -> ResetAllExperimentalFlagsAndValues(This) ) + +#define IShellUIHelper8_GetNeedIEAutoLaunchFlag(This,bstrUrl,flag) \ + ( (This)->lpVtbl -> GetNeedIEAutoLaunchFlag(This,bstrUrl,flag) ) + +#define IShellUIHelper8_SetNeedIEAutoLaunchFlag(This,bstrUrl,flag) \ + ( (This)->lpVtbl -> SetNeedIEAutoLaunchFlag(This,bstrUrl,flag) ) + +#define IShellUIHelper8_HasNeedIEAutoLaunchFlag(This,bstrUrl,exists) \ + ( (This)->lpVtbl -> HasNeedIEAutoLaunchFlag(This,bstrUrl,exists) ) + +#define IShellUIHelper8_LaunchIE(This,bstrUrl,automated) \ + ( (This)->lpVtbl -> LaunchIE(This,bstrUrl,automated) ) + + +#define IShellUIHelper8_GetCVListData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetCVListData(This,pbstrResult) ) + +#define IShellUIHelper8_GetCVListLocalData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetCVListLocalData(This,pbstrResult) ) + +#define IShellUIHelper8_GetEMIEListData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetEMIEListData(This,pbstrResult) ) + +#define IShellUIHelper8_GetEMIEListLocalData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetEMIEListLocalData(This,pbstrResult) ) + +#define IShellUIHelper8_OpenFavoritesPane(This) \ + ( (This)->lpVtbl -> OpenFavoritesPane(This) ) + +#define IShellUIHelper8_OpenFavoritesSettings(This) \ + ( (This)->lpVtbl -> OpenFavoritesSettings(This) ) + +#define IShellUIHelper8_LaunchInHVSI(This,bstrUrl) \ + ( (This)->lpVtbl -> LaunchInHVSI(This,bstrUrl) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper8_INTERFACE_DEFINED__ */ + + +#ifndef __IShellUIHelper9_INTERFACE_DEFINED__ +#define __IShellUIHelper9_INTERFACE_DEFINED__ + +/* interface IShellUIHelper9 */ +/* [object][dual][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IShellUIHelper9; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6cdf73b0-7f2f-451f-bc0f-63e0f3284e54") + IShellUIHelper9 : public IShellUIHelper8 + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetOSSku( + /* [retval][out] */ __RPC__out DWORD *pdwResult) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellUIHelper9Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellUIHelper9 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellUIHelper9 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetFirstBootMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetFirstBootMode )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, ResetSafeMode) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *ResetSafeMode )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, RefreshOfflineDesktop) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *RefreshOfflineDesktop )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddFavorite) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddFavorite )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Title); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddChannel) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddChannel )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper, AddDesktopComponent) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddDesktopComponent )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Type, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Left, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Top, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Width, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Height); + + DECLSPEC_XFGVIRT(IShellUIHelper, IsSubscribed) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSubscribed )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellUIHelper, NavigateAndFind) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateAndFind )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR strQuery, + /* [in] */ __RPC__in VARIANT *varTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, ImportExportFavorites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ImportExportFavorites )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fImport, + /* [in] */ __RPC__in BSTR strImpExpPath); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteSaveForm) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteSaveForm )( + __RPC__in IShellUIHelper9 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Form); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoScan) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AutoScan )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR strSearch, + /* [in] */ __RPC__in BSTR strFailureUrl, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarTargetFrame); + + DECLSPEC_XFGVIRT(IShellUIHelper, AutoCompleteAttach) + /* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *AutoCompleteAttach )( + __RPC__in IShellUIHelper9 * This, + /* [unique][optional][in] */ __RPC__in_opt VARIANT *Reserved); + + DECLSPEC_XFGVIRT(IShellUIHelper, ShowBrowserUI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserUI )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in VARIANT *pvarIn, + /* [retval][out] */ __RPC__out VARIANT *pvarOut); + + DECLSPEC_XFGVIRT(IShellUIHelper2, AddSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddSearchProvider )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceShown )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipRunOnce) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipRunOnce )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeSettings )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fSQM, + /* [in] */ VARIANT_BOOL fPhishing, + /* [in] */ __RPC__in BSTR bstrLocale); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SqmEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SqmEnabled )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, PhishingEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *PhishingEnabled )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper2, BrandImageUri) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BrandImageUri )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUri); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SkipTabsWelcome) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SkipTabsWelcome )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DiagnoseConnection) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DiagnoseConnection )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper2, CustomizeClearType) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *CustomizeClearType )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fSet); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchProviderInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchProviderInstalled )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper2, IsSearchMigrated) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSearchMigrated )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfMigrated); + + DECLSPEC_XFGVIRT(IShellUIHelper2, DefaultSearchProvider) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *DefaultSearchProvider )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceRequiredSettingsComplete) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceRequiredSettingsComplete )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fComplete); + + DECLSPEC_XFGVIRT(IShellUIHelper2, RunOnceHasShown) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *RunOnceHasShown )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfShown); + + DECLSPEC_XFGVIRT(IShellUIHelper2, SearchGuideUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SearchGuideUrl )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddService) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddService )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsServiceInstalled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsServiceInstalled )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Verb, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + DECLSPEC_XFGVIRT(IShellUIHelper3, InPrivateFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *InPrivateFilteringEnabled )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, AddToFavoritesBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *AddToFavoritesBar )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR Title, + /* [in][optional] */ __RPC__in VARIANT *Type); + + DECLSPEC_XFGVIRT(IShellUIHelper3, BuildNewTabPage) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *BuildNewTabPage )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetRecentlyClosedVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetRecentlyClosedVisible )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, SetActivitiesVisible) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetActivitiesVisible )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ContentDiscoveryReset) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ContentDiscoveryReset )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, IsSuggestedSitesEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *IsSuggestedSitesEnabled )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper3, EnableSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *EnableSuggestedSites )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fEnable); + + DECLSPEC_XFGVIRT(IShellUIHelper3, NavigateToSuggestedSites) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *NavigateToSuggestedSites )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrRelativeUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowTabsHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowTabsHelp )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper3, ShowInPrivateHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ShowInPrivateHelp )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteMode )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfSiteMode); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowThumbBar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowThumbBar )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddThumbBarButton )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrIconURL, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarButtonID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeUpdateThumbBarButton) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeUpdateThumbBarButton )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT ButtonID, + /* [in] */ VARIANT_BOOL fEnabled, + /* [in] */ VARIANT_BOOL fVisible); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeSetIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeSetIconOverlay )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR IconUrl, + /* [in][optional] */ __RPC__in VARIANT *pvarDescription); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearIconOverlay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearIconOverlay )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddSiteMode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddSiteMode )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeCreateJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeCreateJumpList )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrHeader); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddJumpListItem) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddJumpListItem )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [in] */ __RPC__in BSTR bstrActionUri, + /* [in] */ __RPC__in BSTR bstrIconUri, + /* [in][optional] */ __RPC__in VARIANT *pvarWindowType); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeClearJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearJumpList )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowJumpList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowJumpList )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeAddButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeAddButtonStyle )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ __RPC__in BSTR bstrIconUrl, + /* [in] */ __RPC__in BSTR bstrTooltip, + /* [retval][out] */ __RPC__out VARIANT *pvarStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeShowButtonStyle) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeShowButtonStyle )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT uiButtonID, + /* [in] */ VARIANT uiStyleID); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msSiteModeActivate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeActivate )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msIsSiteModeFirstRun) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msIsSiteModeFirstRun )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fPreserveState, + /* [retval][out] */ __RPC__out VARIANT *puiFirstRun); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msAddTrackingProtectionList) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msAddTrackingProtectionList )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR URL, + /* [in] */ __RPC__in BSTR bstrFilterName); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msTrackingProtectionEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msTrackingProtectionEnabled )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper4, msActiveXFilteringEnabled) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msActiveXFilteringEnabled )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pfEnabled); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msProvisionNetworks) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msProvisionNetworks )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrProvisioningXml, + /* [retval][out] */ __RPC__out VARIANT *puiResult); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msReportSafeUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msReportSafeUrl )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeRefreshBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeRefreshBadge )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msSiteModeClearBadge) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msSiteModeClearBadge )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msDiagnoseConnectionUILess) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msDiagnoseConnectionUILess )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msLaunchNetworkClientHelp) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchNetworkClientHelp )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper5, msChangeDefaultBrowser) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msChangeDefaultBrowser )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicTileUpdate )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdate )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicTileUpdateBatch) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicTileUpdateBatch )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT pollingUris, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msClearTile) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msClearTile )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueue )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msPinnedSiteState) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msPinnedSiteState )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out VARIANT *pvarSiteState); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare150x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare150x150 )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForWide310x150) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForWide310x150 )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msEnableTileNotificationQueueForSquare310x310) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msEnableTileNotificationQueueForSquare310x310 )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ VARIANT_BOOL fChange); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msScheduledTileNotification )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrNotificationXml, + /* [in] */ __RPC__in BSTR bstrNotificationId, + /* [in] */ __RPC__in BSTR bstrNotificationTag, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT expirationTime); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msRemoveScheduledTileNotification) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msRemoveScheduledTileNotification )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrNotificationId); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStartPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStartPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR pollingUri, + /* [in][optional] */ VARIANT startTime, + /* [in][optional] */ VARIANT uiUpdateRecurrence); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msStopPeriodicBadgeUpdate) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msStopPeriodicBadgeUpdate )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper6, msLaunchInternetOptions) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *msLaunchInternetOptions )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetExperimentalFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetExperimentalFlag )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [in] */ VARIANT_BOOL vfFlag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetExperimentalFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetExperimentalFlag )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrFlagString, + /* [retval][out] */ __RPC__out VARIANT_BOOL *vfFlag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetExperimentalValue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetExperimentalValue )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrValueString, + /* [in] */ DWORD dwValue); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetExperimentalValue) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetExperimentalValue )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrValueString, + /* [retval][out] */ __RPC__out DWORD *pdwValue); + + DECLSPEC_XFGVIRT(IShellUIHelper7, ResetAllExperimentalFlagsAndValues) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *ResetAllExperimentalFlagsAndValues )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper7, GetNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *flag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, SetNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL flag); + + DECLSPEC_XFGVIRT(IShellUIHelper7, HasNeedIEAutoLaunchFlag) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *HasNeedIEAutoLaunchFlag )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [retval][out] */ __RPC__out VARIANT_BOOL *exists); + + DECLSPEC_XFGVIRT(IShellUIHelper7, LaunchIE) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *LaunchIE )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrUrl, + /* [in] */ VARIANT_BOOL automated); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetCVListData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCVListData )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetCVListLocalData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetCVListLocalData )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetEMIEListData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetEMIEListData )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, GetEMIEListLocalData) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetEMIEListLocalData )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrResult); + + DECLSPEC_XFGVIRT(IShellUIHelper8, OpenFavoritesPane) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenFavoritesPane )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper8, OpenFavoritesSettings) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *OpenFavoritesSettings )( + __RPC__in IShellUIHelper9 * This); + + DECLSPEC_XFGVIRT(IShellUIHelper8, LaunchInHVSI) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *LaunchInHVSI )( + __RPC__in IShellUIHelper9 * This, + /* [in] */ __RPC__in BSTR bstrUrl); + + DECLSPEC_XFGVIRT(IShellUIHelper9, GetOSSku) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *GetOSSku )( + __RPC__in IShellUIHelper9 * This, + /* [retval][out] */ __RPC__out DWORD *pdwResult); + + END_INTERFACE + } IShellUIHelper9Vtbl; + + interface IShellUIHelper9 + { + CONST_VTBL struct IShellUIHelper9Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellUIHelper9_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellUIHelper9_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellUIHelper9_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellUIHelper9_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellUIHelper9_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellUIHelper9_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellUIHelper9_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellUIHelper9_ResetFirstBootMode(This) \ + ( (This)->lpVtbl -> ResetFirstBootMode(This) ) + +#define IShellUIHelper9_ResetSafeMode(This) \ + ( (This)->lpVtbl -> ResetSafeMode(This) ) + +#define IShellUIHelper9_RefreshOfflineDesktop(This) \ + ( (This)->lpVtbl -> RefreshOfflineDesktop(This) ) + +#define IShellUIHelper9_AddFavorite(This,URL,Title) \ + ( (This)->lpVtbl -> AddFavorite(This,URL,Title) ) + +#define IShellUIHelper9_AddChannel(This,URL) \ + ( (This)->lpVtbl -> AddChannel(This,URL) ) + +#define IShellUIHelper9_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) \ + ( (This)->lpVtbl -> AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) ) + +#define IShellUIHelper9_IsSubscribed(This,URL,pBool) \ + ( (This)->lpVtbl -> IsSubscribed(This,URL,pBool) ) + +#define IShellUIHelper9_NavigateAndFind(This,URL,strQuery,varTargetFrame) \ + ( (This)->lpVtbl -> NavigateAndFind(This,URL,strQuery,varTargetFrame) ) + +#define IShellUIHelper9_ImportExportFavorites(This,fImport,strImpExpPath) \ + ( (This)->lpVtbl -> ImportExportFavorites(This,fImport,strImpExpPath) ) + +#define IShellUIHelper9_AutoCompleteSaveForm(This,Form) \ + ( (This)->lpVtbl -> AutoCompleteSaveForm(This,Form) ) + +#define IShellUIHelper9_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) \ + ( (This)->lpVtbl -> AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) ) + +#define IShellUIHelper9_AutoCompleteAttach(This,Reserved) \ + ( (This)->lpVtbl -> AutoCompleteAttach(This,Reserved) ) + +#define IShellUIHelper9_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) \ + ( (This)->lpVtbl -> ShowBrowserUI(This,bstrName,pvarIn,pvarOut) ) + + +#define IShellUIHelper9_AddSearchProvider(This,URL) \ + ( (This)->lpVtbl -> AddSearchProvider(This,URL) ) + +#define IShellUIHelper9_RunOnceShown(This) \ + ( (This)->lpVtbl -> RunOnceShown(This) ) + +#define IShellUIHelper9_SkipRunOnce(This) \ + ( (This)->lpVtbl -> SkipRunOnce(This) ) + +#define IShellUIHelper9_CustomizeSettings(This,fSQM,fPhishing,bstrLocale) \ + ( (This)->lpVtbl -> CustomizeSettings(This,fSQM,fPhishing,bstrLocale) ) + +#define IShellUIHelper9_SqmEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> SqmEnabled(This,pfEnabled) ) + +#define IShellUIHelper9_PhishingEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> PhishingEnabled(This,pfEnabled) ) + +#define IShellUIHelper9_BrandImageUri(This,pbstrUri) \ + ( (This)->lpVtbl -> BrandImageUri(This,pbstrUri) ) + +#define IShellUIHelper9_SkipTabsWelcome(This) \ + ( (This)->lpVtbl -> SkipTabsWelcome(This) ) + +#define IShellUIHelper9_DiagnoseConnection(This) \ + ( (This)->lpVtbl -> DiagnoseConnection(This) ) + +#define IShellUIHelper9_CustomizeClearType(This,fSet) \ + ( (This)->lpVtbl -> CustomizeClearType(This,fSet) ) + +#define IShellUIHelper9_IsSearchProviderInstalled(This,URL,pdwResult) \ + ( (This)->lpVtbl -> IsSearchProviderInstalled(This,URL,pdwResult) ) + +#define IShellUIHelper9_IsSearchMigrated(This,pfMigrated) \ + ( (This)->lpVtbl -> IsSearchMigrated(This,pfMigrated) ) + +#define IShellUIHelper9_DefaultSearchProvider(This,pbstrName) \ + ( (This)->lpVtbl -> DefaultSearchProvider(This,pbstrName) ) + +#define IShellUIHelper9_RunOnceRequiredSettingsComplete(This,fComplete) \ + ( (This)->lpVtbl -> RunOnceRequiredSettingsComplete(This,fComplete) ) + +#define IShellUIHelper9_RunOnceHasShown(This,pfShown) \ + ( (This)->lpVtbl -> RunOnceHasShown(This,pfShown) ) + +#define IShellUIHelper9_SearchGuideUrl(This,pbstrUrl) \ + ( (This)->lpVtbl -> SearchGuideUrl(This,pbstrUrl) ) + + +#define IShellUIHelper9_AddService(This,URL) \ + ( (This)->lpVtbl -> AddService(This,URL) ) + +#define IShellUIHelper9_IsServiceInstalled(This,URL,Verb,pdwResult) \ + ( (This)->lpVtbl -> IsServiceInstalled(This,URL,Verb,pdwResult) ) + +#define IShellUIHelper9_InPrivateFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> InPrivateFilteringEnabled(This,pfEnabled) ) + +#define IShellUIHelper9_AddToFavoritesBar(This,URL,Title,Type) \ + ( (This)->lpVtbl -> AddToFavoritesBar(This,URL,Title,Type) ) + +#define IShellUIHelper9_BuildNewTabPage(This) \ + ( (This)->lpVtbl -> BuildNewTabPage(This) ) + +#define IShellUIHelper9_SetRecentlyClosedVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetRecentlyClosedVisible(This,fVisible) ) + +#define IShellUIHelper9_SetActivitiesVisible(This,fVisible) \ + ( (This)->lpVtbl -> SetActivitiesVisible(This,fVisible) ) + +#define IShellUIHelper9_ContentDiscoveryReset(This) \ + ( (This)->lpVtbl -> ContentDiscoveryReset(This) ) + +#define IShellUIHelper9_IsSuggestedSitesEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> IsSuggestedSitesEnabled(This,pfEnabled) ) + +#define IShellUIHelper9_EnableSuggestedSites(This,fEnable) \ + ( (This)->lpVtbl -> EnableSuggestedSites(This,fEnable) ) + +#define IShellUIHelper9_NavigateToSuggestedSites(This,bstrRelativeUrl) \ + ( (This)->lpVtbl -> NavigateToSuggestedSites(This,bstrRelativeUrl) ) + +#define IShellUIHelper9_ShowTabsHelp(This) \ + ( (This)->lpVtbl -> ShowTabsHelp(This) ) + +#define IShellUIHelper9_ShowInPrivateHelp(This) \ + ( (This)->lpVtbl -> ShowInPrivateHelp(This) ) + + +#define IShellUIHelper9_msIsSiteMode(This,pfSiteMode) \ + ( (This)->lpVtbl -> msIsSiteMode(This,pfSiteMode) ) + +#define IShellUIHelper9_msSiteModeShowThumbBar(This) \ + ( (This)->lpVtbl -> msSiteModeShowThumbBar(This) ) + +#define IShellUIHelper9_msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) \ + ( (This)->lpVtbl -> msSiteModeAddThumbBarButton(This,bstrIconURL,bstrTooltip,pvarButtonID) ) + +#define IShellUIHelper9_msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) \ + ( (This)->lpVtbl -> msSiteModeUpdateThumbBarButton(This,ButtonID,fEnabled,fVisible) ) + +#define IShellUIHelper9_msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) \ + ( (This)->lpVtbl -> msSiteModeSetIconOverlay(This,IconUrl,pvarDescription) ) + +#define IShellUIHelper9_msSiteModeClearIconOverlay(This) \ + ( (This)->lpVtbl -> msSiteModeClearIconOverlay(This) ) + +#define IShellUIHelper9_msAddSiteMode(This) \ + ( (This)->lpVtbl -> msAddSiteMode(This) ) + +#define IShellUIHelper9_msSiteModeCreateJumpList(This,bstrHeader) \ + ( (This)->lpVtbl -> msSiteModeCreateJumpList(This,bstrHeader) ) + +#define IShellUIHelper9_msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) \ + ( (This)->lpVtbl -> msSiteModeAddJumpListItem(This,bstrName,bstrActionUri,bstrIconUri,pvarWindowType) ) + +#define IShellUIHelper9_msSiteModeClearJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeClearJumpList(This) ) + +#define IShellUIHelper9_msSiteModeShowJumpList(This) \ + ( (This)->lpVtbl -> msSiteModeShowJumpList(This) ) + +#define IShellUIHelper9_msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) \ + ( (This)->lpVtbl -> msSiteModeAddButtonStyle(This,uiButtonID,bstrIconUrl,bstrTooltip,pvarStyleID) ) + +#define IShellUIHelper9_msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) \ + ( (This)->lpVtbl -> msSiteModeShowButtonStyle(This,uiButtonID,uiStyleID) ) + +#define IShellUIHelper9_msSiteModeActivate(This) \ + ( (This)->lpVtbl -> msSiteModeActivate(This) ) + +#define IShellUIHelper9_msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) \ + ( (This)->lpVtbl -> msIsSiteModeFirstRun(This,fPreserveState,puiFirstRun) ) + +#define IShellUIHelper9_msAddTrackingProtectionList(This,URL,bstrFilterName) \ + ( (This)->lpVtbl -> msAddTrackingProtectionList(This,URL,bstrFilterName) ) + +#define IShellUIHelper9_msTrackingProtectionEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msTrackingProtectionEnabled(This,pfEnabled) ) + +#define IShellUIHelper9_msActiveXFilteringEnabled(This,pfEnabled) \ + ( (This)->lpVtbl -> msActiveXFilteringEnabled(This,pfEnabled) ) + + +#define IShellUIHelper9_msProvisionNetworks(This,bstrProvisioningXml,puiResult) \ + ( (This)->lpVtbl -> msProvisionNetworks(This,bstrProvisioningXml,puiResult) ) + +#define IShellUIHelper9_msReportSafeUrl(This) \ + ( (This)->lpVtbl -> msReportSafeUrl(This) ) + +#define IShellUIHelper9_msSiteModeRefreshBadge(This) \ + ( (This)->lpVtbl -> msSiteModeRefreshBadge(This) ) + +#define IShellUIHelper9_msSiteModeClearBadge(This) \ + ( (This)->lpVtbl -> msSiteModeClearBadge(This) ) + +#define IShellUIHelper9_msDiagnoseConnectionUILess(This) \ + ( (This)->lpVtbl -> msDiagnoseConnectionUILess(This) ) + +#define IShellUIHelper9_msLaunchNetworkClientHelp(This) \ + ( (This)->lpVtbl -> msLaunchNetworkClientHelp(This) ) + +#define IShellUIHelper9_msChangeDefaultBrowser(This,fChange) \ + ( (This)->lpVtbl -> msChangeDefaultBrowser(This,fChange) ) + + +#define IShellUIHelper9_msStopPeriodicTileUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicTileUpdate(This) ) + +#define IShellUIHelper9_msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdate(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper9_msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicTileUpdateBatch(This,pollingUris,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper9_msClearTile(This) \ + ( (This)->lpVtbl -> msClearTile(This) ) + +#define IShellUIHelper9_msEnableTileNotificationQueue(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueue(This,fChange) ) + +#define IShellUIHelper9_msPinnedSiteState(This,pvarSiteState) \ + ( (This)->lpVtbl -> msPinnedSiteState(This,pvarSiteState) ) + +#define IShellUIHelper9_msEnableTileNotificationQueueForSquare150x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare150x150(This,fChange) ) + +#define IShellUIHelper9_msEnableTileNotificationQueueForWide310x150(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForWide310x150(This,fChange) ) + +#define IShellUIHelper9_msEnableTileNotificationQueueForSquare310x310(This,fChange) \ + ( (This)->lpVtbl -> msEnableTileNotificationQueueForSquare310x310(This,fChange) ) + +#define IShellUIHelper9_msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) \ + ( (This)->lpVtbl -> msScheduledTileNotification(This,bstrNotificationXml,bstrNotificationId,bstrNotificationTag,startTime,expirationTime) ) + +#define IShellUIHelper9_msRemoveScheduledTileNotification(This,bstrNotificationId) \ + ( (This)->lpVtbl -> msRemoveScheduledTileNotification(This,bstrNotificationId) ) + +#define IShellUIHelper9_msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) \ + ( (This)->lpVtbl -> msStartPeriodicBadgeUpdate(This,pollingUri,startTime,uiUpdateRecurrence) ) + +#define IShellUIHelper9_msStopPeriodicBadgeUpdate(This) \ + ( (This)->lpVtbl -> msStopPeriodicBadgeUpdate(This) ) + +#define IShellUIHelper9_msLaunchInternetOptions(This) \ + ( (This)->lpVtbl -> msLaunchInternetOptions(This) ) + + +#define IShellUIHelper9_SetExperimentalFlag(This,bstrFlagString,vfFlag) \ + ( (This)->lpVtbl -> SetExperimentalFlag(This,bstrFlagString,vfFlag) ) + +#define IShellUIHelper9_GetExperimentalFlag(This,bstrFlagString,vfFlag) \ + ( (This)->lpVtbl -> GetExperimentalFlag(This,bstrFlagString,vfFlag) ) + +#define IShellUIHelper9_SetExperimentalValue(This,bstrValueString,dwValue) \ + ( (This)->lpVtbl -> SetExperimentalValue(This,bstrValueString,dwValue) ) + +#define IShellUIHelper9_GetExperimentalValue(This,bstrValueString,pdwValue) \ + ( (This)->lpVtbl -> GetExperimentalValue(This,bstrValueString,pdwValue) ) + +#define IShellUIHelper9_ResetAllExperimentalFlagsAndValues(This) \ + ( (This)->lpVtbl -> ResetAllExperimentalFlagsAndValues(This) ) + +#define IShellUIHelper9_GetNeedIEAutoLaunchFlag(This,bstrUrl,flag) \ + ( (This)->lpVtbl -> GetNeedIEAutoLaunchFlag(This,bstrUrl,flag) ) + +#define IShellUIHelper9_SetNeedIEAutoLaunchFlag(This,bstrUrl,flag) \ + ( (This)->lpVtbl -> SetNeedIEAutoLaunchFlag(This,bstrUrl,flag) ) + +#define IShellUIHelper9_HasNeedIEAutoLaunchFlag(This,bstrUrl,exists) \ + ( (This)->lpVtbl -> HasNeedIEAutoLaunchFlag(This,bstrUrl,exists) ) + +#define IShellUIHelper9_LaunchIE(This,bstrUrl,automated) \ + ( (This)->lpVtbl -> LaunchIE(This,bstrUrl,automated) ) + + +#define IShellUIHelper9_GetCVListData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetCVListData(This,pbstrResult) ) + +#define IShellUIHelper9_GetCVListLocalData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetCVListLocalData(This,pbstrResult) ) + +#define IShellUIHelper9_GetEMIEListData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetEMIEListData(This,pbstrResult) ) + +#define IShellUIHelper9_GetEMIEListLocalData(This,pbstrResult) \ + ( (This)->lpVtbl -> GetEMIEListLocalData(This,pbstrResult) ) + +#define IShellUIHelper9_OpenFavoritesPane(This) \ + ( (This)->lpVtbl -> OpenFavoritesPane(This) ) + +#define IShellUIHelper9_OpenFavoritesSettings(This) \ + ( (This)->lpVtbl -> OpenFavoritesSettings(This) ) + +#define IShellUIHelper9_LaunchInHVSI(This,bstrUrl) \ + ( (This)->lpVtbl -> LaunchInHVSI(This,bstrUrl) ) + + +#define IShellUIHelper9_GetOSSku(This,pdwResult) \ + ( (This)->lpVtbl -> GetOSSku(This,pdwResult) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellUIHelper9_INTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_ShellUIHelper; + +#ifdef __cplusplus + +class DECLSPEC_UUID("64AB4BB7-111E-11d1-8F79-00C04FC2FBE1") +ShellUIHelper; +#endif + +#ifndef __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__ +#define __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__ + +/* dispinterface DShellNameSpaceEvents */ +/* [uuid] */ + + +EXTERN_C const IID DIID_DShellNameSpaceEvents; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("55136806-B2DE-11D1-B9F2-00A0C98BC547") + DShellNameSpaceEvents : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct DShellNameSpaceEventsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in DShellNameSpaceEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in DShellNameSpaceEvents * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in DShellNameSpaceEvents * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in DShellNameSpaceEvents * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in DShellNameSpaceEvents * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in DShellNameSpaceEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + DShellNameSpaceEvents * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } DShellNameSpaceEventsVtbl; + + interface DShellNameSpaceEvents + { + CONST_VTBL struct DShellNameSpaceEventsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define DShellNameSpaceEvents_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define DShellNameSpaceEvents_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define DShellNameSpaceEvents_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define DShellNameSpaceEvents_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define DShellNameSpaceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define DShellNameSpaceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define DShellNameSpaceEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__ */ + + +#ifndef __IShellFavoritesNameSpace_INTERFACE_DEFINED__ +#define __IShellFavoritesNameSpace_INTERFACE_DEFINED__ + +/* interface IShellFavoritesNameSpace */ +/* [hidden][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IShellFavoritesNameSpace; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("55136804-B2DE-11D1-B9F2-00A0C98BC547") + IShellFavoritesNameSpace : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveSelectionUp( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveSelectionDown( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResetSort( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewFolder( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Synchronize( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Import( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Export( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InvokeContextMenuCommand( + /* [in] */ __RPC__in BSTR strCommand) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveSelectionTo( void) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubscriptionsEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSubscriptionForSelection( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteSubscriptionForSelection( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetRoot( + /* [in] */ __RPC__in BSTR bstrFullPath) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellFavoritesNameSpaceVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellFavoritesNameSpace * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellFavoritesNameSpace * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellFavoritesNameSpace * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellFavoritesNameSpace * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellFavoritesNameSpace * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, MoveSelectionUp) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveSelectionUp )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, MoveSelectionDown) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveSelectionDown )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, ResetSort) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResetSort )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, NewFolder) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewFolder )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, Synchronize) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Synchronize )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, Import) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Import )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, Export) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Export )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, InvokeContextMenuCommand) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InvokeContextMenuCommand )( + __RPC__in IShellFavoritesNameSpace * This, + /* [in] */ __RPC__in BSTR strCommand); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, MoveSelectionTo) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveSelectionTo )( + __RPC__in IShellFavoritesNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, get_SubscriptionsEnabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriptionsEnabled )( + __RPC__in IShellFavoritesNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, CreateSubscriptionForSelection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSubscriptionForSelection )( + __RPC__in IShellFavoritesNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, DeleteSubscriptionForSelection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteSubscriptionForSelection )( + __RPC__in IShellFavoritesNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, SetRoot) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetRoot )( + __RPC__in IShellFavoritesNameSpace * This, + /* [in] */ __RPC__in BSTR bstrFullPath); + + END_INTERFACE + } IShellFavoritesNameSpaceVtbl; + + interface IShellFavoritesNameSpace + { + CONST_VTBL struct IShellFavoritesNameSpaceVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellFavoritesNameSpace_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellFavoritesNameSpace_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellFavoritesNameSpace_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellFavoritesNameSpace_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellFavoritesNameSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellFavoritesNameSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellFavoritesNameSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellFavoritesNameSpace_MoveSelectionUp(This) \ + ( (This)->lpVtbl -> MoveSelectionUp(This) ) + +#define IShellFavoritesNameSpace_MoveSelectionDown(This) \ + ( (This)->lpVtbl -> MoveSelectionDown(This) ) + +#define IShellFavoritesNameSpace_ResetSort(This) \ + ( (This)->lpVtbl -> ResetSort(This) ) + +#define IShellFavoritesNameSpace_NewFolder(This) \ + ( (This)->lpVtbl -> NewFolder(This) ) + +#define IShellFavoritesNameSpace_Synchronize(This) \ + ( (This)->lpVtbl -> Synchronize(This) ) + +#define IShellFavoritesNameSpace_Import(This) \ + ( (This)->lpVtbl -> Import(This) ) + +#define IShellFavoritesNameSpace_Export(This) \ + ( (This)->lpVtbl -> Export(This) ) + +#define IShellFavoritesNameSpace_InvokeContextMenuCommand(This,strCommand) \ + ( (This)->lpVtbl -> InvokeContextMenuCommand(This,strCommand) ) + +#define IShellFavoritesNameSpace_MoveSelectionTo(This) \ + ( (This)->lpVtbl -> MoveSelectionTo(This) ) + +#define IShellFavoritesNameSpace_get_SubscriptionsEnabled(This,pBool) \ + ( (This)->lpVtbl -> get_SubscriptionsEnabled(This,pBool) ) + +#define IShellFavoritesNameSpace_CreateSubscriptionForSelection(This,pBool) \ + ( (This)->lpVtbl -> CreateSubscriptionForSelection(This,pBool) ) + +#define IShellFavoritesNameSpace_DeleteSubscriptionForSelection(This,pBool) \ + ( (This)->lpVtbl -> DeleteSubscriptionForSelection(This,pBool) ) + +#define IShellFavoritesNameSpace_SetRoot(This,bstrFullPath) \ + ( (This)->lpVtbl -> SetRoot(This,bstrFullPath) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellFavoritesNameSpace_INTERFACE_DEFINED__ */ + + +#ifndef __IShellNameSpace_INTERFACE_DEFINED__ +#define __IShellNameSpace_INTERFACE_DEFINED__ + +/* interface IShellNameSpace */ +/* [hidden][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IShellNameSpace; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("e572d3c9-37be-4ae2-825d-d521763e3108") + IShellNameSpace : public IShellFavoritesNameSpace + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumOptions( + /* [retval][out] */ __RPC__out LONG *pgrfEnumFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EnumOptions( + /* [in] */ LONG lVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SelectedItem( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **pItem) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SelectedItem( + /* [in] */ __RPC__in_opt IDispatch *pItem) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Root( + /* [retval][out] */ __RPC__out VARIANT *pvar) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Root( + /* [in] */ VARIANT var) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Depth( + /* [retval][out] */ __RPC__out int *piDepth) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Depth( + /* [in] */ int iDepth) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Mode( + /* [retval][out] */ __RPC__out UINT *puMode) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Mode( + /* [in] */ UINT uMode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Flags( + /* [retval][out] */ __RPC__out DWORD *pdwFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Flags( + /* [in] */ DWORD dwFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TVFlags( + /* [in] */ DWORD dwFlags) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TVFlags( + /* [retval][out] */ __RPC__out DWORD *dwFlags) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Columns( + /* [retval][out] */ __RPC__deref_out_opt BSTR *bstrColumns) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Columns( + /* [in] */ __RPC__in BSTR bstrColumns) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CountViewTypes( + /* [retval][out] */ __RPC__out int *piTypes) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetViewType( + /* [in] */ int iType) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectedItems( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppid) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Expand( + /* [in] */ VARIANT var, + int iDepth) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectAll( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IShellNameSpaceVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IShellNameSpace * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IShellNameSpace * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IShellNameSpace * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IShellNameSpace * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IShellNameSpace * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, MoveSelectionUp) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveSelectionUp )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, MoveSelectionDown) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveSelectionDown )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, ResetSort) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResetSort )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, NewFolder) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewFolder )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, Synchronize) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Synchronize )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, Import) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Import )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, Export) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Export )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, InvokeContextMenuCommand) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InvokeContextMenuCommand )( + __RPC__in IShellNameSpace * This, + /* [in] */ __RPC__in BSTR strCommand); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, MoveSelectionTo) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveSelectionTo )( + __RPC__in IShellNameSpace * This); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, get_SubscriptionsEnabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubscriptionsEnabled )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, CreateSubscriptionForSelection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSubscriptionForSelection )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, DeleteSubscriptionForSelection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteSubscriptionForSelection )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pBool); + + DECLSPEC_XFGVIRT(IShellFavoritesNameSpace, SetRoot) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetRoot )( + __RPC__in IShellNameSpace * This, + /* [in] */ __RPC__in BSTR bstrFullPath); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_EnumOptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumOptions )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out LONG *pgrfEnumFlags); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_EnumOptions) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnumOptions )( + __RPC__in IShellNameSpace * This, + /* [in] */ LONG lVal); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_SelectedItem) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectedItem )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **pItem); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_SelectedItem) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SelectedItem )( + __RPC__in IShellNameSpace * This, + /* [in] */ __RPC__in_opt IDispatch *pItem); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_Root) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Root )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out VARIANT *pvar); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_Root) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Root )( + __RPC__in IShellNameSpace * This, + /* [in] */ VARIANT var); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_Depth) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Depth )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out int *piDepth); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_Depth) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Depth )( + __RPC__in IShellNameSpace * This, + /* [in] */ int iDepth); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_Mode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Mode )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out UINT *puMode); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_Mode) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Mode )( + __RPC__in IShellNameSpace * This, + /* [in] */ UINT uMode); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_Flags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Flags )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out DWORD *pdwFlags); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_Flags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Flags )( + __RPC__in IShellNameSpace * This, + /* [in] */ DWORD dwFlags); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_TVFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TVFlags )( + __RPC__in IShellNameSpace * This, + /* [in] */ DWORD dwFlags); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_TVFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TVFlags )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out DWORD *dwFlags); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_Columns) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Columns )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *bstrColumns); + + DECLSPEC_XFGVIRT(IShellNameSpace, put_Columns) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Columns )( + __RPC__in IShellNameSpace * This, + /* [in] */ __RPC__in BSTR bstrColumns); + + DECLSPEC_XFGVIRT(IShellNameSpace, get_CountViewTypes) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CountViewTypes )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__out int *piTypes); + + DECLSPEC_XFGVIRT(IShellNameSpace, SetViewType) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetViewType )( + __RPC__in IShellNameSpace * This, + /* [in] */ int iType); + + DECLSPEC_XFGVIRT(IShellNameSpace, SelectedItems) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectedItems )( + __RPC__in IShellNameSpace * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppid); + + DECLSPEC_XFGVIRT(IShellNameSpace, Expand) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Expand )( + __RPC__in IShellNameSpace * This, + /* [in] */ VARIANT var, + int iDepth); + + DECLSPEC_XFGVIRT(IShellNameSpace, UnselectAll) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectAll )( + __RPC__in IShellNameSpace * This); + + END_INTERFACE + } IShellNameSpaceVtbl; + + interface IShellNameSpace + { + CONST_VTBL struct IShellNameSpaceVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IShellNameSpace_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IShellNameSpace_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IShellNameSpace_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IShellNameSpace_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IShellNameSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IShellNameSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IShellNameSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IShellNameSpace_MoveSelectionUp(This) \ + ( (This)->lpVtbl -> MoveSelectionUp(This) ) + +#define IShellNameSpace_MoveSelectionDown(This) \ + ( (This)->lpVtbl -> MoveSelectionDown(This) ) + +#define IShellNameSpace_ResetSort(This) \ + ( (This)->lpVtbl -> ResetSort(This) ) + +#define IShellNameSpace_NewFolder(This) \ + ( (This)->lpVtbl -> NewFolder(This) ) + +#define IShellNameSpace_Synchronize(This) \ + ( (This)->lpVtbl -> Synchronize(This) ) + +#define IShellNameSpace_Import(This) \ + ( (This)->lpVtbl -> Import(This) ) + +#define IShellNameSpace_Export(This) \ + ( (This)->lpVtbl -> Export(This) ) + +#define IShellNameSpace_InvokeContextMenuCommand(This,strCommand) \ + ( (This)->lpVtbl -> InvokeContextMenuCommand(This,strCommand) ) + +#define IShellNameSpace_MoveSelectionTo(This) \ + ( (This)->lpVtbl -> MoveSelectionTo(This) ) + +#define IShellNameSpace_get_SubscriptionsEnabled(This,pBool) \ + ( (This)->lpVtbl -> get_SubscriptionsEnabled(This,pBool) ) + +#define IShellNameSpace_CreateSubscriptionForSelection(This,pBool) \ + ( (This)->lpVtbl -> CreateSubscriptionForSelection(This,pBool) ) + +#define IShellNameSpace_DeleteSubscriptionForSelection(This,pBool) \ + ( (This)->lpVtbl -> DeleteSubscriptionForSelection(This,pBool) ) + +#define IShellNameSpace_SetRoot(This,bstrFullPath) \ + ( (This)->lpVtbl -> SetRoot(This,bstrFullPath) ) + + +#define IShellNameSpace_get_EnumOptions(This,pgrfEnumFlags) \ + ( (This)->lpVtbl -> get_EnumOptions(This,pgrfEnumFlags) ) + +#define IShellNameSpace_put_EnumOptions(This,lVal) \ + ( (This)->lpVtbl -> put_EnumOptions(This,lVal) ) + +#define IShellNameSpace_get_SelectedItem(This,pItem) \ + ( (This)->lpVtbl -> get_SelectedItem(This,pItem) ) + +#define IShellNameSpace_put_SelectedItem(This,pItem) \ + ( (This)->lpVtbl -> put_SelectedItem(This,pItem) ) + +#define IShellNameSpace_get_Root(This,pvar) \ + ( (This)->lpVtbl -> get_Root(This,pvar) ) + +#define IShellNameSpace_put_Root(This,var) \ + ( (This)->lpVtbl -> put_Root(This,var) ) + +#define IShellNameSpace_get_Depth(This,piDepth) \ + ( (This)->lpVtbl -> get_Depth(This,piDepth) ) + +#define IShellNameSpace_put_Depth(This,iDepth) \ + ( (This)->lpVtbl -> put_Depth(This,iDepth) ) + +#define IShellNameSpace_get_Mode(This,puMode) \ + ( (This)->lpVtbl -> get_Mode(This,puMode) ) + +#define IShellNameSpace_put_Mode(This,uMode) \ + ( (This)->lpVtbl -> put_Mode(This,uMode) ) + +#define IShellNameSpace_get_Flags(This,pdwFlags) \ + ( (This)->lpVtbl -> get_Flags(This,pdwFlags) ) + +#define IShellNameSpace_put_Flags(This,dwFlags) \ + ( (This)->lpVtbl -> put_Flags(This,dwFlags) ) + +#define IShellNameSpace_put_TVFlags(This,dwFlags) \ + ( (This)->lpVtbl -> put_TVFlags(This,dwFlags) ) + +#define IShellNameSpace_get_TVFlags(This,dwFlags) \ + ( (This)->lpVtbl -> get_TVFlags(This,dwFlags) ) + +#define IShellNameSpace_get_Columns(This,bstrColumns) \ + ( (This)->lpVtbl -> get_Columns(This,bstrColumns) ) + +#define IShellNameSpace_put_Columns(This,bstrColumns) \ + ( (This)->lpVtbl -> put_Columns(This,bstrColumns) ) + +#define IShellNameSpace_get_CountViewTypes(This,piTypes) \ + ( (This)->lpVtbl -> get_CountViewTypes(This,piTypes) ) + +#define IShellNameSpace_SetViewType(This,iType) \ + ( (This)->lpVtbl -> SetViewType(This,iType) ) + +#define IShellNameSpace_SelectedItems(This,ppid) \ + ( (This)->lpVtbl -> SelectedItems(This,ppid) ) + +#define IShellNameSpace_Expand(This,var,iDepth) \ + ( (This)->lpVtbl -> Expand(This,var,iDepth) ) + +#define IShellNameSpace_UnselectAll(This) \ + ( (This)->lpVtbl -> UnselectAll(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IShellNameSpace_INTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_ShellNameSpace; + +#ifdef __cplusplus + +class DECLSPEC_UUID("55136805-B2DE-11D1-B9F2-00A0C98BC547") +ShellNameSpace; +#endif + +#ifndef __IScriptErrorList_INTERFACE_DEFINED__ +#define __IScriptErrorList_INTERFACE_DEFINED__ + +/* interface IScriptErrorList */ +/* [object][dual][hidden][oleautomation][helpstring][uuid] */ + + +EXTERN_C const IID IID_IScriptErrorList; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("F3470F24-15FD-11d2-BB2E-00805FF7EFCA") + IScriptErrorList : public IDispatch + { + public: + virtual /* [id] */ HRESULT STDMETHODCALLTYPE advanceError( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE retreatError( void) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE canAdvanceError( + /* [retval][out] */ __RPC__out BOOL *pfCanAdvance) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE canRetreatError( + /* [retval][out] */ __RPC__out BOOL *pfCanRetreat) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getErrorLine( + /* [retval][out] */ __RPC__out LONG *plLine) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getErrorChar( + /* [retval][out] */ __RPC__out LONG *plChar) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getErrorCode( + /* [retval][out] */ __RPC__out LONG *plCode) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getErrorMsg( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pstr) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getErrorUrl( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pstr) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getAlwaysShowLockState( + /* [retval][out] */ __RPC__out BOOL *pfAlwaysShowLocked) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getDetailsPaneOpen( + /* [retval][out] */ __RPC__out BOOL *pfDetailsPaneOpen) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE setDetailsPaneOpen( + BOOL fDetailsPaneOpen) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE getPerErrorDisplay( + /* [retval][out] */ __RPC__out BOOL *pfPerErrorDisplay) = 0; + + virtual /* [id] */ HRESULT STDMETHODCALLTYPE setPerErrorDisplay( + BOOL fPerErrorDisplay) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IScriptErrorListVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IScriptErrorList * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IScriptErrorList * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IScriptErrorList * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IScriptErrorList * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IScriptErrorList * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IScriptErrorList * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IScriptErrorList * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IScriptErrorList, advanceError) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *advanceError )( + __RPC__in IScriptErrorList * This); + + DECLSPEC_XFGVIRT(IScriptErrorList, retreatError) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *retreatError )( + __RPC__in IScriptErrorList * This); + + DECLSPEC_XFGVIRT(IScriptErrorList, canAdvanceError) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *canAdvanceError )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out BOOL *pfCanAdvance); + + DECLSPEC_XFGVIRT(IScriptErrorList, canRetreatError) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *canRetreatError )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out BOOL *pfCanRetreat); + + DECLSPEC_XFGVIRT(IScriptErrorList, getErrorLine) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getErrorLine )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out LONG *plLine); + + DECLSPEC_XFGVIRT(IScriptErrorList, getErrorChar) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getErrorChar )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out LONG *plChar); + + DECLSPEC_XFGVIRT(IScriptErrorList, getErrorCode) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getErrorCode )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out LONG *plCode); + + DECLSPEC_XFGVIRT(IScriptErrorList, getErrorMsg) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getErrorMsg )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pstr); + + DECLSPEC_XFGVIRT(IScriptErrorList, getErrorUrl) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getErrorUrl )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pstr); + + DECLSPEC_XFGVIRT(IScriptErrorList, getAlwaysShowLockState) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getAlwaysShowLockState )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out BOOL *pfAlwaysShowLocked); + + DECLSPEC_XFGVIRT(IScriptErrorList, getDetailsPaneOpen) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getDetailsPaneOpen )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out BOOL *pfDetailsPaneOpen); + + DECLSPEC_XFGVIRT(IScriptErrorList, setDetailsPaneOpen) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *setDetailsPaneOpen )( + __RPC__in IScriptErrorList * This, + BOOL fDetailsPaneOpen); + + DECLSPEC_XFGVIRT(IScriptErrorList, getPerErrorDisplay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *getPerErrorDisplay )( + __RPC__in IScriptErrorList * This, + /* [retval][out] */ __RPC__out BOOL *pfPerErrorDisplay); + + DECLSPEC_XFGVIRT(IScriptErrorList, setPerErrorDisplay) + /* [id] */ HRESULT ( STDMETHODCALLTYPE *setPerErrorDisplay )( + __RPC__in IScriptErrorList * This, + BOOL fPerErrorDisplay); + + END_INTERFACE + } IScriptErrorListVtbl; + + interface IScriptErrorList + { + CONST_VTBL struct IScriptErrorListVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IScriptErrorList_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IScriptErrorList_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IScriptErrorList_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IScriptErrorList_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IScriptErrorList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IScriptErrorList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IScriptErrorList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IScriptErrorList_advanceError(This) \ + ( (This)->lpVtbl -> advanceError(This) ) + +#define IScriptErrorList_retreatError(This) \ + ( (This)->lpVtbl -> retreatError(This) ) + +#define IScriptErrorList_canAdvanceError(This,pfCanAdvance) \ + ( (This)->lpVtbl -> canAdvanceError(This,pfCanAdvance) ) + +#define IScriptErrorList_canRetreatError(This,pfCanRetreat) \ + ( (This)->lpVtbl -> canRetreatError(This,pfCanRetreat) ) + +#define IScriptErrorList_getErrorLine(This,plLine) \ + ( (This)->lpVtbl -> getErrorLine(This,plLine) ) + +#define IScriptErrorList_getErrorChar(This,plChar) \ + ( (This)->lpVtbl -> getErrorChar(This,plChar) ) + +#define IScriptErrorList_getErrorCode(This,plCode) \ + ( (This)->lpVtbl -> getErrorCode(This,plCode) ) + +#define IScriptErrorList_getErrorMsg(This,pstr) \ + ( (This)->lpVtbl -> getErrorMsg(This,pstr) ) + +#define IScriptErrorList_getErrorUrl(This,pstr) \ + ( (This)->lpVtbl -> getErrorUrl(This,pstr) ) + +#define IScriptErrorList_getAlwaysShowLockState(This,pfAlwaysShowLocked) \ + ( (This)->lpVtbl -> getAlwaysShowLockState(This,pfAlwaysShowLocked) ) + +#define IScriptErrorList_getDetailsPaneOpen(This,pfDetailsPaneOpen) \ + ( (This)->lpVtbl -> getDetailsPaneOpen(This,pfDetailsPaneOpen) ) + +#define IScriptErrorList_setDetailsPaneOpen(This,fDetailsPaneOpen) \ + ( (This)->lpVtbl -> setDetailsPaneOpen(This,fDetailsPaneOpen) ) + +#define IScriptErrorList_getPerErrorDisplay(This,pfPerErrorDisplay) \ + ( (This)->lpVtbl -> getPerErrorDisplay(This,pfPerErrorDisplay) ) + +#define IScriptErrorList_setPerErrorDisplay(This,fPerErrorDisplay) \ + ( (This)->lpVtbl -> setPerErrorDisplay(This,fPerErrorDisplay) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IScriptErrorList_INTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_CScriptErrorList; + +#ifdef __cplusplus + +class DECLSPEC_UUID("EFD01300-160F-11d2-BB2E-00805FF7EFCA") +CScriptErrorList; +#endif +#endif /* __SHDocVw_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_exdisp_0000_0001 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_exdisp_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_exdisp_0000_0001_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDispid.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDispid.h new file mode 100644 index 0000000000000000000000000000000000000000..f0f3b95aa868892e3bdc7e836c942b17c2eb9f62 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExDispid.h @@ -0,0 +1,242 @@ +#ifndef EXDISPID_H_ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation. All Rights Reserved. +// +// File: exdispid.h +// +//-------------------------------------------------------------------------- + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +// +// Dispatch IDS for IExplorer Dispatch Events. +// +#define DISPID_BEFORENAVIGATE 100 // this is sent before navigation to give a chance to abort +#define DISPID_NAVIGATECOMPLETE 101 // in async, this is sent when we have enough to show +#define DISPID_STATUSTEXTCHANGE 102 +#define DISPID_QUIT 103 +#define DISPID_DOWNLOADCOMPLETE 104 +#define DISPID_COMMANDSTATECHANGE 105 +#define DISPID_DOWNLOADBEGIN 106 +#define DISPID_NEWWINDOW 107 // sent when a new window should be created +#define DISPID_PROGRESSCHANGE 108 // sent when download progress is updated +#define DISPID_WINDOWMOVE 109 // sent when main window has been moved +#define DISPID_WINDOWRESIZE 110 // sent when main window has been sized +#define DISPID_WINDOWACTIVATE 111 // sent when main window has been activated +#define DISPID_PROPERTYCHANGE 112 // sent when the PutProperty method is called +#define DISPID_TITLECHANGE 113 // sent when the document title changes +#define DISPID_TITLEICONCHANGE 114 // sent when the top level window icon may have changed. + +#define DISPID_FRAMEBEFORENAVIGATE 200 +#define DISPID_FRAMENAVIGATECOMPLETE 201 +#define DISPID_FRAMENEWWINDOW 204 + +#define DISPID_BEFORENAVIGATE2 250 // hyperlink clicked on +#define DISPID_NEWWINDOW2 251 +#define DISPID_NAVIGATECOMPLETE2 252 // UIActivate new document +#define DISPID_ONQUIT 253 +#define DISPID_ONVISIBLE 254 // sent when the window goes visible/hidden +#define DISPID_ONTOOLBAR 255 // sent when the toolbar should be shown/hidden +#define DISPID_ONMENUBAR 256 // sent when the menubar should be shown/hidden +#define DISPID_ONSTATUSBAR 257 // sent when the statusbar should be shown/hidden +#define DISPID_ONFULLSCREEN 258 // sent when kiosk mode should be on/off +#define DISPID_DOCUMENTCOMPLETE 259 // new document goes ReadyState_Complete +#define DISPID_ONTHEATERMODE 260 // sent when theater mode should be on/off +#define DISPID_ONADDRESSBAR 261 // sent when the address bar should be shown/hidden +#define DISPID_WINDOWSETRESIZABLE 262 // sent to set the style of the host window frame +#define DISPID_WINDOWCLOSING 263 // sent before script window.close closes the window +#define DISPID_WINDOWSETLEFT 264 // sent when the put_left method is called on the WebOC +#define DISPID_WINDOWSETTOP 265 // sent when the put_top method is called on the WebOC +#define DISPID_WINDOWSETWIDTH 266 // sent when the put_width method is called on the WebOC +#define DISPID_WINDOWSETHEIGHT 267 // sent when the put_height method is called on the WebOC +#define DISPID_CLIENTTOHOSTWINDOW 268 // sent during window.open to request conversion of dimensions +#define DISPID_SETSECURELOCKICON 269 // sent to suggest the appropriate security icon to show +#define DISPID_FILEDOWNLOAD 270 // Fired to indicate the File Download dialog is opening +#define DISPID_NAVIGATEERROR 271 // Fired to indicate the a binding error has occured +#define DISPID_PRIVACYIMPACTEDSTATECHANGE 272 // Fired when the user's browsing experience is impacted +#define DISPID_NEWWINDOW3 273 +#define DISPID_VIEWUPDATE 281 // Fired when the contents of a shell browser window change +#define DISPID_SETPHISHINGFILTERSTATUS 282 // Fired by the Phishing Filter API to signal what state the analysis is in +#define DISPID_WINDOWSTATECHANGED 283 // Fired to indicate that the browser window's visibility or enabled state has changed +#define DISPID_NEWPROCESS 284 // Fired when a navigation must be redirected due to Protected Mode +#define DISPID_THIRDPARTYURLBLOCKED 285 // Fired when a third-party url is blocked due to Privacy Advisor +#define DISPID_REDIRECTXDOMAINBLOCKED 286 // Fired when a x-domain redirect is blocked due to browser nav constant +#define DISPID_WEBWORKERSTARTED 288 +#define DISPID_WEBWORKERFINISHED 289 +#define DISPID_BEFORESCRIPTEXECUTE 290 // Fired prior to any of a page's script is executed + +// Printing events +#define DISPID_PRINTTEMPLATEINSTANTIATION 225 // Fired to indicate that a print template is instantiated +#define DISPID_PRINTTEMPLATETEARDOWN 226 // Fired to indicate that a print templete is completely gone +#define DISPID_UPDATEPAGESTATUS 227 // Fired to indicate that the spooling status has changed + +// define the events for the shell window list +#define DISPID_WINDOWREGISTERED 200 // Window registered +#define DISPID_WINDOWREVOKED 201 // Window Revoked + +#define DISPID_RESETFIRSTBOOTMODE 1 +#define DISPID_RESETSAFEMODE 2 +#define DISPID_REFRESHOFFLINEDESKTOP 3 +#define DISPID_ADDFAVORITE 4 +#define DISPID_ADDCHANNEL 5 +#define DISPID_ADDDESKTOPCOMPONENT 6 +#define DISPID_ISSUBSCRIBED 7 +#define DISPID_NAVIGATEANDFIND 8 +#define DISPID_IMPORTEXPORTFAVORITES 9 +#define DISPID_AUTOCOMPLETESAVEFORM 10 +#define DISPID_AUTOSCAN 11 +#define DISPID_AUTOCOMPLETEATTACH 12 +#define DISPID_SHOWBROWSERUI 13 +#define DISPID_ADDSEARCHPROVIDER 14 +#define DISPID_RUNONCESHOWN 15 +#define DISPID_SKIPRUNONCE 16 +#define DISPID_CUSTOMIZESETTINGS 17 +#define DISPID_SQMENABLED 18 +#define DISPID_PHISHINGENABLED 19 +#define DISPID_BRANDIMAGEURI 20 +#define DISPID_SKIPTABSWELCOME 21 +#define DISPID_DIAGNOSECONNECTION 22 +#define DISPID_CUSTOMIZECLEARTYPE 23 +#define DISPID_ISSEARCHPROVIDERINSTALLED 24 +#define DISPID_ISSEARCHMIGRATED 25 +#define DISPID_DEFAULTSEARCHPROVIDER 26 +#define DISPID_RUNONCEREQUIREDSETTINGSCOMPLETE 27 +#define DISPID_RUNONCEHASSHOWN 28 +#define DISPID_SEARCHGUIDEURL 29 +#define DISPID_ADDSERVICE 30 +#define DISPID_ISSERVICEINSTALLED 31 +#define DISPID_ADDTOFAVORITESBAR 32 +#define DISPID_BUILDNEWTABPAGE 33 +#define DISPID_SETRECENTLYCLOSEDVISIBLE 34 +#define DISPID_SETACTIVITIESVISIBLE 35 +#define DISPID_CONTENTDISCOVERYRESET 36 +#define DISPID_INPRIVATEFILTERINGENABLED 37 +#define DISPID_SUGGESTEDSITESENABLED 38 +#define DISPID_ENABLESUGGESTEDSITES 39 +#define DISPID_NAVIGATETOSUGGESTEDSITES 40 +#define DISPID_SHOWTABSHELP 41 +#define DISPID_SHOWINPRIVATEHELP 42 +#define DISPID_ISSITEMODE 43 +#define DISPID_SETSITEMODEICONOVERLAY 44 +#define DISPID_CLEARSITEMODEICONOVERLAY 45 +#define DISPID_UPDATETHUMBNAILBUTTON 46 +#define DISPID_SETTHUMBNAILBUTTONS 47 +#define DISPID_ADDTHUMBNAILBUTTONS 48 +#define DISPID_ADDSITEMODE 49 +#define DISPID_SETSITEMODEPROPERTIES 50 +#define DISPID_SITEMODECREATEJUMPLIST 51 +#define DISPID_SITEMODEADDJUMPLISTITEM 52 +#define DISPID_SITEMODECLEARJUMPLIST 53 +#define DISPID_SITEMODEADDBUTTONSTYLE 54 +#define DISPID_SITEMODESHOWBUTTONSTYLE 55 +#define DISPID_SITEMODESHOWJUMPLIST 56 +#define DISPID_ADDTRACKINGPROTECTIONLIST 57 +#define DISPID_SITEMODEACTIVATE 58 +#define DISPID_ISSITEMODEFIRSTRUN 59 +#define DISPID_TRACKINGPROTECTIONENABLED 60 +#define DISPID_ACTIVEXFILTERINGENABLED 61 +#define DISPID_PROVISIONNETWORKS 62 +#define DISPID_REPORTSAFEURL 63 +#define DISPID_SITEMODEREFRESHBADGE 64 +#define DISPID_SITEMODECLEARBADGE 65 +#define DISPID_DIAGNOSECONNECTIONUILESS 66 +#define DISPID_LAUNCHNETWORKCLIENTHELP 67 +#define DISPID_CHANGEDEFAULTBROWSER 68 +#define DISPID_STOPPERIODICUPDATE 69 +#define DISPID_STARTPERIODICUPDATE 70 +#define DISPID_CLEARNOTIFICATION 71 +#define DISPID_ENABLENOTIFICATIONQUEUE 72 +#define DISPID_PINNEDSITESTATE 73 +#define DISPID_LAUNCHINTERNETOPTIONS 74 +#define DISPID_STARTPERIODICUPDATEBATCH 75 +#define DISPID_ENABLENOTIFICATIONQUEUESQUARE 76 +#define DISPID_ENABLENOTIFICATIONQUEUEWIDE 77 +#define DISPID_ENABLENOTIFICATIONQUEUELARGE 78 +#define DISPID_SCHEDULEDTILENOTIFICATION 79 +#define DISPID_REMOVESCHEDULEDTILENOTIFICATION 80 +#define DISPID_STARTBADGEUPDATE 81 +#define DISPID_STOPBADGEUPDATE 82 +#define DISPID_ISMETAREFERRERAVAILABLE 83 +#define DISPID_SETEXPERIMENTALFLAG 84 +#define DISPID_GETEXPERIMENTALFLAG 85 +#define DISPID_SETEXPERIMENTALVALUE 86 +#define DISPID_GETEXPERIMENTALVALUE 87 +#define DISPID_HASNEEDIEAUTOLAUNCHFLAG 88 +#define DISPID_GETNEEDIEAUTOLAUNCHFLAG 89 +#define DISPID_SETNEEDIEAUTOLAUNCHFLAG 90 +#define DISPID_LAUNCHIE 91 +#define DISPID_RESETEXPERIMENTALFLAGS 92 +#define DISPID_GETCVLISTDATA 93 +#define DISPID_GETCVLISTLOCALDATA 94 +#define DISPID_GETEMIELISTDATA 95 +#define DISPID_GETEMIELISTLOCALDATA 96 +#define DISPID_OPENFAVORITESPANE 97 +#define DISPID_OPENFAVORITESSETTINGS 98 +#define DISPID_LAUNCHINHVSI 99 +#define DISPID_GETNEEDHVSIAUTOLAUNCHFLAG 100 +#define DISPID_SETNEEDHVSIAUTOLAUNCHFLAG 101 +#define DISPID_HASNEEDHVSIAUTOLAUNCHFLAG 102 +#define DISPID_GETOSSKU 103 +#define DISPID_SETMSDEFAULTS 104 +#define DISPID_SHELLUIHELPERLAST 105 + +#define DISPID_ADVANCEERROR 10 +#define DISPID_RETREATERROR 11 +#define DISPID_CANADVANCEERROR 12 +#define DISPID_CANRETREATERROR 13 +#define DISPID_GETERRORLINE 14 +#define DISPID_GETERRORCHAR 15 +#define DISPID_GETERRORCODE 16 +#define DISPID_GETERRORMSG 17 +#define DISPID_GETERRORURL 18 +#define DISPID_GETDETAILSSTATE 19 +#define DISPID_SETDETAILSSTATE 20 +#define DISPID_GETPERERRSTATE 21 +#define DISPID_SETPERERRSTATE 22 +#define DISPID_GETALWAYSSHOWLOCKSTATE 23 + +// Dispatch IDS for ShellFavoritesNameSpace Dispatch Events. +// +#define DISPID_FAVSELECTIONCHANGE 1 +#define DISPID_SELECTIONCHANGE 2 +#define DISPID_DOUBLECLICK 3 +#define DISPID_INITIALIZED 4 + +#define DISPID_MOVESELECTIONUP 1 +#define DISPID_MOVESELECTIONDOWN 2 +#define DISPID_RESETSORT 3 +#define DISPID_NEWFOLDER 4 +#define DISPID_SYNCHRONIZE 5 +#define DISPID_IMPORT 6 +#define DISPID_EXPORT 7 +#define DISPID_INVOKECONTEXTMENU 8 +#define DISPID_MOVESELECTIONTO 9 +#define DISPID_SUBSCRIPTIONSENABLED 10 +#define DISPID_CREATESUBSCRIPTION 11 +#define DISPID_DELETESUBSCRIPTION 12 +#define DISPID_SETROOT 13 +#define DISPID_ENUMOPTIONS 14 +#define DISPID_SELECTEDITEM 15 +#define DISPID_ROOT 16 +#define DISPID_DEPTH 17 +#define DISPID_MODE 18 +#define DISPID_FLAGS 19 +#define DISPID_TVFLAGS 20 +#define DISPID_NSCOLUMNS 21 +#define DISPID_COUNTVIEWTYPES 22 +#define DISPID_SETVIEWTYPE 23 +#define DISPID_SELECTEDITEMS 24 +#define DISPID_EXPAND 25 +#define DISPID_UNSELECTALL 26 + +#define EXDISPID_H_ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // EXDISPID_H_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExtensionValidation.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExtensionValidation.h new file mode 100644 index 0000000000000000000000000000000000000000..8f74e91c131bbb3f69b8feef9e7417cdd3b745af --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExtensionValidation.h @@ -0,0 +1,237 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 500 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __extensionvalidation_h__ +#define __extensionvalidation_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IExtensionValidation_FWD_DEFINED__ +#define __IExtensionValidation_FWD_DEFINED__ +typedef interface IExtensionValidation IExtensionValidation; + +#endif /* __IExtensionValidation_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" +#include "Mshtml.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_extensionvalidation_0000_0000 */ +/* [local] */ + +/******************************************************* + * * + * Copyright (C) Microsoft. All rights reserved. * + * * + *******************************************************/ +#ifdef _MSC_VER +#pragma once +#endif + +#pragma comment(lib,"uuid.lib") + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +typedef +enum ExtensionValidationContexts + { + ExtensionValidationContextNone = 0, + ExtensionValidationContextDynamic = 0x1, + ExtensionValidationContextParsed = 0x2 + } ExtensionValidationContexts; + +typedef +enum ExtensionValidationResults + { + ExtensionValidationResultNone = 0, + ExtensionValidationResultDoNotInstantiate = 0x1, + ExtensionValidationResultArrestPageLoad = 0x2 + } ExtensionValidationResults; + + + +extern RPC_IF_HANDLE __MIDL_itf_extensionvalidation_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_extensionvalidation_0000_0000_v0_0_s_ifspec; + +#ifndef __IExtensionValidation_INTERFACE_DEFINED__ +#define __IExtensionValidation_INTERFACE_DEFINED__ + +/* interface IExtensionValidation */ +/* [uuid][unique][object][local] */ + + +EXTERN_C const IID IID_IExtensionValidation; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("7d33f73d-8525-4e0f-87db-830288baff44") + IExtensionValidation : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Validate( + /* [in] */ REFGUID extensionGuid, + /* [string][in] */ LPWSTR extensionModulePath, + /* [in] */ DWORD extensionFileVersionMS, + /* [in] */ DWORD extensionFileVersionLS, + /* [in] */ IHTMLDocument2 *htmlDocumentTop, + /* [in] */ IHTMLDocument2 *htmlDocumentSubframe, + /* [in] */ IHTMLElement *htmlElement, + /* [in] */ ExtensionValidationContexts contexts, + /* [out] */ ExtensionValidationResults *results) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisplayName( + /* [string][out] */ LPWSTR *displayName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IExtensionValidationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IExtensionValidation * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IExtensionValidation * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IExtensionValidation * This); + + DECLSPEC_XFGVIRT(IExtensionValidation, Validate) + HRESULT ( STDMETHODCALLTYPE *Validate )( + IExtensionValidation * This, + /* [in] */ REFGUID extensionGuid, + /* [string][in] */ LPWSTR extensionModulePath, + /* [in] */ DWORD extensionFileVersionMS, + /* [in] */ DWORD extensionFileVersionLS, + /* [in] */ IHTMLDocument2 *htmlDocumentTop, + /* [in] */ IHTMLDocument2 *htmlDocumentSubframe, + /* [in] */ IHTMLElement *htmlElement, + /* [in] */ ExtensionValidationContexts contexts, + /* [out] */ ExtensionValidationResults *results); + + DECLSPEC_XFGVIRT(IExtensionValidation, DisplayName) + HRESULT ( STDMETHODCALLTYPE *DisplayName )( + IExtensionValidation * This, + /* [string][out] */ LPWSTR *displayName); + + END_INTERFACE + } IExtensionValidationVtbl; + + interface IExtensionValidation + { + CONST_VTBL struct IExtensionValidationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IExtensionValidation_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IExtensionValidation_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IExtensionValidation_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IExtensionValidation_Validate(This,extensionGuid,extensionModulePath,extensionFileVersionMS,extensionFileVersionLS,htmlDocumentTop,htmlDocumentSubframe,htmlElement,contexts,results) \ + ( (This)->lpVtbl -> Validate(This,extensionGuid,extensionModulePath,extensionFileVersionMS,extensionFileVersionLS,htmlDocumentTop,htmlDocumentSubframe,htmlElement,contexts,results) ) + +#define IExtensionValidation_DisplayName(This,displayName) \ + ( (This)->lpVtbl -> DisplayName(This,displayName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IExtensionValidation_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_extensionvalidation_0000_0001 */ +/* [local] */ + +EXTERN_C GUID CATID_ExtensionValidation; +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_extensionvalidation_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_extensionvalidation_0000_0001_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExtensionValidation.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExtensionValidation.idl new file mode 100644 index 0000000000000000000000000000000000000000..2c6d444332301dba4ef66dd9994df5433ce00a19 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ExtensionValidation.idl @@ -0,0 +1,69 @@ +/******************************************************* + * * + * Copyright (C) Microsoft. All rights reserved. * + * * + *******************************************************/ +cpp_quote("/*******************************************************") +cpp_quote(" * *") +cpp_quote(" * Copyright (C) Microsoft. All rights reserved. *") +cpp_quote(" * *") +cpp_quote(" *******************************************************/") +cpp_quote("#ifdef _MSC_VER") +cpp_quote("#pragma once") +cpp_quote("#endif") +cpp_quote("") +cpp_quote("#pragma comment(lib,\"uuid.lib\")") +cpp_quote("") +cpp_quote("#include ") + +import "oaidl.idl"; +import "ocidl.idl"; +import "Mshtml.idl"; + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +typedef enum ExtensionValidationContexts +{ + ExtensionValidationContextNone = 0x00, + ExtensionValidationContextDynamic = 0x01, + ExtensionValidationContextParsed = 0x02, +} ExtensionValidationContexts; + +typedef enum ExtensionValidationResults +{ + ExtensionValidationResultNone = 0x00, + ExtensionValidationResultDoNotInstantiate = 0x01, + ExtensionValidationResultArrestPageLoad = 0x02, +} ExtensionValidationResults; + +//------------------------------------------------------------------------- +// +// IExtensionValidation +// +//------------------------------------------------------------------------- +[ + local, + object, + pointer_default(unique), + uuid(7d33f73d-8525-4e0f-87db-830288baff44) +] +interface IExtensionValidation : IUnknown +{ + HRESULT Validate([in] REFGUID extensionGuid, + [in, string] LPWSTR extensionModulePath, + [in] DWORD extensionFileVersionMS, + [in] DWORD extensionFileVersionLS, + [in] IHTMLDocument2* htmlDocumentTop, + [in] IHTMLDocument2* htmlDocumentSubframe, + [in] IHTMLElement* htmlElement, + [in] ExtensionValidationContexts contexts, + [out] ExtensionValidationResults* results); + + HRESULT DisplayName([out, string] LPWSTR* displayName); +}; + +cpp_quote("EXTERN_C GUID CATID_ExtensionValidation;") + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion \ No newline at end of file diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxCom.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxCom.h new file mode 100644 index 0000000000000000000000000000000000000000..8d50e0dc68cba56cd822ffd1a7375a55bfe4ef49 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxCom.h @@ -0,0 +1,3700 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __faxcom_h__ +#define __faxcom_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFaxTiff_FWD_DEFINED__ +#define __IFaxTiff_FWD_DEFINED__ +typedef interface IFaxTiff IFaxTiff; + +#endif /* __IFaxTiff_FWD_DEFINED__ */ + + +#ifndef __IFaxServer_FWD_DEFINED__ +#define __IFaxServer_FWD_DEFINED__ +typedef interface IFaxServer IFaxServer; + +#endif /* __IFaxServer_FWD_DEFINED__ */ + + +#ifndef __IFaxPort_FWD_DEFINED__ +#define __IFaxPort_FWD_DEFINED__ +typedef interface IFaxPort IFaxPort; + +#endif /* __IFaxPort_FWD_DEFINED__ */ + + +#ifndef __IFaxPorts_FWD_DEFINED__ +#define __IFaxPorts_FWD_DEFINED__ +typedef interface IFaxPorts IFaxPorts; + +#endif /* __IFaxPorts_FWD_DEFINED__ */ + + +#ifndef __IFaxRoutingMethod_FWD_DEFINED__ +#define __IFaxRoutingMethod_FWD_DEFINED__ +typedef interface IFaxRoutingMethod IFaxRoutingMethod; + +#endif /* __IFaxRoutingMethod_FWD_DEFINED__ */ + + +#ifndef __IFaxRoutingMethods_FWD_DEFINED__ +#define __IFaxRoutingMethods_FWD_DEFINED__ +typedef interface IFaxRoutingMethods IFaxRoutingMethods; + +#endif /* __IFaxRoutingMethods_FWD_DEFINED__ */ + + +#ifndef __IFaxStatus_FWD_DEFINED__ +#define __IFaxStatus_FWD_DEFINED__ +typedef interface IFaxStatus IFaxStatus; + +#endif /* __IFaxStatus_FWD_DEFINED__ */ + + +#ifndef __IFaxDoc_FWD_DEFINED__ +#define __IFaxDoc_FWD_DEFINED__ +typedef interface IFaxDoc IFaxDoc; + +#endif /* __IFaxDoc_FWD_DEFINED__ */ + + +#ifndef __IFaxJobs_FWD_DEFINED__ +#define __IFaxJobs_FWD_DEFINED__ +typedef interface IFaxJobs IFaxJobs; + +#endif /* __IFaxJobs_FWD_DEFINED__ */ + + +#ifndef __IFaxJob_FWD_DEFINED__ +#define __IFaxJob_FWD_DEFINED__ +typedef interface IFaxJob IFaxJob; + +#endif /* __IFaxJob_FWD_DEFINED__ */ + + +#ifndef __FaxTiff_FWD_DEFINED__ +#define __FaxTiff_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxTiff FaxTiff; +#else +typedef struct FaxTiff FaxTiff; +#endif /* __cplusplus */ + +#endif /* __FaxTiff_FWD_DEFINED__ */ + + +#ifndef __FaxServer_FWD_DEFINED__ +#define __FaxServer_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxServer FaxServer; +#else +typedef struct FaxServer FaxServer; +#endif /* __cplusplus */ + +#endif /* __FaxServer_FWD_DEFINED__ */ + + +#ifndef __FaxPort_FWD_DEFINED__ +#define __FaxPort_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxPort FaxPort; +#else +typedef struct FaxPort FaxPort; +#endif /* __cplusplus */ + +#endif /* __FaxPort_FWD_DEFINED__ */ + + +#ifndef __FaxPorts_FWD_DEFINED__ +#define __FaxPorts_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxPorts FaxPorts; +#else +typedef struct FaxPorts FaxPorts; +#endif /* __cplusplus */ + +#endif /* __FaxPorts_FWD_DEFINED__ */ + + +#ifndef __FaxRoutingMethod_FWD_DEFINED__ +#define __FaxRoutingMethod_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxRoutingMethod FaxRoutingMethod; +#else +typedef struct FaxRoutingMethod FaxRoutingMethod; +#endif /* __cplusplus */ + +#endif /* __FaxRoutingMethod_FWD_DEFINED__ */ + + +#ifndef __FaxRoutingMethods_FWD_DEFINED__ +#define __FaxRoutingMethods_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxRoutingMethods FaxRoutingMethods; +#else +typedef struct FaxRoutingMethods FaxRoutingMethods; +#endif /* __cplusplus */ + +#endif /* __FaxRoutingMethods_FWD_DEFINED__ */ + + +#ifndef __FaxStatus_FWD_DEFINED__ +#define __FaxStatus_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxStatus FaxStatus; +#else +typedef struct FaxStatus FaxStatus; +#endif /* __cplusplus */ + +#endif /* __FaxStatus_FWD_DEFINED__ */ + + +#ifndef __FaxDoc_FWD_DEFINED__ +#define __FaxDoc_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDoc FaxDoc; +#else +typedef struct FaxDoc FaxDoc; +#endif /* __cplusplus */ + +#endif /* __FaxDoc_FWD_DEFINED__ */ + + +#ifndef __FaxJobs_FWD_DEFINED__ +#define __FaxJobs_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxJobs FaxJobs; +#else +typedef struct FaxJobs FaxJobs; +#endif /* __cplusplus */ + +#endif /* __FaxJobs_FWD_DEFINED__ */ + + +#ifndef __FaxJob_FWD_DEFINED__ +#define __FaxJob_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxJob FaxJob; +#else +typedef struct FaxJob FaxJob; +#endif /* __cplusplus */ + +#endif /* __FaxJob_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_faxcom_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +extern RPC_IF_HANDLE __MIDL_itf_faxcom_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_faxcom_0000_0000_v0_0_s_ifspec; + +#ifndef __IFaxTiff_INTERFACE_DEFINED__ +#define __IFaxTiff_INTERFACE_DEFINED__ + +/* interface IFaxTiff */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxTiff; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("b19bb45f-b91c-11d1-83e1-00c04fb6e984") + IFaxTiff : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiveTime( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Image( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Image( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Routing( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallerId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Csid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tsid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientNumber( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RawReceiveTime( + /* [retval][out] */ __RPC__out VARIANT *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TiffTagString( + /* [in] */ int tagID, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxTiffVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxTiff * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxTiff * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxTiff * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxTiff * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxTiff * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxTiff * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxTiff * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxTiff, get_ReceiveTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiveTime )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_Image) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Image )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, put_Image) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Image )( + __RPC__in IFaxTiff * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_RecipientName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientName )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_SenderName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderName )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_Routing) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Routing )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_CallerId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallerId )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_Csid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Csid )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_Tsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tsid )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_RecipientNumber) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientNumber )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_RawReceiveTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RawReceiveTime )( + __RPC__in IFaxTiff * This, + /* [retval][out] */ __RPC__out VARIANT *pVal); + + DECLSPEC_XFGVIRT(IFaxTiff, get_TiffTagString) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TiffTagString )( + __RPC__in IFaxTiff * This, + /* [in] */ int tagID, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + END_INTERFACE + } IFaxTiffVtbl; + + interface IFaxTiff + { + CONST_VTBL struct IFaxTiffVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxTiff_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxTiff_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxTiff_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxTiff_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxTiff_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxTiff_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxTiff_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxTiff_get_ReceiveTime(This,pVal) \ + ( (This)->lpVtbl -> get_ReceiveTime(This,pVal) ) + +#define IFaxTiff_get_Image(This,pVal) \ + ( (This)->lpVtbl -> get_Image(This,pVal) ) + +#define IFaxTiff_put_Image(This,newVal) \ + ( (This)->lpVtbl -> put_Image(This,newVal) ) + +#define IFaxTiff_get_RecipientName(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientName(This,pVal) ) + +#define IFaxTiff_get_SenderName(This,pVal) \ + ( (This)->lpVtbl -> get_SenderName(This,pVal) ) + +#define IFaxTiff_get_Routing(This,pVal) \ + ( (This)->lpVtbl -> get_Routing(This,pVal) ) + +#define IFaxTiff_get_CallerId(This,pVal) \ + ( (This)->lpVtbl -> get_CallerId(This,pVal) ) + +#define IFaxTiff_get_Csid(This,pVal) \ + ( (This)->lpVtbl -> get_Csid(This,pVal) ) + +#define IFaxTiff_get_Tsid(This,pVal) \ + ( (This)->lpVtbl -> get_Tsid(This,pVal) ) + +#define IFaxTiff_get_RecipientNumber(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientNumber(This,pVal) ) + +#define IFaxTiff_get_RawReceiveTime(This,pVal) \ + ( (This)->lpVtbl -> get_RawReceiveTime(This,pVal) ) + +#define IFaxTiff_get_TiffTagString(This,tagID,pVal) \ + ( (This)->lpVtbl -> get_TiffTagString(This,tagID,pVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxTiff_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxServer_INTERFACE_DEFINED__ +#define __IFaxServer_INTERFACE_DEFINED__ + +/* interface IFaxServer */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxServer; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("D73733C7-CC80-11D0-B225-00C04FB6C2F5") + IFaxServer : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect( + __RPC__in BSTR ServerName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPorts( + /* [retval][out] */ __RPC__out VARIANT *retval) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateDocument( + __RPC__in BSTR FileName, + /* [retval][out] */ __RPC__out VARIANT *retval) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJobs( + /* [retval][out] */ __RPC__out VARIANT *retval) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Retries( + /* [in] */ long newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RetryDelay( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RetryDelay( + /* [in] */ long newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DirtyDays( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DirtyDays( + /* [in] */ long newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Branding( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Branding( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseDeviceTsid( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseDeviceTsid( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServerCoverpage( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ServerCoverpage( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PauseServerQueue( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PauseServerQueue( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveOutboundFaxes( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ArchiveOutboundFaxes( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveDirectory( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ArchiveDirectory( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServerMapiProfile( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ServerMapiProfile( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateStartHour( + /* [retval][out] */ __RPC__out short *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateStartHour( + /* [in] */ short newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateStartMinute( + /* [retval][out] */ __RPC__out short *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateStartMinute( + /* [in] */ short newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateEndHour( + /* [retval][out] */ __RPC__out short *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateEndHour( + /* [in] */ short newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateEndMinute( + /* [retval][out] */ __RPC__out short *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateEndMinute( + /* [in] */ short newVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxServerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxServer * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxServer * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxServer * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxServer * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxServer * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxServer, Connect) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )( + __RPC__in IFaxServer * This, + __RPC__in BSTR ServerName); + + DECLSPEC_XFGVIRT(IFaxServer, Disconnect) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )( + __RPC__in IFaxServer * This); + + DECLSPEC_XFGVIRT(IFaxServer, GetPorts) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPorts )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out VARIANT *retval); + + DECLSPEC_XFGVIRT(IFaxServer, CreateDocument) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateDocument )( + __RPC__in IFaxServer * This, + __RPC__in BSTR FileName, + /* [retval][out] */ __RPC__out VARIANT *retval); + + DECLSPEC_XFGVIRT(IFaxServer, GetJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJobs )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out VARIANT *retval); + + DECLSPEC_XFGVIRT(IFaxServer, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_Retries) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Retries )( + __RPC__in IFaxServer * This, + /* [in] */ long newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_RetryDelay) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetryDelay )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_RetryDelay) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RetryDelay )( + __RPC__in IFaxServer * This, + /* [in] */ long newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_DirtyDays) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DirtyDays )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_DirtyDays) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DirtyDays )( + __RPC__in IFaxServer * This, + /* [in] */ long newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_Branding) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Branding )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_Branding) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Branding )( + __RPC__in IFaxServer * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_UseDeviceTsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseDeviceTsid )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_UseDeviceTsid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseDeviceTsid )( + __RPC__in IFaxServer * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_ServerCoverpage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServerCoverpage )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_ServerCoverpage) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ServerCoverpage )( + __RPC__in IFaxServer * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_PauseServerQueue) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PauseServerQueue )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_PauseServerQueue) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PauseServerQueue )( + __RPC__in IFaxServer * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_ArchiveOutboundFaxes) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveOutboundFaxes )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_ArchiveOutboundFaxes) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ArchiveOutboundFaxes )( + __RPC__in IFaxServer * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_ArchiveDirectory) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveDirectory )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_ArchiveDirectory) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ArchiveDirectory )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_ServerMapiProfile) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServerMapiProfile )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_ServerMapiProfile) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ServerMapiProfile )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_DiscountRateStartHour) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateStartHour )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out short *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_DiscountRateStartHour) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateStartHour )( + __RPC__in IFaxServer * This, + /* [in] */ short newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_DiscountRateStartMinute) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateStartMinute )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out short *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_DiscountRateStartMinute) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateStartMinute )( + __RPC__in IFaxServer * This, + /* [in] */ short newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_DiscountRateEndHour) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateEndHour )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out short *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_DiscountRateEndHour) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateEndHour )( + __RPC__in IFaxServer * This, + /* [in] */ short newVal); + + DECLSPEC_XFGVIRT(IFaxServer, get_DiscountRateEndMinute) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateEndMinute )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out short *pVal); + + DECLSPEC_XFGVIRT(IFaxServer, put_DiscountRateEndMinute) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateEndMinute )( + __RPC__in IFaxServer * This, + /* [in] */ short newVal); + + END_INTERFACE + } IFaxServerVtbl; + + interface IFaxServer + { + CONST_VTBL struct IFaxServerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxServer_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxServer_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxServer_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxServer_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxServer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxServer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxServer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxServer_Connect(This,ServerName) \ + ( (This)->lpVtbl -> Connect(This,ServerName) ) + +#define IFaxServer_Disconnect(This) \ + ( (This)->lpVtbl -> Disconnect(This) ) + +#define IFaxServer_GetPorts(This,retval) \ + ( (This)->lpVtbl -> GetPorts(This,retval) ) + +#define IFaxServer_CreateDocument(This,FileName,retval) \ + ( (This)->lpVtbl -> CreateDocument(This,FileName,retval) ) + +#define IFaxServer_GetJobs(This,retval) \ + ( (This)->lpVtbl -> GetJobs(This,retval) ) + +#define IFaxServer_get_Retries(This,pVal) \ + ( (This)->lpVtbl -> get_Retries(This,pVal) ) + +#define IFaxServer_put_Retries(This,newVal) \ + ( (This)->lpVtbl -> put_Retries(This,newVal) ) + +#define IFaxServer_get_RetryDelay(This,pVal) \ + ( (This)->lpVtbl -> get_RetryDelay(This,pVal) ) + +#define IFaxServer_put_RetryDelay(This,newVal) \ + ( (This)->lpVtbl -> put_RetryDelay(This,newVal) ) + +#define IFaxServer_get_DirtyDays(This,pVal) \ + ( (This)->lpVtbl -> get_DirtyDays(This,pVal) ) + +#define IFaxServer_put_DirtyDays(This,newVal) \ + ( (This)->lpVtbl -> put_DirtyDays(This,newVal) ) + +#define IFaxServer_get_Branding(This,pVal) \ + ( (This)->lpVtbl -> get_Branding(This,pVal) ) + +#define IFaxServer_put_Branding(This,newVal) \ + ( (This)->lpVtbl -> put_Branding(This,newVal) ) + +#define IFaxServer_get_UseDeviceTsid(This,pVal) \ + ( (This)->lpVtbl -> get_UseDeviceTsid(This,pVal) ) + +#define IFaxServer_put_UseDeviceTsid(This,newVal) \ + ( (This)->lpVtbl -> put_UseDeviceTsid(This,newVal) ) + +#define IFaxServer_get_ServerCoverpage(This,pVal) \ + ( (This)->lpVtbl -> get_ServerCoverpage(This,pVal) ) + +#define IFaxServer_put_ServerCoverpage(This,newVal) \ + ( (This)->lpVtbl -> put_ServerCoverpage(This,newVal) ) + +#define IFaxServer_get_PauseServerQueue(This,pVal) \ + ( (This)->lpVtbl -> get_PauseServerQueue(This,pVal) ) + +#define IFaxServer_put_PauseServerQueue(This,newVal) \ + ( (This)->lpVtbl -> put_PauseServerQueue(This,newVal) ) + +#define IFaxServer_get_ArchiveOutboundFaxes(This,pVal) \ + ( (This)->lpVtbl -> get_ArchiveOutboundFaxes(This,pVal) ) + +#define IFaxServer_put_ArchiveOutboundFaxes(This,newVal) \ + ( (This)->lpVtbl -> put_ArchiveOutboundFaxes(This,newVal) ) + +#define IFaxServer_get_ArchiveDirectory(This,pVal) \ + ( (This)->lpVtbl -> get_ArchiveDirectory(This,pVal) ) + +#define IFaxServer_put_ArchiveDirectory(This,newVal) \ + ( (This)->lpVtbl -> put_ArchiveDirectory(This,newVal) ) + +#define IFaxServer_get_ServerMapiProfile(This,pVal) \ + ( (This)->lpVtbl -> get_ServerMapiProfile(This,pVal) ) + +#define IFaxServer_put_ServerMapiProfile(This,newVal) \ + ( (This)->lpVtbl -> put_ServerMapiProfile(This,newVal) ) + +#define IFaxServer_get_DiscountRateStartHour(This,pVal) \ + ( (This)->lpVtbl -> get_DiscountRateStartHour(This,pVal) ) + +#define IFaxServer_put_DiscountRateStartHour(This,newVal) \ + ( (This)->lpVtbl -> put_DiscountRateStartHour(This,newVal) ) + +#define IFaxServer_get_DiscountRateStartMinute(This,pVal) \ + ( (This)->lpVtbl -> get_DiscountRateStartMinute(This,pVal) ) + +#define IFaxServer_put_DiscountRateStartMinute(This,newVal) \ + ( (This)->lpVtbl -> put_DiscountRateStartMinute(This,newVal) ) + +#define IFaxServer_get_DiscountRateEndHour(This,pVal) \ + ( (This)->lpVtbl -> get_DiscountRateEndHour(This,pVal) ) + +#define IFaxServer_put_DiscountRateEndHour(This,newVal) \ + ( (This)->lpVtbl -> put_DiscountRateEndHour(This,newVal) ) + +#define IFaxServer_get_DiscountRateEndMinute(This,pVal) \ + ( (This)->lpVtbl -> get_DiscountRateEndMinute(This,pVal) ) + +#define IFaxServer_put_DiscountRateEndMinute(This,newVal) \ + ( (This)->lpVtbl -> put_DiscountRateEndMinute(This,newVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxServer_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxPort_INTERFACE_DEFINED__ +#define __IFaxPort_INTERFACE_DEFINED__ + +/* interface IFaxPort */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxPort; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("D73733CC-CC80-11D0-B225-00C04FB6C2F5") + IFaxPort : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Rings( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Rings( + /* [in] */ long newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Csid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Csid( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tsid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Tsid( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Send( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Send( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Receive( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Receive( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Priority( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Priority( + /* [in] */ long newVal) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRoutingMethods( + /* [retval][out] */ __RPC__out VARIANT *retval) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CanModify( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetStatus( + /* [retval][out] */ __RPC__out VARIANT *retval) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxPortVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxPort * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxPort * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxPort * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxPort * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxPort * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxPort * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxPort * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxPort, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_Rings) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rings )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, put_Rings) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Rings )( + __RPC__in IFaxPort * This, + /* [in] */ long newVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_Csid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Csid )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, put_Csid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Csid )( + __RPC__in IFaxPort * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_Tsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tsid )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, put_Tsid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Tsid )( + __RPC__in IFaxPort * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_Send) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Send )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, put_Send) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Send )( + __RPC__in IFaxPort * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_Receive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Receive )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, put_Receive) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Receive )( + __RPC__in IFaxPort * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxPort, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, put_Priority) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )( + __RPC__in IFaxPort * This, + /* [in] */ long newVal); + + DECLSPEC_XFGVIRT(IFaxPort, GetRoutingMethods) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRoutingMethods )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out VARIANT *retval); + + DECLSPEC_XFGVIRT(IFaxPort, get_CanModify) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CanModify )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxPort, GetStatus) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetStatus )( + __RPC__in IFaxPort * This, + /* [retval][out] */ __RPC__out VARIANT *retval); + + END_INTERFACE + } IFaxPortVtbl; + + interface IFaxPort + { + CONST_VTBL struct IFaxPortVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxPort_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxPort_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxPort_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxPort_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxPort_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxPort_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxPort_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxPort_get_Name(This,pVal) \ + ( (This)->lpVtbl -> get_Name(This,pVal) ) + +#define IFaxPort_get_DeviceId(This,pVal) \ + ( (This)->lpVtbl -> get_DeviceId(This,pVal) ) + +#define IFaxPort_get_Rings(This,pVal) \ + ( (This)->lpVtbl -> get_Rings(This,pVal) ) + +#define IFaxPort_put_Rings(This,newVal) \ + ( (This)->lpVtbl -> put_Rings(This,newVal) ) + +#define IFaxPort_get_Csid(This,pVal) \ + ( (This)->lpVtbl -> get_Csid(This,pVal) ) + +#define IFaxPort_put_Csid(This,newVal) \ + ( (This)->lpVtbl -> put_Csid(This,newVal) ) + +#define IFaxPort_get_Tsid(This,pVal) \ + ( (This)->lpVtbl -> get_Tsid(This,pVal) ) + +#define IFaxPort_put_Tsid(This,newVal) \ + ( (This)->lpVtbl -> put_Tsid(This,newVal) ) + +#define IFaxPort_get_Send(This,pVal) \ + ( (This)->lpVtbl -> get_Send(This,pVal) ) + +#define IFaxPort_put_Send(This,newVal) \ + ( (This)->lpVtbl -> put_Send(This,newVal) ) + +#define IFaxPort_get_Receive(This,pVal) \ + ( (This)->lpVtbl -> get_Receive(This,pVal) ) + +#define IFaxPort_put_Receive(This,newVal) \ + ( (This)->lpVtbl -> put_Receive(This,newVal) ) + +#define IFaxPort_get_Priority(This,pVal) \ + ( (This)->lpVtbl -> get_Priority(This,pVal) ) + +#define IFaxPort_put_Priority(This,newVal) \ + ( (This)->lpVtbl -> put_Priority(This,newVal) ) + +#define IFaxPort_GetRoutingMethods(This,retval) \ + ( (This)->lpVtbl -> GetRoutingMethods(This,retval) ) + +#define IFaxPort_get_CanModify(This,pVal) \ + ( (This)->lpVtbl -> get_CanModify(This,pVal) ) + +#define IFaxPort_GetStatus(This,retval) \ + ( (This)->lpVtbl -> GetStatus(This,retval) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxPort_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxPorts_INTERFACE_DEFINED__ +#define __IFaxPorts_INTERFACE_DEFINED__ + +/* interface IFaxPorts */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxPorts; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("D73733D5-CC80-11D0-B225-00C04FB6C2F5") + IFaxPorts : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( + long Index, + /* [retval][out] */ __RPC__out VARIANT *pVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxPortsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxPorts * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxPorts * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxPorts * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxPorts * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxPorts * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxPorts * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxPorts * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxPorts, get_Count) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxPorts * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxPorts, get_Item) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxPorts * This, + long Index, + /* [retval][out] */ __RPC__out VARIANT *pVal); + + END_INTERFACE + } IFaxPortsVtbl; + + interface IFaxPorts + { + CONST_VTBL struct IFaxPortsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxPorts_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxPorts_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxPorts_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxPorts_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxPorts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxPorts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxPorts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxPorts_get_Count(This,pVal) \ + ( (This)->lpVtbl -> get_Count(This,pVal) ) + +#define IFaxPorts_get_Item(This,Index,pVal) \ + ( (This)->lpVtbl -> get_Item(This,Index,pVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxPorts_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxRoutingMethod_INTERFACE_DEFINED__ +#define __IFaxRoutingMethod_INTERFACE_DEFINED__ + +/* interface IFaxRoutingMethod */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxRoutingMethod; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2199F5F3-CEFC-11D0-A341-0000F800E68D") + IFaxRoutingMethod : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enable( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enable( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Guid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FunctionName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ImageName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtensionName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RoutingData( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxRoutingMethodVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxRoutingMethod * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxRoutingMethod * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxRoutingMethod * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxRoutingMethod * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxRoutingMethod * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxRoutingMethod * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxRoutingMethod * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_Enable) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enable )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, put_Enable) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enable )( + __RPC__in IFaxRoutingMethod * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_Guid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Guid )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_FunctionName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FunctionName )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_ImageName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ImageName )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_FriendlyName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FriendlyName )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_ExtensionName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtensionName )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethod, get_RoutingData) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingData )( + __RPC__in IFaxRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + END_INTERFACE + } IFaxRoutingMethodVtbl; + + interface IFaxRoutingMethod + { + CONST_VTBL struct IFaxRoutingMethodVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxRoutingMethod_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxRoutingMethod_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxRoutingMethod_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxRoutingMethod_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxRoutingMethod_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxRoutingMethod_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxRoutingMethod_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxRoutingMethod_get_DeviceId(This,pVal) \ + ( (This)->lpVtbl -> get_DeviceId(This,pVal) ) + +#define IFaxRoutingMethod_get_Enable(This,pVal) \ + ( (This)->lpVtbl -> get_Enable(This,pVal) ) + +#define IFaxRoutingMethod_put_Enable(This,newVal) \ + ( (This)->lpVtbl -> put_Enable(This,newVal) ) + +#define IFaxRoutingMethod_get_DeviceName(This,pVal) \ + ( (This)->lpVtbl -> get_DeviceName(This,pVal) ) + +#define IFaxRoutingMethod_get_Guid(This,pVal) \ + ( (This)->lpVtbl -> get_Guid(This,pVal) ) + +#define IFaxRoutingMethod_get_FunctionName(This,pVal) \ + ( (This)->lpVtbl -> get_FunctionName(This,pVal) ) + +#define IFaxRoutingMethod_get_ImageName(This,pVal) \ + ( (This)->lpVtbl -> get_ImageName(This,pVal) ) + +#define IFaxRoutingMethod_get_FriendlyName(This,pVal) \ + ( (This)->lpVtbl -> get_FriendlyName(This,pVal) ) + +#define IFaxRoutingMethod_get_ExtensionName(This,pVal) \ + ( (This)->lpVtbl -> get_ExtensionName(This,pVal) ) + +#define IFaxRoutingMethod_get_RoutingData(This,pVal) \ + ( (This)->lpVtbl -> get_RoutingData(This,pVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxRoutingMethod_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxRoutingMethods_INTERFACE_DEFINED__ +#define __IFaxRoutingMethods_INTERFACE_DEFINED__ + +/* interface IFaxRoutingMethods */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxRoutingMethods; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2199F5F5-CEFC-11D0-A341-0000F800E68D") + IFaxRoutingMethods : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ long Index, + /* [retval][out] */ __RPC__out VARIANT *pVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxRoutingMethodsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxRoutingMethods * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxRoutingMethods * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxRoutingMethods * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxRoutingMethods * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxRoutingMethods * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxRoutingMethods * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxRoutingMethods * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxRoutingMethods, get_Count) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxRoutingMethods * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxRoutingMethods, get_Item) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxRoutingMethods * This, + /* [in] */ long Index, + /* [retval][out] */ __RPC__out VARIANT *pVal); + + END_INTERFACE + } IFaxRoutingMethodsVtbl; + + interface IFaxRoutingMethods + { + CONST_VTBL struct IFaxRoutingMethodsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxRoutingMethods_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxRoutingMethods_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxRoutingMethods_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxRoutingMethods_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxRoutingMethods_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxRoutingMethods_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxRoutingMethods_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxRoutingMethods_get_Count(This,pVal) \ + ( (This)->lpVtbl -> get_Count(This,pVal) ) + +#define IFaxRoutingMethods_get_Item(This,Index,pVal) \ + ( (This)->lpVtbl -> get_Item(This,Index,pVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxRoutingMethods_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxStatus_INTERFACE_DEFINED__ +#define __IFaxStatus_INTERFACE_DEFINED__ + +/* interface IFaxStatus */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxStatus; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8B97E605-D054-11D0-B226-00C04FB6C2F5") + IFaxStatus : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallerId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Csid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPage( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DocumentName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Send( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Receive( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RoutingString( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DocumentSize( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PageCount( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tsid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_StartTime( + /* [retval][out] */ __RPC__out DATE *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubmittedTime( + /* [retval][out] */ __RPC__out DATE *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ElapsedTime( + /* [retval][out] */ __RPC__out DATE *pVal) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxStatusVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxStatus * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxStatus * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxStatus * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxStatus * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxStatus * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxStatus * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxStatus * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxStatus, get_CallerId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallerId )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_Csid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Csid )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_CurrentPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPage )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_Send) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Send )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_Receive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Receive )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_Address) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_RoutingString) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingString )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_SenderName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderName )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_RecipientName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientName )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_DocumentSize) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentSize )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_PageCount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PageCount )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_Tsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tsid )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_StartTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StartTime )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out DATE *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_SubmittedTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmittedTime )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out DATE *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, get_ElapsedTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ElapsedTime )( + __RPC__in IFaxStatus * This, + /* [retval][out] */ __RPC__out DATE *pVal); + + DECLSPEC_XFGVIRT(IFaxStatus, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxStatus * This); + + END_INTERFACE + } IFaxStatusVtbl; + + interface IFaxStatus + { + CONST_VTBL struct IFaxStatusVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxStatus_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxStatus_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxStatus_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxStatus_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxStatus_get_CallerId(This,pVal) \ + ( (This)->lpVtbl -> get_CallerId(This,pVal) ) + +#define IFaxStatus_get_Csid(This,pVal) \ + ( (This)->lpVtbl -> get_Csid(This,pVal) ) + +#define IFaxStatus_get_CurrentPage(This,pVal) \ + ( (This)->lpVtbl -> get_CurrentPage(This,pVal) ) + +#define IFaxStatus_get_DeviceId(This,pVal) \ + ( (This)->lpVtbl -> get_DeviceId(This,pVal) ) + +#define IFaxStatus_get_DeviceName(This,pVal) \ + ( (This)->lpVtbl -> get_DeviceName(This,pVal) ) + +#define IFaxStatus_get_DocumentName(This,pVal) \ + ( (This)->lpVtbl -> get_DocumentName(This,pVal) ) + +#define IFaxStatus_get_Send(This,pVal) \ + ( (This)->lpVtbl -> get_Send(This,pVal) ) + +#define IFaxStatus_get_Receive(This,pVal) \ + ( (This)->lpVtbl -> get_Receive(This,pVal) ) + +#define IFaxStatus_get_Address(This,pVal) \ + ( (This)->lpVtbl -> get_Address(This,pVal) ) + +#define IFaxStatus_get_RoutingString(This,pVal) \ + ( (This)->lpVtbl -> get_RoutingString(This,pVal) ) + +#define IFaxStatus_get_SenderName(This,pVal) \ + ( (This)->lpVtbl -> get_SenderName(This,pVal) ) + +#define IFaxStatus_get_RecipientName(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientName(This,pVal) ) + +#define IFaxStatus_get_DocumentSize(This,pVal) \ + ( (This)->lpVtbl -> get_DocumentSize(This,pVal) ) + +#define IFaxStatus_get_Description(This,pVal) \ + ( (This)->lpVtbl -> get_Description(This,pVal) ) + +#define IFaxStatus_get_PageCount(This,pVal) \ + ( (This)->lpVtbl -> get_PageCount(This,pVal) ) + +#define IFaxStatus_get_Tsid(This,pVal) \ + ( (This)->lpVtbl -> get_Tsid(This,pVal) ) + +#define IFaxStatus_get_StartTime(This,pVal) \ + ( (This)->lpVtbl -> get_StartTime(This,pVal) ) + +#define IFaxStatus_get_SubmittedTime(This,pVal) \ + ( (This)->lpVtbl -> get_SubmittedTime(This,pVal) ) + +#define IFaxStatus_get_ElapsedTime(This,pVal) \ + ( (This)->lpVtbl -> get_ElapsedTime(This,pVal) ) + +#define IFaxStatus_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxStatus_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDoc_INTERFACE_DEFINED__ +#define __IFaxDoc_INTERFACE_DEFINED__ + +/* interface IFaxDoc */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxDoc; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("FA21F4C5-5C4C-11D1-83CF-00C04FB6E984") + IFaxDoc : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileName( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CoverpageName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CoverpageName( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SendCoverpage( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SendCoverpage( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServerCoverpage( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ServerCoverpage( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountSend( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountSend( + /* [in] */ BOOL newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientName( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientCompany( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientCompany( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientAddress( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientCity( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientCity( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientState( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientState( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientZip( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientZip( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientCountry( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientCountry( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientTitle( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientTitle( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientDepartment( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientDepartment( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientOffice( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientOffice( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientHomePhone( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientHomePhone( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientOfficePhone( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RecipientOfficePhone( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderName( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderCompany( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderCompany( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderAddress( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderTitle( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderTitle( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderDepartment( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderDepartment( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderOffice( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderOffice( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderHomePhone( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderHomePhone( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderOfficePhone( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderOfficePhone( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CoverpageNote( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CoverpageNote( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CoverpageSubject( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CoverpageSubject( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tsid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Tsid( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BillingCode( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BillingCode( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EmailAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EmailAddress( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DisplayName( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Send( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FaxNumber( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FaxNumber( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propputref] */ HRESULT STDMETHODCALLTYPE putref_ConnectionObject( + /* [in] */ __RPC__in_opt IDispatch *newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHandle( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallHandle( + /* [in] */ long newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderFax( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderFax( + /* [in] */ __RPC__in BSTR newVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDocVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDoc * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDoc * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDoc * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDoc * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDoc * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDoc, get_FileName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileName )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_FileName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileName )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_CoverpageName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverpageName )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_CoverpageName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverpageName )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SendCoverpage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SendCoverpage )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SendCoverpage) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SendCoverpage )( + __RPC__in IFaxDoc * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_ServerCoverpage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServerCoverpage )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_ServerCoverpage) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ServerCoverpage )( + __RPC__in IFaxDoc * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_DiscountSend) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountSend )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_DiscountSend) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountSend )( + __RPC__in IFaxDoc * This, + /* [in] */ BOOL newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientName )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientName )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientCompany) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientCompany )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientCompany) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientCompany )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientAddress )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientAddress) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientAddress )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientCity) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientCity )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientCity) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientCity )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientState) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientState )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientState) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientState )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientZip) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientZip )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientZip) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientZip )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientCountry) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientCountry )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientCountry) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientCountry )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientTitle) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientTitle )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientTitle) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientTitle )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientDepartment) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientDepartment )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientDepartment) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientDepartment )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientOffice) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientOffice )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientOffice) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientOffice )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientHomePhone) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientHomePhone )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientHomePhone) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientHomePhone )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_RecipientOfficePhone) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientOfficePhone )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_RecipientOfficePhone) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RecipientOfficePhone )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderName )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderName )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderCompany) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderCompany )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderCompany) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderCompany )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderAddress )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderAddress) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderAddress )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderTitle) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderTitle )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderTitle) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderTitle )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderDepartment) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderDepartment )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderDepartment) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderDepartment )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderOffice) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderOffice )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderOffice) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderOffice )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderHomePhone) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderHomePhone )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderHomePhone) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderHomePhone )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderOfficePhone) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderOfficePhone )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderOfficePhone) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderOfficePhone )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_CoverpageNote) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverpageNote )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_CoverpageNote) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverpageNote )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_CoverpageSubject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverpageSubject )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_CoverpageSubject) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverpageSubject )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_Tsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tsid )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_Tsid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Tsid )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_BillingCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BillingCode )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_BillingCode) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BillingCode )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_EmailAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EmailAddress )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_EmailAddress) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EmailAddress )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_DisplayName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_DisplayName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayName )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, Send) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Send )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_FaxNumber) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FaxNumber )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_FaxNumber) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FaxNumber )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, putref_ConnectionObject) + /* [helpstring][id][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_ConnectionObject )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in_opt IDispatch *newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_CallHandle) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHandle )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_CallHandle) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallHandle )( + __RPC__in IFaxDoc * This, + /* [in] */ long newVal); + + DECLSPEC_XFGVIRT(IFaxDoc, get_SenderFax) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderFax )( + __RPC__in IFaxDoc * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxDoc, put_SenderFax) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderFax )( + __RPC__in IFaxDoc * This, + /* [in] */ __RPC__in BSTR newVal); + + END_INTERFACE + } IFaxDocVtbl; + + interface IFaxDoc + { + CONST_VTBL struct IFaxDocVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDoc_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDoc_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDoc_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDoc_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDoc_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDoc_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDoc_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDoc_get_FileName(This,pVal) \ + ( (This)->lpVtbl -> get_FileName(This,pVal) ) + +#define IFaxDoc_put_FileName(This,newVal) \ + ( (This)->lpVtbl -> put_FileName(This,newVal) ) + +#define IFaxDoc_get_CoverpageName(This,pVal) \ + ( (This)->lpVtbl -> get_CoverpageName(This,pVal) ) + +#define IFaxDoc_put_CoverpageName(This,newVal) \ + ( (This)->lpVtbl -> put_CoverpageName(This,newVal) ) + +#define IFaxDoc_get_SendCoverpage(This,pVal) \ + ( (This)->lpVtbl -> get_SendCoverpage(This,pVal) ) + +#define IFaxDoc_put_SendCoverpage(This,newVal) \ + ( (This)->lpVtbl -> put_SendCoverpage(This,newVal) ) + +#define IFaxDoc_get_ServerCoverpage(This,pVal) \ + ( (This)->lpVtbl -> get_ServerCoverpage(This,pVal) ) + +#define IFaxDoc_put_ServerCoverpage(This,newVal) \ + ( (This)->lpVtbl -> put_ServerCoverpage(This,newVal) ) + +#define IFaxDoc_get_DiscountSend(This,pVal) \ + ( (This)->lpVtbl -> get_DiscountSend(This,pVal) ) + +#define IFaxDoc_put_DiscountSend(This,newVal) \ + ( (This)->lpVtbl -> put_DiscountSend(This,newVal) ) + +#define IFaxDoc_get_RecipientName(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientName(This,pVal) ) + +#define IFaxDoc_put_RecipientName(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientName(This,newVal) ) + +#define IFaxDoc_get_RecipientCompany(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientCompany(This,pVal) ) + +#define IFaxDoc_put_RecipientCompany(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientCompany(This,newVal) ) + +#define IFaxDoc_get_RecipientAddress(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientAddress(This,pVal) ) + +#define IFaxDoc_put_RecipientAddress(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientAddress(This,newVal) ) + +#define IFaxDoc_get_RecipientCity(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientCity(This,pVal) ) + +#define IFaxDoc_put_RecipientCity(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientCity(This,newVal) ) + +#define IFaxDoc_get_RecipientState(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientState(This,pVal) ) + +#define IFaxDoc_put_RecipientState(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientState(This,newVal) ) + +#define IFaxDoc_get_RecipientZip(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientZip(This,pVal) ) + +#define IFaxDoc_put_RecipientZip(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientZip(This,newVal) ) + +#define IFaxDoc_get_RecipientCountry(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientCountry(This,pVal) ) + +#define IFaxDoc_put_RecipientCountry(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientCountry(This,newVal) ) + +#define IFaxDoc_get_RecipientTitle(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientTitle(This,pVal) ) + +#define IFaxDoc_put_RecipientTitle(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientTitle(This,newVal) ) + +#define IFaxDoc_get_RecipientDepartment(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientDepartment(This,pVal) ) + +#define IFaxDoc_put_RecipientDepartment(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientDepartment(This,newVal) ) + +#define IFaxDoc_get_RecipientOffice(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientOffice(This,pVal) ) + +#define IFaxDoc_put_RecipientOffice(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientOffice(This,newVal) ) + +#define IFaxDoc_get_RecipientHomePhone(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientHomePhone(This,pVal) ) + +#define IFaxDoc_put_RecipientHomePhone(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientHomePhone(This,newVal) ) + +#define IFaxDoc_get_RecipientOfficePhone(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientOfficePhone(This,pVal) ) + +#define IFaxDoc_put_RecipientOfficePhone(This,newVal) \ + ( (This)->lpVtbl -> put_RecipientOfficePhone(This,newVal) ) + +#define IFaxDoc_get_SenderName(This,pVal) \ + ( (This)->lpVtbl -> get_SenderName(This,pVal) ) + +#define IFaxDoc_put_SenderName(This,newVal) \ + ( (This)->lpVtbl -> put_SenderName(This,newVal) ) + +#define IFaxDoc_get_SenderCompany(This,pVal) \ + ( (This)->lpVtbl -> get_SenderCompany(This,pVal) ) + +#define IFaxDoc_put_SenderCompany(This,newVal) \ + ( (This)->lpVtbl -> put_SenderCompany(This,newVal) ) + +#define IFaxDoc_get_SenderAddress(This,pVal) \ + ( (This)->lpVtbl -> get_SenderAddress(This,pVal) ) + +#define IFaxDoc_put_SenderAddress(This,newVal) \ + ( (This)->lpVtbl -> put_SenderAddress(This,newVal) ) + +#define IFaxDoc_get_SenderTitle(This,pVal) \ + ( (This)->lpVtbl -> get_SenderTitle(This,pVal) ) + +#define IFaxDoc_put_SenderTitle(This,newVal) \ + ( (This)->lpVtbl -> put_SenderTitle(This,newVal) ) + +#define IFaxDoc_get_SenderDepartment(This,pVal) \ + ( (This)->lpVtbl -> get_SenderDepartment(This,pVal) ) + +#define IFaxDoc_put_SenderDepartment(This,newVal) \ + ( (This)->lpVtbl -> put_SenderDepartment(This,newVal) ) + +#define IFaxDoc_get_SenderOffice(This,pVal) \ + ( (This)->lpVtbl -> get_SenderOffice(This,pVal) ) + +#define IFaxDoc_put_SenderOffice(This,newVal) \ + ( (This)->lpVtbl -> put_SenderOffice(This,newVal) ) + +#define IFaxDoc_get_SenderHomePhone(This,pVal) \ + ( (This)->lpVtbl -> get_SenderHomePhone(This,pVal) ) + +#define IFaxDoc_put_SenderHomePhone(This,newVal) \ + ( (This)->lpVtbl -> put_SenderHomePhone(This,newVal) ) + +#define IFaxDoc_get_SenderOfficePhone(This,pVal) \ + ( (This)->lpVtbl -> get_SenderOfficePhone(This,pVal) ) + +#define IFaxDoc_put_SenderOfficePhone(This,newVal) \ + ( (This)->lpVtbl -> put_SenderOfficePhone(This,newVal) ) + +#define IFaxDoc_get_CoverpageNote(This,pVal) \ + ( (This)->lpVtbl -> get_CoverpageNote(This,pVal) ) + +#define IFaxDoc_put_CoverpageNote(This,newVal) \ + ( (This)->lpVtbl -> put_CoverpageNote(This,newVal) ) + +#define IFaxDoc_get_CoverpageSubject(This,pVal) \ + ( (This)->lpVtbl -> get_CoverpageSubject(This,pVal) ) + +#define IFaxDoc_put_CoverpageSubject(This,newVal) \ + ( (This)->lpVtbl -> put_CoverpageSubject(This,newVal) ) + +#define IFaxDoc_get_Tsid(This,pVal) \ + ( (This)->lpVtbl -> get_Tsid(This,pVal) ) + +#define IFaxDoc_put_Tsid(This,newVal) \ + ( (This)->lpVtbl -> put_Tsid(This,newVal) ) + +#define IFaxDoc_get_BillingCode(This,pVal) \ + ( (This)->lpVtbl -> get_BillingCode(This,pVal) ) + +#define IFaxDoc_put_BillingCode(This,newVal) \ + ( (This)->lpVtbl -> put_BillingCode(This,newVal) ) + +#define IFaxDoc_get_EmailAddress(This,pVal) \ + ( (This)->lpVtbl -> get_EmailAddress(This,pVal) ) + +#define IFaxDoc_put_EmailAddress(This,newVal) \ + ( (This)->lpVtbl -> put_EmailAddress(This,newVal) ) + +#define IFaxDoc_get_DisplayName(This,pVal) \ + ( (This)->lpVtbl -> get_DisplayName(This,pVal) ) + +#define IFaxDoc_put_DisplayName(This,newVal) \ + ( (This)->lpVtbl -> put_DisplayName(This,newVal) ) + +#define IFaxDoc_Send(This,pVal) \ + ( (This)->lpVtbl -> Send(This,pVal) ) + +#define IFaxDoc_get_FaxNumber(This,pVal) \ + ( (This)->lpVtbl -> get_FaxNumber(This,pVal) ) + +#define IFaxDoc_put_FaxNumber(This,newVal) \ + ( (This)->lpVtbl -> put_FaxNumber(This,newVal) ) + +#define IFaxDoc_putref_ConnectionObject(This,newVal) \ + ( (This)->lpVtbl -> putref_ConnectionObject(This,newVal) ) + +#define IFaxDoc_get_CallHandle(This,pVal) \ + ( (This)->lpVtbl -> get_CallHandle(This,pVal) ) + +#define IFaxDoc_put_CallHandle(This,newVal) \ + ( (This)->lpVtbl -> put_CallHandle(This,newVal) ) + +#define IFaxDoc_get_SenderFax(This,pVal) \ + ( (This)->lpVtbl -> get_SenderFax(This,pVal) ) + +#define IFaxDoc_put_SenderFax(This,newVal) \ + ( (This)->lpVtbl -> put_SenderFax(This,newVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDoc_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxJobs_INTERFACE_DEFINED__ +#define __IFaxJobs_INTERFACE_DEFINED__ + +/* interface IFaxJobs */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxJobs; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("55DABFD3-5C9E-11D1-B791-000000000000") + IFaxJobs : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( + long Index, + /* [retval][out] */ __RPC__out VARIANT *pVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxJobsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxJobs * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxJobs * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxJobs * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxJobs * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxJobs * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxJobs * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxJobs * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxJobs, get_Count) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxJobs * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxJobs, get_Item) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxJobs * This, + long Index, + /* [retval][out] */ __RPC__out VARIANT *pVal); + + END_INTERFACE + } IFaxJobsVtbl; + + interface IFaxJobs + { + CONST_VTBL struct IFaxJobsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxJobs_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxJobs_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxJobs_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxJobs_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxJobs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxJobs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxJobs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxJobs_get_Count(This,pVal) \ + ( (This)->lpVtbl -> get_Count(This,pVal) ) + +#define IFaxJobs_get_Item(This,Index,pVal) \ + ( (This)->lpVtbl -> get_Item(This,Index,pVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxJobs_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxJob_INTERFACE_DEFINED__ +#define __IFaxJob_INTERFACE_DEFINED__ + +/* interface IFaxJob */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxJob; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("55DABFD5-5C9E-11D1-B791-000000000000") + IFaxJob : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_JobId( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QueueStatus( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceStatus( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PageCount( + /* [retval][out] */ __RPC__out long *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FaxNumber( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RecipientName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tsid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderCompany( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderDept( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BillingCode( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountSend( + /* [retval][out] */ __RPC__out BOOL *pVal) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetStatus( + long Command) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxJobVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxJob * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxJob * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxJob * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxJob * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxJob * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxJob, get_JobId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_JobId )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_UserName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserName )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_QueueStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueueStatus )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_DeviceStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceStatus )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_PageCount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PageCount )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__out long *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_FaxNumber) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FaxNumber )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_RecipientName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RecipientName )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_Tsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tsid )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_SenderName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderName )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_SenderCompany) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderCompany )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_SenderDept) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderDept )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_BillingCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BillingCode )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_DisplayName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, get_DiscountSend) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountSend )( + __RPC__in IFaxJob * This, + /* [retval][out] */ __RPC__out BOOL *pVal); + + DECLSPEC_XFGVIRT(IFaxJob, SetStatus) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetStatus )( + __RPC__in IFaxJob * This, + long Command); + + DECLSPEC_XFGVIRT(IFaxJob, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxJob * This); + + END_INTERFACE + } IFaxJobVtbl; + + interface IFaxJob + { + CONST_VTBL struct IFaxJobVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxJob_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxJob_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxJob_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxJob_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxJob_get_JobId(This,pVal) \ + ( (This)->lpVtbl -> get_JobId(This,pVal) ) + +#define IFaxJob_get_Type(This,pVal) \ + ( (This)->lpVtbl -> get_Type(This,pVal) ) + +#define IFaxJob_get_UserName(This,pVal) \ + ( (This)->lpVtbl -> get_UserName(This,pVal) ) + +#define IFaxJob_get_QueueStatus(This,pVal) \ + ( (This)->lpVtbl -> get_QueueStatus(This,pVal) ) + +#define IFaxJob_get_DeviceStatus(This,pVal) \ + ( (This)->lpVtbl -> get_DeviceStatus(This,pVal) ) + +#define IFaxJob_get_PageCount(This,pVal) \ + ( (This)->lpVtbl -> get_PageCount(This,pVal) ) + +#define IFaxJob_get_FaxNumber(This,pVal) \ + ( (This)->lpVtbl -> get_FaxNumber(This,pVal) ) + +#define IFaxJob_get_RecipientName(This,pVal) \ + ( (This)->lpVtbl -> get_RecipientName(This,pVal) ) + +#define IFaxJob_get_Tsid(This,pVal) \ + ( (This)->lpVtbl -> get_Tsid(This,pVal) ) + +#define IFaxJob_get_SenderName(This,pVal) \ + ( (This)->lpVtbl -> get_SenderName(This,pVal) ) + +#define IFaxJob_get_SenderCompany(This,pVal) \ + ( (This)->lpVtbl -> get_SenderCompany(This,pVal) ) + +#define IFaxJob_get_SenderDept(This,pVal) \ + ( (This)->lpVtbl -> get_SenderDept(This,pVal) ) + +#define IFaxJob_get_BillingCode(This,pVal) \ + ( (This)->lpVtbl -> get_BillingCode(This,pVal) ) + +#define IFaxJob_get_DisplayName(This,pVal) \ + ( (This)->lpVtbl -> get_DisplayName(This,pVal) ) + +#define IFaxJob_get_DiscountSend(This,pVal) \ + ( (This)->lpVtbl -> get_DiscountSend(This,pVal) ) + +#define IFaxJob_SetStatus(This,Command) \ + ( (This)->lpVtbl -> SetStatus(This,Command) ) + +#define IFaxJob_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxJob_INTERFACE_DEFINED__ */ + + + +#ifndef __FAXCOMLib_LIBRARY_DEFINED__ +#define __FAXCOMLib_LIBRARY_DEFINED__ + +/* library FAXCOMLib */ +/* [helpstring][version][uuid] */ + + +EXTERN_C const IID LIBID_FAXCOMLib; + +EXTERN_C const CLSID CLSID_FaxTiff; + +#ifdef __cplusplus + +class DECLSPEC_UUID("87099231-C7AF-11D0-B225-00C04FB6C2F5") +FaxTiff; +#endif + +EXTERN_C const CLSID CLSID_FaxServer; + +#ifdef __cplusplus + +class DECLSPEC_UUID("D73733C8-CC80-11D0-B225-00C04FB6C2F5") +FaxServer; +#endif + +EXTERN_C const CLSID CLSID_FaxPort; + +#ifdef __cplusplus + +class DECLSPEC_UUID("D73733CD-CC80-11D0-B225-00C04FB6C2F5") +FaxPort; +#endif + +EXTERN_C const CLSID CLSID_FaxPorts; + +#ifdef __cplusplus + +class DECLSPEC_UUID("D73733D6-CC80-11D0-B225-00C04FB6C2F5") +FaxPorts; +#endif + +EXTERN_C const CLSID CLSID_FaxRoutingMethod; + +#ifdef __cplusplus + +class DECLSPEC_UUID("2199F5F4-CEFC-11D0-A341-0000F800E68D") +FaxRoutingMethod; +#endif + +EXTERN_C const CLSID CLSID_FaxRoutingMethods; + +#ifdef __cplusplus + +class DECLSPEC_UUID("2199F5F6-CEFC-11D0-A341-0000F800E68D") +FaxRoutingMethods; +#endif + +EXTERN_C const CLSID CLSID_FaxStatus; + +#ifdef __cplusplus + +class DECLSPEC_UUID("8B97E606-D054-11D0-B226-00C04FB6C2F5") +FaxStatus; +#endif + +EXTERN_C const CLSID CLSID_FaxDoc; + +#ifdef __cplusplus + +class DECLSPEC_UUID("FA21F4C6-5C4C-11D1-83CF-00C04FB6E984") +FaxDoc; +#endif + +EXTERN_C const CLSID CLSID_FaxJobs; + +#ifdef __cplusplus + +class DECLSPEC_UUID("55DABFD4-5C9E-11D1-B791-000000000000") +FaxJobs; +#endif + +EXTERN_C const CLSID CLSID_FaxJob; + +#ifdef __cplusplus + +class DECLSPEC_UUID("55DABFD6-5C9E-11D1-B791-000000000000") +FaxJob; +#endif +#endif /* __FAXCOMLib_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_faxcom_0000_0011 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_faxcom_0000_0011_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_faxcom_0000_0011_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxComEx.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxComEx.h new file mode 100644 index 0000000000000000000000000000000000000000..a292250693a26e58b0abe9a9c576a8f5e2ed7a33 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxComEx.h @@ -0,0 +1,17089 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __faxcomex_h__ +#define __faxcomex_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFaxJobStatus_FWD_DEFINED__ +#define __IFaxJobStatus_FWD_DEFINED__ +typedef interface IFaxJobStatus IFaxJobStatus; + +#endif /* __IFaxJobStatus_FWD_DEFINED__ */ + + +#ifndef __IFaxServer_FWD_DEFINED__ +#define __IFaxServer_FWD_DEFINED__ +typedef interface IFaxServer IFaxServer; + +#endif /* __IFaxServer_FWD_DEFINED__ */ + + +#ifndef __IFaxDeviceProviders_FWD_DEFINED__ +#define __IFaxDeviceProviders_FWD_DEFINED__ +typedef interface IFaxDeviceProviders IFaxDeviceProviders; + +#endif /* __IFaxDeviceProviders_FWD_DEFINED__ */ + + +#ifndef __IFaxDevices_FWD_DEFINED__ +#define __IFaxDevices_FWD_DEFINED__ +typedef interface IFaxDevices IFaxDevices; + +#endif /* __IFaxDevices_FWD_DEFINED__ */ + + +#ifndef __IFaxInboundRouting_FWD_DEFINED__ +#define __IFaxInboundRouting_FWD_DEFINED__ +typedef interface IFaxInboundRouting IFaxInboundRouting; + +#endif /* __IFaxInboundRouting_FWD_DEFINED__ */ + + +#ifndef __IFaxFolders_FWD_DEFINED__ +#define __IFaxFolders_FWD_DEFINED__ +typedef interface IFaxFolders IFaxFolders; + +#endif /* __IFaxFolders_FWD_DEFINED__ */ + + +#ifndef __IFaxLoggingOptions_FWD_DEFINED__ +#define __IFaxLoggingOptions_FWD_DEFINED__ +typedef interface IFaxLoggingOptions IFaxLoggingOptions; + +#endif /* __IFaxLoggingOptions_FWD_DEFINED__ */ + + +#ifndef __IFaxActivity_FWD_DEFINED__ +#define __IFaxActivity_FWD_DEFINED__ +typedef interface IFaxActivity IFaxActivity; + +#endif /* __IFaxActivity_FWD_DEFINED__ */ + + +#ifndef __IFaxOutboundRouting_FWD_DEFINED__ +#define __IFaxOutboundRouting_FWD_DEFINED__ +typedef interface IFaxOutboundRouting IFaxOutboundRouting; + +#endif /* __IFaxOutboundRouting_FWD_DEFINED__ */ + + +#ifndef __IFaxReceiptOptions_FWD_DEFINED__ +#define __IFaxReceiptOptions_FWD_DEFINED__ +typedef interface IFaxReceiptOptions IFaxReceiptOptions; + +#endif /* __IFaxReceiptOptions_FWD_DEFINED__ */ + + +#ifndef __IFaxSecurity_FWD_DEFINED__ +#define __IFaxSecurity_FWD_DEFINED__ +typedef interface IFaxSecurity IFaxSecurity; + +#endif /* __IFaxSecurity_FWD_DEFINED__ */ + + +#ifndef __IFaxDocument_FWD_DEFINED__ +#define __IFaxDocument_FWD_DEFINED__ +typedef interface IFaxDocument IFaxDocument; + +#endif /* __IFaxDocument_FWD_DEFINED__ */ + + +#ifndef __IFaxSender_FWD_DEFINED__ +#define __IFaxSender_FWD_DEFINED__ +typedef interface IFaxSender IFaxSender; + +#endif /* __IFaxSender_FWD_DEFINED__ */ + + +#ifndef __IFaxRecipient_FWD_DEFINED__ +#define __IFaxRecipient_FWD_DEFINED__ +typedef interface IFaxRecipient IFaxRecipient; + +#endif /* __IFaxRecipient_FWD_DEFINED__ */ + + +#ifndef __IFaxRecipients_FWD_DEFINED__ +#define __IFaxRecipients_FWD_DEFINED__ +typedef interface IFaxRecipients IFaxRecipients; + +#endif /* __IFaxRecipients_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingArchive_FWD_DEFINED__ +#define __IFaxIncomingArchive_FWD_DEFINED__ +typedef interface IFaxIncomingArchive IFaxIncomingArchive; + +#endif /* __IFaxIncomingArchive_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingQueue_FWD_DEFINED__ +#define __IFaxIncomingQueue_FWD_DEFINED__ +typedef interface IFaxIncomingQueue IFaxIncomingQueue; + +#endif /* __IFaxIncomingQueue_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingArchive_FWD_DEFINED__ +#define __IFaxOutgoingArchive_FWD_DEFINED__ +typedef interface IFaxOutgoingArchive IFaxOutgoingArchive; + +#endif /* __IFaxOutgoingArchive_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingQueue_FWD_DEFINED__ +#define __IFaxOutgoingQueue_FWD_DEFINED__ +typedef interface IFaxOutgoingQueue IFaxOutgoingQueue; + +#endif /* __IFaxOutgoingQueue_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingMessageIterator_FWD_DEFINED__ +#define __IFaxIncomingMessageIterator_FWD_DEFINED__ +typedef interface IFaxIncomingMessageIterator IFaxIncomingMessageIterator; + +#endif /* __IFaxIncomingMessageIterator_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingMessage_FWD_DEFINED__ +#define __IFaxIncomingMessage_FWD_DEFINED__ +typedef interface IFaxIncomingMessage IFaxIncomingMessage; + +#endif /* __IFaxIncomingMessage_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingJobs_FWD_DEFINED__ +#define __IFaxOutgoingJobs_FWD_DEFINED__ +typedef interface IFaxOutgoingJobs IFaxOutgoingJobs; + +#endif /* __IFaxOutgoingJobs_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingJob_FWD_DEFINED__ +#define __IFaxOutgoingJob_FWD_DEFINED__ +typedef interface IFaxOutgoingJob IFaxOutgoingJob; + +#endif /* __IFaxOutgoingJob_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingMessageIterator_FWD_DEFINED__ +#define __IFaxOutgoingMessageIterator_FWD_DEFINED__ +typedef interface IFaxOutgoingMessageIterator IFaxOutgoingMessageIterator; + +#endif /* __IFaxOutgoingMessageIterator_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingMessage_FWD_DEFINED__ +#define __IFaxOutgoingMessage_FWD_DEFINED__ +typedef interface IFaxOutgoingMessage IFaxOutgoingMessage; + +#endif /* __IFaxOutgoingMessage_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingJobs_FWD_DEFINED__ +#define __IFaxIncomingJobs_FWD_DEFINED__ +typedef interface IFaxIncomingJobs IFaxIncomingJobs; + +#endif /* __IFaxIncomingJobs_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingJob_FWD_DEFINED__ +#define __IFaxIncomingJob_FWD_DEFINED__ +typedef interface IFaxIncomingJob IFaxIncomingJob; + +#endif /* __IFaxIncomingJob_FWD_DEFINED__ */ + + +#ifndef __IFaxDeviceProvider_FWD_DEFINED__ +#define __IFaxDeviceProvider_FWD_DEFINED__ +typedef interface IFaxDeviceProvider IFaxDeviceProvider; + +#endif /* __IFaxDeviceProvider_FWD_DEFINED__ */ + + +#ifndef __IFaxDevice_FWD_DEFINED__ +#define __IFaxDevice_FWD_DEFINED__ +typedef interface IFaxDevice IFaxDevice; + +#endif /* __IFaxDevice_FWD_DEFINED__ */ + + +#ifndef __IFaxActivityLogging_FWD_DEFINED__ +#define __IFaxActivityLogging_FWD_DEFINED__ +typedef interface IFaxActivityLogging IFaxActivityLogging; + +#endif /* __IFaxActivityLogging_FWD_DEFINED__ */ + + +#ifndef __IFaxEventLogging_FWD_DEFINED__ +#define __IFaxEventLogging_FWD_DEFINED__ +typedef interface IFaxEventLogging IFaxEventLogging; + +#endif /* __IFaxEventLogging_FWD_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingGroups_FWD_DEFINED__ +#define __IFaxOutboundRoutingGroups_FWD_DEFINED__ +typedef interface IFaxOutboundRoutingGroups IFaxOutboundRoutingGroups; + +#endif /* __IFaxOutboundRoutingGroups_FWD_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingGroup_FWD_DEFINED__ +#define __IFaxOutboundRoutingGroup_FWD_DEFINED__ +typedef interface IFaxOutboundRoutingGroup IFaxOutboundRoutingGroup; + +#endif /* __IFaxOutboundRoutingGroup_FWD_DEFINED__ */ + + +#ifndef __IFaxDeviceIds_FWD_DEFINED__ +#define __IFaxDeviceIds_FWD_DEFINED__ +typedef interface IFaxDeviceIds IFaxDeviceIds; + +#endif /* __IFaxDeviceIds_FWD_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingRules_FWD_DEFINED__ +#define __IFaxOutboundRoutingRules_FWD_DEFINED__ +typedef interface IFaxOutboundRoutingRules IFaxOutboundRoutingRules; + +#endif /* __IFaxOutboundRoutingRules_FWD_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingRule_FWD_DEFINED__ +#define __IFaxOutboundRoutingRule_FWD_DEFINED__ +typedef interface IFaxOutboundRoutingRule IFaxOutboundRoutingRule; + +#endif /* __IFaxOutboundRoutingRule_FWD_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingExtensions_FWD_DEFINED__ +#define __IFaxInboundRoutingExtensions_FWD_DEFINED__ +typedef interface IFaxInboundRoutingExtensions IFaxInboundRoutingExtensions; + +#endif /* __IFaxInboundRoutingExtensions_FWD_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingExtension_FWD_DEFINED__ +#define __IFaxInboundRoutingExtension_FWD_DEFINED__ +typedef interface IFaxInboundRoutingExtension IFaxInboundRoutingExtension; + +#endif /* __IFaxInboundRoutingExtension_FWD_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingMethods_FWD_DEFINED__ +#define __IFaxInboundRoutingMethods_FWD_DEFINED__ +typedef interface IFaxInboundRoutingMethods IFaxInboundRoutingMethods; + +#endif /* __IFaxInboundRoutingMethods_FWD_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingMethod_FWD_DEFINED__ +#define __IFaxInboundRoutingMethod_FWD_DEFINED__ +typedef interface IFaxInboundRoutingMethod IFaxInboundRoutingMethod; + +#endif /* __IFaxInboundRoutingMethod_FWD_DEFINED__ */ + + +#ifndef __IFaxDocument2_FWD_DEFINED__ +#define __IFaxDocument2_FWD_DEFINED__ +typedef interface IFaxDocument2 IFaxDocument2; + +#endif /* __IFaxDocument2_FWD_DEFINED__ */ + + +#ifndef __IFaxConfiguration_FWD_DEFINED__ +#define __IFaxConfiguration_FWD_DEFINED__ +typedef interface IFaxConfiguration IFaxConfiguration; + +#endif /* __IFaxConfiguration_FWD_DEFINED__ */ + + +#ifndef __IFaxServer2_FWD_DEFINED__ +#define __IFaxServer2_FWD_DEFINED__ +typedef interface IFaxServer2 IFaxServer2; + +#endif /* __IFaxServer2_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountSet_FWD_DEFINED__ +#define __IFaxAccountSet_FWD_DEFINED__ +typedef interface IFaxAccountSet IFaxAccountSet; + +#endif /* __IFaxAccountSet_FWD_DEFINED__ */ + + +#ifndef __IFaxAccounts_FWD_DEFINED__ +#define __IFaxAccounts_FWD_DEFINED__ +typedef interface IFaxAccounts IFaxAccounts; + +#endif /* __IFaxAccounts_FWD_DEFINED__ */ + + +#ifndef __IFaxAccount_FWD_DEFINED__ +#define __IFaxAccount_FWD_DEFINED__ +typedef interface IFaxAccount IFaxAccount; + +#endif /* __IFaxAccount_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingJob2_FWD_DEFINED__ +#define __IFaxOutgoingJob2_FWD_DEFINED__ +typedef interface IFaxOutgoingJob2 IFaxOutgoingJob2; + +#endif /* __IFaxOutgoingJob2_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountFolders_FWD_DEFINED__ +#define __IFaxAccountFolders_FWD_DEFINED__ +typedef interface IFaxAccountFolders IFaxAccountFolders; + +#endif /* __IFaxAccountFolders_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountIncomingQueue_FWD_DEFINED__ +#define __IFaxAccountIncomingQueue_FWD_DEFINED__ +typedef interface IFaxAccountIncomingQueue IFaxAccountIncomingQueue; + +#endif /* __IFaxAccountIncomingQueue_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountOutgoingQueue_FWD_DEFINED__ +#define __IFaxAccountOutgoingQueue_FWD_DEFINED__ +typedef interface IFaxAccountOutgoingQueue IFaxAccountOutgoingQueue; + +#endif /* __IFaxAccountOutgoingQueue_FWD_DEFINED__ */ + + +#ifndef __IFaxOutgoingMessage2_FWD_DEFINED__ +#define __IFaxOutgoingMessage2_FWD_DEFINED__ +typedef interface IFaxOutgoingMessage2 IFaxOutgoingMessage2; + +#endif /* __IFaxOutgoingMessage2_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountIncomingArchive_FWD_DEFINED__ +#define __IFaxAccountIncomingArchive_FWD_DEFINED__ +typedef interface IFaxAccountIncomingArchive IFaxAccountIncomingArchive; + +#endif /* __IFaxAccountIncomingArchive_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountOutgoingArchive_FWD_DEFINED__ +#define __IFaxAccountOutgoingArchive_FWD_DEFINED__ +typedef interface IFaxAccountOutgoingArchive IFaxAccountOutgoingArchive; + +#endif /* __IFaxAccountOutgoingArchive_FWD_DEFINED__ */ + + +#ifndef __IFaxSecurity2_FWD_DEFINED__ +#define __IFaxSecurity2_FWD_DEFINED__ +typedef interface IFaxSecurity2 IFaxSecurity2; + +#endif /* __IFaxSecurity2_FWD_DEFINED__ */ + + +#ifndef __IFaxIncomingMessage2_FWD_DEFINED__ +#define __IFaxIncomingMessage2_FWD_DEFINED__ +typedef interface IFaxIncomingMessage2 IFaxIncomingMessage2; + +#endif /* __IFaxIncomingMessage2_FWD_DEFINED__ */ + + +#ifndef __IFaxServerNotify_FWD_DEFINED__ +#define __IFaxServerNotify_FWD_DEFINED__ +typedef interface IFaxServerNotify IFaxServerNotify; + +#endif /* __IFaxServerNotify_FWD_DEFINED__ */ + + +#ifndef ___IFaxServerNotify2_FWD_DEFINED__ +#define ___IFaxServerNotify2_FWD_DEFINED__ +typedef interface _IFaxServerNotify2 _IFaxServerNotify2; + +#endif /* ___IFaxServerNotify2_FWD_DEFINED__ */ + + +#ifndef __IFaxServerNotify2_FWD_DEFINED__ +#define __IFaxServerNotify2_FWD_DEFINED__ +typedef interface IFaxServerNotify2 IFaxServerNotify2; + +#endif /* __IFaxServerNotify2_FWD_DEFINED__ */ + + +#ifndef ___IFaxAccountNotify_FWD_DEFINED__ +#define ___IFaxAccountNotify_FWD_DEFINED__ +typedef interface _IFaxAccountNotify _IFaxAccountNotify; + +#endif /* ___IFaxAccountNotify_FWD_DEFINED__ */ + + +#ifndef __IFaxAccountNotify_FWD_DEFINED__ +#define __IFaxAccountNotify_FWD_DEFINED__ +typedef interface IFaxAccountNotify IFaxAccountNotify; + +#endif /* __IFaxAccountNotify_FWD_DEFINED__ */ + + +#ifndef __FaxServer_FWD_DEFINED__ +#define __FaxServer_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxServer FaxServer; +#else +typedef struct FaxServer FaxServer; +#endif /* __cplusplus */ + +#endif /* __FaxServer_FWD_DEFINED__ */ + + +#ifndef __FaxDeviceProviders_FWD_DEFINED__ +#define __FaxDeviceProviders_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDeviceProviders FaxDeviceProviders; +#else +typedef struct FaxDeviceProviders FaxDeviceProviders; +#endif /* __cplusplus */ + +#endif /* __FaxDeviceProviders_FWD_DEFINED__ */ + + +#ifndef __FaxDevices_FWD_DEFINED__ +#define __FaxDevices_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDevices FaxDevices; +#else +typedef struct FaxDevices FaxDevices; +#endif /* __cplusplus */ + +#endif /* __FaxDevices_FWD_DEFINED__ */ + + +#ifndef __FaxInboundRouting_FWD_DEFINED__ +#define __FaxInboundRouting_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxInboundRouting FaxInboundRouting; +#else +typedef struct FaxInboundRouting FaxInboundRouting; +#endif /* __cplusplus */ + +#endif /* __FaxInboundRouting_FWD_DEFINED__ */ + + +#ifndef __FaxFolders_FWD_DEFINED__ +#define __FaxFolders_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxFolders FaxFolders; +#else +typedef struct FaxFolders FaxFolders; +#endif /* __cplusplus */ + +#endif /* __FaxFolders_FWD_DEFINED__ */ + + +#ifndef __FaxLoggingOptions_FWD_DEFINED__ +#define __FaxLoggingOptions_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxLoggingOptions FaxLoggingOptions; +#else +typedef struct FaxLoggingOptions FaxLoggingOptions; +#endif /* __cplusplus */ + +#endif /* __FaxLoggingOptions_FWD_DEFINED__ */ + + +#ifndef __FaxActivity_FWD_DEFINED__ +#define __FaxActivity_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxActivity FaxActivity; +#else +typedef struct FaxActivity FaxActivity; +#endif /* __cplusplus */ + +#endif /* __FaxActivity_FWD_DEFINED__ */ + + +#ifndef __FaxOutboundRouting_FWD_DEFINED__ +#define __FaxOutboundRouting_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutboundRouting FaxOutboundRouting; +#else +typedef struct FaxOutboundRouting FaxOutboundRouting; +#endif /* __cplusplus */ + +#endif /* __FaxOutboundRouting_FWD_DEFINED__ */ + + +#ifndef __FaxReceiptOptions_FWD_DEFINED__ +#define __FaxReceiptOptions_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxReceiptOptions FaxReceiptOptions; +#else +typedef struct FaxReceiptOptions FaxReceiptOptions; +#endif /* __cplusplus */ + +#endif /* __FaxReceiptOptions_FWD_DEFINED__ */ + + +#ifndef __FaxSecurity_FWD_DEFINED__ +#define __FaxSecurity_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxSecurity FaxSecurity; +#else +typedef struct FaxSecurity FaxSecurity; +#endif /* __cplusplus */ + +#endif /* __FaxSecurity_FWD_DEFINED__ */ + + +#ifndef __FaxDocument_FWD_DEFINED__ +#define __FaxDocument_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDocument FaxDocument; +#else +typedef struct FaxDocument FaxDocument; +#endif /* __cplusplus */ + +#endif /* __FaxDocument_FWD_DEFINED__ */ + + +#ifndef __FaxSender_FWD_DEFINED__ +#define __FaxSender_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxSender FaxSender; +#else +typedef struct FaxSender FaxSender; +#endif /* __cplusplus */ + +#endif /* __FaxSender_FWD_DEFINED__ */ + + +#ifndef __FaxRecipients_FWD_DEFINED__ +#define __FaxRecipients_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxRecipients FaxRecipients; +#else +typedef struct FaxRecipients FaxRecipients; +#endif /* __cplusplus */ + +#endif /* __FaxRecipients_FWD_DEFINED__ */ + + +#ifndef __FaxIncomingArchive_FWD_DEFINED__ +#define __FaxIncomingArchive_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxIncomingArchive FaxIncomingArchive; +#else +typedef struct FaxIncomingArchive FaxIncomingArchive; +#endif /* __cplusplus */ + +#endif /* __FaxIncomingArchive_FWD_DEFINED__ */ + + +#ifndef __FaxIncomingQueue_FWD_DEFINED__ +#define __FaxIncomingQueue_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxIncomingQueue FaxIncomingQueue; +#else +typedef struct FaxIncomingQueue FaxIncomingQueue; +#endif /* __cplusplus */ + +#endif /* __FaxIncomingQueue_FWD_DEFINED__ */ + + +#ifndef __FaxOutgoingArchive_FWD_DEFINED__ +#define __FaxOutgoingArchive_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutgoingArchive FaxOutgoingArchive; +#else +typedef struct FaxOutgoingArchive FaxOutgoingArchive; +#endif /* __cplusplus */ + +#endif /* __FaxOutgoingArchive_FWD_DEFINED__ */ + + +#ifndef __FaxOutgoingQueue_FWD_DEFINED__ +#define __FaxOutgoingQueue_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutgoingQueue FaxOutgoingQueue; +#else +typedef struct FaxOutgoingQueue FaxOutgoingQueue; +#endif /* __cplusplus */ + +#endif /* __FaxOutgoingQueue_FWD_DEFINED__ */ + + +#ifndef __FaxIncomingMessageIterator_FWD_DEFINED__ +#define __FaxIncomingMessageIterator_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxIncomingMessageIterator FaxIncomingMessageIterator; +#else +typedef struct FaxIncomingMessageIterator FaxIncomingMessageIterator; +#endif /* __cplusplus */ + +#endif /* __FaxIncomingMessageIterator_FWD_DEFINED__ */ + + +#ifndef __FaxIncomingMessage_FWD_DEFINED__ +#define __FaxIncomingMessage_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxIncomingMessage FaxIncomingMessage; +#else +typedef struct FaxIncomingMessage FaxIncomingMessage; +#endif /* __cplusplus */ + +#endif /* __FaxIncomingMessage_FWD_DEFINED__ */ + + +#ifndef __FaxOutgoingJobs_FWD_DEFINED__ +#define __FaxOutgoingJobs_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutgoingJobs FaxOutgoingJobs; +#else +typedef struct FaxOutgoingJobs FaxOutgoingJobs; +#endif /* __cplusplus */ + +#endif /* __FaxOutgoingJobs_FWD_DEFINED__ */ + + +#ifndef __FaxOutgoingJob_FWD_DEFINED__ +#define __FaxOutgoingJob_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutgoingJob FaxOutgoingJob; +#else +typedef struct FaxOutgoingJob FaxOutgoingJob; +#endif /* __cplusplus */ + +#endif /* __FaxOutgoingJob_FWD_DEFINED__ */ + + +#ifndef __FaxOutgoingMessageIterator_FWD_DEFINED__ +#define __FaxOutgoingMessageIterator_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutgoingMessageIterator FaxOutgoingMessageIterator; +#else +typedef struct FaxOutgoingMessageIterator FaxOutgoingMessageIterator; +#endif /* __cplusplus */ + +#endif /* __FaxOutgoingMessageIterator_FWD_DEFINED__ */ + + +#ifndef __FaxOutgoingMessage_FWD_DEFINED__ +#define __FaxOutgoingMessage_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutgoingMessage FaxOutgoingMessage; +#else +typedef struct FaxOutgoingMessage FaxOutgoingMessage; +#endif /* __cplusplus */ + +#endif /* __FaxOutgoingMessage_FWD_DEFINED__ */ + + +#ifndef __FaxIncomingJobs_FWD_DEFINED__ +#define __FaxIncomingJobs_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxIncomingJobs FaxIncomingJobs; +#else +typedef struct FaxIncomingJobs FaxIncomingJobs; +#endif /* __cplusplus */ + +#endif /* __FaxIncomingJobs_FWD_DEFINED__ */ + + +#ifndef __FaxIncomingJob_FWD_DEFINED__ +#define __FaxIncomingJob_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxIncomingJob FaxIncomingJob; +#else +typedef struct FaxIncomingJob FaxIncomingJob; +#endif /* __cplusplus */ + +#endif /* __FaxIncomingJob_FWD_DEFINED__ */ + + +#ifndef __FaxDeviceProvider_FWD_DEFINED__ +#define __FaxDeviceProvider_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDeviceProvider FaxDeviceProvider; +#else +typedef struct FaxDeviceProvider FaxDeviceProvider; +#endif /* __cplusplus */ + +#endif /* __FaxDeviceProvider_FWD_DEFINED__ */ + + +#ifndef __FaxDevice_FWD_DEFINED__ +#define __FaxDevice_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDevice FaxDevice; +#else +typedef struct FaxDevice FaxDevice; +#endif /* __cplusplus */ + +#endif /* __FaxDevice_FWD_DEFINED__ */ + + +#ifndef __FaxActivityLogging_FWD_DEFINED__ +#define __FaxActivityLogging_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxActivityLogging FaxActivityLogging; +#else +typedef struct FaxActivityLogging FaxActivityLogging; +#endif /* __cplusplus */ + +#endif /* __FaxActivityLogging_FWD_DEFINED__ */ + + +#ifndef __FaxEventLogging_FWD_DEFINED__ +#define __FaxEventLogging_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxEventLogging FaxEventLogging; +#else +typedef struct FaxEventLogging FaxEventLogging; +#endif /* __cplusplus */ + +#endif /* __FaxEventLogging_FWD_DEFINED__ */ + + +#ifndef __FaxOutboundRoutingGroups_FWD_DEFINED__ +#define __FaxOutboundRoutingGroups_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutboundRoutingGroups FaxOutboundRoutingGroups; +#else +typedef struct FaxOutboundRoutingGroups FaxOutboundRoutingGroups; +#endif /* __cplusplus */ + +#endif /* __FaxOutboundRoutingGroups_FWD_DEFINED__ */ + + +#ifndef __FaxOutboundRoutingGroup_FWD_DEFINED__ +#define __FaxOutboundRoutingGroup_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutboundRoutingGroup FaxOutboundRoutingGroup; +#else +typedef struct FaxOutboundRoutingGroup FaxOutboundRoutingGroup; +#endif /* __cplusplus */ + +#endif /* __FaxOutboundRoutingGroup_FWD_DEFINED__ */ + + +#ifndef __FaxDeviceIds_FWD_DEFINED__ +#define __FaxDeviceIds_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxDeviceIds FaxDeviceIds; +#else +typedef struct FaxDeviceIds FaxDeviceIds; +#endif /* __cplusplus */ + +#endif /* __FaxDeviceIds_FWD_DEFINED__ */ + + +#ifndef __FaxOutboundRoutingRules_FWD_DEFINED__ +#define __FaxOutboundRoutingRules_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutboundRoutingRules FaxOutboundRoutingRules; +#else +typedef struct FaxOutboundRoutingRules FaxOutboundRoutingRules; +#endif /* __cplusplus */ + +#endif /* __FaxOutboundRoutingRules_FWD_DEFINED__ */ + + +#ifndef __FaxOutboundRoutingRule_FWD_DEFINED__ +#define __FaxOutboundRoutingRule_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxOutboundRoutingRule FaxOutboundRoutingRule; +#else +typedef struct FaxOutboundRoutingRule FaxOutboundRoutingRule; +#endif /* __cplusplus */ + +#endif /* __FaxOutboundRoutingRule_FWD_DEFINED__ */ + + +#ifndef __FaxInboundRoutingExtensions_FWD_DEFINED__ +#define __FaxInboundRoutingExtensions_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxInboundRoutingExtensions FaxInboundRoutingExtensions; +#else +typedef struct FaxInboundRoutingExtensions FaxInboundRoutingExtensions; +#endif /* __cplusplus */ + +#endif /* __FaxInboundRoutingExtensions_FWD_DEFINED__ */ + + +#ifndef __FaxInboundRoutingExtension_FWD_DEFINED__ +#define __FaxInboundRoutingExtension_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxInboundRoutingExtension FaxInboundRoutingExtension; +#else +typedef struct FaxInboundRoutingExtension FaxInboundRoutingExtension; +#endif /* __cplusplus */ + +#endif /* __FaxInboundRoutingExtension_FWD_DEFINED__ */ + + +#ifndef __FaxInboundRoutingMethods_FWD_DEFINED__ +#define __FaxInboundRoutingMethods_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxInboundRoutingMethods FaxInboundRoutingMethods; +#else +typedef struct FaxInboundRoutingMethods FaxInboundRoutingMethods; +#endif /* __cplusplus */ + +#endif /* __FaxInboundRoutingMethods_FWD_DEFINED__ */ + + +#ifndef __FaxInboundRoutingMethod_FWD_DEFINED__ +#define __FaxInboundRoutingMethod_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxInboundRoutingMethod FaxInboundRoutingMethod; +#else +typedef struct FaxInboundRoutingMethod FaxInboundRoutingMethod; +#endif /* __cplusplus */ + +#endif /* __FaxInboundRoutingMethod_FWD_DEFINED__ */ + + +#ifndef __FaxJobStatus_FWD_DEFINED__ +#define __FaxJobStatus_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxJobStatus FaxJobStatus; +#else +typedef struct FaxJobStatus FaxJobStatus; +#endif /* __cplusplus */ + +#endif /* __FaxJobStatus_FWD_DEFINED__ */ + + +#ifndef __FaxRecipient_FWD_DEFINED__ +#define __FaxRecipient_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxRecipient FaxRecipient; +#else +typedef struct FaxRecipient FaxRecipient; +#endif /* __cplusplus */ + +#endif /* __FaxRecipient_FWD_DEFINED__ */ + + +#ifndef __FaxConfiguration_FWD_DEFINED__ +#define __FaxConfiguration_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxConfiguration FaxConfiguration; +#else +typedef struct FaxConfiguration FaxConfiguration; +#endif /* __cplusplus */ + +#endif /* __FaxConfiguration_FWD_DEFINED__ */ + + +#ifndef __FaxAccountSet_FWD_DEFINED__ +#define __FaxAccountSet_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccountSet FaxAccountSet; +#else +typedef struct FaxAccountSet FaxAccountSet; +#endif /* __cplusplus */ + +#endif /* __FaxAccountSet_FWD_DEFINED__ */ + + +#ifndef __FaxAccounts_FWD_DEFINED__ +#define __FaxAccounts_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccounts FaxAccounts; +#else +typedef struct FaxAccounts FaxAccounts; +#endif /* __cplusplus */ + +#endif /* __FaxAccounts_FWD_DEFINED__ */ + + +#ifndef __FaxAccount_FWD_DEFINED__ +#define __FaxAccount_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccount FaxAccount; +#else +typedef struct FaxAccount FaxAccount; +#endif /* __cplusplus */ + +#endif /* __FaxAccount_FWD_DEFINED__ */ + + +#ifndef __FaxAccountFolders_FWD_DEFINED__ +#define __FaxAccountFolders_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccountFolders FaxAccountFolders; +#else +typedef struct FaxAccountFolders FaxAccountFolders; +#endif /* __cplusplus */ + +#endif /* __FaxAccountFolders_FWD_DEFINED__ */ + + +#ifndef __FaxAccountIncomingQueue_FWD_DEFINED__ +#define __FaxAccountIncomingQueue_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccountIncomingQueue FaxAccountIncomingQueue; +#else +typedef struct FaxAccountIncomingQueue FaxAccountIncomingQueue; +#endif /* __cplusplus */ + +#endif /* __FaxAccountIncomingQueue_FWD_DEFINED__ */ + + +#ifndef __FaxAccountOutgoingQueue_FWD_DEFINED__ +#define __FaxAccountOutgoingQueue_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccountOutgoingQueue FaxAccountOutgoingQueue; +#else +typedef struct FaxAccountOutgoingQueue FaxAccountOutgoingQueue; +#endif /* __cplusplus */ + +#endif /* __FaxAccountOutgoingQueue_FWD_DEFINED__ */ + + +#ifndef __FaxAccountIncomingArchive_FWD_DEFINED__ +#define __FaxAccountIncomingArchive_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccountIncomingArchive FaxAccountIncomingArchive; +#else +typedef struct FaxAccountIncomingArchive FaxAccountIncomingArchive; +#endif /* __cplusplus */ + +#endif /* __FaxAccountIncomingArchive_FWD_DEFINED__ */ + + +#ifndef __FaxAccountOutgoingArchive_FWD_DEFINED__ +#define __FaxAccountOutgoingArchive_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxAccountOutgoingArchive FaxAccountOutgoingArchive; +#else +typedef struct FaxAccountOutgoingArchive FaxAccountOutgoingArchive; +#endif /* __cplusplus */ + +#endif /* __FaxAccountOutgoingArchive_FWD_DEFINED__ */ + + +#ifndef __FaxSecurity2_FWD_DEFINED__ +#define __FaxSecurity2_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FaxSecurity2 FaxSecurity2; +#else +typedef struct FaxSecurity2 FaxSecurity2; +#endif /* __cplusplus */ + +#endif /* __FaxSecurity2_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_faxcomex_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#define prv_DEFAULT_PREFETCH_SIZE ( 100 ) + + + +extern RPC_IF_HANDLE __MIDL_itf_faxcomex_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_faxcomex_0000_0000_v0_0_s_ifspec; + +#ifndef __IFaxJobStatus_INTERFACE_DEFINED__ +#define __IFaxJobStatus_INTERFACE_DEFINED__ + +/* interface IFaxJobStatus */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_JOB_STATUS_ENUM + { + fjsPENDING = 0x1, + fjsINPROGRESS = 0x2, + fjsFAILED = 0x8, + fjsPAUSED = 0x10, + fjsNOLINE = 0x20, + fjsRETRYING = 0x40, + fjsRETRIES_EXCEEDED = 0x80, + fjsCOMPLETED = 0x100, + fjsCANCELED = 0x200, + fjsCANCELING = 0x400, + fjsROUTING = 0x800 + } FAX_JOB_STATUS_ENUM; + +typedef +enum FAX_JOB_EXTENDED_STATUS_ENUM + { + fjesNONE = 0, + fjesDISCONNECTED = ( fjesNONE + 1 ) , + fjesINITIALIZING = ( fjesDISCONNECTED + 1 ) , + fjesDIALING = ( fjesINITIALIZING + 1 ) , + fjesTRANSMITTING = ( fjesDIALING + 1 ) , + fjesANSWERED = ( fjesTRANSMITTING + 1 ) , + fjesRECEIVING = ( fjesANSWERED + 1 ) , + fjesLINE_UNAVAILABLE = ( fjesRECEIVING + 1 ) , + fjesBUSY = ( fjesLINE_UNAVAILABLE + 1 ) , + fjesNO_ANSWER = ( fjesBUSY + 1 ) , + fjesBAD_ADDRESS = ( fjesNO_ANSWER + 1 ) , + fjesNO_DIAL_TONE = ( fjesBAD_ADDRESS + 1 ) , + fjesFATAL_ERROR = ( fjesNO_DIAL_TONE + 1 ) , + fjesCALL_DELAYED = ( fjesFATAL_ERROR + 1 ) , + fjesCALL_BLACKLISTED = ( fjesCALL_DELAYED + 1 ) , + fjesNOT_FAX_CALL = ( fjesCALL_BLACKLISTED + 1 ) , + fjesPARTIALLY_RECEIVED = ( fjesNOT_FAX_CALL + 1 ) , + fjesHANDLED = ( fjesPARTIALLY_RECEIVED + 1 ) , + fjesCALL_COMPLETED = ( fjesHANDLED + 1 ) , + fjesCALL_ABORTED = ( fjesCALL_COMPLETED + 1 ) , + fjesPROPRIETARY = 0x1000000 + } FAX_JOB_EXTENDED_STATUS_ENUM; + +typedef +enum FAX_JOB_OPERATIONS_ENUM + { + fjoVIEW = 0x1, + fjoPAUSE = 0x2, + fjoRESUME = 0x4, + fjoRESTART = 0x8, + fjoDELETE = 0x10, + fjoRECIPIENT_INFO = 0x20, + fjoSENDER_INFO = 0x40 + } FAX_JOB_OPERATIONS_ENUM; + +typedef +enum FAX_JOB_TYPE_ENUM + { + fjtSEND = 0, + fjtRECEIVE = ( fjtSEND + 1 ) , + fjtROUTING = ( fjtRECEIVE + 1 ) + } FAX_JOB_TYPE_ENUM; + + +EXTERN_C const IID IID_IFaxJobStatus; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8B86F485-FD7F-4824-886B-40C5CAA617CC") + IFaxJobStatus : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Pages( + /* [retval][out] */ __RPC__out long *plPages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size( + /* [retval][out] */ __RPC__out long *plSize) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPage( + /* [retval][out] */ __RPC__out long *plCurrentPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *plDeviceId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtendedStatusCode( + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtendedStatus( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AvailableOperations( + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_JobType( + /* [retval][out] */ __RPC__out FAX_JOB_TYPE_ENUM *pJobType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScheduledTime( + /* [retval][out] */ __RPC__out DATE *pdateScheduledTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionStart( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionEnd( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallerId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RoutingInformation( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxJobStatusVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxJobStatus * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxJobStatus * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxJobStatus * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxJobStatus * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxJobStatus * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxJobStatus * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxJobStatus * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_CurrentPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPage )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out long *plCurrentPage); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out long *plDeviceId); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_ExtendedStatusCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatusCode )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_ExtendedStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatus )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_AvailableOperations) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvailableOperations )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_JobType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_JobType )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out FAX_JOB_TYPE_ENUM *pJobType); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_ScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduledTime )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out DATE *pdateScheduledTime); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_CallerId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallerId )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId); + + DECLSPEC_XFGVIRT(IFaxJobStatus, get_RoutingInformation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingInformation )( + __RPC__in IFaxJobStatus * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation); + + END_INTERFACE + } IFaxJobStatusVtbl; + + interface IFaxJobStatus + { + CONST_VTBL struct IFaxJobStatusVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxJobStatus_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxJobStatus_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxJobStatus_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxJobStatus_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxJobStatus_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxJobStatus_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxJobStatus_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxJobStatus_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxJobStatus_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxJobStatus_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxJobStatus_get_CurrentPage(This,plCurrentPage) \ + ( (This)->lpVtbl -> get_CurrentPage(This,plCurrentPage) ) + +#define IFaxJobStatus_get_DeviceId(This,plDeviceId) \ + ( (This)->lpVtbl -> get_DeviceId(This,plDeviceId) ) + +#define IFaxJobStatus_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxJobStatus_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxJobStatus_get_ExtendedStatusCode(This,pExtendedStatusCode) \ + ( (This)->lpVtbl -> get_ExtendedStatusCode(This,pExtendedStatusCode) ) + +#define IFaxJobStatus_get_ExtendedStatus(This,pbstrExtendedStatus) \ + ( (This)->lpVtbl -> get_ExtendedStatus(This,pbstrExtendedStatus) ) + +#define IFaxJobStatus_get_AvailableOperations(This,pAvailableOperations) \ + ( (This)->lpVtbl -> get_AvailableOperations(This,pAvailableOperations) ) + +#define IFaxJobStatus_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxJobStatus_get_JobType(This,pJobType) \ + ( (This)->lpVtbl -> get_JobType(This,pJobType) ) + +#define IFaxJobStatus_get_ScheduledTime(This,pdateScheduledTime) \ + ( (This)->lpVtbl -> get_ScheduledTime(This,pdateScheduledTime) ) + +#define IFaxJobStatus_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxJobStatus_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxJobStatus_get_CallerId(This,pbstrCallerId) \ + ( (This)->lpVtbl -> get_CallerId(This,pbstrCallerId) ) + +#define IFaxJobStatus_get_RoutingInformation(This,pbstrRoutingInformation) \ + ( (This)->lpVtbl -> get_RoutingInformation(This,pbstrRoutingInformation) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxJobStatus_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxServer_INTERFACE_DEFINED__ +#define __IFaxServer_INTERFACE_DEFINED__ + +/* interface IFaxServer */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_SERVER_EVENTS_TYPE_ENUM + { + fsetNONE = 0, + fsetIN_QUEUE = 0x1, + fsetOUT_QUEUE = 0x2, + fsetCONFIG = 0x4, + fsetACTIVITY = 0x8, + fsetQUEUE_STATE = 0x10, + fsetIN_ARCHIVE = 0x20, + fsetOUT_ARCHIVE = 0x40, + fsetFXSSVC_ENDED = 0x80, + fsetDEVICE_STATUS = 0x100, + fsetINCOMING_CALL = 0x200 + } FAX_SERVER_EVENTS_TYPE_ENUM; + +typedef +enum FAX_SERVER_APIVERSION_ENUM + { + fsAPI_VERSION_0 = 0, + fsAPI_VERSION_1 = 0x10000, + fsAPI_VERSION_2 = 0x20000, + fsAPI_VERSION_3 = 0x30000 + } FAX_SERVER_APIVERSION_ENUM; + + +EXTERN_C const IID IID_IFaxServer; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("475B6469-90A5-4878-A577-17A86E8E3462") + IFaxServer : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect( + /* [in] */ __RPC__in BSTR bstrServerName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServerName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrServerName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDeviceProviders( + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceProviders **ppFaxDeviceProviders) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDevices( + /* [retval][out] */ __RPC__deref_out_opt IFaxDevices **ppFaxDevices) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InboundRouting( + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRouting **ppFaxInboundRouting) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Folders( + /* [retval][out] */ __RPC__deref_out_opt IFaxFolders **pFaxFolders) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LoggingOptions( + /* [retval][out] */ __RPC__deref_out_opt IFaxLoggingOptions **ppFaxLoggingOptions) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion( + /* [retval][out] */ __RPC__out long *plMajorVersion) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion( + /* [retval][out] */ __RPC__out long *plMinorVersion) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorBuild( + /* [retval][out] */ __RPC__out long *plMajorBuild) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorBuild( + /* [retval][out] */ __RPC__out long *plMinorBuild) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Debug( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Activity( + /* [retval][out] */ __RPC__deref_out_opt IFaxActivity **ppFaxActivity) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutboundRouting( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRouting **ppFaxOutboundRouting) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptOptions( + /* [retval][out] */ __RPC__deref_out_opt IFaxReceiptOptions **ppFaxReceiptOptions) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Security( + /* [retval][out] */ __RPC__deref_out_opt IFaxSecurity **ppFaxSecurity) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetExtensionProperty( + /* [in] */ __RPC__in BSTR bstrGUID, + /* [retval][out] */ __RPC__out VARIANT *pvProperty) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetExtensionProperty( + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ VARIANT vProperty) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ListenToServerEvents( + /* [in] */ FAX_SERVER_EVENTS_TYPE_ENUM EventTypes) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterDeviceProvider( + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ __RPC__in BSTR bstrFriendlyName, + /* [in] */ __RPC__in BSTR bstrImageName, + /* [in] */ __RPC__in BSTR TspName, + /* [in] */ long lFSPIVersion) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnregisterDeviceProvider( + /* [in] */ __RPC__in BSTR bstrUniqueName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterInboundRoutingExtension( + /* [in] */ __RPC__in BSTR bstrExtensionName, + /* [in] */ __RPC__in BSTR bstrFriendlyName, + /* [in] */ __RPC__in BSTR bstrImageName, + /* [in] */ VARIANT vMethods) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnregisterInboundRoutingExtension( + /* [in] */ __RPC__in BSTR bstrExtensionUniqueName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RegisteredEvents( + /* [retval][out] */ __RPC__out FAX_SERVER_EVENTS_TYPE_ENUM *pEventTypes) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_APIVersion( + /* [retval][out] */ __RPC__out FAX_SERVER_APIVERSION_ENUM *pAPIVersion) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxServerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxServer * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxServer * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxServer * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxServer * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxServer * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxServer, Connect) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrServerName); + + DECLSPEC_XFGVIRT(IFaxServer, get_ServerName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServerName )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrServerName); + + DECLSPEC_XFGVIRT(IFaxServer, GetDeviceProviders) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDeviceProviders )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceProviders **ppFaxDeviceProviders); + + DECLSPEC_XFGVIRT(IFaxServer, GetDevices) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDevices )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxDevices **ppFaxDevices); + + DECLSPEC_XFGVIRT(IFaxServer, get_InboundRouting) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InboundRouting )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRouting **ppFaxInboundRouting); + + DECLSPEC_XFGVIRT(IFaxServer, get_Folders) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Folders )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxFolders **pFaxFolders); + + DECLSPEC_XFGVIRT(IFaxServer, get_LoggingOptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LoggingOptions )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxLoggingOptions **ppFaxLoggingOptions); + + DECLSPEC_XFGVIRT(IFaxServer, get_MajorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *plMajorVersion); + + DECLSPEC_XFGVIRT(IFaxServer, get_MinorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *plMinorVersion); + + DECLSPEC_XFGVIRT(IFaxServer, get_MajorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorBuild )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *plMajorBuild); + + DECLSPEC_XFGVIRT(IFaxServer, get_MinorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorBuild )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out long *plMinorBuild); + + DECLSPEC_XFGVIRT(IFaxServer, get_Debug) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Debug )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug); + + DECLSPEC_XFGVIRT(IFaxServer, get_Activity) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Activity )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxActivity **ppFaxActivity); + + DECLSPEC_XFGVIRT(IFaxServer, get_OutboundRouting) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutboundRouting )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRouting **ppFaxOutboundRouting); + + DECLSPEC_XFGVIRT(IFaxServer, get_ReceiptOptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptOptions )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxReceiptOptions **ppFaxReceiptOptions); + + DECLSPEC_XFGVIRT(IFaxServer, get_Security) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Security )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSecurity **ppFaxSecurity); + + DECLSPEC_XFGVIRT(IFaxServer, Disconnect) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )( + __RPC__in IFaxServer * This); + + DECLSPEC_XFGVIRT(IFaxServer, GetExtensionProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetExtensionProperty )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [retval][out] */ __RPC__out VARIANT *pvProperty); + + DECLSPEC_XFGVIRT(IFaxServer, SetExtensionProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetExtensionProperty )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ VARIANT vProperty); + + DECLSPEC_XFGVIRT(IFaxServer, ListenToServerEvents) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ListenToServerEvents )( + __RPC__in IFaxServer * This, + /* [in] */ FAX_SERVER_EVENTS_TYPE_ENUM EventTypes); + + DECLSPEC_XFGVIRT(IFaxServer, RegisterDeviceProvider) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterDeviceProvider )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ __RPC__in BSTR bstrFriendlyName, + /* [in] */ __RPC__in BSTR bstrImageName, + /* [in] */ __RPC__in BSTR TspName, + /* [in] */ long lFSPIVersion); + + DECLSPEC_XFGVIRT(IFaxServer, UnregisterDeviceProvider) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterDeviceProvider )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrUniqueName); + + DECLSPEC_XFGVIRT(IFaxServer, RegisterInboundRoutingExtension) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterInboundRoutingExtension )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrExtensionName, + /* [in] */ __RPC__in BSTR bstrFriendlyName, + /* [in] */ __RPC__in BSTR bstrImageName, + /* [in] */ VARIANT vMethods); + + DECLSPEC_XFGVIRT(IFaxServer, UnregisterInboundRoutingExtension) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterInboundRoutingExtension )( + __RPC__in IFaxServer * This, + /* [in] */ __RPC__in BSTR bstrExtensionUniqueName); + + DECLSPEC_XFGVIRT(IFaxServer, get_RegisteredEvents) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RegisteredEvents )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out FAX_SERVER_EVENTS_TYPE_ENUM *pEventTypes); + + DECLSPEC_XFGVIRT(IFaxServer, get_APIVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_APIVersion )( + __RPC__in IFaxServer * This, + /* [retval][out] */ __RPC__out FAX_SERVER_APIVERSION_ENUM *pAPIVersion); + + END_INTERFACE + } IFaxServerVtbl; + + interface IFaxServer + { + CONST_VTBL struct IFaxServerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxServer_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxServer_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxServer_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxServer_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxServer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxServer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxServer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxServer_Connect(This,bstrServerName) \ + ( (This)->lpVtbl -> Connect(This,bstrServerName) ) + +#define IFaxServer_get_ServerName(This,pbstrServerName) \ + ( (This)->lpVtbl -> get_ServerName(This,pbstrServerName) ) + +#define IFaxServer_GetDeviceProviders(This,ppFaxDeviceProviders) \ + ( (This)->lpVtbl -> GetDeviceProviders(This,ppFaxDeviceProviders) ) + +#define IFaxServer_GetDevices(This,ppFaxDevices) \ + ( (This)->lpVtbl -> GetDevices(This,ppFaxDevices) ) + +#define IFaxServer_get_InboundRouting(This,ppFaxInboundRouting) \ + ( (This)->lpVtbl -> get_InboundRouting(This,ppFaxInboundRouting) ) + +#define IFaxServer_get_Folders(This,pFaxFolders) \ + ( (This)->lpVtbl -> get_Folders(This,pFaxFolders) ) + +#define IFaxServer_get_LoggingOptions(This,ppFaxLoggingOptions) \ + ( (This)->lpVtbl -> get_LoggingOptions(This,ppFaxLoggingOptions) ) + +#define IFaxServer_get_MajorVersion(This,plMajorVersion) \ + ( (This)->lpVtbl -> get_MajorVersion(This,plMajorVersion) ) + +#define IFaxServer_get_MinorVersion(This,plMinorVersion) \ + ( (This)->lpVtbl -> get_MinorVersion(This,plMinorVersion) ) + +#define IFaxServer_get_MajorBuild(This,plMajorBuild) \ + ( (This)->lpVtbl -> get_MajorBuild(This,plMajorBuild) ) + +#define IFaxServer_get_MinorBuild(This,plMinorBuild) \ + ( (This)->lpVtbl -> get_MinorBuild(This,plMinorBuild) ) + +#define IFaxServer_get_Debug(This,pbDebug) \ + ( (This)->lpVtbl -> get_Debug(This,pbDebug) ) + +#define IFaxServer_get_Activity(This,ppFaxActivity) \ + ( (This)->lpVtbl -> get_Activity(This,ppFaxActivity) ) + +#define IFaxServer_get_OutboundRouting(This,ppFaxOutboundRouting) \ + ( (This)->lpVtbl -> get_OutboundRouting(This,ppFaxOutboundRouting) ) + +#define IFaxServer_get_ReceiptOptions(This,ppFaxReceiptOptions) \ + ( (This)->lpVtbl -> get_ReceiptOptions(This,ppFaxReceiptOptions) ) + +#define IFaxServer_get_Security(This,ppFaxSecurity) \ + ( (This)->lpVtbl -> get_Security(This,ppFaxSecurity) ) + +#define IFaxServer_Disconnect(This) \ + ( (This)->lpVtbl -> Disconnect(This) ) + +#define IFaxServer_GetExtensionProperty(This,bstrGUID,pvProperty) \ + ( (This)->lpVtbl -> GetExtensionProperty(This,bstrGUID,pvProperty) ) + +#define IFaxServer_SetExtensionProperty(This,bstrGUID,vProperty) \ + ( (This)->lpVtbl -> SetExtensionProperty(This,bstrGUID,vProperty) ) + +#define IFaxServer_ListenToServerEvents(This,EventTypes) \ + ( (This)->lpVtbl -> ListenToServerEvents(This,EventTypes) ) + +#define IFaxServer_RegisterDeviceProvider(This,bstrGUID,bstrFriendlyName,bstrImageName,TspName,lFSPIVersion) \ + ( (This)->lpVtbl -> RegisterDeviceProvider(This,bstrGUID,bstrFriendlyName,bstrImageName,TspName,lFSPIVersion) ) + +#define IFaxServer_UnregisterDeviceProvider(This,bstrUniqueName) \ + ( (This)->lpVtbl -> UnregisterDeviceProvider(This,bstrUniqueName) ) + +#define IFaxServer_RegisterInboundRoutingExtension(This,bstrExtensionName,bstrFriendlyName,bstrImageName,vMethods) \ + ( (This)->lpVtbl -> RegisterInboundRoutingExtension(This,bstrExtensionName,bstrFriendlyName,bstrImageName,vMethods) ) + +#define IFaxServer_UnregisterInboundRoutingExtension(This,bstrExtensionUniqueName) \ + ( (This)->lpVtbl -> UnregisterInboundRoutingExtension(This,bstrExtensionUniqueName) ) + +#define IFaxServer_get_RegisteredEvents(This,pEventTypes) \ + ( (This)->lpVtbl -> get_RegisteredEvents(This,pEventTypes) ) + +#define IFaxServer_get_APIVersion(This,pAPIVersion) \ + ( (This)->lpVtbl -> get_APIVersion(This,pAPIVersion) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxServer_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDeviceProviders_INTERFACE_DEFINED__ +#define __IFaxDeviceProviders_INTERFACE_DEFINED__ + +/* interface IFaxDeviceProviders */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxDeviceProviders; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("9FB76F62-4C7E-43A5-B6FD-502893F7E13E") + IFaxDeviceProviders : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceProvider **pFaxDeviceProvider) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDeviceProvidersVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDeviceProviders * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDeviceProviders * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDeviceProviders * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDeviceProviders * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDeviceProviders * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDeviceProviders * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDeviceProviders * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDeviceProviders, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxDeviceProviders * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxDeviceProviders, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxDeviceProviders * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceProvider **pFaxDeviceProvider); + + DECLSPEC_XFGVIRT(IFaxDeviceProviders, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxDeviceProviders * This, + /* [retval][out] */ __RPC__out long *plCount); + + END_INTERFACE + } IFaxDeviceProvidersVtbl; + + interface IFaxDeviceProviders + { + CONST_VTBL struct IFaxDeviceProvidersVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDeviceProviders_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDeviceProviders_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDeviceProviders_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDeviceProviders_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDeviceProviders_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDeviceProviders_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDeviceProviders_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDeviceProviders_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxDeviceProviders_get_Item(This,vIndex,pFaxDeviceProvider) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxDeviceProvider) ) + +#define IFaxDeviceProviders_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDeviceProviders_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDevices_INTERFACE_DEFINED__ +#define __IFaxDevices_INTERFACE_DEFINED__ + +/* interface IFaxDevices */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxDevices; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("9E46783E-F34F-482E-A360-0416BECBBD96") + IFaxDevices : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxDevice **pFaxDevice) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + virtual /* [propget][helpstring][id] */ HRESULT STDMETHODCALLTYPE get_ItemById( + /* [in] */ long lId, + /* [retval][out] */ __RPC__deref_out_opt IFaxDevice **ppFaxDevice) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDevicesVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDevices * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDevices * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDevices * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDevices * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDevices * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDevices * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDevices * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDevices, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxDevices * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxDevices, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxDevices * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxDevice **pFaxDevice); + + DECLSPEC_XFGVIRT(IFaxDevices, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxDevices * This, + /* [retval][out] */ __RPC__out long *plCount); + + DECLSPEC_XFGVIRT(IFaxDevices, get_ItemById) + /* [propget][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *get_ItemById )( + __RPC__in IFaxDevices * This, + /* [in] */ long lId, + /* [retval][out] */ __RPC__deref_out_opt IFaxDevice **ppFaxDevice); + + END_INTERFACE + } IFaxDevicesVtbl; + + interface IFaxDevices + { + CONST_VTBL struct IFaxDevicesVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDevices_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDevices_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDevices_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDevices_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDevices_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDevices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDevices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDevices_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxDevices_get_Item(This,vIndex,pFaxDevice) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxDevice) ) + +#define IFaxDevices_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#define IFaxDevices_get_ItemById(This,lId,ppFaxDevice) \ + ( (This)->lpVtbl -> get_ItemById(This,lId,ppFaxDevice) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDevices_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxInboundRouting_INTERFACE_DEFINED__ +#define __IFaxInboundRouting_INTERFACE_DEFINED__ + +/* interface IFaxInboundRouting */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxInboundRouting; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8148C20F-9D52-45B1-BF96-38FC12713527") + IFaxInboundRouting : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetExtensions( + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingExtensions **pFaxInboundRoutingExtensions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMethods( + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingMethods **pFaxInboundRoutingMethods) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxInboundRoutingVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxInboundRouting * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxInboundRouting * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxInboundRouting * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxInboundRouting * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxInboundRouting * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxInboundRouting * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxInboundRouting * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxInboundRouting, GetExtensions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetExtensions )( + __RPC__in IFaxInboundRouting * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingExtensions **pFaxInboundRoutingExtensions); + + DECLSPEC_XFGVIRT(IFaxInboundRouting, GetMethods) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMethods )( + __RPC__in IFaxInboundRouting * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingMethods **pFaxInboundRoutingMethods); + + END_INTERFACE + } IFaxInboundRoutingVtbl; + + interface IFaxInboundRouting + { + CONST_VTBL struct IFaxInboundRoutingVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxInboundRouting_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxInboundRouting_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxInboundRouting_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxInboundRouting_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxInboundRouting_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxInboundRouting_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxInboundRouting_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxInboundRouting_GetExtensions(This,pFaxInboundRoutingExtensions) \ + ( (This)->lpVtbl -> GetExtensions(This,pFaxInboundRoutingExtensions) ) + +#define IFaxInboundRouting_GetMethods(This,pFaxInboundRoutingMethods) \ + ( (This)->lpVtbl -> GetMethods(This,pFaxInboundRoutingMethods) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxInboundRouting_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxFolders_INTERFACE_DEFINED__ +#define __IFaxFolders_INTERFACE_DEFINED__ + +/* interface IFaxFolders */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxFolders; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("DCE3B2A8-A7AB-42BC-9D0A-3149457261A0") + IFaxFolders : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingQueue( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingQueue **pFaxOutgoingQueue) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingQueue( + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingQueue **pFaxIncomingQueue) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingArchive( + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingArchive **pFaxIncomingArchive) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingArchive( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingArchive **pFaxOutgoingArchive) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxFoldersVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxFolders * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxFolders * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxFolders * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxFolders * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxFolders * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxFolders * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxFolders * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxFolders, get_OutgoingQueue) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingQueue )( + __RPC__in IFaxFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingQueue **pFaxOutgoingQueue); + + DECLSPEC_XFGVIRT(IFaxFolders, get_IncomingQueue) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingQueue )( + __RPC__in IFaxFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingQueue **pFaxIncomingQueue); + + DECLSPEC_XFGVIRT(IFaxFolders, get_IncomingArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingArchive )( + __RPC__in IFaxFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingArchive **pFaxIncomingArchive); + + DECLSPEC_XFGVIRT(IFaxFolders, get_OutgoingArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingArchive )( + __RPC__in IFaxFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingArchive **pFaxOutgoingArchive); + + END_INTERFACE + } IFaxFoldersVtbl; + + interface IFaxFolders + { + CONST_VTBL struct IFaxFoldersVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxFolders_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxFolders_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxFolders_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxFolders_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxFolders_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxFolders_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxFolders_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxFolders_get_OutgoingQueue(This,pFaxOutgoingQueue) \ + ( (This)->lpVtbl -> get_OutgoingQueue(This,pFaxOutgoingQueue) ) + +#define IFaxFolders_get_IncomingQueue(This,pFaxIncomingQueue) \ + ( (This)->lpVtbl -> get_IncomingQueue(This,pFaxIncomingQueue) ) + +#define IFaxFolders_get_IncomingArchive(This,pFaxIncomingArchive) \ + ( (This)->lpVtbl -> get_IncomingArchive(This,pFaxIncomingArchive) ) + +#define IFaxFolders_get_OutgoingArchive(This,pFaxOutgoingArchive) \ + ( (This)->lpVtbl -> get_OutgoingArchive(This,pFaxOutgoingArchive) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxFolders_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxLoggingOptions_INTERFACE_DEFINED__ +#define __IFaxLoggingOptions_INTERFACE_DEFINED__ + +/* interface IFaxLoggingOptions */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxLoggingOptions; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("34E64FB9-6B31-4D32-8B27-D286C0C33606") + IFaxLoggingOptions : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventLogging( + /* [retval][out] */ __RPC__deref_out_opt IFaxEventLogging **pFaxEventLogging) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActivityLogging( + /* [retval][out] */ __RPC__deref_out_opt IFaxActivityLogging **pFaxActivityLogging) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxLoggingOptionsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxLoggingOptions * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxLoggingOptions * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxLoggingOptions * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxLoggingOptions * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxLoggingOptions * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxLoggingOptions * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxLoggingOptions * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxLoggingOptions, get_EventLogging) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventLogging )( + __RPC__in IFaxLoggingOptions * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxEventLogging **pFaxEventLogging); + + DECLSPEC_XFGVIRT(IFaxLoggingOptions, get_ActivityLogging) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActivityLogging )( + __RPC__in IFaxLoggingOptions * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxActivityLogging **pFaxActivityLogging); + + END_INTERFACE + } IFaxLoggingOptionsVtbl; + + interface IFaxLoggingOptions + { + CONST_VTBL struct IFaxLoggingOptionsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxLoggingOptions_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxLoggingOptions_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxLoggingOptions_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxLoggingOptions_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxLoggingOptions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxLoggingOptions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxLoggingOptions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxLoggingOptions_get_EventLogging(This,pFaxEventLogging) \ + ( (This)->lpVtbl -> get_EventLogging(This,pFaxEventLogging) ) + +#define IFaxLoggingOptions_get_ActivityLogging(This,pFaxActivityLogging) \ + ( (This)->lpVtbl -> get_ActivityLogging(This,pFaxActivityLogging) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxLoggingOptions_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxActivity_INTERFACE_DEFINED__ +#define __IFaxActivity_INTERFACE_DEFINED__ + +/* interface IFaxActivity */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxActivity; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4B106F97-3DF5-40F2-BC3C-44CB8115EBDF") + IFaxActivity : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingMessages( + /* [retval][out] */ __RPC__out long *plIncomingMessages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RoutingMessages( + /* [retval][out] */ __RPC__out long *plRoutingMessages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingMessages( + /* [retval][out] */ __RPC__out long *plOutgoingMessages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QueuedMessages( + /* [retval][out] */ __RPC__out long *plQueuedMessages) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxActivityVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxActivity * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxActivity * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxActivity * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxActivity * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxActivity * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxActivity * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxActivity * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxActivity, get_IncomingMessages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingMessages )( + __RPC__in IFaxActivity * This, + /* [retval][out] */ __RPC__out long *plIncomingMessages); + + DECLSPEC_XFGVIRT(IFaxActivity, get_RoutingMessages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingMessages )( + __RPC__in IFaxActivity * This, + /* [retval][out] */ __RPC__out long *plRoutingMessages); + + DECLSPEC_XFGVIRT(IFaxActivity, get_OutgoingMessages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingMessages )( + __RPC__in IFaxActivity * This, + /* [retval][out] */ __RPC__out long *plOutgoingMessages); + + DECLSPEC_XFGVIRT(IFaxActivity, get_QueuedMessages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QueuedMessages )( + __RPC__in IFaxActivity * This, + /* [retval][out] */ __RPC__out long *plQueuedMessages); + + DECLSPEC_XFGVIRT(IFaxActivity, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxActivity * This); + + END_INTERFACE + } IFaxActivityVtbl; + + interface IFaxActivity + { + CONST_VTBL struct IFaxActivityVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxActivity_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxActivity_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxActivity_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxActivity_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxActivity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxActivity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxActivity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxActivity_get_IncomingMessages(This,plIncomingMessages) \ + ( (This)->lpVtbl -> get_IncomingMessages(This,plIncomingMessages) ) + +#define IFaxActivity_get_RoutingMessages(This,plRoutingMessages) \ + ( (This)->lpVtbl -> get_RoutingMessages(This,plRoutingMessages) ) + +#define IFaxActivity_get_OutgoingMessages(This,plOutgoingMessages) \ + ( (This)->lpVtbl -> get_OutgoingMessages(This,plOutgoingMessages) ) + +#define IFaxActivity_get_QueuedMessages(This,plQueuedMessages) \ + ( (This)->lpVtbl -> get_QueuedMessages(This,plQueuedMessages) ) + +#define IFaxActivity_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxActivity_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutboundRouting_INTERFACE_DEFINED__ +#define __IFaxOutboundRouting_INTERFACE_DEFINED__ + +/* interface IFaxOutboundRouting */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutboundRouting; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("25DC05A4-9909-41BD-A95B-7E5D1DEC1D43") + IFaxOutboundRouting : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetGroups( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingGroups **pFaxOutboundRoutingGroups) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRules( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRules **pFaxOutboundRoutingRules) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutboundRoutingVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutboundRouting * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutboundRouting * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutboundRouting * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutboundRouting * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutboundRouting * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutboundRouting * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutboundRouting * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutboundRouting, GetGroups) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetGroups )( + __RPC__in IFaxOutboundRouting * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingGroups **pFaxOutboundRoutingGroups); + + DECLSPEC_XFGVIRT(IFaxOutboundRouting, GetRules) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRules )( + __RPC__in IFaxOutboundRouting * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRules **pFaxOutboundRoutingRules); + + END_INTERFACE + } IFaxOutboundRoutingVtbl; + + interface IFaxOutboundRouting + { + CONST_VTBL struct IFaxOutboundRoutingVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutboundRouting_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutboundRouting_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutboundRouting_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutboundRouting_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutboundRouting_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutboundRouting_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutboundRouting_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutboundRouting_GetGroups(This,pFaxOutboundRoutingGroups) \ + ( (This)->lpVtbl -> GetGroups(This,pFaxOutboundRoutingGroups) ) + +#define IFaxOutboundRouting_GetRules(This,pFaxOutboundRoutingRules) \ + ( (This)->lpVtbl -> GetRules(This,pFaxOutboundRoutingRules) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutboundRouting_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxReceiptOptions_INTERFACE_DEFINED__ +#define __IFaxReceiptOptions_INTERFACE_DEFINED__ + +/* interface IFaxReceiptOptions */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_SMTP_AUTHENTICATION_TYPE_ENUM + { + fsatANONYMOUS = 0, + fsatBASIC = ( fsatANONYMOUS + 1 ) , + fsatNTLM = ( fsatBASIC + 1 ) + } FAX_SMTP_AUTHENTICATION_TYPE_ENUM; + +typedef +enum FAX_RECEIPT_TYPE_ENUM + { + frtNONE = 0, + frtMAIL = 0x1, + frtMSGBOX = 0x4 + } FAX_RECEIPT_TYPE_ENUM; + + +EXTERN_C const IID IID_IFaxReceiptOptions; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("378EFAEB-5FCB-4AFB-B2EE-E16E80614487") + IFaxReceiptOptions : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AuthenticationType( + /* [retval][out] */ __RPC__out FAX_SMTP_AUTHENTICATION_TYPE_ENUM *pType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AuthenticationType( + /* [in] */ FAX_SMTP_AUTHENTICATION_TYPE_ENUM Type) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SMTPServer( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPServer) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SMTPServer( + /* [in] */ __RPC__in BSTR bstrSMTPServer) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SMTPPort( + /* [retval][out] */ __RPC__out long *plSMTPPort) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SMTPPort( + /* [in] */ long lSMTPPort) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SMTPSender( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPSender) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SMTPSender( + /* [in] */ __RPC__in BSTR bstrSMTPSender) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SMTPUser( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPUser) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SMTPUser( + /* [in] */ __RPC__in BSTR bstrSMTPUser) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AllowedReceipts( + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pAllowedReceipts) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AllowedReceipts( + /* [in] */ FAX_RECEIPT_TYPE_ENUM AllowedReceipts) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SMTPPassword( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPPassword) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SMTPPassword( + /* [in] */ __RPC__in BSTR bstrSMTPPassword) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseForInboundRouting( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseForInboundRouting) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseForInboundRouting( + /* [in] */ VARIANT_BOOL bUseForInboundRouting) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxReceiptOptionsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxReceiptOptions * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxReceiptOptions * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxReceiptOptions * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxReceiptOptions * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_AuthenticationType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AuthenticationType )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__out FAX_SMTP_AUTHENTICATION_TYPE_ENUM *pType); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_AuthenticationType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AuthenticationType )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ FAX_SMTP_AUTHENTICATION_TYPE_ENUM Type); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_SMTPServer) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SMTPServer )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPServer); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_SMTPServer) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SMTPServer )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ __RPC__in BSTR bstrSMTPServer); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_SMTPPort) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SMTPPort )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__out long *plSMTPPort); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_SMTPPort) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SMTPPort )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ long lSMTPPort); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_SMTPSender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SMTPSender )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPSender); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_SMTPSender) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SMTPSender )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ __RPC__in BSTR bstrSMTPSender); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_SMTPUser) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SMTPUser )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPUser); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_SMTPUser) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SMTPUser )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ __RPC__in BSTR bstrSMTPUser); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_AllowedReceipts) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowedReceipts )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pAllowedReceipts); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_AllowedReceipts) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowedReceipts )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ FAX_RECEIPT_TYPE_ENUM AllowedReceipts); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_SMTPPassword) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SMTPPassword )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSMTPPassword); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_SMTPPassword) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SMTPPassword )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ __RPC__in BSTR bstrSMTPPassword); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxReceiptOptions * This); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxReceiptOptions * This); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, get_UseForInboundRouting) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseForInboundRouting )( + __RPC__in IFaxReceiptOptions * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseForInboundRouting); + + DECLSPEC_XFGVIRT(IFaxReceiptOptions, put_UseForInboundRouting) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseForInboundRouting )( + __RPC__in IFaxReceiptOptions * This, + /* [in] */ VARIANT_BOOL bUseForInboundRouting); + + END_INTERFACE + } IFaxReceiptOptionsVtbl; + + interface IFaxReceiptOptions + { + CONST_VTBL struct IFaxReceiptOptionsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxReceiptOptions_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxReceiptOptions_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxReceiptOptions_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxReceiptOptions_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxReceiptOptions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxReceiptOptions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxReceiptOptions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxReceiptOptions_get_AuthenticationType(This,pType) \ + ( (This)->lpVtbl -> get_AuthenticationType(This,pType) ) + +#define IFaxReceiptOptions_put_AuthenticationType(This,Type) \ + ( (This)->lpVtbl -> put_AuthenticationType(This,Type) ) + +#define IFaxReceiptOptions_get_SMTPServer(This,pbstrSMTPServer) \ + ( (This)->lpVtbl -> get_SMTPServer(This,pbstrSMTPServer) ) + +#define IFaxReceiptOptions_put_SMTPServer(This,bstrSMTPServer) \ + ( (This)->lpVtbl -> put_SMTPServer(This,bstrSMTPServer) ) + +#define IFaxReceiptOptions_get_SMTPPort(This,plSMTPPort) \ + ( (This)->lpVtbl -> get_SMTPPort(This,plSMTPPort) ) + +#define IFaxReceiptOptions_put_SMTPPort(This,lSMTPPort) \ + ( (This)->lpVtbl -> put_SMTPPort(This,lSMTPPort) ) + +#define IFaxReceiptOptions_get_SMTPSender(This,pbstrSMTPSender) \ + ( (This)->lpVtbl -> get_SMTPSender(This,pbstrSMTPSender) ) + +#define IFaxReceiptOptions_put_SMTPSender(This,bstrSMTPSender) \ + ( (This)->lpVtbl -> put_SMTPSender(This,bstrSMTPSender) ) + +#define IFaxReceiptOptions_get_SMTPUser(This,pbstrSMTPUser) \ + ( (This)->lpVtbl -> get_SMTPUser(This,pbstrSMTPUser) ) + +#define IFaxReceiptOptions_put_SMTPUser(This,bstrSMTPUser) \ + ( (This)->lpVtbl -> put_SMTPUser(This,bstrSMTPUser) ) + +#define IFaxReceiptOptions_get_AllowedReceipts(This,pAllowedReceipts) \ + ( (This)->lpVtbl -> get_AllowedReceipts(This,pAllowedReceipts) ) + +#define IFaxReceiptOptions_put_AllowedReceipts(This,AllowedReceipts) \ + ( (This)->lpVtbl -> put_AllowedReceipts(This,AllowedReceipts) ) + +#define IFaxReceiptOptions_get_SMTPPassword(This,pbstrSMTPPassword) \ + ( (This)->lpVtbl -> get_SMTPPassword(This,pbstrSMTPPassword) ) + +#define IFaxReceiptOptions_put_SMTPPassword(This,bstrSMTPPassword) \ + ( (This)->lpVtbl -> put_SMTPPassword(This,bstrSMTPPassword) ) + +#define IFaxReceiptOptions_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxReceiptOptions_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxReceiptOptions_get_UseForInboundRouting(This,pbUseForInboundRouting) \ + ( (This)->lpVtbl -> get_UseForInboundRouting(This,pbUseForInboundRouting) ) + +#define IFaxReceiptOptions_put_UseForInboundRouting(This,bUseForInboundRouting) \ + ( (This)->lpVtbl -> put_UseForInboundRouting(This,bUseForInboundRouting) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxReceiptOptions_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxSecurity_INTERFACE_DEFINED__ +#define __IFaxSecurity_INTERFACE_DEFINED__ + +/* interface IFaxSecurity */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_ACCESS_RIGHTS_ENUM + { + farSUBMIT_LOW = 0x1, + farSUBMIT_NORMAL = 0x2, + farSUBMIT_HIGH = 0x4, + farQUERY_JOBS = 0x8, + farMANAGE_JOBS = 0x10, + farQUERY_CONFIG = 0x20, + farMANAGE_CONFIG = 0x40, + farQUERY_IN_ARCHIVE = 0x80, + farMANAGE_IN_ARCHIVE = 0x100, + farQUERY_OUT_ARCHIVE = 0x200, + farMANAGE_OUT_ARCHIVE = 0x400 + } FAX_ACCESS_RIGHTS_ENUM; + + +EXTERN_C const IID IID_IFaxSecurity; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("77B508C1-09C0-47A2-91EB-FCE7FDF2690E") + IFaxSecurity : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Descriptor( + /* [retval][out] */ __RPC__out VARIANT *pvDescriptor) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Descriptor( + /* [in] */ VARIANT vDescriptor) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GrantedRights( + /* [retval][out] */ __RPC__out FAX_ACCESS_RIGHTS_ENUM *pGrantedRights) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InformationType( + /* [retval][out] */ __RPC__out long *plInformationType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InformationType( + /* [in] */ long lInformationType) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxSecurityVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxSecurity * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxSecurity * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxSecurity * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxSecurity * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxSecurity * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxSecurity * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxSecurity * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxSecurity, get_Descriptor) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Descriptor )( + __RPC__in IFaxSecurity * This, + /* [retval][out] */ __RPC__out VARIANT *pvDescriptor); + + DECLSPEC_XFGVIRT(IFaxSecurity, put_Descriptor) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Descriptor )( + __RPC__in IFaxSecurity * This, + /* [in] */ VARIANT vDescriptor); + + DECLSPEC_XFGVIRT(IFaxSecurity, get_GrantedRights) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GrantedRights )( + __RPC__in IFaxSecurity * This, + /* [retval][out] */ __RPC__out FAX_ACCESS_RIGHTS_ENUM *pGrantedRights); + + DECLSPEC_XFGVIRT(IFaxSecurity, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxSecurity * This); + + DECLSPEC_XFGVIRT(IFaxSecurity, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxSecurity * This); + + DECLSPEC_XFGVIRT(IFaxSecurity, get_InformationType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InformationType )( + __RPC__in IFaxSecurity * This, + /* [retval][out] */ __RPC__out long *plInformationType); + + DECLSPEC_XFGVIRT(IFaxSecurity, put_InformationType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InformationType )( + __RPC__in IFaxSecurity * This, + /* [in] */ long lInformationType); + + END_INTERFACE + } IFaxSecurityVtbl; + + interface IFaxSecurity + { + CONST_VTBL struct IFaxSecurityVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxSecurity_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxSecurity_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxSecurity_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxSecurity_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxSecurity_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxSecurity_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxSecurity_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxSecurity_get_Descriptor(This,pvDescriptor) \ + ( (This)->lpVtbl -> get_Descriptor(This,pvDescriptor) ) + +#define IFaxSecurity_put_Descriptor(This,vDescriptor) \ + ( (This)->lpVtbl -> put_Descriptor(This,vDescriptor) ) + +#define IFaxSecurity_get_GrantedRights(This,pGrantedRights) \ + ( (This)->lpVtbl -> get_GrantedRights(This,pGrantedRights) ) + +#define IFaxSecurity_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxSecurity_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxSecurity_get_InformationType(This,plInformationType) \ + ( (This)->lpVtbl -> get_InformationType(This,plInformationType) ) + +#define IFaxSecurity_put_InformationType(This,lInformationType) \ + ( (This)->lpVtbl -> put_InformationType(This,lInformationType) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxSecurity_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDocument_INTERFACE_DEFINED__ +#define __IFaxDocument_INTERFACE_DEFINED__ + +/* interface IFaxDocument */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_PRIORITY_TYPE_ENUM + { + fptLOW = 0, + fptNORMAL = ( fptLOW + 1 ) , + fptHIGH = ( fptNORMAL + 1 ) + } FAX_PRIORITY_TYPE_ENUM; + +typedef +enum FAX_COVERPAGE_TYPE_ENUM + { + fcptNONE = 0, + fcptLOCAL = ( fcptNONE + 1 ) , + fcptSERVER = ( fcptLOCAL + 1 ) + } FAX_COVERPAGE_TYPE_ENUM; + +typedef +enum FAX_SCHEDULE_TYPE_ENUM + { + fstNOW = 0, + fstSPECIFIC_TIME = ( fstNOW + 1 ) , + fstDISCOUNT_PERIOD = ( fstSPECIFIC_TIME + 1 ) + } FAX_SCHEDULE_TYPE_ENUM; + + +EXTERN_C const IID IID_IFaxDocument; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("B207A246-09E3-4A4E-A7DC-FEA31D29458F") + IFaxDocument : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Body( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrBody) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Body( + /* [in] */ __RPC__in BSTR bstrBody) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Sender( + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Recipients( + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipients **ppFaxRecipients) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CoverPage( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCoverPage) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CoverPage( + /* [in] */ __RPC__in BSTR bstrCoverPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Subject( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Subject( + /* [in] */ __RPC__in BSTR bstrSubject) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Note( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrNote) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Note( + /* [in] */ __RPC__in BSTR bstrNote) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScheduleTime( + /* [retval][out] */ __RPC__out DATE *pdateScheduleTime) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ScheduleTime( + /* [in] */ DATE dateScheduleTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReceiptAddress( + /* [in] */ __RPC__in BSTR bstrReceiptAddress) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DocumentName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DocumentName( + /* [in] */ __RPC__in BSTR bstrDocumentName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHandle( + /* [retval][out] */ __RPC__out long *plCallHandle) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallHandle( + /* [in] */ long lCallHandle) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CoverPageType( + /* [retval][out] */ __RPC__out FAX_COVERPAGE_TYPE_ENUM *pCoverPageType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CoverPageType( + /* [in] */ FAX_COVERPAGE_TYPE_ENUM CoverPageType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScheduleType( + /* [retval][out] */ __RPC__out FAX_SCHEDULE_TYPE_ENUM *pScheduleType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ScheduleType( + /* [in] */ FAX_SCHEDULE_TYPE_ENUM ScheduleType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptType( + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReceiptType( + /* [in] */ FAX_RECEIPT_TYPE_ENUM ReceiptType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GroupBroadcastReceipts( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseGrouping) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_GroupBroadcastReceipts( + /* [in] */ VARIANT_BOOL bUseGrouping) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Priority( + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Priority( + /* [in] */ FAX_PRIORITY_TYPE_ENUM Priority) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TapiConnection( + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppTapiConnection) = 0; + + virtual /* [helpstring][id][propputref] */ HRESULT STDMETHODCALLTYPE putref_TapiConnection( + /* [in] */ __RPC__in_opt IDispatch *pTapiConnection) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Submit( + /* [in] */ __RPC__in BSTR bstrFaxServerName, + /* [retval][out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectedSubmit( + /* [in] */ __RPC__in_opt IFaxServer *pFaxServer, + /* [retval][out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AttachFaxToReceipt( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAttachFax) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AttachFaxToReceipt( + /* [in] */ VARIANT_BOOL bAttachFax) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDocumentVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDocument * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDocument * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDocument * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDocument * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDocument * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Body) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Body )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrBody); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Body) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Body )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrBody); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Sender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Recipients) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipients )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipients **ppFaxRecipients); + + DECLSPEC_XFGVIRT(IFaxDocument, get_CoverPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverPage )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCoverPage); + + DECLSPEC_XFGVIRT(IFaxDocument, put_CoverPage) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverPage )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrCoverPage); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Subject) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Subject )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrSubject); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Note) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Note )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrNote); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Note) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Note )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrNote); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ScheduleTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduleTime )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out DATE *pdateScheduleTime); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ScheduleTime) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ScheduleTime )( + __RPC__in IFaxDocument * This, + /* [in] */ DATE dateScheduleTime); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ReceiptAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptAddress )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ReceiptAddress) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReceiptAddress )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrReceiptAddress); + + DECLSPEC_XFGVIRT(IFaxDocument, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxDocument, put_DocumentName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DocumentName )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxDocument, get_CallHandle) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHandle )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out long *plCallHandle); + + DECLSPEC_XFGVIRT(IFaxDocument, put_CallHandle) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallHandle )( + __RPC__in IFaxDocument * This, + /* [in] */ long lCallHandle); + + DECLSPEC_XFGVIRT(IFaxDocument, get_CoverPageType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverPageType )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out FAX_COVERPAGE_TYPE_ENUM *pCoverPageType); + + DECLSPEC_XFGVIRT(IFaxDocument, put_CoverPageType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverPageType )( + __RPC__in IFaxDocument * This, + /* [in] */ FAX_COVERPAGE_TYPE_ENUM CoverPageType); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ScheduleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduleType )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out FAX_SCHEDULE_TYPE_ENUM *pScheduleType); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ScheduleType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ScheduleType )( + __RPC__in IFaxDocument * This, + /* [in] */ FAX_SCHEDULE_TYPE_ENUM ScheduleType); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ReceiptType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptType )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ReceiptType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReceiptType )( + __RPC__in IFaxDocument * This, + /* [in] */ FAX_RECEIPT_TYPE_ENUM ReceiptType); + + DECLSPEC_XFGVIRT(IFaxDocument, get_GroupBroadcastReceipts) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GroupBroadcastReceipts )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseGrouping); + + DECLSPEC_XFGVIRT(IFaxDocument, put_GroupBroadcastReceipts) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_GroupBroadcastReceipts )( + __RPC__in IFaxDocument * This, + /* [in] */ VARIANT_BOOL bUseGrouping); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Priority) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )( + __RPC__in IFaxDocument * This, + /* [in] */ FAX_PRIORITY_TYPE_ENUM Priority); + + DECLSPEC_XFGVIRT(IFaxDocument, get_TapiConnection) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TapiConnection )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppTapiConnection); + + DECLSPEC_XFGVIRT(IFaxDocument, putref_TapiConnection) + /* [helpstring][id][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_TapiConnection )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in_opt IDispatch *pTapiConnection); + + DECLSPEC_XFGVIRT(IFaxDocument, Submit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Submit )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in BSTR bstrFaxServerName, + /* [retval][out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs); + + DECLSPEC_XFGVIRT(IFaxDocument, ConnectedSubmit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectedSubmit )( + __RPC__in IFaxDocument * This, + /* [in] */ __RPC__in_opt IFaxServer *pFaxServer, + /* [retval][out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs); + + DECLSPEC_XFGVIRT(IFaxDocument, get_AttachFaxToReceipt) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AttachFaxToReceipt )( + __RPC__in IFaxDocument * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAttachFax); + + DECLSPEC_XFGVIRT(IFaxDocument, put_AttachFaxToReceipt) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AttachFaxToReceipt )( + __RPC__in IFaxDocument * This, + /* [in] */ VARIANT_BOOL bAttachFax); + + END_INTERFACE + } IFaxDocumentVtbl; + + interface IFaxDocument + { + CONST_VTBL struct IFaxDocumentVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDocument_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDocument_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDocument_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDocument_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDocument_get_Body(This,pbstrBody) \ + ( (This)->lpVtbl -> get_Body(This,pbstrBody) ) + +#define IFaxDocument_put_Body(This,bstrBody) \ + ( (This)->lpVtbl -> put_Body(This,bstrBody) ) + +#define IFaxDocument_get_Sender(This,ppFaxSender) \ + ( (This)->lpVtbl -> get_Sender(This,ppFaxSender) ) + +#define IFaxDocument_get_Recipients(This,ppFaxRecipients) \ + ( (This)->lpVtbl -> get_Recipients(This,ppFaxRecipients) ) + +#define IFaxDocument_get_CoverPage(This,pbstrCoverPage) \ + ( (This)->lpVtbl -> get_CoverPage(This,pbstrCoverPage) ) + +#define IFaxDocument_put_CoverPage(This,bstrCoverPage) \ + ( (This)->lpVtbl -> put_CoverPage(This,bstrCoverPage) ) + +#define IFaxDocument_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxDocument_put_Subject(This,bstrSubject) \ + ( (This)->lpVtbl -> put_Subject(This,bstrSubject) ) + +#define IFaxDocument_get_Note(This,pbstrNote) \ + ( (This)->lpVtbl -> get_Note(This,pbstrNote) ) + +#define IFaxDocument_put_Note(This,bstrNote) \ + ( (This)->lpVtbl -> put_Note(This,bstrNote) ) + +#define IFaxDocument_get_ScheduleTime(This,pdateScheduleTime) \ + ( (This)->lpVtbl -> get_ScheduleTime(This,pdateScheduleTime) ) + +#define IFaxDocument_put_ScheduleTime(This,dateScheduleTime) \ + ( (This)->lpVtbl -> put_ScheduleTime(This,dateScheduleTime) ) + +#define IFaxDocument_get_ReceiptAddress(This,pbstrReceiptAddress) \ + ( (This)->lpVtbl -> get_ReceiptAddress(This,pbstrReceiptAddress) ) + +#define IFaxDocument_put_ReceiptAddress(This,bstrReceiptAddress) \ + ( (This)->lpVtbl -> put_ReceiptAddress(This,bstrReceiptAddress) ) + +#define IFaxDocument_get_DocumentName(This,pbstrDocumentName) \ + ( (This)->lpVtbl -> get_DocumentName(This,pbstrDocumentName) ) + +#define IFaxDocument_put_DocumentName(This,bstrDocumentName) \ + ( (This)->lpVtbl -> put_DocumentName(This,bstrDocumentName) ) + +#define IFaxDocument_get_CallHandle(This,plCallHandle) \ + ( (This)->lpVtbl -> get_CallHandle(This,plCallHandle) ) + +#define IFaxDocument_put_CallHandle(This,lCallHandle) \ + ( (This)->lpVtbl -> put_CallHandle(This,lCallHandle) ) + +#define IFaxDocument_get_CoverPageType(This,pCoverPageType) \ + ( (This)->lpVtbl -> get_CoverPageType(This,pCoverPageType) ) + +#define IFaxDocument_put_CoverPageType(This,CoverPageType) \ + ( (This)->lpVtbl -> put_CoverPageType(This,CoverPageType) ) + +#define IFaxDocument_get_ScheduleType(This,pScheduleType) \ + ( (This)->lpVtbl -> get_ScheduleType(This,pScheduleType) ) + +#define IFaxDocument_put_ScheduleType(This,ScheduleType) \ + ( (This)->lpVtbl -> put_ScheduleType(This,ScheduleType) ) + +#define IFaxDocument_get_ReceiptType(This,pReceiptType) \ + ( (This)->lpVtbl -> get_ReceiptType(This,pReceiptType) ) + +#define IFaxDocument_put_ReceiptType(This,ReceiptType) \ + ( (This)->lpVtbl -> put_ReceiptType(This,ReceiptType) ) + +#define IFaxDocument_get_GroupBroadcastReceipts(This,pbUseGrouping) \ + ( (This)->lpVtbl -> get_GroupBroadcastReceipts(This,pbUseGrouping) ) + +#define IFaxDocument_put_GroupBroadcastReceipts(This,bUseGrouping) \ + ( (This)->lpVtbl -> put_GroupBroadcastReceipts(This,bUseGrouping) ) + +#define IFaxDocument_get_Priority(This,pPriority) \ + ( (This)->lpVtbl -> get_Priority(This,pPriority) ) + +#define IFaxDocument_put_Priority(This,Priority) \ + ( (This)->lpVtbl -> put_Priority(This,Priority) ) + +#define IFaxDocument_get_TapiConnection(This,ppTapiConnection) \ + ( (This)->lpVtbl -> get_TapiConnection(This,ppTapiConnection) ) + +#define IFaxDocument_putref_TapiConnection(This,pTapiConnection) \ + ( (This)->lpVtbl -> putref_TapiConnection(This,pTapiConnection) ) + +#define IFaxDocument_Submit(This,bstrFaxServerName,pvFaxOutgoingJobIDs) \ + ( (This)->lpVtbl -> Submit(This,bstrFaxServerName,pvFaxOutgoingJobIDs) ) + +#define IFaxDocument_ConnectedSubmit(This,pFaxServer,pvFaxOutgoingJobIDs) \ + ( (This)->lpVtbl -> ConnectedSubmit(This,pFaxServer,pvFaxOutgoingJobIDs) ) + +#define IFaxDocument_get_AttachFaxToReceipt(This,pbAttachFax) \ + ( (This)->lpVtbl -> get_AttachFaxToReceipt(This,pbAttachFax) ) + +#define IFaxDocument_put_AttachFaxToReceipt(This,bAttachFax) \ + ( (This)->lpVtbl -> put_AttachFaxToReceipt(This,bAttachFax) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDocument_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxSender_INTERFACE_DEFINED__ +#define __IFaxSender_INTERFACE_DEFINED__ + +/* interface IFaxSender */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxSender; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0D879D7D-F57A-4CC6-A6F9-3EE5D527B46A") + IFaxSender : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BillingCode( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrBillingCode) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BillingCode( + /* [in] */ __RPC__in BSTR bstrBillingCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_City( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCity) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_City( + /* [in] */ __RPC__in BSTR bstrCity) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Company( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCompany) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Company( + /* [in] */ __RPC__in BSTR bstrCompany) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Country( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCountry) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Country( + /* [in] */ __RPC__in BSTR bstrCountry) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Department( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDepartment) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Department( + /* [in] */ __RPC__in BSTR bstrDepartment) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Email( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEmail) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Email( + /* [in] */ __RPC__in BSTR bstrEmail) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FaxNumber( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFaxNumber) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FaxNumber( + /* [in] */ __RPC__in BSTR bstrFaxNumber) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HomePhone( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrHomePhone) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HomePhone( + /* [in] */ __RPC__in BSTR bstrHomePhone) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR bstrName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TSID( + /* [in] */ __RPC__in BSTR bstrTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OfficePhone( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOfficePhone) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OfficePhone( + /* [in] */ __RPC__in BSTR bstrOfficePhone) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OfficeLocation( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOfficeLocation) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OfficeLocation( + /* [in] */ __RPC__in BSTR bstrOfficeLocation) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrState) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_State( + /* [in] */ __RPC__in BSTR bstrState) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_StreetAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrStreetAddress) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_StreetAddress( + /* [in] */ __RPC__in BSTR bstrStreetAddress) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Title( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTitle) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Title( + /* [in] */ __RPC__in BSTR bstrTitle) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ZipCode( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrZipCode) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ZipCode( + /* [in] */ __RPC__in BSTR bstrZipCode) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadDefaultSender( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveDefaultSender( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxSenderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxSender * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxSender * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxSender * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxSender * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxSender * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxSender, get_BillingCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BillingCode )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrBillingCode); + + DECLSPEC_XFGVIRT(IFaxSender, put_BillingCode) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BillingCode )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrBillingCode); + + DECLSPEC_XFGVIRT(IFaxSender, get_City) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_City )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCity); + + DECLSPEC_XFGVIRT(IFaxSender, put_City) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_City )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrCity); + + DECLSPEC_XFGVIRT(IFaxSender, get_Company) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Company )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCompany); + + DECLSPEC_XFGVIRT(IFaxSender, put_Company) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Company )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrCompany); + + DECLSPEC_XFGVIRT(IFaxSender, get_Country) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Country )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCountry); + + DECLSPEC_XFGVIRT(IFaxSender, put_Country) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Country )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrCountry); + + DECLSPEC_XFGVIRT(IFaxSender, get_Department) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Department )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDepartment); + + DECLSPEC_XFGVIRT(IFaxSender, put_Department) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Department )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrDepartment); + + DECLSPEC_XFGVIRT(IFaxSender, get_Email) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Email )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrEmail); + + DECLSPEC_XFGVIRT(IFaxSender, put_Email) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Email )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrEmail); + + DECLSPEC_XFGVIRT(IFaxSender, get_FaxNumber) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FaxNumber )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFaxNumber); + + DECLSPEC_XFGVIRT(IFaxSender, put_FaxNumber) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FaxNumber )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrFaxNumber); + + DECLSPEC_XFGVIRT(IFaxSender, get_HomePhone) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HomePhone )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrHomePhone); + + DECLSPEC_XFGVIRT(IFaxSender, put_HomePhone) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HomePhone )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrHomePhone); + + DECLSPEC_XFGVIRT(IFaxSender, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IFaxSender, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrName); + + DECLSPEC_XFGVIRT(IFaxSender, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxSender, put_TSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TSID )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrTSID); + + DECLSPEC_XFGVIRT(IFaxSender, get_OfficePhone) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OfficePhone )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOfficePhone); + + DECLSPEC_XFGVIRT(IFaxSender, put_OfficePhone) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OfficePhone )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrOfficePhone); + + DECLSPEC_XFGVIRT(IFaxSender, get_OfficeLocation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OfficeLocation )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrOfficeLocation); + + DECLSPEC_XFGVIRT(IFaxSender, put_OfficeLocation) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OfficeLocation )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrOfficeLocation); + + DECLSPEC_XFGVIRT(IFaxSender, get_State) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrState); + + DECLSPEC_XFGVIRT(IFaxSender, put_State) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_State )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrState); + + DECLSPEC_XFGVIRT(IFaxSender, get_StreetAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StreetAddress )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrStreetAddress); + + DECLSPEC_XFGVIRT(IFaxSender, put_StreetAddress) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_StreetAddress )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrStreetAddress); + + DECLSPEC_XFGVIRT(IFaxSender, get_Title) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Title )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTitle); + + DECLSPEC_XFGVIRT(IFaxSender, put_Title) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Title )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrTitle); + + DECLSPEC_XFGVIRT(IFaxSender, get_ZipCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ZipCode )( + __RPC__in IFaxSender * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrZipCode); + + DECLSPEC_XFGVIRT(IFaxSender, put_ZipCode) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ZipCode )( + __RPC__in IFaxSender * This, + /* [in] */ __RPC__in BSTR bstrZipCode); + + DECLSPEC_XFGVIRT(IFaxSender, LoadDefaultSender) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadDefaultSender )( + __RPC__in IFaxSender * This); + + DECLSPEC_XFGVIRT(IFaxSender, SaveDefaultSender) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveDefaultSender )( + __RPC__in IFaxSender * This); + + END_INTERFACE + } IFaxSenderVtbl; + + interface IFaxSender + { + CONST_VTBL struct IFaxSenderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxSender_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxSender_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxSender_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxSender_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxSender_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxSender_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxSender_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxSender_get_BillingCode(This,pbstrBillingCode) \ + ( (This)->lpVtbl -> get_BillingCode(This,pbstrBillingCode) ) + +#define IFaxSender_put_BillingCode(This,bstrBillingCode) \ + ( (This)->lpVtbl -> put_BillingCode(This,bstrBillingCode) ) + +#define IFaxSender_get_City(This,pbstrCity) \ + ( (This)->lpVtbl -> get_City(This,pbstrCity) ) + +#define IFaxSender_put_City(This,bstrCity) \ + ( (This)->lpVtbl -> put_City(This,bstrCity) ) + +#define IFaxSender_get_Company(This,pbstrCompany) \ + ( (This)->lpVtbl -> get_Company(This,pbstrCompany) ) + +#define IFaxSender_put_Company(This,bstrCompany) \ + ( (This)->lpVtbl -> put_Company(This,bstrCompany) ) + +#define IFaxSender_get_Country(This,pbstrCountry) \ + ( (This)->lpVtbl -> get_Country(This,pbstrCountry) ) + +#define IFaxSender_put_Country(This,bstrCountry) \ + ( (This)->lpVtbl -> put_Country(This,bstrCountry) ) + +#define IFaxSender_get_Department(This,pbstrDepartment) \ + ( (This)->lpVtbl -> get_Department(This,pbstrDepartment) ) + +#define IFaxSender_put_Department(This,bstrDepartment) \ + ( (This)->lpVtbl -> put_Department(This,bstrDepartment) ) + +#define IFaxSender_get_Email(This,pbstrEmail) \ + ( (This)->lpVtbl -> get_Email(This,pbstrEmail) ) + +#define IFaxSender_put_Email(This,bstrEmail) \ + ( (This)->lpVtbl -> put_Email(This,bstrEmail) ) + +#define IFaxSender_get_FaxNumber(This,pbstrFaxNumber) \ + ( (This)->lpVtbl -> get_FaxNumber(This,pbstrFaxNumber) ) + +#define IFaxSender_put_FaxNumber(This,bstrFaxNumber) \ + ( (This)->lpVtbl -> put_FaxNumber(This,bstrFaxNumber) ) + +#define IFaxSender_get_HomePhone(This,pbstrHomePhone) \ + ( (This)->lpVtbl -> get_HomePhone(This,pbstrHomePhone) ) + +#define IFaxSender_put_HomePhone(This,bstrHomePhone) \ + ( (This)->lpVtbl -> put_HomePhone(This,bstrHomePhone) ) + +#define IFaxSender_get_Name(This,pbstrName) \ + ( (This)->lpVtbl -> get_Name(This,pbstrName) ) + +#define IFaxSender_put_Name(This,bstrName) \ + ( (This)->lpVtbl -> put_Name(This,bstrName) ) + +#define IFaxSender_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxSender_put_TSID(This,bstrTSID) \ + ( (This)->lpVtbl -> put_TSID(This,bstrTSID) ) + +#define IFaxSender_get_OfficePhone(This,pbstrOfficePhone) \ + ( (This)->lpVtbl -> get_OfficePhone(This,pbstrOfficePhone) ) + +#define IFaxSender_put_OfficePhone(This,bstrOfficePhone) \ + ( (This)->lpVtbl -> put_OfficePhone(This,bstrOfficePhone) ) + +#define IFaxSender_get_OfficeLocation(This,pbstrOfficeLocation) \ + ( (This)->lpVtbl -> get_OfficeLocation(This,pbstrOfficeLocation) ) + +#define IFaxSender_put_OfficeLocation(This,bstrOfficeLocation) \ + ( (This)->lpVtbl -> put_OfficeLocation(This,bstrOfficeLocation) ) + +#define IFaxSender_get_State(This,pbstrState) \ + ( (This)->lpVtbl -> get_State(This,pbstrState) ) + +#define IFaxSender_put_State(This,bstrState) \ + ( (This)->lpVtbl -> put_State(This,bstrState) ) + +#define IFaxSender_get_StreetAddress(This,pbstrStreetAddress) \ + ( (This)->lpVtbl -> get_StreetAddress(This,pbstrStreetAddress) ) + +#define IFaxSender_put_StreetAddress(This,bstrStreetAddress) \ + ( (This)->lpVtbl -> put_StreetAddress(This,bstrStreetAddress) ) + +#define IFaxSender_get_Title(This,pbstrTitle) \ + ( (This)->lpVtbl -> get_Title(This,pbstrTitle) ) + +#define IFaxSender_put_Title(This,bstrTitle) \ + ( (This)->lpVtbl -> put_Title(This,bstrTitle) ) + +#define IFaxSender_get_ZipCode(This,pbstrZipCode) \ + ( (This)->lpVtbl -> get_ZipCode(This,pbstrZipCode) ) + +#define IFaxSender_put_ZipCode(This,bstrZipCode) \ + ( (This)->lpVtbl -> put_ZipCode(This,bstrZipCode) ) + +#define IFaxSender_LoadDefaultSender(This) \ + ( (This)->lpVtbl -> LoadDefaultSender(This) ) + +#define IFaxSender_SaveDefaultSender(This) \ + ( (This)->lpVtbl -> SaveDefaultSender(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxSender_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxRecipient_INTERFACE_DEFINED__ +#define __IFaxRecipient_INTERFACE_DEFINED__ + +/* interface IFaxRecipient */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxRecipient; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("9A3DA3A0-538D-42b6-9444-AAA57D0CE2BC") + IFaxRecipient : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FaxNumber( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFaxNumber) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FaxNumber( + /* [in] */ __RPC__in BSTR bstrFaxNumber) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR bstrName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxRecipientVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxRecipient * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxRecipient * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxRecipient * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxRecipient * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxRecipient * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxRecipient * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxRecipient * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxRecipient, get_FaxNumber) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FaxNumber )( + __RPC__in IFaxRecipient * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFaxNumber); + + DECLSPEC_XFGVIRT(IFaxRecipient, put_FaxNumber) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FaxNumber )( + __RPC__in IFaxRecipient * This, + /* [in] */ __RPC__in BSTR bstrFaxNumber); + + DECLSPEC_XFGVIRT(IFaxRecipient, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFaxRecipient * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IFaxRecipient, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFaxRecipient * This, + /* [in] */ __RPC__in BSTR bstrName); + + END_INTERFACE + } IFaxRecipientVtbl; + + interface IFaxRecipient + { + CONST_VTBL struct IFaxRecipientVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxRecipient_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxRecipient_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxRecipient_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxRecipient_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxRecipient_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxRecipient_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxRecipient_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxRecipient_get_FaxNumber(This,pbstrFaxNumber) \ + ( (This)->lpVtbl -> get_FaxNumber(This,pbstrFaxNumber) ) + +#define IFaxRecipient_put_FaxNumber(This,bstrFaxNumber) \ + ( (This)->lpVtbl -> put_FaxNumber(This,bstrFaxNumber) ) + +#define IFaxRecipient_get_Name(This,pbstrName) \ + ( (This)->lpVtbl -> get_Name(This,pbstrName) ) + +#define IFaxRecipient_put_Name(This,bstrName) \ + ( (This)->lpVtbl -> put_Name(This,bstrName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxRecipient_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxRecipients_INTERFACE_DEFINED__ +#define __IFaxRecipients_INTERFACE_DEFINED__ + +/* interface IFaxRecipients */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxRecipients; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("B9C9DE5A-894E-4492-9FA3-08C627C11D5D") + IFaxRecipients : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ long lIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( + /* [in] */ __RPC__in BSTR bstrFaxNumber, + /* [defaultvalue][in] */ __RPC__in BSTR bstrRecipientName, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ long lIndex) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxRecipientsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxRecipients * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxRecipients * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxRecipients * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxRecipients * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxRecipients * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxRecipients * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxRecipients * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxRecipients, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxRecipients * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxRecipients, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxRecipients * This, + /* [in] */ long lIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient); + + DECLSPEC_XFGVIRT(IFaxRecipients, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxRecipients * This, + /* [retval][out] */ __RPC__out long *plCount); + + DECLSPEC_XFGVIRT(IFaxRecipients, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFaxRecipients * This, + /* [in] */ __RPC__in BSTR bstrFaxNumber, + /* [defaultvalue][in] */ __RPC__in BSTR bstrRecipientName, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient); + + DECLSPEC_XFGVIRT(IFaxRecipients, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFaxRecipients * This, + /* [in] */ long lIndex); + + END_INTERFACE + } IFaxRecipientsVtbl; + + interface IFaxRecipients + { + CONST_VTBL struct IFaxRecipientsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxRecipients_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxRecipients_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxRecipients_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxRecipients_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxRecipients_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxRecipients_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxRecipients_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxRecipients_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxRecipients_get_Item(This,lIndex,ppFaxRecipient) \ + ( (This)->lpVtbl -> get_Item(This,lIndex,ppFaxRecipient) ) + +#define IFaxRecipients_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#define IFaxRecipients_Add(This,bstrFaxNumber,bstrRecipientName,ppFaxRecipient) \ + ( (This)->lpVtbl -> Add(This,bstrFaxNumber,bstrRecipientName,ppFaxRecipient) ) + +#define IFaxRecipients_Remove(This,lIndex) \ + ( (This)->lpVtbl -> Remove(This,lIndex) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxRecipients_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingArchive_INTERFACE_DEFINED__ +#define __IFaxIncomingArchive_INTERFACE_DEFINED__ + +/* interface IFaxIncomingArchive */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingArchive; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("76062CC7-F714-4FBD-AA06-ED6E4A4B70F3") + IFaxIncomingArchive : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseArchive( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseArchive) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseArchive( + /* [in] */ VARIANT_BOOL bUseArchive) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveFolder( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrArchiveFolder) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ArchiveFolder( + /* [in] */ __RPC__in BSTR bstrArchiveFolder) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeQuotaWarning( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSizeQuotaWarning) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SizeQuotaWarning( + /* [in] */ VARIANT_BOOL bSizeQuotaWarning) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HighQuotaWaterMark( + /* [retval][out] */ __RPC__out long *plHighQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HighQuotaWaterMark( + /* [in] */ long lHighQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LowQuotaWaterMark( + /* [retval][out] */ __RPC__out long *plLowQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LowQuotaWaterMark( + /* [in] */ long lLowQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgeLimit( + /* [retval][out] */ __RPC__out long *plAgeLimit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AgeLimit( + /* [in] */ long lAgeLimit) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeLow( + /* [retval][out] */ __RPC__out long *plSizeLow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeHigh( + /* [retval][out] */ __RPC__out long *plSizeHigh) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessages( + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessageIterator **pFaxIncomingMessageIterator) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessage( + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessage **pFaxIncomingMessage) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingArchiveVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingArchive * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingArchive * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingArchive * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingArchive * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_UseArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseArchive )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseArchive); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, put_UseArchive) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseArchive )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ VARIANT_BOOL bUseArchive); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_ArchiveFolder) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveFolder )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrArchiveFolder); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, put_ArchiveFolder) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ArchiveFolder )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ __RPC__in BSTR bstrArchiveFolder); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_SizeQuotaWarning) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeQuotaWarning )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSizeQuotaWarning); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, put_SizeQuotaWarning) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SizeQuotaWarning )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ VARIANT_BOOL bSizeQuotaWarning); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_HighQuotaWaterMark) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HighQuotaWaterMark )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plHighQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, put_HighQuotaWaterMark) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HighQuotaWaterMark )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ long lHighQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_LowQuotaWaterMark) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LowQuotaWaterMark )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plLowQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, put_LowQuotaWaterMark) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LowQuotaWaterMark )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ long lLowQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_AgeLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgeLimit )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plAgeLimit); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, put_AgeLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AgeLimit )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ long lAgeLimit); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_SizeLow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeLow )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeLow); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, get_SizeHigh) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeHigh )( + __RPC__in IFaxIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeHigh); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxIncomingArchive * This); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxIncomingArchive * This); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, GetMessages) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessages )( + __RPC__in IFaxIncomingArchive * This, + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessageIterator **pFaxIncomingMessageIterator); + + DECLSPEC_XFGVIRT(IFaxIncomingArchive, GetMessage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessage )( + __RPC__in IFaxIncomingArchive * This, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessage **pFaxIncomingMessage); + + END_INTERFACE + } IFaxIncomingArchiveVtbl; + + interface IFaxIncomingArchive + { + CONST_VTBL struct IFaxIncomingArchiveVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingArchive_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingArchive_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingArchive_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingArchive_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingArchive_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingArchive_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingArchive_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingArchive_get_UseArchive(This,pbUseArchive) \ + ( (This)->lpVtbl -> get_UseArchive(This,pbUseArchive) ) + +#define IFaxIncomingArchive_put_UseArchive(This,bUseArchive) \ + ( (This)->lpVtbl -> put_UseArchive(This,bUseArchive) ) + +#define IFaxIncomingArchive_get_ArchiveFolder(This,pbstrArchiveFolder) \ + ( (This)->lpVtbl -> get_ArchiveFolder(This,pbstrArchiveFolder) ) + +#define IFaxIncomingArchive_put_ArchiveFolder(This,bstrArchiveFolder) \ + ( (This)->lpVtbl -> put_ArchiveFolder(This,bstrArchiveFolder) ) + +#define IFaxIncomingArchive_get_SizeQuotaWarning(This,pbSizeQuotaWarning) \ + ( (This)->lpVtbl -> get_SizeQuotaWarning(This,pbSizeQuotaWarning) ) + +#define IFaxIncomingArchive_put_SizeQuotaWarning(This,bSizeQuotaWarning) \ + ( (This)->lpVtbl -> put_SizeQuotaWarning(This,bSizeQuotaWarning) ) + +#define IFaxIncomingArchive_get_HighQuotaWaterMark(This,plHighQuotaWaterMark) \ + ( (This)->lpVtbl -> get_HighQuotaWaterMark(This,plHighQuotaWaterMark) ) + +#define IFaxIncomingArchive_put_HighQuotaWaterMark(This,lHighQuotaWaterMark) \ + ( (This)->lpVtbl -> put_HighQuotaWaterMark(This,lHighQuotaWaterMark) ) + +#define IFaxIncomingArchive_get_LowQuotaWaterMark(This,plLowQuotaWaterMark) \ + ( (This)->lpVtbl -> get_LowQuotaWaterMark(This,plLowQuotaWaterMark) ) + +#define IFaxIncomingArchive_put_LowQuotaWaterMark(This,lLowQuotaWaterMark) \ + ( (This)->lpVtbl -> put_LowQuotaWaterMark(This,lLowQuotaWaterMark) ) + +#define IFaxIncomingArchive_get_AgeLimit(This,plAgeLimit) \ + ( (This)->lpVtbl -> get_AgeLimit(This,plAgeLimit) ) + +#define IFaxIncomingArchive_put_AgeLimit(This,lAgeLimit) \ + ( (This)->lpVtbl -> put_AgeLimit(This,lAgeLimit) ) + +#define IFaxIncomingArchive_get_SizeLow(This,plSizeLow) \ + ( (This)->lpVtbl -> get_SizeLow(This,plSizeLow) ) + +#define IFaxIncomingArchive_get_SizeHigh(This,plSizeHigh) \ + ( (This)->lpVtbl -> get_SizeHigh(This,plSizeHigh) ) + +#define IFaxIncomingArchive_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxIncomingArchive_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxIncomingArchive_GetMessages(This,lPrefetchSize,pFaxIncomingMessageIterator) \ + ( (This)->lpVtbl -> GetMessages(This,lPrefetchSize,pFaxIncomingMessageIterator) ) + +#define IFaxIncomingArchive_GetMessage(This,bstrMessageId,pFaxIncomingMessage) \ + ( (This)->lpVtbl -> GetMessage(This,bstrMessageId,pFaxIncomingMessage) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingArchive_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingQueue_INTERFACE_DEFINED__ +#define __IFaxIncomingQueue_INTERFACE_DEFINED__ + +/* interface IFaxIncomingQueue */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingQueue; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("902E64EF-8FD8-4B75-9725-6014DF161545") + IFaxIncomingQueue : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Blocked( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBlocked) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Blocked( + /* [in] */ VARIANT_BOOL bBlocked) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJobs( + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJobs **pFaxIncomingJobs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJob( + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJob **pFaxIncomingJob) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingQueueVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingQueue * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingQueue * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingQueue * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingQueue * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingQueue * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingQueue, get_Blocked) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Blocked )( + __RPC__in IFaxIncomingQueue * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBlocked); + + DECLSPEC_XFGVIRT(IFaxIncomingQueue, put_Blocked) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Blocked )( + __RPC__in IFaxIncomingQueue * This, + /* [in] */ VARIANT_BOOL bBlocked); + + DECLSPEC_XFGVIRT(IFaxIncomingQueue, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxIncomingQueue * This); + + DECLSPEC_XFGVIRT(IFaxIncomingQueue, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxIncomingQueue * This); + + DECLSPEC_XFGVIRT(IFaxIncomingQueue, GetJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJobs )( + __RPC__in IFaxIncomingQueue * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJobs **pFaxIncomingJobs); + + DECLSPEC_XFGVIRT(IFaxIncomingQueue, GetJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJob )( + __RPC__in IFaxIncomingQueue * This, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJob **pFaxIncomingJob); + + END_INTERFACE + } IFaxIncomingQueueVtbl; + + interface IFaxIncomingQueue + { + CONST_VTBL struct IFaxIncomingQueueVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingQueue_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingQueue_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingQueue_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingQueue_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingQueue_get_Blocked(This,pbBlocked) \ + ( (This)->lpVtbl -> get_Blocked(This,pbBlocked) ) + +#define IFaxIncomingQueue_put_Blocked(This,bBlocked) \ + ( (This)->lpVtbl -> put_Blocked(This,bBlocked) ) + +#define IFaxIncomingQueue_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxIncomingQueue_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxIncomingQueue_GetJobs(This,pFaxIncomingJobs) \ + ( (This)->lpVtbl -> GetJobs(This,pFaxIncomingJobs) ) + +#define IFaxIncomingQueue_GetJob(This,bstrJobId,pFaxIncomingJob) \ + ( (This)->lpVtbl -> GetJob(This,bstrJobId,pFaxIncomingJob) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingQueue_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingArchive_INTERFACE_DEFINED__ +#define __IFaxOutgoingArchive_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingArchive */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingArchive; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("C9C28F40-8D80-4E53-810F-9A79919B49FD") + IFaxOutgoingArchive : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseArchive( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseArchive) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseArchive( + /* [in] */ VARIANT_BOOL bUseArchive) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveFolder( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrArchiveFolder) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ArchiveFolder( + /* [in] */ __RPC__in BSTR bstrArchiveFolder) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeQuotaWarning( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSizeQuotaWarning) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SizeQuotaWarning( + /* [in] */ VARIANT_BOOL bSizeQuotaWarning) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HighQuotaWaterMark( + /* [retval][out] */ __RPC__out long *plHighQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HighQuotaWaterMark( + /* [in] */ long lHighQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LowQuotaWaterMark( + /* [retval][out] */ __RPC__out long *plLowQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LowQuotaWaterMark( + /* [in] */ long lLowQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgeLimit( + /* [retval][out] */ __RPC__out long *plAgeLimit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AgeLimit( + /* [in] */ long lAgeLimit) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeLow( + /* [retval][out] */ __RPC__out long *plSizeLow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeHigh( + /* [retval][out] */ __RPC__out long *plSizeHigh) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessages( + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessageIterator **pFaxOutgoingMessageIterator) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessage( + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessage **pFaxOutgoingMessage) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingArchiveVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingArchive * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingArchive * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_UseArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseArchive )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseArchive); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, put_UseArchive) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseArchive )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ VARIANT_BOOL bUseArchive); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_ArchiveFolder) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveFolder )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrArchiveFolder); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, put_ArchiveFolder) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ArchiveFolder )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ __RPC__in BSTR bstrArchiveFolder); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_SizeQuotaWarning) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeQuotaWarning )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSizeQuotaWarning); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, put_SizeQuotaWarning) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SizeQuotaWarning )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ VARIANT_BOOL bSizeQuotaWarning); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_HighQuotaWaterMark) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HighQuotaWaterMark )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plHighQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, put_HighQuotaWaterMark) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HighQuotaWaterMark )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ long lHighQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_LowQuotaWaterMark) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LowQuotaWaterMark )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plLowQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, put_LowQuotaWaterMark) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LowQuotaWaterMark )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ long lLowQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_AgeLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgeLimit )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plAgeLimit); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, put_AgeLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AgeLimit )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ long lAgeLimit); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_SizeLow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeLow )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeLow); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, get_SizeHigh) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeHigh )( + __RPC__in IFaxOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeHigh); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, GetMessages) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessages )( + __RPC__in IFaxOutgoingArchive * This, + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessageIterator **pFaxOutgoingMessageIterator); + + DECLSPEC_XFGVIRT(IFaxOutgoingArchive, GetMessage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessage )( + __RPC__in IFaxOutgoingArchive * This, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessage **pFaxOutgoingMessage); + + END_INTERFACE + } IFaxOutgoingArchiveVtbl; + + interface IFaxOutgoingArchive + { + CONST_VTBL struct IFaxOutgoingArchiveVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingArchive_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingArchive_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingArchive_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingArchive_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingArchive_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingArchive_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingArchive_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingArchive_get_UseArchive(This,pbUseArchive) \ + ( (This)->lpVtbl -> get_UseArchive(This,pbUseArchive) ) + +#define IFaxOutgoingArchive_put_UseArchive(This,bUseArchive) \ + ( (This)->lpVtbl -> put_UseArchive(This,bUseArchive) ) + +#define IFaxOutgoingArchive_get_ArchiveFolder(This,pbstrArchiveFolder) \ + ( (This)->lpVtbl -> get_ArchiveFolder(This,pbstrArchiveFolder) ) + +#define IFaxOutgoingArchive_put_ArchiveFolder(This,bstrArchiveFolder) \ + ( (This)->lpVtbl -> put_ArchiveFolder(This,bstrArchiveFolder) ) + +#define IFaxOutgoingArchive_get_SizeQuotaWarning(This,pbSizeQuotaWarning) \ + ( (This)->lpVtbl -> get_SizeQuotaWarning(This,pbSizeQuotaWarning) ) + +#define IFaxOutgoingArchive_put_SizeQuotaWarning(This,bSizeQuotaWarning) \ + ( (This)->lpVtbl -> put_SizeQuotaWarning(This,bSizeQuotaWarning) ) + +#define IFaxOutgoingArchive_get_HighQuotaWaterMark(This,plHighQuotaWaterMark) \ + ( (This)->lpVtbl -> get_HighQuotaWaterMark(This,plHighQuotaWaterMark) ) + +#define IFaxOutgoingArchive_put_HighQuotaWaterMark(This,lHighQuotaWaterMark) \ + ( (This)->lpVtbl -> put_HighQuotaWaterMark(This,lHighQuotaWaterMark) ) + +#define IFaxOutgoingArchive_get_LowQuotaWaterMark(This,plLowQuotaWaterMark) \ + ( (This)->lpVtbl -> get_LowQuotaWaterMark(This,plLowQuotaWaterMark) ) + +#define IFaxOutgoingArchive_put_LowQuotaWaterMark(This,lLowQuotaWaterMark) \ + ( (This)->lpVtbl -> put_LowQuotaWaterMark(This,lLowQuotaWaterMark) ) + +#define IFaxOutgoingArchive_get_AgeLimit(This,plAgeLimit) \ + ( (This)->lpVtbl -> get_AgeLimit(This,plAgeLimit) ) + +#define IFaxOutgoingArchive_put_AgeLimit(This,lAgeLimit) \ + ( (This)->lpVtbl -> put_AgeLimit(This,lAgeLimit) ) + +#define IFaxOutgoingArchive_get_SizeLow(This,plSizeLow) \ + ( (This)->lpVtbl -> get_SizeLow(This,plSizeLow) ) + +#define IFaxOutgoingArchive_get_SizeHigh(This,plSizeHigh) \ + ( (This)->lpVtbl -> get_SizeHigh(This,plSizeHigh) ) + +#define IFaxOutgoingArchive_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxOutgoingArchive_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxOutgoingArchive_GetMessages(This,lPrefetchSize,pFaxOutgoingMessageIterator) \ + ( (This)->lpVtbl -> GetMessages(This,lPrefetchSize,pFaxOutgoingMessageIterator) ) + +#define IFaxOutgoingArchive_GetMessage(This,bstrMessageId,pFaxOutgoingMessage) \ + ( (This)->lpVtbl -> GetMessage(This,bstrMessageId,pFaxOutgoingMessage) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingArchive_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingQueue_INTERFACE_DEFINED__ +#define __IFaxOutgoingQueue_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingQueue */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingQueue; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("80B1DF24-D9AC-4333-B373-487CEDC80CE5") + IFaxOutgoingQueue : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Blocked( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBlocked) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Blocked( + /* [in] */ VARIANT_BOOL bBlocked) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Paused( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbPaused) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Paused( + /* [in] */ VARIANT_BOOL bPaused) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AllowPersonalCoverPages( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAllowPersonalCoverPages) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AllowPersonalCoverPages( + /* [in] */ VARIANT_BOOL bAllowPersonalCoverPages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseDeviceTSID( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseDeviceTSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseDeviceTSID( + /* [in] */ VARIANT_BOOL bUseDeviceTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Retries( + /* [in] */ long lRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RetryDelay( + /* [retval][out] */ __RPC__out long *plRetryDelay) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RetryDelay( + /* [in] */ long lRetryDelay) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateStart( + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateStart) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateStart( + /* [in] */ DATE dateDiscountRateStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateEnd( + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateEnd) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateEnd( + /* [in] */ DATE dateDiscountRateEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AgeLimit( + /* [retval][out] */ __RPC__out long *plAgeLimit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AgeLimit( + /* [in] */ long lAgeLimit) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Branding( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBranding) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Branding( + /* [in] */ VARIANT_BOOL bBranding) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJobs( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJobs **pFaxOutgoingJobs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJob( + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJob **pFaxOutgoingJob) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingQueueVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingQueue * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingQueue * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingQueue * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingQueue * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_Blocked) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Blocked )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBlocked); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_Blocked) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Blocked )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ VARIANT_BOOL bBlocked); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_Paused) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Paused )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbPaused); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_Paused) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Paused )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ VARIANT_BOOL bPaused); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_AllowPersonalCoverPages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowPersonalCoverPages )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAllowPersonalCoverPages); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_AllowPersonalCoverPages) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowPersonalCoverPages )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ VARIANT_BOOL bAllowPersonalCoverPages); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_UseDeviceTSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseDeviceTSID )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseDeviceTSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_UseDeviceTSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseDeviceTSID )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ VARIANT_BOOL bUseDeviceTSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_Retries) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Retries )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ long lRetries); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_RetryDelay) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetryDelay )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out long *plRetryDelay); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_RetryDelay) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RetryDelay )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ long lRetryDelay); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_DiscountRateStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateStart )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateStart); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_DiscountRateStart) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateStart )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ DATE dateDiscountRateStart); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_DiscountRateEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateEnd )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateEnd); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_DiscountRateEnd) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateEnd )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ DATE dateDiscountRateEnd); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_AgeLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AgeLimit )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out long *plAgeLimit); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_AgeLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AgeLimit )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ long lAgeLimit); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, get_Branding) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Branding )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBranding); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, put_Branding) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Branding )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ VARIANT_BOOL bBranding); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxOutgoingQueue * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxOutgoingQueue * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, GetJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJobs )( + __RPC__in IFaxOutgoingQueue * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJobs **pFaxOutgoingJobs); + + DECLSPEC_XFGVIRT(IFaxOutgoingQueue, GetJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJob )( + __RPC__in IFaxOutgoingQueue * This, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJob **pFaxOutgoingJob); + + END_INTERFACE + } IFaxOutgoingQueueVtbl; + + interface IFaxOutgoingQueue + { + CONST_VTBL struct IFaxOutgoingQueueVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingQueue_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingQueue_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingQueue_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingQueue_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingQueue_get_Blocked(This,pbBlocked) \ + ( (This)->lpVtbl -> get_Blocked(This,pbBlocked) ) + +#define IFaxOutgoingQueue_put_Blocked(This,bBlocked) \ + ( (This)->lpVtbl -> put_Blocked(This,bBlocked) ) + +#define IFaxOutgoingQueue_get_Paused(This,pbPaused) \ + ( (This)->lpVtbl -> get_Paused(This,pbPaused) ) + +#define IFaxOutgoingQueue_put_Paused(This,bPaused) \ + ( (This)->lpVtbl -> put_Paused(This,bPaused) ) + +#define IFaxOutgoingQueue_get_AllowPersonalCoverPages(This,pbAllowPersonalCoverPages) \ + ( (This)->lpVtbl -> get_AllowPersonalCoverPages(This,pbAllowPersonalCoverPages) ) + +#define IFaxOutgoingQueue_put_AllowPersonalCoverPages(This,bAllowPersonalCoverPages) \ + ( (This)->lpVtbl -> put_AllowPersonalCoverPages(This,bAllowPersonalCoverPages) ) + +#define IFaxOutgoingQueue_get_UseDeviceTSID(This,pbUseDeviceTSID) \ + ( (This)->lpVtbl -> get_UseDeviceTSID(This,pbUseDeviceTSID) ) + +#define IFaxOutgoingQueue_put_UseDeviceTSID(This,bUseDeviceTSID) \ + ( (This)->lpVtbl -> put_UseDeviceTSID(This,bUseDeviceTSID) ) + +#define IFaxOutgoingQueue_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxOutgoingQueue_put_Retries(This,lRetries) \ + ( (This)->lpVtbl -> put_Retries(This,lRetries) ) + +#define IFaxOutgoingQueue_get_RetryDelay(This,plRetryDelay) \ + ( (This)->lpVtbl -> get_RetryDelay(This,plRetryDelay) ) + +#define IFaxOutgoingQueue_put_RetryDelay(This,lRetryDelay) \ + ( (This)->lpVtbl -> put_RetryDelay(This,lRetryDelay) ) + +#define IFaxOutgoingQueue_get_DiscountRateStart(This,pdateDiscountRateStart) \ + ( (This)->lpVtbl -> get_DiscountRateStart(This,pdateDiscountRateStart) ) + +#define IFaxOutgoingQueue_put_DiscountRateStart(This,dateDiscountRateStart) \ + ( (This)->lpVtbl -> put_DiscountRateStart(This,dateDiscountRateStart) ) + +#define IFaxOutgoingQueue_get_DiscountRateEnd(This,pdateDiscountRateEnd) \ + ( (This)->lpVtbl -> get_DiscountRateEnd(This,pdateDiscountRateEnd) ) + +#define IFaxOutgoingQueue_put_DiscountRateEnd(This,dateDiscountRateEnd) \ + ( (This)->lpVtbl -> put_DiscountRateEnd(This,dateDiscountRateEnd) ) + +#define IFaxOutgoingQueue_get_AgeLimit(This,plAgeLimit) \ + ( (This)->lpVtbl -> get_AgeLimit(This,plAgeLimit) ) + +#define IFaxOutgoingQueue_put_AgeLimit(This,lAgeLimit) \ + ( (This)->lpVtbl -> put_AgeLimit(This,lAgeLimit) ) + +#define IFaxOutgoingQueue_get_Branding(This,pbBranding) \ + ( (This)->lpVtbl -> get_Branding(This,pbBranding) ) + +#define IFaxOutgoingQueue_put_Branding(This,bBranding) \ + ( (This)->lpVtbl -> put_Branding(This,bBranding) ) + +#define IFaxOutgoingQueue_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxOutgoingQueue_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxOutgoingQueue_GetJobs(This,pFaxOutgoingJobs) \ + ( (This)->lpVtbl -> GetJobs(This,pFaxOutgoingJobs) ) + +#define IFaxOutgoingQueue_GetJob(This,bstrJobId,pFaxOutgoingJob) \ + ( (This)->lpVtbl -> GetJob(This,bstrJobId,pFaxOutgoingJob) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingQueue_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingMessageIterator_INTERFACE_DEFINED__ +#define __IFaxIncomingMessageIterator_INTERFACE_DEFINED__ + +/* interface IFaxIncomingMessageIterator */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingMessageIterator; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("FD73ECC4-6F06-4F52-82A8-F7BA06AE3108") + IFaxIncomingMessageIterator : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Message( + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessage **pFaxIncomingMessage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PrefetchSize( + /* [retval][out] */ __RPC__out long *plPrefetchSize) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PrefetchSize( + /* [in] */ long lPrefetchSize) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AtEOF( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbEOF) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveFirst( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveNext( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingMessageIteratorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingMessageIterator * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingMessageIterator * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingMessageIterator * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingMessageIterator, get_Message) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Message )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessage **pFaxIncomingMessage); + + DECLSPEC_XFGVIRT(IFaxIncomingMessageIterator, get_PrefetchSize) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrefetchSize )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [retval][out] */ __RPC__out long *plPrefetchSize); + + DECLSPEC_XFGVIRT(IFaxIncomingMessageIterator, put_PrefetchSize) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PrefetchSize )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [in] */ long lPrefetchSize); + + DECLSPEC_XFGVIRT(IFaxIncomingMessageIterator, get_AtEOF) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AtEOF )( + __RPC__in IFaxIncomingMessageIterator * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbEOF); + + DECLSPEC_XFGVIRT(IFaxIncomingMessageIterator, MoveFirst) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveFirst )( + __RPC__in IFaxIncomingMessageIterator * This); + + DECLSPEC_XFGVIRT(IFaxIncomingMessageIterator, MoveNext) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveNext )( + __RPC__in IFaxIncomingMessageIterator * This); + + END_INTERFACE + } IFaxIncomingMessageIteratorVtbl; + + interface IFaxIncomingMessageIterator + { + CONST_VTBL struct IFaxIncomingMessageIteratorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingMessageIterator_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingMessageIterator_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingMessageIterator_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingMessageIterator_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingMessageIterator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingMessageIterator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingMessageIterator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingMessageIterator_get_Message(This,pFaxIncomingMessage) \ + ( (This)->lpVtbl -> get_Message(This,pFaxIncomingMessage) ) + +#define IFaxIncomingMessageIterator_get_PrefetchSize(This,plPrefetchSize) \ + ( (This)->lpVtbl -> get_PrefetchSize(This,plPrefetchSize) ) + +#define IFaxIncomingMessageIterator_put_PrefetchSize(This,lPrefetchSize) \ + ( (This)->lpVtbl -> put_PrefetchSize(This,lPrefetchSize) ) + +#define IFaxIncomingMessageIterator_get_AtEOF(This,pbEOF) \ + ( (This)->lpVtbl -> get_AtEOF(This,pbEOF) ) + +#define IFaxIncomingMessageIterator_MoveFirst(This) \ + ( (This)->lpVtbl -> MoveFirst(This) ) + +#define IFaxIncomingMessageIterator_MoveNext(This) \ + ( (This)->lpVtbl -> MoveNext(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingMessageIterator_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingMessage_INTERFACE_DEFINED__ +#define __IFaxIncomingMessage_INTERFACE_DEFINED__ + +/* interface IFaxIncomingMessage */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingMessage; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("7CAB88FA-2EF9-4851-B2F3-1D148FED8447") + IFaxIncomingMessage : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Pages( + /* [retval][out] */ __RPC__out long *plPages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size( + /* [retval][out] */ __RPC__out long *plSize) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionStart( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionEnd( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallerId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RoutingInformation( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyTiff( + /* [in] */ __RPC__in BSTR bstrTiffPath) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingMessageVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingMessage * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingMessage * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingMessage * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingMessage * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingMessage * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingMessage * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingMessage * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_CallerId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallerId )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_RoutingInformation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingInformation )( + __RPC__in IFaxIncomingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxIncomingMessage * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFaxIncomingMessage * This); + + END_INTERFACE + } IFaxIncomingMessageVtbl; + + interface IFaxIncomingMessage + { + CONST_VTBL struct IFaxIncomingMessageVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingMessage_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingMessage_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingMessage_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingMessage_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingMessage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingMessage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingMessage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingMessage_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxIncomingMessage_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxIncomingMessage_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxIncomingMessage_get_DeviceName(This,pbstrDeviceName) \ + ( (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName) ) + +#define IFaxIncomingMessage_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxIncomingMessage_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxIncomingMessage_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxIncomingMessage_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxIncomingMessage_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxIncomingMessage_get_CallerId(This,pbstrCallerId) \ + ( (This)->lpVtbl -> get_CallerId(This,pbstrCallerId) ) + +#define IFaxIncomingMessage_get_RoutingInformation(This,pbstrRoutingInformation) \ + ( (This)->lpVtbl -> get_RoutingInformation(This,pbstrRoutingInformation) ) + +#define IFaxIncomingMessage_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#define IFaxIncomingMessage_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingMessage_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingJobs_INTERFACE_DEFINED__ +#define __IFaxOutgoingJobs_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingJobs */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingJobs; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2C56D8E6-8C2F-4573-944C-E505F8F5AEED") + IFaxOutgoingJobs : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJob **pFaxOutgoingJob) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingJobsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingJobs * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingJobs * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingJobs * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingJobs * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingJobs * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingJobs * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingJobs * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingJobs, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxOutgoingJobs * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxOutgoingJobs, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxOutgoingJobs * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJob **pFaxOutgoingJob); + + DECLSPEC_XFGVIRT(IFaxOutgoingJobs, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxOutgoingJobs * This, + /* [retval][out] */ __RPC__out long *plCount); + + END_INTERFACE + } IFaxOutgoingJobsVtbl; + + interface IFaxOutgoingJobs + { + CONST_VTBL struct IFaxOutgoingJobsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingJobs_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingJobs_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingJobs_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingJobs_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingJobs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingJobs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingJobs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingJobs_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxOutgoingJobs_get_Item(This,vIndex,pFaxOutgoingJob) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxOutgoingJob) ) + +#define IFaxOutgoingJobs_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingJobs_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingJob_INTERFACE_DEFINED__ +#define __IFaxOutgoingJob_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingJob */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingJob; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6356DAAD-6614-4583-BF7A-3AD67BBFC71C") + IFaxOutgoingJob : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Subject( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DocumentName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Pages( + /* [retval][out] */ __RPC__out long *plPages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size( + /* [retval][out] */ __RPC__out long *plSize) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubmissionId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OriginalScheduledTime( + /* [retval][out] */ __RPC__out DATE *pdateOriginalScheduledTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubmissionTime( + /* [retval][out] */ __RPC__out DATE *pdateSubmissionTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptType( + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Priority( + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Sender( + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Recipient( + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPage( + /* [retval][out] */ __RPC__out long *plCurrentPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *plDeviceId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtendedStatusCode( + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtendedStatus( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AvailableOperations( + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScheduledTime( + /* [retval][out] */ __RPC__out DATE *pdateScheduledTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionStart( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionEnd( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GroupBroadcastReceipts( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbGroupBroadcastReceipts) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pause( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Resume( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Restart( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyTiff( + /* [in] */ __RPC__in BSTR bstrTiffPath) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingJobVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingJob * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingJob * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingJob * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingJob * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingJob * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_SubmissionId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionId )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_OriginalScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalScheduledTime )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateOriginalScheduledTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_SubmissionTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionTime )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateSubmissionTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ReceiptType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptType )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Sender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Recipient) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipient )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_CurrentPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPage )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out long *plCurrentPage); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out long *plDeviceId); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ExtendedStatusCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatusCode )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ExtendedStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatus )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_AvailableOperations) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvailableOperations )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduledTime )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateScheduledTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_GroupBroadcastReceipts) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GroupBroadcastReceipts )( + __RPC__in IFaxOutgoingJob * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbGroupBroadcastReceipts); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Pause) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pause )( + __RPC__in IFaxOutgoingJob * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Resume) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Resume )( + __RPC__in IFaxOutgoingJob * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Restart) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Restart )( + __RPC__in IFaxOutgoingJob * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxOutgoingJob * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxOutgoingJob * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFaxOutgoingJob * This); + + END_INTERFACE + } IFaxOutgoingJobVtbl; + + interface IFaxOutgoingJob + { + CONST_VTBL struct IFaxOutgoingJobVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingJob_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingJob_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingJob_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingJob_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingJob_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxOutgoingJob_get_DocumentName(This,pbstrDocumentName) \ + ( (This)->lpVtbl -> get_DocumentName(This,pbstrDocumentName) ) + +#define IFaxOutgoingJob_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxOutgoingJob_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxOutgoingJob_get_SubmissionId(This,pbstrSubmissionId) \ + ( (This)->lpVtbl -> get_SubmissionId(This,pbstrSubmissionId) ) + +#define IFaxOutgoingJob_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxOutgoingJob_get_OriginalScheduledTime(This,pdateOriginalScheduledTime) \ + ( (This)->lpVtbl -> get_OriginalScheduledTime(This,pdateOriginalScheduledTime) ) + +#define IFaxOutgoingJob_get_SubmissionTime(This,pdateSubmissionTime) \ + ( (This)->lpVtbl -> get_SubmissionTime(This,pdateSubmissionTime) ) + +#define IFaxOutgoingJob_get_ReceiptType(This,pReceiptType) \ + ( (This)->lpVtbl -> get_ReceiptType(This,pReceiptType) ) + +#define IFaxOutgoingJob_get_Priority(This,pPriority) \ + ( (This)->lpVtbl -> get_Priority(This,pPriority) ) + +#define IFaxOutgoingJob_get_Sender(This,ppFaxSender) \ + ( (This)->lpVtbl -> get_Sender(This,ppFaxSender) ) + +#define IFaxOutgoingJob_get_Recipient(This,ppFaxRecipient) \ + ( (This)->lpVtbl -> get_Recipient(This,ppFaxRecipient) ) + +#define IFaxOutgoingJob_get_CurrentPage(This,plCurrentPage) \ + ( (This)->lpVtbl -> get_CurrentPage(This,plCurrentPage) ) + +#define IFaxOutgoingJob_get_DeviceId(This,plDeviceId) \ + ( (This)->lpVtbl -> get_DeviceId(This,plDeviceId) ) + +#define IFaxOutgoingJob_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxOutgoingJob_get_ExtendedStatusCode(This,pExtendedStatusCode) \ + ( (This)->lpVtbl -> get_ExtendedStatusCode(This,pExtendedStatusCode) ) + +#define IFaxOutgoingJob_get_ExtendedStatus(This,pbstrExtendedStatus) \ + ( (This)->lpVtbl -> get_ExtendedStatus(This,pbstrExtendedStatus) ) + +#define IFaxOutgoingJob_get_AvailableOperations(This,pAvailableOperations) \ + ( (This)->lpVtbl -> get_AvailableOperations(This,pAvailableOperations) ) + +#define IFaxOutgoingJob_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxOutgoingJob_get_ScheduledTime(This,pdateScheduledTime) \ + ( (This)->lpVtbl -> get_ScheduledTime(This,pdateScheduledTime) ) + +#define IFaxOutgoingJob_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxOutgoingJob_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxOutgoingJob_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxOutgoingJob_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxOutgoingJob_get_GroupBroadcastReceipts(This,pbGroupBroadcastReceipts) \ + ( (This)->lpVtbl -> get_GroupBroadcastReceipts(This,pbGroupBroadcastReceipts) ) + +#define IFaxOutgoingJob_Pause(This) \ + ( (This)->lpVtbl -> Pause(This) ) + +#define IFaxOutgoingJob_Resume(This) \ + ( (This)->lpVtbl -> Resume(This) ) + +#define IFaxOutgoingJob_Restart(This) \ + ( (This)->lpVtbl -> Restart(This) ) + +#define IFaxOutgoingJob_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#define IFaxOutgoingJob_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxOutgoingJob_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingJob_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingMessageIterator_INTERFACE_DEFINED__ +#define __IFaxOutgoingMessageIterator_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingMessageIterator */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingMessageIterator; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("F5EC5D4F-B840-432F-9980-112FE42A9B7A") + IFaxOutgoingMessageIterator : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Message( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessage **pFaxOutgoingMessage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AtEOF( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbEOF) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PrefetchSize( + /* [retval][out] */ __RPC__out long *plPrefetchSize) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PrefetchSize( + /* [in] */ long lPrefetchSize) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveFirst( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveNext( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingMessageIteratorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingMessageIterator * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingMessageIterator * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingMessageIterator * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessageIterator, get_Message) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Message )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessage **pFaxOutgoingMessage); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessageIterator, get_AtEOF) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AtEOF )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbEOF); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessageIterator, get_PrefetchSize) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrefetchSize )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [retval][out] */ __RPC__out long *plPrefetchSize); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessageIterator, put_PrefetchSize) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PrefetchSize )( + __RPC__in IFaxOutgoingMessageIterator * This, + /* [in] */ long lPrefetchSize); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessageIterator, MoveFirst) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveFirst )( + __RPC__in IFaxOutgoingMessageIterator * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessageIterator, MoveNext) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveNext )( + __RPC__in IFaxOutgoingMessageIterator * This); + + END_INTERFACE + } IFaxOutgoingMessageIteratorVtbl; + + interface IFaxOutgoingMessageIterator + { + CONST_VTBL struct IFaxOutgoingMessageIteratorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingMessageIterator_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingMessageIterator_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingMessageIterator_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingMessageIterator_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingMessageIterator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingMessageIterator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingMessageIterator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingMessageIterator_get_Message(This,pFaxOutgoingMessage) \ + ( (This)->lpVtbl -> get_Message(This,pFaxOutgoingMessage) ) + +#define IFaxOutgoingMessageIterator_get_AtEOF(This,pbEOF) \ + ( (This)->lpVtbl -> get_AtEOF(This,pbEOF) ) + +#define IFaxOutgoingMessageIterator_get_PrefetchSize(This,plPrefetchSize) \ + ( (This)->lpVtbl -> get_PrefetchSize(This,plPrefetchSize) ) + +#define IFaxOutgoingMessageIterator_put_PrefetchSize(This,lPrefetchSize) \ + ( (This)->lpVtbl -> put_PrefetchSize(This,lPrefetchSize) ) + +#define IFaxOutgoingMessageIterator_MoveFirst(This) \ + ( (This)->lpVtbl -> MoveFirst(This) ) + +#define IFaxOutgoingMessageIterator_MoveNext(This) \ + ( (This)->lpVtbl -> MoveNext(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingMessageIterator_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingMessage_INTERFACE_DEFINED__ +#define __IFaxOutgoingMessage_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingMessage */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingMessage; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("F0EA35DE-CAA5-4A7C-82C7-2B60BA5F2BE2") + IFaxOutgoingMessage : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubmissionId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Subject( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DocumentName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Pages( + /* [retval][out] */ __RPC__out long *plPages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size( + /* [retval][out] */ __RPC__out long *plSize) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OriginalScheduledTime( + /* [retval][out] */ __RPC__out DATE *pdateOriginalScheduledTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubmissionTime( + /* [retval][out] */ __RPC__out DATE *pdateSubmissionTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Priority( + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Sender( + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Recipient( + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionStart( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionEnd( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyTiff( + /* [in] */ __RPC__in BSTR bstrTiffPath) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingMessageVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingMessage * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingMessage * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingMessage * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingMessage * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingMessage * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingMessage * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingMessage * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_SubmissionId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionId )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_OriginalScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalScheduledTime )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out DATE *pdateOriginalScheduledTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_SubmissionTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionTime )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out DATE *pdateSubmissionTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Sender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Recipient) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipient )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxOutgoingMessage * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxOutgoingMessage * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFaxOutgoingMessage * This); + + END_INTERFACE + } IFaxOutgoingMessageVtbl; + + interface IFaxOutgoingMessage + { + CONST_VTBL struct IFaxOutgoingMessageVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingMessage_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingMessage_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingMessage_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingMessage_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingMessage_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingMessage_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingMessage_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingMessage_get_SubmissionId(This,pbstrSubmissionId) \ + ( (This)->lpVtbl -> get_SubmissionId(This,pbstrSubmissionId) ) + +#define IFaxOutgoingMessage_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxOutgoingMessage_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxOutgoingMessage_get_DocumentName(This,pbstrDocumentName) \ + ( (This)->lpVtbl -> get_DocumentName(This,pbstrDocumentName) ) + +#define IFaxOutgoingMessage_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxOutgoingMessage_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxOutgoingMessage_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxOutgoingMessage_get_OriginalScheduledTime(This,pdateOriginalScheduledTime) \ + ( (This)->lpVtbl -> get_OriginalScheduledTime(This,pdateOriginalScheduledTime) ) + +#define IFaxOutgoingMessage_get_SubmissionTime(This,pdateSubmissionTime) \ + ( (This)->lpVtbl -> get_SubmissionTime(This,pdateSubmissionTime) ) + +#define IFaxOutgoingMessage_get_Priority(This,pPriority) \ + ( (This)->lpVtbl -> get_Priority(This,pPriority) ) + +#define IFaxOutgoingMessage_get_Sender(This,ppFaxSender) \ + ( (This)->lpVtbl -> get_Sender(This,ppFaxSender) ) + +#define IFaxOutgoingMessage_get_Recipient(This,ppFaxRecipient) \ + ( (This)->lpVtbl -> get_Recipient(This,ppFaxRecipient) ) + +#define IFaxOutgoingMessage_get_DeviceName(This,pbstrDeviceName) \ + ( (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName) ) + +#define IFaxOutgoingMessage_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxOutgoingMessage_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxOutgoingMessage_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxOutgoingMessage_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxOutgoingMessage_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#define IFaxOutgoingMessage_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingMessage_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingJobs_INTERFACE_DEFINED__ +#define __IFaxIncomingJobs_INTERFACE_DEFINED__ + +/* interface IFaxIncomingJobs */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingJobs; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("011F04E9-4FD6-4C23-9513-B6B66BB26BE9") + IFaxIncomingJobs : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJob **pFaxIncomingJob) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingJobsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingJobs * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingJobs * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingJobs * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingJobs * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingJobs * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingJobs * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingJobs * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingJobs, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxIncomingJobs * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxIncomingJobs, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxIncomingJobs * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJob **pFaxIncomingJob); + + DECLSPEC_XFGVIRT(IFaxIncomingJobs, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxIncomingJobs * This, + /* [retval][out] */ __RPC__out long *plCount); + + END_INTERFACE + } IFaxIncomingJobsVtbl; + + interface IFaxIncomingJobs + { + CONST_VTBL struct IFaxIncomingJobsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingJobs_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingJobs_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingJobs_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingJobs_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingJobs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingJobs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingJobs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingJobs_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxIncomingJobs_get_Item(This,vIndex,pFaxIncomingJob) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxIncomingJob) ) + +#define IFaxIncomingJobs_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingJobs_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingJob_INTERFACE_DEFINED__ +#define __IFaxIncomingJob_INTERFACE_DEFINED__ + +/* interface IFaxIncomingJob */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingJob; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("207529E6-654A-4916-9F88-4D232EE8A107") + IFaxIncomingJob : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size( + /* [retval][out] */ __RPC__out long *plSize) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPage( + /* [retval][out] */ __RPC__out long *plCurrentPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *plDeviceId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtendedStatusCode( + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtendedStatus( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AvailableOperations( + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionStart( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransmissionEnd( + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallerId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RoutingInformation( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_JobType( + /* [retval][out] */ __RPC__out FAX_JOB_TYPE_ENUM *pJobType) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyTiff( + /* [in] */ __RPC__in BSTR bstrTiffPath) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingJobVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingJob * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingJob * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingJob * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingJob * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingJob * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_CurrentPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPage )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out long *plCurrentPage); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out long *plDeviceId); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_ExtendedStatusCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatusCode )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_ExtendedStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatus )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_AvailableOperations) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvailableOperations )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_CallerId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallerId )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_RoutingInformation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingInformation )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, get_JobType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_JobType )( + __RPC__in IFaxIncomingJob * This, + /* [retval][out] */ __RPC__out FAX_JOB_TYPE_ENUM *pJobType); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFaxIncomingJob * This); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxIncomingJob * This); + + DECLSPEC_XFGVIRT(IFaxIncomingJob, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxIncomingJob * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + END_INTERFACE + } IFaxIncomingJobVtbl; + + interface IFaxIncomingJob + { + CONST_VTBL struct IFaxIncomingJobVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingJob_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingJob_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingJob_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingJob_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingJob_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxIncomingJob_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxIncomingJob_get_CurrentPage(This,plCurrentPage) \ + ( (This)->lpVtbl -> get_CurrentPage(This,plCurrentPage) ) + +#define IFaxIncomingJob_get_DeviceId(This,plDeviceId) \ + ( (This)->lpVtbl -> get_DeviceId(This,plDeviceId) ) + +#define IFaxIncomingJob_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxIncomingJob_get_ExtendedStatusCode(This,pExtendedStatusCode) \ + ( (This)->lpVtbl -> get_ExtendedStatusCode(This,pExtendedStatusCode) ) + +#define IFaxIncomingJob_get_ExtendedStatus(This,pbstrExtendedStatus) \ + ( (This)->lpVtbl -> get_ExtendedStatus(This,pbstrExtendedStatus) ) + +#define IFaxIncomingJob_get_AvailableOperations(This,pAvailableOperations) \ + ( (This)->lpVtbl -> get_AvailableOperations(This,pAvailableOperations) ) + +#define IFaxIncomingJob_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxIncomingJob_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxIncomingJob_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxIncomingJob_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxIncomingJob_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxIncomingJob_get_CallerId(This,pbstrCallerId) \ + ( (This)->lpVtbl -> get_CallerId(This,pbstrCallerId) ) + +#define IFaxIncomingJob_get_RoutingInformation(This,pbstrRoutingInformation) \ + ( (This)->lpVtbl -> get_RoutingInformation(This,pbstrRoutingInformation) ) + +#define IFaxIncomingJob_get_JobType(This,pJobType) \ + ( (This)->lpVtbl -> get_JobType(This,pJobType) ) + +#define IFaxIncomingJob_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#define IFaxIncomingJob_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxIncomingJob_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingJob_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDeviceProvider_INTERFACE_DEFINED__ +#define __IFaxDeviceProvider_INTERFACE_DEFINED__ + +/* interface IFaxDeviceProvider */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_PROVIDER_STATUS_ENUM + { + fpsSUCCESS = 0, + fpsSERVER_ERROR = ( fpsSUCCESS + 1 ) , + fpsBAD_GUID = ( fpsSERVER_ERROR + 1 ) , + fpsBAD_VERSION = ( fpsBAD_GUID + 1 ) , + fpsCANT_LOAD = ( fpsBAD_VERSION + 1 ) , + fpsCANT_LINK = ( fpsCANT_LOAD + 1 ) , + fpsCANT_INIT = ( fpsCANT_LINK + 1 ) + } FAX_PROVIDER_STATUS_ENUM; + + +EXTERN_C const IID IID_IFaxDeviceProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("290EAC63-83EC-449C-8417-F148DF8C682A") + IFaxDeviceProvider : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFriendlyName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ImageName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrImageName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UniqueName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUniqueName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TapiProviderName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTapiProviderName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion( + /* [retval][out] */ __RPC__out long *plMajorVersion) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion( + /* [retval][out] */ __RPC__out long *plMinorVersion) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorBuild( + /* [retval][out] */ __RPC__out long *plMajorBuild) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorBuild( + /* [retval][out] */ __RPC__out long *plMinorBuild) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Debug( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_PROVIDER_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InitErrorCode( + /* [retval][out] */ __RPC__out long *plInitErrorCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceIds( + /* [retval][out] */ __RPC__out VARIANT *pvDeviceIds) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDeviceProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDeviceProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDeviceProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDeviceProvider * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDeviceProvider * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDeviceProvider * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDeviceProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDeviceProvider * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_FriendlyName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FriendlyName )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFriendlyName); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_ImageName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ImageName )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrImageName); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_UniqueName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UniqueName )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUniqueName); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_TapiProviderName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TapiProviderName )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTapiProviderName); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_MajorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out long *plMajorVersion); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_MinorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out long *plMinorVersion); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_MajorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorBuild )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out long *plMajorBuild); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_MinorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorBuild )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out long *plMinorBuild); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_Debug) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Debug )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out FAX_PROVIDER_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_InitErrorCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InitErrorCode )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out long *plInitErrorCode); + + DECLSPEC_XFGVIRT(IFaxDeviceProvider, get_DeviceIds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceIds )( + __RPC__in IFaxDeviceProvider * This, + /* [retval][out] */ __RPC__out VARIANT *pvDeviceIds); + + END_INTERFACE + } IFaxDeviceProviderVtbl; + + interface IFaxDeviceProvider + { + CONST_VTBL struct IFaxDeviceProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDeviceProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDeviceProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDeviceProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDeviceProvider_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDeviceProvider_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDeviceProvider_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDeviceProvider_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDeviceProvider_get_FriendlyName(This,pbstrFriendlyName) \ + ( (This)->lpVtbl -> get_FriendlyName(This,pbstrFriendlyName) ) + +#define IFaxDeviceProvider_get_ImageName(This,pbstrImageName) \ + ( (This)->lpVtbl -> get_ImageName(This,pbstrImageName) ) + +#define IFaxDeviceProvider_get_UniqueName(This,pbstrUniqueName) \ + ( (This)->lpVtbl -> get_UniqueName(This,pbstrUniqueName) ) + +#define IFaxDeviceProvider_get_TapiProviderName(This,pbstrTapiProviderName) \ + ( (This)->lpVtbl -> get_TapiProviderName(This,pbstrTapiProviderName) ) + +#define IFaxDeviceProvider_get_MajorVersion(This,plMajorVersion) \ + ( (This)->lpVtbl -> get_MajorVersion(This,plMajorVersion) ) + +#define IFaxDeviceProvider_get_MinorVersion(This,plMinorVersion) \ + ( (This)->lpVtbl -> get_MinorVersion(This,plMinorVersion) ) + +#define IFaxDeviceProvider_get_MajorBuild(This,plMajorBuild) \ + ( (This)->lpVtbl -> get_MajorBuild(This,plMajorBuild) ) + +#define IFaxDeviceProvider_get_MinorBuild(This,plMinorBuild) \ + ( (This)->lpVtbl -> get_MinorBuild(This,plMinorBuild) ) + +#define IFaxDeviceProvider_get_Debug(This,pbDebug) \ + ( (This)->lpVtbl -> get_Debug(This,pbDebug) ) + +#define IFaxDeviceProvider_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxDeviceProvider_get_InitErrorCode(This,plInitErrorCode) \ + ( (This)->lpVtbl -> get_InitErrorCode(This,plInitErrorCode) ) + +#define IFaxDeviceProvider_get_DeviceIds(This,pvDeviceIds) \ + ( (This)->lpVtbl -> get_DeviceIds(This,pvDeviceIds) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDeviceProvider_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDevice_INTERFACE_DEFINED__ +#define __IFaxDevice_INTERFACE_DEFINED__ + +/* interface IFaxDevice */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_DEVICE_RECEIVE_MODE_ENUM + { + fdrmNO_ANSWER = 0, + fdrmAUTO_ANSWER = ( fdrmNO_ANSWER + 1 ) , + fdrmMANUAL_ANSWER = ( fdrmAUTO_ANSWER + 1 ) + } FAX_DEVICE_RECEIVE_MODE_ENUM; + + +EXTERN_C const IID IID_IFaxDevice; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("49306C59-B52E-4867-9DF4-CA5841C956D0") + IFaxDevice : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__out long *plId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ProviderUniqueName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrProviderUniqueName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PoweredOff( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbPoweredOff) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceivingNow( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbReceivingNow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SendingNow( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSendingNow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UsedRoutingMethods( + /* [retval][out] */ __RPC__out VARIANT *pvUsedRoutingMethods) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( + /* [in] */ __RPC__in BSTR bstrDescription) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SendEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSendEnabled) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SendEnabled( + /* [in] */ VARIANT_BOOL bSendEnabled) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiveMode( + /* [retval][out] */ __RPC__out FAX_DEVICE_RECEIVE_MODE_ENUM *pReceiveMode) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReceiveMode( + /* [in] */ FAX_DEVICE_RECEIVE_MODE_ENUM ReceiveMode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingsBeforeAnswer( + /* [retval][out] */ __RPC__out long *plRingsBeforeAnswer) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RingsBeforeAnswer( + /* [in] */ long lRingsBeforeAnswer) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CSID( + /* [in] */ __RPC__in BSTR bstrCSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TSID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_TSID( + /* [in] */ __RPC__in BSTR bstrTSID) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetExtensionProperty( + /* [in] */ __RPC__in BSTR bstrGUID, + /* [retval][out] */ __RPC__out VARIANT *pvProperty) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetExtensionProperty( + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ VARIANT vProperty) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UseRoutingMethod( + /* [in] */ __RPC__in BSTR bstrMethodGUID, + /* [in] */ VARIANT_BOOL bUse) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingingNow( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRingingNow) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AnswerCall( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDeviceVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDevice * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDevice * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDevice * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDevice * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDevice * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDevice, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out long *plId); + + DECLSPEC_XFGVIRT(IFaxDevice, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName); + + DECLSPEC_XFGVIRT(IFaxDevice, get_ProviderUniqueName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ProviderUniqueName )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrProviderUniqueName); + + DECLSPEC_XFGVIRT(IFaxDevice, get_PoweredOff) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PoweredOff )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbPoweredOff); + + DECLSPEC_XFGVIRT(IFaxDevice, get_ReceivingNow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceivingNow )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbReceivingNow); + + DECLSPEC_XFGVIRT(IFaxDevice, get_SendingNow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SendingNow )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSendingNow); + + DECLSPEC_XFGVIRT(IFaxDevice, get_UsedRoutingMethods) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UsedRoutingMethods )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out VARIANT *pvUsedRoutingMethods); + + DECLSPEC_XFGVIRT(IFaxDevice, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDescription); + + DECLSPEC_XFGVIRT(IFaxDevice, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in BSTR bstrDescription); + + DECLSPEC_XFGVIRT(IFaxDevice, get_SendEnabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SendEnabled )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSendEnabled); + + DECLSPEC_XFGVIRT(IFaxDevice, put_SendEnabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SendEnabled )( + __RPC__in IFaxDevice * This, + /* [in] */ VARIANT_BOOL bSendEnabled); + + DECLSPEC_XFGVIRT(IFaxDevice, get_ReceiveMode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiveMode )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out FAX_DEVICE_RECEIVE_MODE_ENUM *pReceiveMode); + + DECLSPEC_XFGVIRT(IFaxDevice, put_ReceiveMode) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReceiveMode )( + __RPC__in IFaxDevice * This, + /* [in] */ FAX_DEVICE_RECEIVE_MODE_ENUM ReceiveMode); + + DECLSPEC_XFGVIRT(IFaxDevice, get_RingsBeforeAnswer) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingsBeforeAnswer )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out long *plRingsBeforeAnswer); + + DECLSPEC_XFGVIRT(IFaxDevice, put_RingsBeforeAnswer) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RingsBeforeAnswer )( + __RPC__in IFaxDevice * This, + /* [in] */ long lRingsBeforeAnswer); + + DECLSPEC_XFGVIRT(IFaxDevice, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxDevice, put_CSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CSID )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in BSTR bstrCSID); + + DECLSPEC_XFGVIRT(IFaxDevice, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxDevice, put_TSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_TSID )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in BSTR bstrTSID); + + DECLSPEC_XFGVIRT(IFaxDevice, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxDevice * This); + + DECLSPEC_XFGVIRT(IFaxDevice, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxDevice * This); + + DECLSPEC_XFGVIRT(IFaxDevice, GetExtensionProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetExtensionProperty )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [retval][out] */ __RPC__out VARIANT *pvProperty); + + DECLSPEC_XFGVIRT(IFaxDevice, SetExtensionProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetExtensionProperty )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ VARIANT vProperty); + + DECLSPEC_XFGVIRT(IFaxDevice, UseRoutingMethod) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UseRoutingMethod )( + __RPC__in IFaxDevice * This, + /* [in] */ __RPC__in BSTR bstrMethodGUID, + /* [in] */ VARIANT_BOOL bUse); + + DECLSPEC_XFGVIRT(IFaxDevice, get_RingingNow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingingNow )( + __RPC__in IFaxDevice * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRingingNow); + + DECLSPEC_XFGVIRT(IFaxDevice, AnswerCall) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AnswerCall )( + __RPC__in IFaxDevice * This); + + END_INTERFACE + } IFaxDeviceVtbl; + + interface IFaxDevice + { + CONST_VTBL struct IFaxDeviceVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDevice_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDevice_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDevice_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDevice_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDevice_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDevice_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDevice_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDevice_get_Id(This,plId) \ + ( (This)->lpVtbl -> get_Id(This,plId) ) + +#define IFaxDevice_get_DeviceName(This,pbstrDeviceName) \ + ( (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName) ) + +#define IFaxDevice_get_ProviderUniqueName(This,pbstrProviderUniqueName) \ + ( (This)->lpVtbl -> get_ProviderUniqueName(This,pbstrProviderUniqueName) ) + +#define IFaxDevice_get_PoweredOff(This,pbPoweredOff) \ + ( (This)->lpVtbl -> get_PoweredOff(This,pbPoweredOff) ) + +#define IFaxDevice_get_ReceivingNow(This,pbReceivingNow) \ + ( (This)->lpVtbl -> get_ReceivingNow(This,pbReceivingNow) ) + +#define IFaxDevice_get_SendingNow(This,pbSendingNow) \ + ( (This)->lpVtbl -> get_SendingNow(This,pbSendingNow) ) + +#define IFaxDevice_get_UsedRoutingMethods(This,pvUsedRoutingMethods) \ + ( (This)->lpVtbl -> get_UsedRoutingMethods(This,pvUsedRoutingMethods) ) + +#define IFaxDevice_get_Description(This,pbstrDescription) \ + ( (This)->lpVtbl -> get_Description(This,pbstrDescription) ) + +#define IFaxDevice_put_Description(This,bstrDescription) \ + ( (This)->lpVtbl -> put_Description(This,bstrDescription) ) + +#define IFaxDevice_get_SendEnabled(This,pbSendEnabled) \ + ( (This)->lpVtbl -> get_SendEnabled(This,pbSendEnabled) ) + +#define IFaxDevice_put_SendEnabled(This,bSendEnabled) \ + ( (This)->lpVtbl -> put_SendEnabled(This,bSendEnabled) ) + +#define IFaxDevice_get_ReceiveMode(This,pReceiveMode) \ + ( (This)->lpVtbl -> get_ReceiveMode(This,pReceiveMode) ) + +#define IFaxDevice_put_ReceiveMode(This,ReceiveMode) \ + ( (This)->lpVtbl -> put_ReceiveMode(This,ReceiveMode) ) + +#define IFaxDevice_get_RingsBeforeAnswer(This,plRingsBeforeAnswer) \ + ( (This)->lpVtbl -> get_RingsBeforeAnswer(This,plRingsBeforeAnswer) ) + +#define IFaxDevice_put_RingsBeforeAnswer(This,lRingsBeforeAnswer) \ + ( (This)->lpVtbl -> put_RingsBeforeAnswer(This,lRingsBeforeAnswer) ) + +#define IFaxDevice_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxDevice_put_CSID(This,bstrCSID) \ + ( (This)->lpVtbl -> put_CSID(This,bstrCSID) ) + +#define IFaxDevice_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxDevice_put_TSID(This,bstrTSID) \ + ( (This)->lpVtbl -> put_TSID(This,bstrTSID) ) + +#define IFaxDevice_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxDevice_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxDevice_GetExtensionProperty(This,bstrGUID,pvProperty) \ + ( (This)->lpVtbl -> GetExtensionProperty(This,bstrGUID,pvProperty) ) + +#define IFaxDevice_SetExtensionProperty(This,bstrGUID,vProperty) \ + ( (This)->lpVtbl -> SetExtensionProperty(This,bstrGUID,vProperty) ) + +#define IFaxDevice_UseRoutingMethod(This,bstrMethodGUID,bUse) \ + ( (This)->lpVtbl -> UseRoutingMethod(This,bstrMethodGUID,bUse) ) + +#define IFaxDevice_get_RingingNow(This,pbRingingNow) \ + ( (This)->lpVtbl -> get_RingingNow(This,pbRingingNow) ) + +#define IFaxDevice_AnswerCall(This) \ + ( (This)->lpVtbl -> AnswerCall(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDevice_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxActivityLogging_INTERFACE_DEFINED__ +#define __IFaxActivityLogging_INTERFACE_DEFINED__ + +/* interface IFaxActivityLogging */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxActivityLogging; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("1E29078B-5A69-497B-9592-49B7E7FADDB5") + IFaxActivityLogging : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LogIncoming( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbLogIncoming) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LogIncoming( + /* [in] */ VARIANT_BOOL bLogIncoming) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LogOutgoing( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbLogOutgoing) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LogOutgoing( + /* [in] */ VARIANT_BOOL bLogOutgoing) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DatabasePath( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDatabasePath) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DatabasePath( + /* [in] */ __RPC__in BSTR bstrDatabasePath) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxActivityLoggingVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxActivityLogging * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxActivityLogging * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxActivityLogging * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxActivityLogging * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxActivityLogging * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxActivityLogging * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxActivityLogging * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, get_LogIncoming) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LogIncoming )( + __RPC__in IFaxActivityLogging * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbLogIncoming); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, put_LogIncoming) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LogIncoming )( + __RPC__in IFaxActivityLogging * This, + /* [in] */ VARIANT_BOOL bLogIncoming); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, get_LogOutgoing) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LogOutgoing )( + __RPC__in IFaxActivityLogging * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbLogOutgoing); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, put_LogOutgoing) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LogOutgoing )( + __RPC__in IFaxActivityLogging * This, + /* [in] */ VARIANT_BOOL bLogOutgoing); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, get_DatabasePath) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DatabasePath )( + __RPC__in IFaxActivityLogging * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDatabasePath); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, put_DatabasePath) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DatabasePath )( + __RPC__in IFaxActivityLogging * This, + /* [in] */ __RPC__in BSTR bstrDatabasePath); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxActivityLogging * This); + + DECLSPEC_XFGVIRT(IFaxActivityLogging, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxActivityLogging * This); + + END_INTERFACE + } IFaxActivityLoggingVtbl; + + interface IFaxActivityLogging + { + CONST_VTBL struct IFaxActivityLoggingVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxActivityLogging_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxActivityLogging_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxActivityLogging_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxActivityLogging_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxActivityLogging_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxActivityLogging_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxActivityLogging_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxActivityLogging_get_LogIncoming(This,pbLogIncoming) \ + ( (This)->lpVtbl -> get_LogIncoming(This,pbLogIncoming) ) + +#define IFaxActivityLogging_put_LogIncoming(This,bLogIncoming) \ + ( (This)->lpVtbl -> put_LogIncoming(This,bLogIncoming) ) + +#define IFaxActivityLogging_get_LogOutgoing(This,pbLogOutgoing) \ + ( (This)->lpVtbl -> get_LogOutgoing(This,pbLogOutgoing) ) + +#define IFaxActivityLogging_put_LogOutgoing(This,bLogOutgoing) \ + ( (This)->lpVtbl -> put_LogOutgoing(This,bLogOutgoing) ) + +#define IFaxActivityLogging_get_DatabasePath(This,pbstrDatabasePath) \ + ( (This)->lpVtbl -> get_DatabasePath(This,pbstrDatabasePath) ) + +#define IFaxActivityLogging_put_DatabasePath(This,bstrDatabasePath) \ + ( (This)->lpVtbl -> put_DatabasePath(This,bstrDatabasePath) ) + +#define IFaxActivityLogging_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxActivityLogging_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxActivityLogging_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxEventLogging_INTERFACE_DEFINED__ +#define __IFaxEventLogging_INTERFACE_DEFINED__ + +/* interface IFaxEventLogging */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_LOG_LEVEL_ENUM + { + fllNONE = 0, + fllMIN = ( fllNONE + 1 ) , + fllMED = ( fllMIN + 1 ) , + fllMAX = ( fllMED + 1 ) + } FAX_LOG_LEVEL_ENUM; + + +EXTERN_C const IID IID_IFaxEventLogging; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0880D965-20E8-42E4-8E17-944F192CAAD4") + IFaxEventLogging : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InitEventsLevel( + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pInitEventLevel) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InitEventsLevel( + /* [in] */ FAX_LOG_LEVEL_ENUM InitEventLevel) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InboundEventsLevel( + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pInboundEventLevel) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InboundEventsLevel( + /* [in] */ FAX_LOG_LEVEL_ENUM InboundEventLevel) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutboundEventsLevel( + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pOutboundEventLevel) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutboundEventsLevel( + /* [in] */ FAX_LOG_LEVEL_ENUM OutboundEventLevel) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GeneralEventsLevel( + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pGeneralEventLevel) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_GeneralEventsLevel( + /* [in] */ FAX_LOG_LEVEL_ENUM GeneralEventLevel) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxEventLoggingVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxEventLogging * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxEventLogging * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxEventLogging * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxEventLogging * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxEventLogging * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxEventLogging * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxEventLogging * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxEventLogging, get_InitEventsLevel) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InitEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pInitEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, put_InitEventsLevel) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InitEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [in] */ FAX_LOG_LEVEL_ENUM InitEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, get_InboundEventsLevel) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InboundEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pInboundEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, put_InboundEventsLevel) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InboundEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [in] */ FAX_LOG_LEVEL_ENUM InboundEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, get_OutboundEventsLevel) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutboundEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pOutboundEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, put_OutboundEventsLevel) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutboundEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [in] */ FAX_LOG_LEVEL_ENUM OutboundEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, get_GeneralEventsLevel) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GeneralEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [retval][out] */ __RPC__out FAX_LOG_LEVEL_ENUM *pGeneralEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, put_GeneralEventsLevel) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_GeneralEventsLevel )( + __RPC__in IFaxEventLogging * This, + /* [in] */ FAX_LOG_LEVEL_ENUM GeneralEventLevel); + + DECLSPEC_XFGVIRT(IFaxEventLogging, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxEventLogging * This); + + DECLSPEC_XFGVIRT(IFaxEventLogging, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxEventLogging * This); + + END_INTERFACE + } IFaxEventLoggingVtbl; + + interface IFaxEventLogging + { + CONST_VTBL struct IFaxEventLoggingVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxEventLogging_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxEventLogging_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxEventLogging_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxEventLogging_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxEventLogging_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxEventLogging_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxEventLogging_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxEventLogging_get_InitEventsLevel(This,pInitEventLevel) \ + ( (This)->lpVtbl -> get_InitEventsLevel(This,pInitEventLevel) ) + +#define IFaxEventLogging_put_InitEventsLevel(This,InitEventLevel) \ + ( (This)->lpVtbl -> put_InitEventsLevel(This,InitEventLevel) ) + +#define IFaxEventLogging_get_InboundEventsLevel(This,pInboundEventLevel) \ + ( (This)->lpVtbl -> get_InboundEventsLevel(This,pInboundEventLevel) ) + +#define IFaxEventLogging_put_InboundEventsLevel(This,InboundEventLevel) \ + ( (This)->lpVtbl -> put_InboundEventsLevel(This,InboundEventLevel) ) + +#define IFaxEventLogging_get_OutboundEventsLevel(This,pOutboundEventLevel) \ + ( (This)->lpVtbl -> get_OutboundEventsLevel(This,pOutboundEventLevel) ) + +#define IFaxEventLogging_put_OutboundEventsLevel(This,OutboundEventLevel) \ + ( (This)->lpVtbl -> put_OutboundEventsLevel(This,OutboundEventLevel) ) + +#define IFaxEventLogging_get_GeneralEventsLevel(This,pGeneralEventLevel) \ + ( (This)->lpVtbl -> get_GeneralEventsLevel(This,pGeneralEventLevel) ) + +#define IFaxEventLogging_put_GeneralEventsLevel(This,GeneralEventLevel) \ + ( (This)->lpVtbl -> put_GeneralEventsLevel(This,GeneralEventLevel) ) + +#define IFaxEventLogging_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxEventLogging_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxEventLogging_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingGroups_INTERFACE_DEFINED__ +#define __IFaxOutboundRoutingGroups_INTERFACE_DEFINED__ + +/* interface IFaxOutboundRoutingGroups */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutboundRoutingGroups; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("235CBEF7-C2DE-4BFD-B8DA-75097C82C87F") + IFaxOutboundRoutingGroups : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingGroup **pFaxOutboundRoutingGroup) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( + /* [in] */ __RPC__in BSTR bstrName, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingGroup **pFaxOutboundRoutingGroup) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ VARIANT vIndex) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutboundRoutingGroupsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutboundRoutingGroups * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutboundRoutingGroups * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutboundRoutingGroups * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroups, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroups, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingGroup **pFaxOutboundRoutingGroup); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroups, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [retval][out] */ __RPC__out long *plCount); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroups, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [in] */ __RPC__in BSTR bstrName, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingGroup **pFaxOutboundRoutingGroup); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroups, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFaxOutboundRoutingGroups * This, + /* [in] */ VARIANT vIndex); + + END_INTERFACE + } IFaxOutboundRoutingGroupsVtbl; + + interface IFaxOutboundRoutingGroups + { + CONST_VTBL struct IFaxOutboundRoutingGroupsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutboundRoutingGroups_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutboundRoutingGroups_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutboundRoutingGroups_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutboundRoutingGroups_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutboundRoutingGroups_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutboundRoutingGroups_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutboundRoutingGroups_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutboundRoutingGroups_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxOutboundRoutingGroups_get_Item(This,vIndex,pFaxOutboundRoutingGroup) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxOutboundRoutingGroup) ) + +#define IFaxOutboundRoutingGroups_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#define IFaxOutboundRoutingGroups_Add(This,bstrName,pFaxOutboundRoutingGroup) \ + ( (This)->lpVtbl -> Add(This,bstrName,pFaxOutboundRoutingGroup) ) + +#define IFaxOutboundRoutingGroups_Remove(This,vIndex) \ + ( (This)->lpVtbl -> Remove(This,vIndex) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutboundRoutingGroups_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingGroup_INTERFACE_DEFINED__ +#define __IFaxOutboundRoutingGroup_INTERFACE_DEFINED__ + +/* interface IFaxOutboundRoutingGroup */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_GROUP_STATUS_ENUM + { + fgsALL_DEV_VALID = 0, + fgsEMPTY = ( fgsALL_DEV_VALID + 1 ) , + fgsALL_DEV_NOT_VALID = ( fgsEMPTY + 1 ) , + fgsSOME_DEV_NOT_VALID = ( fgsALL_DEV_NOT_VALID + 1 ) + } FAX_GROUP_STATUS_ENUM; + + +EXTERN_C const IID IID_IFaxOutboundRoutingGroup; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("CA6289A1-7E25-4F87-9A0B-93365734962C") + IFaxOutboundRoutingGroup : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_GROUP_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceIds( + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceIds **pFaxDeviceIds) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutboundRoutingGroupVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutboundRoutingGroup * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutboundRoutingGroup * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutboundRoutingGroup * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroup, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroup, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [retval][out] */ __RPC__out FAX_GROUP_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingGroup, get_DeviceIds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceIds )( + __RPC__in IFaxOutboundRoutingGroup * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceIds **pFaxDeviceIds); + + END_INTERFACE + } IFaxOutboundRoutingGroupVtbl; + + interface IFaxOutboundRoutingGroup + { + CONST_VTBL struct IFaxOutboundRoutingGroupVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutboundRoutingGroup_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutboundRoutingGroup_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutboundRoutingGroup_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutboundRoutingGroup_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutboundRoutingGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutboundRoutingGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutboundRoutingGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutboundRoutingGroup_get_Name(This,pbstrName) \ + ( (This)->lpVtbl -> get_Name(This,pbstrName) ) + +#define IFaxOutboundRoutingGroup_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxOutboundRoutingGroup_get_DeviceIds(This,pFaxDeviceIds) \ + ( (This)->lpVtbl -> get_DeviceIds(This,pFaxDeviceIds) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutboundRoutingGroup_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDeviceIds_INTERFACE_DEFINED__ +#define __IFaxDeviceIds_INTERFACE_DEFINED__ + +/* interface IFaxDeviceIds */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxDeviceIds; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2F0F813F-4CE9-443E-8CA1-738CFAEEE149") + IFaxDeviceIds : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ long lIndex, + /* [retval][out] */ __RPC__out long *plDeviceId) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( + /* [in] */ long lDeviceId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ long lIndex) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetOrder( + /* [in] */ long lDeviceId, + /* [in] */ long lNewOrder) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDeviceIdsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDeviceIds * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDeviceIds * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDeviceIds * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDeviceIds * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDeviceIds, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxDeviceIds * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxDeviceIds, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ long lIndex, + /* [retval][out] */ __RPC__out long *plDeviceId); + + DECLSPEC_XFGVIRT(IFaxDeviceIds, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxDeviceIds * This, + /* [retval][out] */ __RPC__out long *plCount); + + DECLSPEC_XFGVIRT(IFaxDeviceIds, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ long lDeviceId); + + DECLSPEC_XFGVIRT(IFaxDeviceIds, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ long lIndex); + + DECLSPEC_XFGVIRT(IFaxDeviceIds, SetOrder) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetOrder )( + __RPC__in IFaxDeviceIds * This, + /* [in] */ long lDeviceId, + /* [in] */ long lNewOrder); + + END_INTERFACE + } IFaxDeviceIdsVtbl; + + interface IFaxDeviceIds + { + CONST_VTBL struct IFaxDeviceIdsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDeviceIds_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDeviceIds_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDeviceIds_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDeviceIds_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDeviceIds_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDeviceIds_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDeviceIds_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDeviceIds_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxDeviceIds_get_Item(This,lIndex,plDeviceId) \ + ( (This)->lpVtbl -> get_Item(This,lIndex,plDeviceId) ) + +#define IFaxDeviceIds_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#define IFaxDeviceIds_Add(This,lDeviceId) \ + ( (This)->lpVtbl -> Add(This,lDeviceId) ) + +#define IFaxDeviceIds_Remove(This,lIndex) \ + ( (This)->lpVtbl -> Remove(This,lIndex) ) + +#define IFaxDeviceIds_SetOrder(This,lDeviceId,lNewOrder) \ + ( (This)->lpVtbl -> SetOrder(This,lDeviceId,lNewOrder) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDeviceIds_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingRules_INTERFACE_DEFINED__ +#define __IFaxOutboundRoutingRules_INTERFACE_DEFINED__ + +/* interface IFaxOutboundRoutingRules */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutboundRoutingRules; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("DCEFA1E7-AE7D-4ED6-8521-369EDCCA5120") + IFaxOutboundRoutingRules : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ long lIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRule **pFaxOutboundRoutingRule) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ItemByCountryAndArea( + /* [in] */ long lCountryCode, + /* [in] */ long lAreaCode, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRule **pFaxOutboundRoutingRule) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveByCountryAndArea( + /* [in] */ long lCountryCode, + /* [in] */ long lAreaCode) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ long lIndex) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( + /* [in] */ long lCountryCode, + /* [in] */ long lAreaCode, + /* [in] */ VARIANT_BOOL bUseDevice, + /* [in] */ __RPC__in BSTR bstrGroupName, + /* [in] */ long lDeviceId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRule **pFaxOutboundRoutingRule) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutboundRoutingRulesVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutboundRoutingRules * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutboundRoutingRules * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutboundRoutingRules * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ long lIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRule **pFaxOutboundRoutingRule); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [retval][out] */ __RPC__out long *plCount); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, ItemByCountryAndArea) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ItemByCountryAndArea )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ long lCountryCode, + /* [in] */ long lAreaCode, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRule **pFaxOutboundRoutingRule); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, RemoveByCountryAndArea) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveByCountryAndArea )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ long lCountryCode, + /* [in] */ long lAreaCode); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ long lIndex); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRules, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFaxOutboundRoutingRules * This, + /* [in] */ long lCountryCode, + /* [in] */ long lAreaCode, + /* [in] */ VARIANT_BOOL bUseDevice, + /* [in] */ __RPC__in BSTR bstrGroupName, + /* [in] */ long lDeviceId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRoutingRule **pFaxOutboundRoutingRule); + + END_INTERFACE + } IFaxOutboundRoutingRulesVtbl; + + interface IFaxOutboundRoutingRules + { + CONST_VTBL struct IFaxOutboundRoutingRulesVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutboundRoutingRules_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutboundRoutingRules_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutboundRoutingRules_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutboundRoutingRules_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutboundRoutingRules_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutboundRoutingRules_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutboundRoutingRules_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutboundRoutingRules_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxOutboundRoutingRules_get_Item(This,lIndex,pFaxOutboundRoutingRule) \ + ( (This)->lpVtbl -> get_Item(This,lIndex,pFaxOutboundRoutingRule) ) + +#define IFaxOutboundRoutingRules_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#define IFaxOutboundRoutingRules_ItemByCountryAndArea(This,lCountryCode,lAreaCode,pFaxOutboundRoutingRule) \ + ( (This)->lpVtbl -> ItemByCountryAndArea(This,lCountryCode,lAreaCode,pFaxOutboundRoutingRule) ) + +#define IFaxOutboundRoutingRules_RemoveByCountryAndArea(This,lCountryCode,lAreaCode) \ + ( (This)->lpVtbl -> RemoveByCountryAndArea(This,lCountryCode,lAreaCode) ) + +#define IFaxOutboundRoutingRules_Remove(This,lIndex) \ + ( (This)->lpVtbl -> Remove(This,lIndex) ) + +#define IFaxOutboundRoutingRules_Add(This,lCountryCode,lAreaCode,bUseDevice,bstrGroupName,lDeviceId,pFaxOutboundRoutingRule) \ + ( (This)->lpVtbl -> Add(This,lCountryCode,lAreaCode,bUseDevice,bstrGroupName,lDeviceId,pFaxOutboundRoutingRule) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutboundRoutingRules_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutboundRoutingRule_INTERFACE_DEFINED__ +#define __IFaxOutboundRoutingRule_INTERFACE_DEFINED__ + +/* interface IFaxOutboundRoutingRule */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_RULE_STATUS_ENUM + { + frsVALID = 0, + frsEMPTY_GROUP = ( frsVALID + 1 ) , + frsALL_GROUP_DEV_NOT_VALID = ( frsEMPTY_GROUP + 1 ) , + frsSOME_GROUP_DEV_NOT_VALID = ( frsALL_GROUP_DEV_NOT_VALID + 1 ) , + frsBAD_DEVICE = ( frsSOME_GROUP_DEV_NOT_VALID + 1 ) + } FAX_RULE_STATUS_ENUM; + + +EXTERN_C const IID IID_IFaxOutboundRoutingRule; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("E1F795D5-07C2-469F-B027-ACACC23219DA") + IFaxOutboundRoutingRule : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CountryCode( + /* [retval][out] */ __RPC__out long *plCountryCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AreaCode( + /* [retval][out] */ __RPC__out long *plAreaCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_RULE_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseDevice( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseDevice) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseDevice( + /* [in] */ VARIANT_BOOL bUseDevice) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceId( + /* [retval][out] */ __RPC__out long *plDeviceId) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DeviceId( + /* [in] */ long DeviceId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GroupName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrGroupName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_GroupName( + /* [in] */ __RPC__in BSTR bstrGroupName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutboundRoutingRuleVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutboundRoutingRule * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutboundRoutingRule * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutboundRoutingRule * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, get_CountryCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CountryCode )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [retval][out] */ __RPC__out long *plCountryCode); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, get_AreaCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AreaCode )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [retval][out] */ __RPC__out long *plAreaCode); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [retval][out] */ __RPC__out FAX_RULE_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, get_UseDevice) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseDevice )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseDevice); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, put_UseDevice) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseDevice )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [in] */ VARIANT_BOOL bUseDevice); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [retval][out] */ __RPC__out long *plDeviceId); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, put_DeviceId) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DeviceId )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [in] */ long DeviceId); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, get_GroupName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GroupName )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrGroupName); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, put_GroupName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_GroupName )( + __RPC__in IFaxOutboundRoutingRule * This, + /* [in] */ __RPC__in BSTR bstrGroupName); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxOutboundRoutingRule * This); + + DECLSPEC_XFGVIRT(IFaxOutboundRoutingRule, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxOutboundRoutingRule * This); + + END_INTERFACE + } IFaxOutboundRoutingRuleVtbl; + + interface IFaxOutboundRoutingRule + { + CONST_VTBL struct IFaxOutboundRoutingRuleVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutboundRoutingRule_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutboundRoutingRule_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutboundRoutingRule_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutboundRoutingRule_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutboundRoutingRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutboundRoutingRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutboundRoutingRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutboundRoutingRule_get_CountryCode(This,plCountryCode) \ + ( (This)->lpVtbl -> get_CountryCode(This,plCountryCode) ) + +#define IFaxOutboundRoutingRule_get_AreaCode(This,plAreaCode) \ + ( (This)->lpVtbl -> get_AreaCode(This,plAreaCode) ) + +#define IFaxOutboundRoutingRule_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxOutboundRoutingRule_get_UseDevice(This,pbUseDevice) \ + ( (This)->lpVtbl -> get_UseDevice(This,pbUseDevice) ) + +#define IFaxOutboundRoutingRule_put_UseDevice(This,bUseDevice) \ + ( (This)->lpVtbl -> put_UseDevice(This,bUseDevice) ) + +#define IFaxOutboundRoutingRule_get_DeviceId(This,plDeviceId) \ + ( (This)->lpVtbl -> get_DeviceId(This,plDeviceId) ) + +#define IFaxOutboundRoutingRule_put_DeviceId(This,DeviceId) \ + ( (This)->lpVtbl -> put_DeviceId(This,DeviceId) ) + +#define IFaxOutboundRoutingRule_get_GroupName(This,pbstrGroupName) \ + ( (This)->lpVtbl -> get_GroupName(This,pbstrGroupName) ) + +#define IFaxOutboundRoutingRule_put_GroupName(This,bstrGroupName) \ + ( (This)->lpVtbl -> put_GroupName(This,bstrGroupName) ) + +#define IFaxOutboundRoutingRule_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxOutboundRoutingRule_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutboundRoutingRule_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingExtensions_INTERFACE_DEFINED__ +#define __IFaxInboundRoutingExtensions_INTERFACE_DEFINED__ + +/* interface IFaxInboundRoutingExtensions */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxInboundRoutingExtensions; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2F6C9673-7B26-42DE-8EB0-915DCD2A4F4C") + IFaxInboundRoutingExtensions : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingExtension **pFaxInboundRoutingExtension) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxInboundRoutingExtensionsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxInboundRoutingExtensions * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxInboundRoutingExtensions * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxInboundRoutingExtensions * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtensions, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtensions, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingExtension **pFaxInboundRoutingExtension); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtensions, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxInboundRoutingExtensions * This, + /* [retval][out] */ __RPC__out long *plCount); + + END_INTERFACE + } IFaxInboundRoutingExtensionsVtbl; + + interface IFaxInboundRoutingExtensions + { + CONST_VTBL struct IFaxInboundRoutingExtensionsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxInboundRoutingExtensions_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxInboundRoutingExtensions_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxInboundRoutingExtensions_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxInboundRoutingExtensions_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxInboundRoutingExtensions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxInboundRoutingExtensions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxInboundRoutingExtensions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxInboundRoutingExtensions_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxInboundRoutingExtensions_get_Item(This,vIndex,pFaxInboundRoutingExtension) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxInboundRoutingExtension) ) + +#define IFaxInboundRoutingExtensions_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxInboundRoutingExtensions_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingExtension_INTERFACE_DEFINED__ +#define __IFaxInboundRoutingExtension_INTERFACE_DEFINED__ + +/* interface IFaxInboundRoutingExtension */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxInboundRoutingExtension; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("885B5E08-C26C-4EF9-AF83-51580A750BE1") + IFaxInboundRoutingExtension : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FriendlyName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFriendlyName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ImageName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrImageName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UniqueName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUniqueName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion( + /* [retval][out] */ __RPC__out long *plMajorVersion) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion( + /* [retval][out] */ __RPC__out long *plMinorVersion) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorBuild( + /* [retval][out] */ __RPC__out long *plMajorBuild) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorBuild( + /* [retval][out] */ __RPC__out long *plMinorBuild) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Debug( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status( + /* [retval][out] */ __RPC__out FAX_PROVIDER_STATUS_ENUM *pStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InitErrorCode( + /* [retval][out] */ __RPC__out long *plInitErrorCode) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Methods( + /* [retval][out] */ __RPC__out VARIANT *pvMethods) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxInboundRoutingExtensionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxInboundRoutingExtension * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxInboundRoutingExtension * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxInboundRoutingExtension * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_FriendlyName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FriendlyName )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFriendlyName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_ImageName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ImageName )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrImageName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_UniqueName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UniqueName )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrUniqueName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_MajorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out long *plMajorVersion); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_MinorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out long *plMinorVersion); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_MajorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorBuild )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out long *plMajorBuild); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_MinorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorBuild )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out long *plMinorBuild); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_Debug) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Debug )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out FAX_PROVIDER_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_InitErrorCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InitErrorCode )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out long *plInitErrorCode); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingExtension, get_Methods) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Methods )( + __RPC__in IFaxInboundRoutingExtension * This, + /* [retval][out] */ __RPC__out VARIANT *pvMethods); + + END_INTERFACE + } IFaxInboundRoutingExtensionVtbl; + + interface IFaxInboundRoutingExtension + { + CONST_VTBL struct IFaxInboundRoutingExtensionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxInboundRoutingExtension_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxInboundRoutingExtension_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxInboundRoutingExtension_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxInboundRoutingExtension_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxInboundRoutingExtension_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxInboundRoutingExtension_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxInboundRoutingExtension_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxInboundRoutingExtension_get_FriendlyName(This,pbstrFriendlyName) \ + ( (This)->lpVtbl -> get_FriendlyName(This,pbstrFriendlyName) ) + +#define IFaxInboundRoutingExtension_get_ImageName(This,pbstrImageName) \ + ( (This)->lpVtbl -> get_ImageName(This,pbstrImageName) ) + +#define IFaxInboundRoutingExtension_get_UniqueName(This,pbstrUniqueName) \ + ( (This)->lpVtbl -> get_UniqueName(This,pbstrUniqueName) ) + +#define IFaxInboundRoutingExtension_get_MajorVersion(This,plMajorVersion) \ + ( (This)->lpVtbl -> get_MajorVersion(This,plMajorVersion) ) + +#define IFaxInboundRoutingExtension_get_MinorVersion(This,plMinorVersion) \ + ( (This)->lpVtbl -> get_MinorVersion(This,plMinorVersion) ) + +#define IFaxInboundRoutingExtension_get_MajorBuild(This,plMajorBuild) \ + ( (This)->lpVtbl -> get_MajorBuild(This,plMajorBuild) ) + +#define IFaxInboundRoutingExtension_get_MinorBuild(This,plMinorBuild) \ + ( (This)->lpVtbl -> get_MinorBuild(This,plMinorBuild) ) + +#define IFaxInboundRoutingExtension_get_Debug(This,pbDebug) \ + ( (This)->lpVtbl -> get_Debug(This,pbDebug) ) + +#define IFaxInboundRoutingExtension_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxInboundRoutingExtension_get_InitErrorCode(This,plInitErrorCode) \ + ( (This)->lpVtbl -> get_InitErrorCode(This,plInitErrorCode) ) + +#define IFaxInboundRoutingExtension_get_Methods(This,pvMethods) \ + ( (This)->lpVtbl -> get_Methods(This,pvMethods) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxInboundRoutingExtension_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingMethods_INTERFACE_DEFINED__ +#define __IFaxInboundRoutingMethods_INTERFACE_DEFINED__ + +/* interface IFaxInboundRoutingMethods */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxInboundRoutingMethods; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("783FCA10-8908-4473-9D69-F67FBEA0C6B9") + IFaxInboundRoutingMethods : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingMethod **pFaxInboundRoutingMethod) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxInboundRoutingMethodsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxInboundRoutingMethods * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxInboundRoutingMethods * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxInboundRoutingMethods * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethods, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethods, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRoutingMethod **pFaxInboundRoutingMethod); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethods, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxInboundRoutingMethods * This, + /* [retval][out] */ __RPC__out long *plCount); + + END_INTERFACE + } IFaxInboundRoutingMethodsVtbl; + + interface IFaxInboundRoutingMethods + { + CONST_VTBL struct IFaxInboundRoutingMethodsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxInboundRoutingMethods_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxInboundRoutingMethods_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxInboundRoutingMethods_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxInboundRoutingMethods_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxInboundRoutingMethods_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxInboundRoutingMethods_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxInboundRoutingMethods_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxInboundRoutingMethods_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxInboundRoutingMethods_get_Item(This,vIndex,pFaxInboundRoutingMethod) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxInboundRoutingMethod) ) + +#define IFaxInboundRoutingMethods_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxInboundRoutingMethods_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxInboundRoutingMethod_INTERFACE_DEFINED__ +#define __IFaxInboundRoutingMethod_INTERFACE_DEFINED__ + +/* interface IFaxInboundRoutingMethod */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxInboundRoutingMethod; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("45700061-AD9D-4776-A8C4-64065492CF4B") + IFaxInboundRoutingMethod : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GUID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrGUID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FunctionName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFunctionName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtensionFriendlyName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtensionFriendlyName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExtensionImageName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtensionImageName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Priority( + /* [retval][out] */ __RPC__out long *plPriority) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Priority( + /* [in] */ long lPriority) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxInboundRoutingMethodVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxInboundRoutingMethod * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxInboundRoutingMethod * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxInboundRoutingMethod * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, get_GUID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GUID )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrGUID); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, get_FunctionName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FunctionName )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrFunctionName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, get_ExtensionFriendlyName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtensionFriendlyName )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtensionFriendlyName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, get_ExtensionImageName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtensionImageName )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtensionImageName); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [retval][out] */ __RPC__out long *plPriority); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, put_Priority) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )( + __RPC__in IFaxInboundRoutingMethod * This, + /* [in] */ long lPriority); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxInboundRoutingMethod * This); + + DECLSPEC_XFGVIRT(IFaxInboundRoutingMethod, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxInboundRoutingMethod * This); + + END_INTERFACE + } IFaxInboundRoutingMethodVtbl; + + interface IFaxInboundRoutingMethod + { + CONST_VTBL struct IFaxInboundRoutingMethodVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxInboundRoutingMethod_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxInboundRoutingMethod_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxInboundRoutingMethod_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxInboundRoutingMethod_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxInboundRoutingMethod_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxInboundRoutingMethod_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxInboundRoutingMethod_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxInboundRoutingMethod_get_Name(This,pbstrName) \ + ( (This)->lpVtbl -> get_Name(This,pbstrName) ) + +#define IFaxInboundRoutingMethod_get_GUID(This,pbstrGUID) \ + ( (This)->lpVtbl -> get_GUID(This,pbstrGUID) ) + +#define IFaxInboundRoutingMethod_get_FunctionName(This,pbstrFunctionName) \ + ( (This)->lpVtbl -> get_FunctionName(This,pbstrFunctionName) ) + +#define IFaxInboundRoutingMethod_get_ExtensionFriendlyName(This,pbstrExtensionFriendlyName) \ + ( (This)->lpVtbl -> get_ExtensionFriendlyName(This,pbstrExtensionFriendlyName) ) + +#define IFaxInboundRoutingMethod_get_ExtensionImageName(This,pbstrExtensionImageName) \ + ( (This)->lpVtbl -> get_ExtensionImageName(This,pbstrExtensionImageName) ) + +#define IFaxInboundRoutingMethod_get_Priority(This,plPriority) \ + ( (This)->lpVtbl -> get_Priority(This,plPriority) ) + +#define IFaxInboundRoutingMethod_put_Priority(This,lPriority) \ + ( (This)->lpVtbl -> put_Priority(This,lPriority) ) + +#define IFaxInboundRoutingMethod_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxInboundRoutingMethod_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxInboundRoutingMethod_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxDocument2_INTERFACE_DEFINED__ +#define __IFaxDocument2_INTERFACE_DEFINED__ + +/* interface IFaxDocument2 */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxDocument2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("e1347661-f9ef-4d6d-b4a5-c0a068b65cff") + IFaxDocument2 : public IFaxDocument + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubmissionId( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Bodies( + /* [retval][out] */ __RPC__out VARIANT *pvBodies) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Bodies( + /* [in] */ VARIANT vBodies) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Submit2( + /* [in] */ __RPC__in BSTR bstrFaxServerName, + /* [out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs, + /* [retval][out] */ __RPC__out long *plErrorBodyFile) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectedSubmit2( + /* [in] */ __RPC__in_opt IFaxServer *pFaxServer, + /* [out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs, + /* [retval][out] */ __RPC__out long *plErrorBodyFile) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxDocument2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxDocument2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxDocument2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxDocument2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxDocument2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxDocument2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Body) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Body )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrBody); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Body) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Body )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrBody); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Sender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Recipients) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipients )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipients **ppFaxRecipients); + + DECLSPEC_XFGVIRT(IFaxDocument, get_CoverPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverPage )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCoverPage); + + DECLSPEC_XFGVIRT(IFaxDocument, put_CoverPage) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverPage )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrCoverPage); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Subject) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Subject )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrSubject); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Note) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Note )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrNote); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Note) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Note )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrNote); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ScheduleTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduleTime )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out DATE *pdateScheduleTime); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ScheduleTime) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ScheduleTime )( + __RPC__in IFaxDocument2 * This, + /* [in] */ DATE dateScheduleTime); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ReceiptAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptAddress )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ReceiptAddress) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReceiptAddress )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrReceiptAddress); + + DECLSPEC_XFGVIRT(IFaxDocument, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxDocument, put_DocumentName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DocumentName )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxDocument, get_CallHandle) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHandle )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out long *plCallHandle); + + DECLSPEC_XFGVIRT(IFaxDocument, put_CallHandle) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallHandle )( + __RPC__in IFaxDocument2 * This, + /* [in] */ long lCallHandle); + + DECLSPEC_XFGVIRT(IFaxDocument, get_CoverPageType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CoverPageType )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out FAX_COVERPAGE_TYPE_ENUM *pCoverPageType); + + DECLSPEC_XFGVIRT(IFaxDocument, put_CoverPageType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CoverPageType )( + __RPC__in IFaxDocument2 * This, + /* [in] */ FAX_COVERPAGE_TYPE_ENUM CoverPageType); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ScheduleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduleType )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out FAX_SCHEDULE_TYPE_ENUM *pScheduleType); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ScheduleType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ScheduleType )( + __RPC__in IFaxDocument2 * This, + /* [in] */ FAX_SCHEDULE_TYPE_ENUM ScheduleType); + + DECLSPEC_XFGVIRT(IFaxDocument, get_ReceiptType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptType )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType); + + DECLSPEC_XFGVIRT(IFaxDocument, put_ReceiptType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReceiptType )( + __RPC__in IFaxDocument2 * This, + /* [in] */ FAX_RECEIPT_TYPE_ENUM ReceiptType); + + DECLSPEC_XFGVIRT(IFaxDocument, get_GroupBroadcastReceipts) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GroupBroadcastReceipts )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseGrouping); + + DECLSPEC_XFGVIRT(IFaxDocument, put_GroupBroadcastReceipts) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_GroupBroadcastReceipts )( + __RPC__in IFaxDocument2 * This, + /* [in] */ VARIANT_BOOL bUseGrouping); + + DECLSPEC_XFGVIRT(IFaxDocument, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority); + + DECLSPEC_XFGVIRT(IFaxDocument, put_Priority) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )( + __RPC__in IFaxDocument2 * This, + /* [in] */ FAX_PRIORITY_TYPE_ENUM Priority); + + DECLSPEC_XFGVIRT(IFaxDocument, get_TapiConnection) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TapiConnection )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt IDispatch **ppTapiConnection); + + DECLSPEC_XFGVIRT(IFaxDocument, putref_TapiConnection) + /* [helpstring][id][propputref] */ HRESULT ( STDMETHODCALLTYPE *putref_TapiConnection )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in_opt IDispatch *pTapiConnection); + + DECLSPEC_XFGVIRT(IFaxDocument, Submit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Submit )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrFaxServerName, + /* [retval][out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs); + + DECLSPEC_XFGVIRT(IFaxDocument, ConnectedSubmit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectedSubmit )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in_opt IFaxServer *pFaxServer, + /* [retval][out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs); + + DECLSPEC_XFGVIRT(IFaxDocument, get_AttachFaxToReceipt) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AttachFaxToReceipt )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAttachFax); + + DECLSPEC_XFGVIRT(IFaxDocument, put_AttachFaxToReceipt) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AttachFaxToReceipt )( + __RPC__in IFaxDocument2 * This, + /* [in] */ VARIANT_BOOL bAttachFax); + + DECLSPEC_XFGVIRT(IFaxDocument2, get_SubmissionId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionId )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId); + + DECLSPEC_XFGVIRT(IFaxDocument2, get_Bodies) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Bodies )( + __RPC__in IFaxDocument2 * This, + /* [retval][out] */ __RPC__out VARIANT *pvBodies); + + DECLSPEC_XFGVIRT(IFaxDocument2, put_Bodies) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Bodies )( + __RPC__in IFaxDocument2 * This, + /* [in] */ VARIANT vBodies); + + DECLSPEC_XFGVIRT(IFaxDocument2, Submit2) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Submit2 )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in BSTR bstrFaxServerName, + /* [out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs, + /* [retval][out] */ __RPC__out long *plErrorBodyFile); + + DECLSPEC_XFGVIRT(IFaxDocument2, ConnectedSubmit2) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectedSubmit2 )( + __RPC__in IFaxDocument2 * This, + /* [in] */ __RPC__in_opt IFaxServer *pFaxServer, + /* [out] */ __RPC__out VARIANT *pvFaxOutgoingJobIDs, + /* [retval][out] */ __RPC__out long *plErrorBodyFile); + + END_INTERFACE + } IFaxDocument2Vtbl; + + interface IFaxDocument2 + { + CONST_VTBL struct IFaxDocument2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxDocument2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxDocument2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxDocument2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxDocument2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxDocument2_get_Body(This,pbstrBody) \ + ( (This)->lpVtbl -> get_Body(This,pbstrBody) ) + +#define IFaxDocument2_put_Body(This,bstrBody) \ + ( (This)->lpVtbl -> put_Body(This,bstrBody) ) + +#define IFaxDocument2_get_Sender(This,ppFaxSender) \ + ( (This)->lpVtbl -> get_Sender(This,ppFaxSender) ) + +#define IFaxDocument2_get_Recipients(This,ppFaxRecipients) \ + ( (This)->lpVtbl -> get_Recipients(This,ppFaxRecipients) ) + +#define IFaxDocument2_get_CoverPage(This,pbstrCoverPage) \ + ( (This)->lpVtbl -> get_CoverPage(This,pbstrCoverPage) ) + +#define IFaxDocument2_put_CoverPage(This,bstrCoverPage) \ + ( (This)->lpVtbl -> put_CoverPage(This,bstrCoverPage) ) + +#define IFaxDocument2_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxDocument2_put_Subject(This,bstrSubject) \ + ( (This)->lpVtbl -> put_Subject(This,bstrSubject) ) + +#define IFaxDocument2_get_Note(This,pbstrNote) \ + ( (This)->lpVtbl -> get_Note(This,pbstrNote) ) + +#define IFaxDocument2_put_Note(This,bstrNote) \ + ( (This)->lpVtbl -> put_Note(This,bstrNote) ) + +#define IFaxDocument2_get_ScheduleTime(This,pdateScheduleTime) \ + ( (This)->lpVtbl -> get_ScheduleTime(This,pdateScheduleTime) ) + +#define IFaxDocument2_put_ScheduleTime(This,dateScheduleTime) \ + ( (This)->lpVtbl -> put_ScheduleTime(This,dateScheduleTime) ) + +#define IFaxDocument2_get_ReceiptAddress(This,pbstrReceiptAddress) \ + ( (This)->lpVtbl -> get_ReceiptAddress(This,pbstrReceiptAddress) ) + +#define IFaxDocument2_put_ReceiptAddress(This,bstrReceiptAddress) \ + ( (This)->lpVtbl -> put_ReceiptAddress(This,bstrReceiptAddress) ) + +#define IFaxDocument2_get_DocumentName(This,pbstrDocumentName) \ + ( (This)->lpVtbl -> get_DocumentName(This,pbstrDocumentName) ) + +#define IFaxDocument2_put_DocumentName(This,bstrDocumentName) \ + ( (This)->lpVtbl -> put_DocumentName(This,bstrDocumentName) ) + +#define IFaxDocument2_get_CallHandle(This,plCallHandle) \ + ( (This)->lpVtbl -> get_CallHandle(This,plCallHandle) ) + +#define IFaxDocument2_put_CallHandle(This,lCallHandle) \ + ( (This)->lpVtbl -> put_CallHandle(This,lCallHandle) ) + +#define IFaxDocument2_get_CoverPageType(This,pCoverPageType) \ + ( (This)->lpVtbl -> get_CoverPageType(This,pCoverPageType) ) + +#define IFaxDocument2_put_CoverPageType(This,CoverPageType) \ + ( (This)->lpVtbl -> put_CoverPageType(This,CoverPageType) ) + +#define IFaxDocument2_get_ScheduleType(This,pScheduleType) \ + ( (This)->lpVtbl -> get_ScheduleType(This,pScheduleType) ) + +#define IFaxDocument2_put_ScheduleType(This,ScheduleType) \ + ( (This)->lpVtbl -> put_ScheduleType(This,ScheduleType) ) + +#define IFaxDocument2_get_ReceiptType(This,pReceiptType) \ + ( (This)->lpVtbl -> get_ReceiptType(This,pReceiptType) ) + +#define IFaxDocument2_put_ReceiptType(This,ReceiptType) \ + ( (This)->lpVtbl -> put_ReceiptType(This,ReceiptType) ) + +#define IFaxDocument2_get_GroupBroadcastReceipts(This,pbUseGrouping) \ + ( (This)->lpVtbl -> get_GroupBroadcastReceipts(This,pbUseGrouping) ) + +#define IFaxDocument2_put_GroupBroadcastReceipts(This,bUseGrouping) \ + ( (This)->lpVtbl -> put_GroupBroadcastReceipts(This,bUseGrouping) ) + +#define IFaxDocument2_get_Priority(This,pPriority) \ + ( (This)->lpVtbl -> get_Priority(This,pPriority) ) + +#define IFaxDocument2_put_Priority(This,Priority) \ + ( (This)->lpVtbl -> put_Priority(This,Priority) ) + +#define IFaxDocument2_get_TapiConnection(This,ppTapiConnection) \ + ( (This)->lpVtbl -> get_TapiConnection(This,ppTapiConnection) ) + +#define IFaxDocument2_putref_TapiConnection(This,pTapiConnection) \ + ( (This)->lpVtbl -> putref_TapiConnection(This,pTapiConnection) ) + +#define IFaxDocument2_Submit(This,bstrFaxServerName,pvFaxOutgoingJobIDs) \ + ( (This)->lpVtbl -> Submit(This,bstrFaxServerName,pvFaxOutgoingJobIDs) ) + +#define IFaxDocument2_ConnectedSubmit(This,pFaxServer,pvFaxOutgoingJobIDs) \ + ( (This)->lpVtbl -> ConnectedSubmit(This,pFaxServer,pvFaxOutgoingJobIDs) ) + +#define IFaxDocument2_get_AttachFaxToReceipt(This,pbAttachFax) \ + ( (This)->lpVtbl -> get_AttachFaxToReceipt(This,pbAttachFax) ) + +#define IFaxDocument2_put_AttachFaxToReceipt(This,bAttachFax) \ + ( (This)->lpVtbl -> put_AttachFaxToReceipt(This,bAttachFax) ) + + +#define IFaxDocument2_get_SubmissionId(This,pbstrSubmissionId) \ + ( (This)->lpVtbl -> get_SubmissionId(This,pbstrSubmissionId) ) + +#define IFaxDocument2_get_Bodies(This,pvBodies) \ + ( (This)->lpVtbl -> get_Bodies(This,pvBodies) ) + +#define IFaxDocument2_put_Bodies(This,vBodies) \ + ( (This)->lpVtbl -> put_Bodies(This,vBodies) ) + +#define IFaxDocument2_Submit2(This,bstrFaxServerName,pvFaxOutgoingJobIDs,plErrorBodyFile) \ + ( (This)->lpVtbl -> Submit2(This,bstrFaxServerName,pvFaxOutgoingJobIDs,plErrorBodyFile) ) + +#define IFaxDocument2_ConnectedSubmit2(This,pFaxServer,pvFaxOutgoingJobIDs,plErrorBodyFile) \ + ( (This)->lpVtbl -> ConnectedSubmit2(This,pFaxServer,pvFaxOutgoingJobIDs,plErrorBodyFile) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxDocument2_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxConfiguration_INTERFACE_DEFINED__ +#define __IFaxConfiguration_INTERFACE_DEFINED__ + +/* interface IFaxConfiguration */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxConfiguration; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("10f4d0f7-0994-4543-ab6e-506949128c40") + IFaxConfiguration : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseArchive( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseArchive) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseArchive( + /* [in] */ VARIANT_BOOL bUseArchive) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveLocation( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrArchiveLocation) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ArchiveLocation( + /* [in] */ __RPC__in BSTR bstrArchiveLocation) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeQuotaWarning( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSizeQuotaWarning) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SizeQuotaWarning( + /* [in] */ VARIANT_BOOL bSizeQuotaWarning) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HighQuotaWaterMark( + /* [retval][out] */ __RPC__out long *plHighQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HighQuotaWaterMark( + /* [in] */ long lHighQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LowQuotaWaterMark( + /* [retval][out] */ __RPC__out long *plLowQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LowQuotaWaterMark( + /* [in] */ long lLowQuotaWaterMark) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveAgeLimit( + /* [retval][out] */ __RPC__out long *plArchiveAgeLimit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ArchiveAgeLimit( + /* [in] */ long lArchiveAgeLimit) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveSizeLow( + /* [retval][out] */ __RPC__out long *plSizeLow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ArchiveSizeHigh( + /* [retval][out] */ __RPC__out long *plSizeHigh) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingQueueBlocked( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbOutgoingBlocked) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutgoingQueueBlocked( + /* [in] */ VARIANT_BOOL bOutgoingBlocked) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingQueuePaused( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbOutgoingPaused) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutgoingQueuePaused( + /* [in] */ VARIANT_BOOL bOutgoingPaused) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AllowPersonalCoverPages( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAllowPersonalCoverPages) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AllowPersonalCoverPages( + /* [in] */ VARIANT_BOOL bAllowPersonalCoverPages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UseDeviceTSID( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseDeviceTSID) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UseDeviceTSID( + /* [in] */ VARIANT_BOOL bUseDeviceTSID) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Retries( + /* [retval][out] */ __RPC__out long *plRetries) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Retries( + /* [in] */ long lRetries) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RetryDelay( + /* [retval][out] */ __RPC__out long *plRetryDelay) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RetryDelay( + /* [in] */ long lRetryDelay) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateStart( + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateStart) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateStart( + /* [in] */ DATE dateDiscountRateStart) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DiscountRateEnd( + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateEnd) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DiscountRateEnd( + /* [in] */ DATE dateDiscountRateEnd) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingQueueAgeLimit( + /* [retval][out] */ __RPC__out long *plOutgoingQueueAgeLimit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OutgoingQueueAgeLimit( + /* [in] */ long lOutgoingQueueAgeLimit) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Branding( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBranding) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Branding( + /* [in] */ VARIANT_BOOL bBranding) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingQueueBlocked( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbIncomingBlocked) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_IncomingQueueBlocked( + /* [in] */ VARIANT_BOOL bIncomingBlocked) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoCreateAccountOnConnect( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAutoCreateAccountOnConnect) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoCreateAccountOnConnect( + /* [in] */ VARIANT_BOOL bAutoCreateAccountOnConnect) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingFaxesArePublic( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbIncomingFaxesArePublic) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_IncomingFaxesArePublic( + /* [in] */ VARIANT_BOOL bIncomingFaxesArePublic) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxConfigurationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxConfiguration * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxConfiguration * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxConfiguration * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxConfiguration * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxConfiguration * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxConfiguration * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxConfiguration * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_UseArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseArchive )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseArchive); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_UseArchive) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseArchive )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bUseArchive); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_ArchiveLocation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveLocation )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrArchiveLocation); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_ArchiveLocation) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ArchiveLocation )( + __RPC__in IFaxConfiguration * This, + /* [in] */ __RPC__in BSTR bstrArchiveLocation); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_SizeQuotaWarning) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeQuotaWarning )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbSizeQuotaWarning); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_SizeQuotaWarning) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SizeQuotaWarning )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bSizeQuotaWarning); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_HighQuotaWaterMark) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HighQuotaWaterMark )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plHighQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_HighQuotaWaterMark) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HighQuotaWaterMark )( + __RPC__in IFaxConfiguration * This, + /* [in] */ long lHighQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_LowQuotaWaterMark) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LowQuotaWaterMark )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plLowQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_LowQuotaWaterMark) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LowQuotaWaterMark )( + __RPC__in IFaxConfiguration * This, + /* [in] */ long lLowQuotaWaterMark); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_ArchiveAgeLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveAgeLimit )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plArchiveAgeLimit); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_ArchiveAgeLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ArchiveAgeLimit )( + __RPC__in IFaxConfiguration * This, + /* [in] */ long lArchiveAgeLimit); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_ArchiveSizeLow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveSizeLow )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plSizeLow); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_ArchiveSizeHigh) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ArchiveSizeHigh )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plSizeHigh); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_OutgoingQueueBlocked) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingQueueBlocked )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbOutgoingBlocked); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_OutgoingQueueBlocked) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutgoingQueueBlocked )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bOutgoingBlocked); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_OutgoingQueuePaused) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingQueuePaused )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbOutgoingPaused); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_OutgoingQueuePaused) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutgoingQueuePaused )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bOutgoingPaused); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_AllowPersonalCoverPages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowPersonalCoverPages )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAllowPersonalCoverPages); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_AllowPersonalCoverPages) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowPersonalCoverPages )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bAllowPersonalCoverPages); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_UseDeviceTSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UseDeviceTSID )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbUseDeviceTSID); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_UseDeviceTSID) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UseDeviceTSID )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bUseDeviceTSID); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_Retries) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Retries )( + __RPC__in IFaxConfiguration * This, + /* [in] */ long lRetries); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_RetryDelay) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RetryDelay )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plRetryDelay); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_RetryDelay) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RetryDelay )( + __RPC__in IFaxConfiguration * This, + /* [in] */ long lRetryDelay); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_DiscountRateStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateStart )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateStart); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_DiscountRateStart) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateStart )( + __RPC__in IFaxConfiguration * This, + /* [in] */ DATE dateDiscountRateStart); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_DiscountRateEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DiscountRateEnd )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out DATE *pdateDiscountRateEnd); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_DiscountRateEnd) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DiscountRateEnd )( + __RPC__in IFaxConfiguration * This, + /* [in] */ DATE dateDiscountRateEnd); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_OutgoingQueueAgeLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingQueueAgeLimit )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out long *plOutgoingQueueAgeLimit); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_OutgoingQueueAgeLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OutgoingQueueAgeLimit )( + __RPC__in IFaxConfiguration * This, + /* [in] */ long lOutgoingQueueAgeLimit); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_Branding) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Branding )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbBranding); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_Branding) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Branding )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bBranding); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_IncomingQueueBlocked) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingQueueBlocked )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbIncomingBlocked); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_IncomingQueueBlocked) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IncomingQueueBlocked )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bIncomingBlocked); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_AutoCreateAccountOnConnect) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoCreateAccountOnConnect )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbAutoCreateAccountOnConnect); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_AutoCreateAccountOnConnect) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoCreateAccountOnConnect )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bAutoCreateAccountOnConnect); + + DECLSPEC_XFGVIRT(IFaxConfiguration, get_IncomingFaxesArePublic) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingFaxesArePublic )( + __RPC__in IFaxConfiguration * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbIncomingFaxesArePublic); + + DECLSPEC_XFGVIRT(IFaxConfiguration, put_IncomingFaxesArePublic) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IncomingFaxesArePublic )( + __RPC__in IFaxConfiguration * This, + /* [in] */ VARIANT_BOOL bIncomingFaxesArePublic); + + DECLSPEC_XFGVIRT(IFaxConfiguration, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxConfiguration * This); + + DECLSPEC_XFGVIRT(IFaxConfiguration, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxConfiguration * This); + + END_INTERFACE + } IFaxConfigurationVtbl; + + interface IFaxConfiguration + { + CONST_VTBL struct IFaxConfigurationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxConfiguration_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxConfiguration_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxConfiguration_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxConfiguration_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxConfiguration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxConfiguration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxConfiguration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxConfiguration_get_UseArchive(This,pbUseArchive) \ + ( (This)->lpVtbl -> get_UseArchive(This,pbUseArchive) ) + +#define IFaxConfiguration_put_UseArchive(This,bUseArchive) \ + ( (This)->lpVtbl -> put_UseArchive(This,bUseArchive) ) + +#define IFaxConfiguration_get_ArchiveLocation(This,pbstrArchiveLocation) \ + ( (This)->lpVtbl -> get_ArchiveLocation(This,pbstrArchiveLocation) ) + +#define IFaxConfiguration_put_ArchiveLocation(This,bstrArchiveLocation) \ + ( (This)->lpVtbl -> put_ArchiveLocation(This,bstrArchiveLocation) ) + +#define IFaxConfiguration_get_SizeQuotaWarning(This,pbSizeQuotaWarning) \ + ( (This)->lpVtbl -> get_SizeQuotaWarning(This,pbSizeQuotaWarning) ) + +#define IFaxConfiguration_put_SizeQuotaWarning(This,bSizeQuotaWarning) \ + ( (This)->lpVtbl -> put_SizeQuotaWarning(This,bSizeQuotaWarning) ) + +#define IFaxConfiguration_get_HighQuotaWaterMark(This,plHighQuotaWaterMark) \ + ( (This)->lpVtbl -> get_HighQuotaWaterMark(This,plHighQuotaWaterMark) ) + +#define IFaxConfiguration_put_HighQuotaWaterMark(This,lHighQuotaWaterMark) \ + ( (This)->lpVtbl -> put_HighQuotaWaterMark(This,lHighQuotaWaterMark) ) + +#define IFaxConfiguration_get_LowQuotaWaterMark(This,plLowQuotaWaterMark) \ + ( (This)->lpVtbl -> get_LowQuotaWaterMark(This,plLowQuotaWaterMark) ) + +#define IFaxConfiguration_put_LowQuotaWaterMark(This,lLowQuotaWaterMark) \ + ( (This)->lpVtbl -> put_LowQuotaWaterMark(This,lLowQuotaWaterMark) ) + +#define IFaxConfiguration_get_ArchiveAgeLimit(This,plArchiveAgeLimit) \ + ( (This)->lpVtbl -> get_ArchiveAgeLimit(This,plArchiveAgeLimit) ) + +#define IFaxConfiguration_put_ArchiveAgeLimit(This,lArchiveAgeLimit) \ + ( (This)->lpVtbl -> put_ArchiveAgeLimit(This,lArchiveAgeLimit) ) + +#define IFaxConfiguration_get_ArchiveSizeLow(This,plSizeLow) \ + ( (This)->lpVtbl -> get_ArchiveSizeLow(This,plSizeLow) ) + +#define IFaxConfiguration_get_ArchiveSizeHigh(This,plSizeHigh) \ + ( (This)->lpVtbl -> get_ArchiveSizeHigh(This,plSizeHigh) ) + +#define IFaxConfiguration_get_OutgoingQueueBlocked(This,pbOutgoingBlocked) \ + ( (This)->lpVtbl -> get_OutgoingQueueBlocked(This,pbOutgoingBlocked) ) + +#define IFaxConfiguration_put_OutgoingQueueBlocked(This,bOutgoingBlocked) \ + ( (This)->lpVtbl -> put_OutgoingQueueBlocked(This,bOutgoingBlocked) ) + +#define IFaxConfiguration_get_OutgoingQueuePaused(This,pbOutgoingPaused) \ + ( (This)->lpVtbl -> get_OutgoingQueuePaused(This,pbOutgoingPaused) ) + +#define IFaxConfiguration_put_OutgoingQueuePaused(This,bOutgoingPaused) \ + ( (This)->lpVtbl -> put_OutgoingQueuePaused(This,bOutgoingPaused) ) + +#define IFaxConfiguration_get_AllowPersonalCoverPages(This,pbAllowPersonalCoverPages) \ + ( (This)->lpVtbl -> get_AllowPersonalCoverPages(This,pbAllowPersonalCoverPages) ) + +#define IFaxConfiguration_put_AllowPersonalCoverPages(This,bAllowPersonalCoverPages) \ + ( (This)->lpVtbl -> put_AllowPersonalCoverPages(This,bAllowPersonalCoverPages) ) + +#define IFaxConfiguration_get_UseDeviceTSID(This,pbUseDeviceTSID) \ + ( (This)->lpVtbl -> get_UseDeviceTSID(This,pbUseDeviceTSID) ) + +#define IFaxConfiguration_put_UseDeviceTSID(This,bUseDeviceTSID) \ + ( (This)->lpVtbl -> put_UseDeviceTSID(This,bUseDeviceTSID) ) + +#define IFaxConfiguration_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxConfiguration_put_Retries(This,lRetries) \ + ( (This)->lpVtbl -> put_Retries(This,lRetries) ) + +#define IFaxConfiguration_get_RetryDelay(This,plRetryDelay) \ + ( (This)->lpVtbl -> get_RetryDelay(This,plRetryDelay) ) + +#define IFaxConfiguration_put_RetryDelay(This,lRetryDelay) \ + ( (This)->lpVtbl -> put_RetryDelay(This,lRetryDelay) ) + +#define IFaxConfiguration_get_DiscountRateStart(This,pdateDiscountRateStart) \ + ( (This)->lpVtbl -> get_DiscountRateStart(This,pdateDiscountRateStart) ) + +#define IFaxConfiguration_put_DiscountRateStart(This,dateDiscountRateStart) \ + ( (This)->lpVtbl -> put_DiscountRateStart(This,dateDiscountRateStart) ) + +#define IFaxConfiguration_get_DiscountRateEnd(This,pdateDiscountRateEnd) \ + ( (This)->lpVtbl -> get_DiscountRateEnd(This,pdateDiscountRateEnd) ) + +#define IFaxConfiguration_put_DiscountRateEnd(This,dateDiscountRateEnd) \ + ( (This)->lpVtbl -> put_DiscountRateEnd(This,dateDiscountRateEnd) ) + +#define IFaxConfiguration_get_OutgoingQueueAgeLimit(This,plOutgoingQueueAgeLimit) \ + ( (This)->lpVtbl -> get_OutgoingQueueAgeLimit(This,plOutgoingQueueAgeLimit) ) + +#define IFaxConfiguration_put_OutgoingQueueAgeLimit(This,lOutgoingQueueAgeLimit) \ + ( (This)->lpVtbl -> put_OutgoingQueueAgeLimit(This,lOutgoingQueueAgeLimit) ) + +#define IFaxConfiguration_get_Branding(This,pbBranding) \ + ( (This)->lpVtbl -> get_Branding(This,pbBranding) ) + +#define IFaxConfiguration_put_Branding(This,bBranding) \ + ( (This)->lpVtbl -> put_Branding(This,bBranding) ) + +#define IFaxConfiguration_get_IncomingQueueBlocked(This,pbIncomingBlocked) \ + ( (This)->lpVtbl -> get_IncomingQueueBlocked(This,pbIncomingBlocked) ) + +#define IFaxConfiguration_put_IncomingQueueBlocked(This,bIncomingBlocked) \ + ( (This)->lpVtbl -> put_IncomingQueueBlocked(This,bIncomingBlocked) ) + +#define IFaxConfiguration_get_AutoCreateAccountOnConnect(This,pbAutoCreateAccountOnConnect) \ + ( (This)->lpVtbl -> get_AutoCreateAccountOnConnect(This,pbAutoCreateAccountOnConnect) ) + +#define IFaxConfiguration_put_AutoCreateAccountOnConnect(This,bAutoCreateAccountOnConnect) \ + ( (This)->lpVtbl -> put_AutoCreateAccountOnConnect(This,bAutoCreateAccountOnConnect) ) + +#define IFaxConfiguration_get_IncomingFaxesArePublic(This,pbIncomingFaxesArePublic) \ + ( (This)->lpVtbl -> get_IncomingFaxesArePublic(This,pbIncomingFaxesArePublic) ) + +#define IFaxConfiguration_put_IncomingFaxesArePublic(This,bIncomingFaxesArePublic) \ + ( (This)->lpVtbl -> put_IncomingFaxesArePublic(This,bIncomingFaxesArePublic) ) + +#define IFaxConfiguration_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxConfiguration_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxConfiguration_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxServer2_INTERFACE_DEFINED__ +#define __IFaxServer2_INTERFACE_DEFINED__ + +/* interface IFaxServer2 */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxServer2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("571ced0f-5609-4f40-9176-547e3a72ca7c") + IFaxServer2 : public IFaxServer + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Configuration( + /* [retval][out] */ __RPC__deref_out_opt IFaxConfiguration **ppFaxConfiguration) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentAccount( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **ppCurrentAccount) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FaxAccountSet( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountSet **ppFaxAccountSet) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Security2( + /* [retval][out] */ __RPC__deref_out_opt IFaxSecurity2 **ppFaxSecurity2) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxServer2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxServer2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxServer2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxServer2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxServer2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxServer2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxServer, Connect) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrServerName); + + DECLSPEC_XFGVIRT(IFaxServer, get_ServerName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServerName )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrServerName); + + DECLSPEC_XFGVIRT(IFaxServer, GetDeviceProviders) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDeviceProviders )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxDeviceProviders **ppFaxDeviceProviders); + + DECLSPEC_XFGVIRT(IFaxServer, GetDevices) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDevices )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxDevices **ppFaxDevices); + + DECLSPEC_XFGVIRT(IFaxServer, get_InboundRouting) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InboundRouting )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxInboundRouting **ppFaxInboundRouting); + + DECLSPEC_XFGVIRT(IFaxServer, get_Folders) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Folders )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxFolders **pFaxFolders); + + DECLSPEC_XFGVIRT(IFaxServer, get_LoggingOptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LoggingOptions )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxLoggingOptions **ppFaxLoggingOptions); + + DECLSPEC_XFGVIRT(IFaxServer, get_MajorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out long *plMajorVersion); + + DECLSPEC_XFGVIRT(IFaxServer, get_MinorVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out long *plMinorVersion); + + DECLSPEC_XFGVIRT(IFaxServer, get_MajorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorBuild )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out long *plMajorBuild); + + DECLSPEC_XFGVIRT(IFaxServer, get_MinorBuild) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorBuild )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out long *plMinorBuild); + + DECLSPEC_XFGVIRT(IFaxServer, get_Debug) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Debug )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbDebug); + + DECLSPEC_XFGVIRT(IFaxServer, get_Activity) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Activity )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxActivity **ppFaxActivity); + + DECLSPEC_XFGVIRT(IFaxServer, get_OutboundRouting) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutboundRouting )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutboundRouting **ppFaxOutboundRouting); + + DECLSPEC_XFGVIRT(IFaxServer, get_ReceiptOptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptOptions )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxReceiptOptions **ppFaxReceiptOptions); + + DECLSPEC_XFGVIRT(IFaxServer, get_Security) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Security )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSecurity **ppFaxSecurity); + + DECLSPEC_XFGVIRT(IFaxServer, Disconnect) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )( + __RPC__in IFaxServer2 * This); + + DECLSPEC_XFGVIRT(IFaxServer, GetExtensionProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetExtensionProperty )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [retval][out] */ __RPC__out VARIANT *pvProperty); + + DECLSPEC_XFGVIRT(IFaxServer, SetExtensionProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetExtensionProperty )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ VARIANT vProperty); + + DECLSPEC_XFGVIRT(IFaxServer, ListenToServerEvents) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ListenToServerEvents )( + __RPC__in IFaxServer2 * This, + /* [in] */ FAX_SERVER_EVENTS_TYPE_ENUM EventTypes); + + DECLSPEC_XFGVIRT(IFaxServer, RegisterDeviceProvider) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterDeviceProvider )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrGUID, + /* [in] */ __RPC__in BSTR bstrFriendlyName, + /* [in] */ __RPC__in BSTR bstrImageName, + /* [in] */ __RPC__in BSTR TspName, + /* [in] */ long lFSPIVersion); + + DECLSPEC_XFGVIRT(IFaxServer, UnregisterDeviceProvider) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterDeviceProvider )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrUniqueName); + + DECLSPEC_XFGVIRT(IFaxServer, RegisterInboundRoutingExtension) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterInboundRoutingExtension )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrExtensionName, + /* [in] */ __RPC__in BSTR bstrFriendlyName, + /* [in] */ __RPC__in BSTR bstrImageName, + /* [in] */ VARIANT vMethods); + + DECLSPEC_XFGVIRT(IFaxServer, UnregisterInboundRoutingExtension) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterInboundRoutingExtension )( + __RPC__in IFaxServer2 * This, + /* [in] */ __RPC__in BSTR bstrExtensionUniqueName); + + DECLSPEC_XFGVIRT(IFaxServer, get_RegisteredEvents) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RegisteredEvents )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out FAX_SERVER_EVENTS_TYPE_ENUM *pEventTypes); + + DECLSPEC_XFGVIRT(IFaxServer, get_APIVersion) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_APIVersion )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__out FAX_SERVER_APIVERSION_ENUM *pAPIVersion); + + DECLSPEC_XFGVIRT(IFaxServer2, get_Configuration) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Configuration )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxConfiguration **ppFaxConfiguration); + + DECLSPEC_XFGVIRT(IFaxServer2, get_CurrentAccount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentAccount )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **ppCurrentAccount); + + DECLSPEC_XFGVIRT(IFaxServer2, get_FaxAccountSet) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FaxAccountSet )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountSet **ppFaxAccountSet); + + DECLSPEC_XFGVIRT(IFaxServer2, get_Security2) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Security2 )( + __RPC__in IFaxServer2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSecurity2 **ppFaxSecurity2); + + END_INTERFACE + } IFaxServer2Vtbl; + + interface IFaxServer2 + { + CONST_VTBL struct IFaxServer2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxServer2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxServer2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxServer2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxServer2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxServer2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxServer2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxServer2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxServer2_Connect(This,bstrServerName) \ + ( (This)->lpVtbl -> Connect(This,bstrServerName) ) + +#define IFaxServer2_get_ServerName(This,pbstrServerName) \ + ( (This)->lpVtbl -> get_ServerName(This,pbstrServerName) ) + +#define IFaxServer2_GetDeviceProviders(This,ppFaxDeviceProviders) \ + ( (This)->lpVtbl -> GetDeviceProviders(This,ppFaxDeviceProviders) ) + +#define IFaxServer2_GetDevices(This,ppFaxDevices) \ + ( (This)->lpVtbl -> GetDevices(This,ppFaxDevices) ) + +#define IFaxServer2_get_InboundRouting(This,ppFaxInboundRouting) \ + ( (This)->lpVtbl -> get_InboundRouting(This,ppFaxInboundRouting) ) + +#define IFaxServer2_get_Folders(This,pFaxFolders) \ + ( (This)->lpVtbl -> get_Folders(This,pFaxFolders) ) + +#define IFaxServer2_get_LoggingOptions(This,ppFaxLoggingOptions) \ + ( (This)->lpVtbl -> get_LoggingOptions(This,ppFaxLoggingOptions) ) + +#define IFaxServer2_get_MajorVersion(This,plMajorVersion) \ + ( (This)->lpVtbl -> get_MajorVersion(This,plMajorVersion) ) + +#define IFaxServer2_get_MinorVersion(This,plMinorVersion) \ + ( (This)->lpVtbl -> get_MinorVersion(This,plMinorVersion) ) + +#define IFaxServer2_get_MajorBuild(This,plMajorBuild) \ + ( (This)->lpVtbl -> get_MajorBuild(This,plMajorBuild) ) + +#define IFaxServer2_get_MinorBuild(This,plMinorBuild) \ + ( (This)->lpVtbl -> get_MinorBuild(This,plMinorBuild) ) + +#define IFaxServer2_get_Debug(This,pbDebug) \ + ( (This)->lpVtbl -> get_Debug(This,pbDebug) ) + +#define IFaxServer2_get_Activity(This,ppFaxActivity) \ + ( (This)->lpVtbl -> get_Activity(This,ppFaxActivity) ) + +#define IFaxServer2_get_OutboundRouting(This,ppFaxOutboundRouting) \ + ( (This)->lpVtbl -> get_OutboundRouting(This,ppFaxOutboundRouting) ) + +#define IFaxServer2_get_ReceiptOptions(This,ppFaxReceiptOptions) \ + ( (This)->lpVtbl -> get_ReceiptOptions(This,ppFaxReceiptOptions) ) + +#define IFaxServer2_get_Security(This,ppFaxSecurity) \ + ( (This)->lpVtbl -> get_Security(This,ppFaxSecurity) ) + +#define IFaxServer2_Disconnect(This) \ + ( (This)->lpVtbl -> Disconnect(This) ) + +#define IFaxServer2_GetExtensionProperty(This,bstrGUID,pvProperty) \ + ( (This)->lpVtbl -> GetExtensionProperty(This,bstrGUID,pvProperty) ) + +#define IFaxServer2_SetExtensionProperty(This,bstrGUID,vProperty) \ + ( (This)->lpVtbl -> SetExtensionProperty(This,bstrGUID,vProperty) ) + +#define IFaxServer2_ListenToServerEvents(This,EventTypes) \ + ( (This)->lpVtbl -> ListenToServerEvents(This,EventTypes) ) + +#define IFaxServer2_RegisterDeviceProvider(This,bstrGUID,bstrFriendlyName,bstrImageName,TspName,lFSPIVersion) \ + ( (This)->lpVtbl -> RegisterDeviceProvider(This,bstrGUID,bstrFriendlyName,bstrImageName,TspName,lFSPIVersion) ) + +#define IFaxServer2_UnregisterDeviceProvider(This,bstrUniqueName) \ + ( (This)->lpVtbl -> UnregisterDeviceProvider(This,bstrUniqueName) ) + +#define IFaxServer2_RegisterInboundRoutingExtension(This,bstrExtensionName,bstrFriendlyName,bstrImageName,vMethods) \ + ( (This)->lpVtbl -> RegisterInboundRoutingExtension(This,bstrExtensionName,bstrFriendlyName,bstrImageName,vMethods) ) + +#define IFaxServer2_UnregisterInboundRoutingExtension(This,bstrExtensionUniqueName) \ + ( (This)->lpVtbl -> UnregisterInboundRoutingExtension(This,bstrExtensionUniqueName) ) + +#define IFaxServer2_get_RegisteredEvents(This,pEventTypes) \ + ( (This)->lpVtbl -> get_RegisteredEvents(This,pEventTypes) ) + +#define IFaxServer2_get_APIVersion(This,pAPIVersion) \ + ( (This)->lpVtbl -> get_APIVersion(This,pAPIVersion) ) + + +#define IFaxServer2_get_Configuration(This,ppFaxConfiguration) \ + ( (This)->lpVtbl -> get_Configuration(This,ppFaxConfiguration) ) + +#define IFaxServer2_get_CurrentAccount(This,ppCurrentAccount) \ + ( (This)->lpVtbl -> get_CurrentAccount(This,ppCurrentAccount) ) + +#define IFaxServer2_get_FaxAccountSet(This,ppFaxAccountSet) \ + ( (This)->lpVtbl -> get_FaxAccountSet(This,ppFaxAccountSet) ) + +#define IFaxServer2_get_Security2(This,ppFaxSecurity2) \ + ( (This)->lpVtbl -> get_Security2(This,ppFaxSecurity2) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxServer2_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountSet_INTERFACE_DEFINED__ +#define __IFaxAccountSet_INTERFACE_DEFINED__ + +/* interface IFaxAccountSet */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccountSet; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("7428fbae-841e-47b8-86f4-2288946dca1b") + IFaxAccountSet : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAccounts( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccounts **ppFaxAccounts) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAccount( + /* [in] */ __RPC__in BSTR bstrAccountName, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **pFaxAccount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddAccount( + /* [in] */ __RPC__in BSTR bstrAccountName, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **pFaxAccount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveAccount( + /* [in] */ __RPC__in BSTR bstrAccountName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountSetVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountSet * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountSet * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountSet * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountSet * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountSet * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountSet * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountSet * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccountSet, GetAccounts) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAccounts )( + __RPC__in IFaxAccountSet * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccounts **ppFaxAccounts); + + DECLSPEC_XFGVIRT(IFaxAccountSet, GetAccount) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAccount )( + __RPC__in IFaxAccountSet * This, + /* [in] */ __RPC__in BSTR bstrAccountName, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **pFaxAccount); + + DECLSPEC_XFGVIRT(IFaxAccountSet, AddAccount) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddAccount )( + __RPC__in IFaxAccountSet * This, + /* [in] */ __RPC__in BSTR bstrAccountName, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **pFaxAccount); + + DECLSPEC_XFGVIRT(IFaxAccountSet, RemoveAccount) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveAccount )( + __RPC__in IFaxAccountSet * This, + /* [in] */ __RPC__in BSTR bstrAccountName); + + END_INTERFACE + } IFaxAccountSetVtbl; + + interface IFaxAccountSet + { + CONST_VTBL struct IFaxAccountSetVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountSet_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountSet_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountSet_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountSet_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountSet_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountSet_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountSet_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccountSet_GetAccounts(This,ppFaxAccounts) \ + ( (This)->lpVtbl -> GetAccounts(This,ppFaxAccounts) ) + +#define IFaxAccountSet_GetAccount(This,bstrAccountName,pFaxAccount) \ + ( (This)->lpVtbl -> GetAccount(This,bstrAccountName,pFaxAccount) ) + +#define IFaxAccountSet_AddAccount(This,bstrAccountName,pFaxAccount) \ + ( (This)->lpVtbl -> AddAccount(This,bstrAccountName,pFaxAccount) ) + +#define IFaxAccountSet_RemoveAccount(This,bstrAccountName) \ + ( (This)->lpVtbl -> RemoveAccount(This,bstrAccountName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccountSet_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccounts_INTERFACE_DEFINED__ +#define __IFaxAccounts_INTERFACE_DEFINED__ + +/* interface IFaxAccounts */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccounts; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("93ea8162-8be7-42d1-ae7b-ec74e2d989da") + IFaxAccounts : public IDispatch + { + public: + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **pFaxAccount) = 0; + + virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *plCount) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccounts * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccounts * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccounts * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccounts * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccounts * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccounts * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccounts * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccounts, get__NewEnum) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFaxAccounts * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFaxAccounts, get_Item) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFaxAccounts * This, + /* [in] */ VARIANT vIndex, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccount **pFaxAccount); + + DECLSPEC_XFGVIRT(IFaxAccounts, get_Count) + /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFaxAccounts * This, + /* [retval][out] */ __RPC__out long *plCount); + + END_INTERFACE + } IFaxAccountsVtbl; + + interface IFaxAccounts + { + CONST_VTBL struct IFaxAccountsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccounts_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccounts_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccounts_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccounts_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccounts_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccounts_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccounts_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccounts_get__NewEnum(This,ppUnk) \ + ( (This)->lpVtbl -> get__NewEnum(This,ppUnk) ) + +#define IFaxAccounts_get_Item(This,vIndex,pFaxAccount) \ + ( (This)->lpVtbl -> get_Item(This,vIndex,pFaxAccount) ) + +#define IFaxAccounts_get_Count(This,plCount) \ + ( (This)->lpVtbl -> get_Count(This,plCount) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccounts_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccount_INTERFACE_DEFINED__ +#define __IFaxAccount_INTERFACE_DEFINED__ + +/* interface IFaxAccount */ +/* [unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_ACCOUNT_EVENTS_TYPE_ENUM + { + faetNONE = 0, + faetIN_QUEUE = 0x1, + faetOUT_QUEUE = 0x2, + faetIN_ARCHIVE = 0x4, + faetOUT_ARCHIVE = 0x8, + faetFXSSVC_ENDED = 0x10 + } FAX_ACCOUNT_EVENTS_TYPE_ENUM; + + +EXTERN_C const IID IID_IFaxAccount; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("68535b33-5dc4-4086-be26-b76f9b711006") + IFaxAccount : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AccountName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrAccountName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Folders( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountFolders **ppFolders) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ListenToAccountEvents( + /* [in] */ FAX_ACCOUNT_EVENTS_TYPE_ENUM EventTypes) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RegisteredEvents( + /* [retval][out] */ __RPC__out FAX_ACCOUNT_EVENTS_TYPE_ENUM *pRegisteredEvents) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccount * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccount * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccount * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccount * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccount * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccount * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccount * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccount, get_AccountName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AccountName )( + __RPC__in IFaxAccount * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrAccountName); + + DECLSPEC_XFGVIRT(IFaxAccount, get_Folders) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Folders )( + __RPC__in IFaxAccount * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountFolders **ppFolders); + + DECLSPEC_XFGVIRT(IFaxAccount, ListenToAccountEvents) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ListenToAccountEvents )( + __RPC__in IFaxAccount * This, + /* [in] */ FAX_ACCOUNT_EVENTS_TYPE_ENUM EventTypes); + + DECLSPEC_XFGVIRT(IFaxAccount, get_RegisteredEvents) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RegisteredEvents )( + __RPC__in IFaxAccount * This, + /* [retval][out] */ __RPC__out FAX_ACCOUNT_EVENTS_TYPE_ENUM *pRegisteredEvents); + + END_INTERFACE + } IFaxAccountVtbl; + + interface IFaxAccount + { + CONST_VTBL struct IFaxAccountVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccount_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccount_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccount_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccount_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccount_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccount_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccount_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccount_get_AccountName(This,pbstrAccountName) \ + ( (This)->lpVtbl -> get_AccountName(This,pbstrAccountName) ) + +#define IFaxAccount_get_Folders(This,ppFolders) \ + ( (This)->lpVtbl -> get_Folders(This,ppFolders) ) + +#define IFaxAccount_ListenToAccountEvents(This,EventTypes) \ + ( (This)->lpVtbl -> ListenToAccountEvents(This,EventTypes) ) + +#define IFaxAccount_get_RegisteredEvents(This,pRegisteredEvents) \ + ( (This)->lpVtbl -> get_RegisteredEvents(This,pRegisteredEvents) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccount_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingJob2_INTERFACE_DEFINED__ +#define __IFaxOutgoingJob2_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingJob2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingJob2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("418a8d96-59a0-4789-b176-edf3dc8fa8f7") + IFaxOutgoingJob2 : public IFaxOutgoingJob + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasCoverPage( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbHasCoverPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScheduleType( + /* [retval][out] */ __RPC__out FAX_SCHEDULE_TYPE_ENUM *pScheduleType) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingJob2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingJob2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingJob2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingJob2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingJob2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingJob2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_SubmissionId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionId )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_OriginalScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalScheduledTime )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out DATE *pdateOriginalScheduledTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_SubmissionTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionTime )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out DATE *pdateSubmissionTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ReceiptType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptType )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Sender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Recipient) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipient )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_CurrentPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPage )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out long *plCurrentPage); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_DeviceId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceId )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out long *plDeviceId); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Status) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out FAX_JOB_STATUS_ENUM *pStatus); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ExtendedStatusCode) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatusCode )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out FAX_JOB_EXTENDED_STATUS_ENUM *pExtendedStatusCode); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ExtendedStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExtendedStatus )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrExtendedStatus); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_AvailableOperations) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvailableOperations )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out FAX_JOB_OPERATIONS_ENUM *pAvailableOperations); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_ScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduledTime )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out DATE *pdateScheduledTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, get_GroupBroadcastReceipts) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GroupBroadcastReceipts )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbGroupBroadcastReceipts); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Pause) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pause )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Resume) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Resume )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Restart) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Restart )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxOutgoingJob2 * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFaxOutgoingJob2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob2, get_HasCoverPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasCoverPage )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbHasCoverPage); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob2, get_ReceiptAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptAddress )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress); + + DECLSPEC_XFGVIRT(IFaxOutgoingJob2, get_ScheduleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ScheduleType )( + __RPC__in IFaxOutgoingJob2 * This, + /* [retval][out] */ __RPC__out FAX_SCHEDULE_TYPE_ENUM *pScheduleType); + + END_INTERFACE + } IFaxOutgoingJob2Vtbl; + + interface IFaxOutgoingJob2 + { + CONST_VTBL struct IFaxOutgoingJob2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingJob2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingJob2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingJob2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingJob2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingJob2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingJob2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingJob2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingJob2_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxOutgoingJob2_get_DocumentName(This,pbstrDocumentName) \ + ( (This)->lpVtbl -> get_DocumentName(This,pbstrDocumentName) ) + +#define IFaxOutgoingJob2_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxOutgoingJob2_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxOutgoingJob2_get_SubmissionId(This,pbstrSubmissionId) \ + ( (This)->lpVtbl -> get_SubmissionId(This,pbstrSubmissionId) ) + +#define IFaxOutgoingJob2_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxOutgoingJob2_get_OriginalScheduledTime(This,pdateOriginalScheduledTime) \ + ( (This)->lpVtbl -> get_OriginalScheduledTime(This,pdateOriginalScheduledTime) ) + +#define IFaxOutgoingJob2_get_SubmissionTime(This,pdateSubmissionTime) \ + ( (This)->lpVtbl -> get_SubmissionTime(This,pdateSubmissionTime) ) + +#define IFaxOutgoingJob2_get_ReceiptType(This,pReceiptType) \ + ( (This)->lpVtbl -> get_ReceiptType(This,pReceiptType) ) + +#define IFaxOutgoingJob2_get_Priority(This,pPriority) \ + ( (This)->lpVtbl -> get_Priority(This,pPriority) ) + +#define IFaxOutgoingJob2_get_Sender(This,ppFaxSender) \ + ( (This)->lpVtbl -> get_Sender(This,ppFaxSender) ) + +#define IFaxOutgoingJob2_get_Recipient(This,ppFaxRecipient) \ + ( (This)->lpVtbl -> get_Recipient(This,ppFaxRecipient) ) + +#define IFaxOutgoingJob2_get_CurrentPage(This,plCurrentPage) \ + ( (This)->lpVtbl -> get_CurrentPage(This,plCurrentPage) ) + +#define IFaxOutgoingJob2_get_DeviceId(This,plDeviceId) \ + ( (This)->lpVtbl -> get_DeviceId(This,plDeviceId) ) + +#define IFaxOutgoingJob2_get_Status(This,pStatus) \ + ( (This)->lpVtbl -> get_Status(This,pStatus) ) + +#define IFaxOutgoingJob2_get_ExtendedStatusCode(This,pExtendedStatusCode) \ + ( (This)->lpVtbl -> get_ExtendedStatusCode(This,pExtendedStatusCode) ) + +#define IFaxOutgoingJob2_get_ExtendedStatus(This,pbstrExtendedStatus) \ + ( (This)->lpVtbl -> get_ExtendedStatus(This,pbstrExtendedStatus) ) + +#define IFaxOutgoingJob2_get_AvailableOperations(This,pAvailableOperations) \ + ( (This)->lpVtbl -> get_AvailableOperations(This,pAvailableOperations) ) + +#define IFaxOutgoingJob2_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxOutgoingJob2_get_ScheduledTime(This,pdateScheduledTime) \ + ( (This)->lpVtbl -> get_ScheduledTime(This,pdateScheduledTime) ) + +#define IFaxOutgoingJob2_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxOutgoingJob2_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxOutgoingJob2_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxOutgoingJob2_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxOutgoingJob2_get_GroupBroadcastReceipts(This,pbGroupBroadcastReceipts) \ + ( (This)->lpVtbl -> get_GroupBroadcastReceipts(This,pbGroupBroadcastReceipts) ) + +#define IFaxOutgoingJob2_Pause(This) \ + ( (This)->lpVtbl -> Pause(This) ) + +#define IFaxOutgoingJob2_Resume(This) \ + ( (This)->lpVtbl -> Resume(This) ) + +#define IFaxOutgoingJob2_Restart(This) \ + ( (This)->lpVtbl -> Restart(This) ) + +#define IFaxOutgoingJob2_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#define IFaxOutgoingJob2_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxOutgoingJob2_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + + +#define IFaxOutgoingJob2_get_HasCoverPage(This,pbHasCoverPage) \ + ( (This)->lpVtbl -> get_HasCoverPage(This,pbHasCoverPage) ) + +#define IFaxOutgoingJob2_get_ReceiptAddress(This,pbstrReceiptAddress) \ + ( (This)->lpVtbl -> get_ReceiptAddress(This,pbstrReceiptAddress) ) + +#define IFaxOutgoingJob2_get_ScheduleType(This,pScheduleType) \ + ( (This)->lpVtbl -> get_ScheduleType(This,pScheduleType) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingJob2_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountFolders_INTERFACE_DEFINED__ +#define __IFaxAccountFolders_INTERFACE_DEFINED__ + +/* interface IFaxAccountFolders */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccountFolders; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6463f89d-23d8-46a9-8f86-c47b77ca7926") + IFaxAccountFolders : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingQueue( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountOutgoingQueue **pFaxOutgoingQueue) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingQueue( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountIncomingQueue **pFaxIncomingQueue) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IncomingArchive( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountIncomingArchive **pFaxIncomingArchive) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OutgoingArchive( + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountOutgoingArchive **pFaxOutgoingArchive) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountFoldersVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountFolders * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountFolders * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountFolders * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountFolders * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountFolders * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountFolders * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountFolders * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccountFolders, get_OutgoingQueue) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingQueue )( + __RPC__in IFaxAccountFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountOutgoingQueue **pFaxOutgoingQueue); + + DECLSPEC_XFGVIRT(IFaxAccountFolders, get_IncomingQueue) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingQueue )( + __RPC__in IFaxAccountFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountIncomingQueue **pFaxIncomingQueue); + + DECLSPEC_XFGVIRT(IFaxAccountFolders, get_IncomingArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IncomingArchive )( + __RPC__in IFaxAccountFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountIncomingArchive **pFaxIncomingArchive); + + DECLSPEC_XFGVIRT(IFaxAccountFolders, get_OutgoingArchive) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OutgoingArchive )( + __RPC__in IFaxAccountFolders * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxAccountOutgoingArchive **pFaxOutgoingArchive); + + END_INTERFACE + } IFaxAccountFoldersVtbl; + + interface IFaxAccountFolders + { + CONST_VTBL struct IFaxAccountFoldersVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountFolders_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountFolders_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountFolders_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountFolders_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountFolders_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountFolders_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountFolders_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccountFolders_get_OutgoingQueue(This,pFaxOutgoingQueue) \ + ( (This)->lpVtbl -> get_OutgoingQueue(This,pFaxOutgoingQueue) ) + +#define IFaxAccountFolders_get_IncomingQueue(This,pFaxIncomingQueue) \ + ( (This)->lpVtbl -> get_IncomingQueue(This,pFaxIncomingQueue) ) + +#define IFaxAccountFolders_get_IncomingArchive(This,pFaxIncomingArchive) \ + ( (This)->lpVtbl -> get_IncomingArchive(This,pFaxIncomingArchive) ) + +#define IFaxAccountFolders_get_OutgoingArchive(This,pFaxOutgoingArchive) \ + ( (This)->lpVtbl -> get_OutgoingArchive(This,pFaxOutgoingArchive) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccountFolders_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountIncomingQueue_INTERFACE_DEFINED__ +#define __IFaxAccountIncomingQueue_INTERFACE_DEFINED__ + +/* interface IFaxAccountIncomingQueue */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccountIncomingQueue; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("dd142d92-0186-4a95-a090-cbc3eadba6b4") + IFaxAccountIncomingQueue : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJobs( + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJobs **pFaxIncomingJobs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJob( + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJob **pFaxIncomingJob) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountIncomingQueueVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountIncomingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountIncomingQueue * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountIncomingQueue * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountIncomingQueue * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountIncomingQueue * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountIncomingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountIncomingQueue * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingQueue, GetJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJobs )( + __RPC__in IFaxAccountIncomingQueue * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJobs **pFaxIncomingJobs); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingQueue, GetJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJob )( + __RPC__in IFaxAccountIncomingQueue * This, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingJob **pFaxIncomingJob); + + END_INTERFACE + } IFaxAccountIncomingQueueVtbl; + + interface IFaxAccountIncomingQueue + { + CONST_VTBL struct IFaxAccountIncomingQueueVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountIncomingQueue_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountIncomingQueue_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountIncomingQueue_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountIncomingQueue_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountIncomingQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountIncomingQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountIncomingQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccountIncomingQueue_GetJobs(This,pFaxIncomingJobs) \ + ( (This)->lpVtbl -> GetJobs(This,pFaxIncomingJobs) ) + +#define IFaxAccountIncomingQueue_GetJob(This,bstrJobId,pFaxIncomingJob) \ + ( (This)->lpVtbl -> GetJob(This,bstrJobId,pFaxIncomingJob) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccountIncomingQueue_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountOutgoingQueue_INTERFACE_DEFINED__ +#define __IFaxAccountOutgoingQueue_INTERFACE_DEFINED__ + +/* interface IFaxAccountOutgoingQueue */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccountOutgoingQueue; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0f1424e9-f22d-4553-b7a5-0d24bd0d7e46") + IFaxAccountOutgoingQueue : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJobs( + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJobs **pFaxOutgoingJobs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetJob( + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJob **pFaxOutgoingJob) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountOutgoingQueueVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountOutgoingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountOutgoingQueue * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountOutgoingQueue * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountOutgoingQueue * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountOutgoingQueue * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountOutgoingQueue * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountOutgoingQueue * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingQueue, GetJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJobs )( + __RPC__in IFaxAccountOutgoingQueue * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJobs **pFaxOutgoingJobs); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingQueue, GetJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetJob )( + __RPC__in IFaxAccountOutgoingQueue * This, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingJob **pFaxOutgoingJob); + + END_INTERFACE + } IFaxAccountOutgoingQueueVtbl; + + interface IFaxAccountOutgoingQueue + { + CONST_VTBL struct IFaxAccountOutgoingQueueVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountOutgoingQueue_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountOutgoingQueue_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountOutgoingQueue_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountOutgoingQueue_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountOutgoingQueue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountOutgoingQueue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountOutgoingQueue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccountOutgoingQueue_GetJobs(This,pFaxOutgoingJobs) \ + ( (This)->lpVtbl -> GetJobs(This,pFaxOutgoingJobs) ) + +#define IFaxAccountOutgoingQueue_GetJob(This,bstrJobId,pFaxOutgoingJob) \ + ( (This)->lpVtbl -> GetJob(This,bstrJobId,pFaxOutgoingJob) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccountOutgoingQueue_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxOutgoingMessage2_INTERFACE_DEFINED__ +#define __IFaxOutgoingMessage2_INTERFACE_DEFINED__ + +/* interface IFaxOutgoingMessage2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxOutgoingMessage2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("b37df687-bc88-4b46-b3be-b458b3ea9e7f") + IFaxOutgoingMessage2 : public IFaxOutgoingMessage + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasCoverPage( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbHasCoverPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptType( + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReceiptAddress( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Read( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRead) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Read( + /* [in] */ VARIANT_BOOL bRead) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxOutgoingMessage2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxOutgoingMessage2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxOutgoingMessage2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxOutgoingMessage2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_SubmissionId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionId )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubmissionId); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_DocumentName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DocumentName )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDocumentName); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_OriginalScheduledTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OriginalScheduledTime )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out DATE *pdateOriginalScheduledTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_SubmissionTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubmissionTime )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out DATE *pdateSubmissionTime); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Priority) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out FAX_PRIORITY_TYPE_ENUM *pPriority); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Sender) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sender )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxSender **ppFaxSender); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_Recipient) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipient )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFaxRecipient **ppFaxRecipient); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFaxOutgoingMessage2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, get_HasCoverPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasCoverPage )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbHasCoverPage); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, get_ReceiptType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptType )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out FAX_RECEIPT_TYPE_ENUM *pReceiptType); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, get_ReceiptAddress) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReceiptAddress )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrReceiptAddress); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, get_Read) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Read )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRead); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, put_Read) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Read )( + __RPC__in IFaxOutgoingMessage2 * This, + /* [in] */ VARIANT_BOOL bRead); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxOutgoingMessage2 * This); + + DECLSPEC_XFGVIRT(IFaxOutgoingMessage2, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxOutgoingMessage2 * This); + + END_INTERFACE + } IFaxOutgoingMessage2Vtbl; + + interface IFaxOutgoingMessage2 + { + CONST_VTBL struct IFaxOutgoingMessage2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxOutgoingMessage2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxOutgoingMessage2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxOutgoingMessage2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxOutgoingMessage2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxOutgoingMessage2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxOutgoingMessage2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxOutgoingMessage2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxOutgoingMessage2_get_SubmissionId(This,pbstrSubmissionId) \ + ( (This)->lpVtbl -> get_SubmissionId(This,pbstrSubmissionId) ) + +#define IFaxOutgoingMessage2_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxOutgoingMessage2_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxOutgoingMessage2_get_DocumentName(This,pbstrDocumentName) \ + ( (This)->lpVtbl -> get_DocumentName(This,pbstrDocumentName) ) + +#define IFaxOutgoingMessage2_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxOutgoingMessage2_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxOutgoingMessage2_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxOutgoingMessage2_get_OriginalScheduledTime(This,pdateOriginalScheduledTime) \ + ( (This)->lpVtbl -> get_OriginalScheduledTime(This,pdateOriginalScheduledTime) ) + +#define IFaxOutgoingMessage2_get_SubmissionTime(This,pdateSubmissionTime) \ + ( (This)->lpVtbl -> get_SubmissionTime(This,pdateSubmissionTime) ) + +#define IFaxOutgoingMessage2_get_Priority(This,pPriority) \ + ( (This)->lpVtbl -> get_Priority(This,pPriority) ) + +#define IFaxOutgoingMessage2_get_Sender(This,ppFaxSender) \ + ( (This)->lpVtbl -> get_Sender(This,ppFaxSender) ) + +#define IFaxOutgoingMessage2_get_Recipient(This,ppFaxRecipient) \ + ( (This)->lpVtbl -> get_Recipient(This,ppFaxRecipient) ) + +#define IFaxOutgoingMessage2_get_DeviceName(This,pbstrDeviceName) \ + ( (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName) ) + +#define IFaxOutgoingMessage2_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxOutgoingMessage2_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxOutgoingMessage2_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxOutgoingMessage2_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxOutgoingMessage2_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#define IFaxOutgoingMessage2_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFaxOutgoingMessage2_get_HasCoverPage(This,pbHasCoverPage) \ + ( (This)->lpVtbl -> get_HasCoverPage(This,pbHasCoverPage) ) + +#define IFaxOutgoingMessage2_get_ReceiptType(This,pReceiptType) \ + ( (This)->lpVtbl -> get_ReceiptType(This,pReceiptType) ) + +#define IFaxOutgoingMessage2_get_ReceiptAddress(This,pbstrReceiptAddress) \ + ( (This)->lpVtbl -> get_ReceiptAddress(This,pbstrReceiptAddress) ) + +#define IFaxOutgoingMessage2_get_Read(This,pbRead) \ + ( (This)->lpVtbl -> get_Read(This,pbRead) ) + +#define IFaxOutgoingMessage2_put_Read(This,bRead) \ + ( (This)->lpVtbl -> put_Read(This,bRead) ) + +#define IFaxOutgoingMessage2_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxOutgoingMessage2_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxOutgoingMessage2_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountIncomingArchive_INTERFACE_DEFINED__ +#define __IFaxAccountIncomingArchive_INTERFACE_DEFINED__ + +/* interface IFaxAccountIncomingArchive */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccountIncomingArchive; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a8a5b6ef-e0d6-4aee-955c-91625bec9db4") + IFaxAccountIncomingArchive : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeLow( + /* [retval][out] */ __RPC__out long *plSizeLow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeHigh( + /* [retval][out] */ __RPC__out long *plSizeHigh) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessages( + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessageIterator **pFaxIncomingMessageIterator) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessage( + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessage **pFaxIncomingMessage) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountIncomingArchiveVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountIncomingArchive * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountIncomingArchive * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountIncomingArchive * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingArchive, get_SizeLow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeLow )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeLow); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingArchive, get_SizeHigh) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeHigh )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeHigh); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingArchive, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxAccountIncomingArchive * This); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingArchive, GetMessages) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessages )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessageIterator **pFaxIncomingMessageIterator); + + DECLSPEC_XFGVIRT(IFaxAccountIncomingArchive, GetMessage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessage )( + __RPC__in IFaxAccountIncomingArchive * This, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxIncomingMessage **pFaxIncomingMessage); + + END_INTERFACE + } IFaxAccountIncomingArchiveVtbl; + + interface IFaxAccountIncomingArchive + { + CONST_VTBL struct IFaxAccountIncomingArchiveVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountIncomingArchive_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountIncomingArchive_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountIncomingArchive_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountIncomingArchive_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountIncomingArchive_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountIncomingArchive_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountIncomingArchive_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccountIncomingArchive_get_SizeLow(This,plSizeLow) \ + ( (This)->lpVtbl -> get_SizeLow(This,plSizeLow) ) + +#define IFaxAccountIncomingArchive_get_SizeHigh(This,plSizeHigh) \ + ( (This)->lpVtbl -> get_SizeHigh(This,plSizeHigh) ) + +#define IFaxAccountIncomingArchive_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxAccountIncomingArchive_GetMessages(This,lPrefetchSize,pFaxIncomingMessageIterator) \ + ( (This)->lpVtbl -> GetMessages(This,lPrefetchSize,pFaxIncomingMessageIterator) ) + +#define IFaxAccountIncomingArchive_GetMessage(This,bstrMessageId,pFaxIncomingMessage) \ + ( (This)->lpVtbl -> GetMessage(This,bstrMessageId,pFaxIncomingMessage) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccountIncomingArchive_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountOutgoingArchive_INTERFACE_DEFINED__ +#define __IFaxAccountOutgoingArchive_INTERFACE_DEFINED__ + +/* interface IFaxAccountOutgoingArchive */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxAccountOutgoingArchive; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("5463076d-ec14-491f-926e-b3ceda5e5662") + IFaxAccountOutgoingArchive : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeLow( + /* [retval][out] */ __RPC__out long *plSizeLow) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeHigh( + /* [retval][out] */ __RPC__out long *plSizeHigh) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessages( + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessageIterator **pFaxOutgoingMessageIterator) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMessage( + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessage **pFaxOutgoingMessage) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxAccountOutgoingArchiveVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountOutgoingArchive * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingArchive, get_SizeLow) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeLow )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeLow); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingArchive, get_SizeHigh) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeHigh )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [retval][out] */ __RPC__out long *plSizeHigh); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingArchive, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxAccountOutgoingArchive * This); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingArchive, GetMessages) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessages )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [defaultvalue][in] */ long lPrefetchSize, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessageIterator **pFaxOutgoingMessageIterator); + + DECLSPEC_XFGVIRT(IFaxAccountOutgoingArchive, GetMessage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMessage )( + __RPC__in IFaxAccountOutgoingArchive * This, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [retval][out] */ __RPC__deref_out_opt IFaxOutgoingMessage **pFaxOutgoingMessage); + + END_INTERFACE + } IFaxAccountOutgoingArchiveVtbl; + + interface IFaxAccountOutgoingArchive + { + CONST_VTBL struct IFaxAccountOutgoingArchiveVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountOutgoingArchive_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountOutgoingArchive_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountOutgoingArchive_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountOutgoingArchive_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountOutgoingArchive_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountOutgoingArchive_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountOutgoingArchive_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxAccountOutgoingArchive_get_SizeLow(This,plSizeLow) \ + ( (This)->lpVtbl -> get_SizeLow(This,plSizeLow) ) + +#define IFaxAccountOutgoingArchive_get_SizeHigh(This,plSizeHigh) \ + ( (This)->lpVtbl -> get_SizeHigh(This,plSizeHigh) ) + +#define IFaxAccountOutgoingArchive_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxAccountOutgoingArchive_GetMessages(This,lPrefetchSize,pFaxOutgoingMessageIterator) \ + ( (This)->lpVtbl -> GetMessages(This,lPrefetchSize,pFaxOutgoingMessageIterator) ) + +#define IFaxAccountOutgoingArchive_GetMessage(This,bstrMessageId,pFaxOutgoingMessage) \ + ( (This)->lpVtbl -> GetMessage(This,bstrMessageId,pFaxOutgoingMessage) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxAccountOutgoingArchive_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxSecurity2_INTERFACE_DEFINED__ +#define __IFaxSecurity2_INTERFACE_DEFINED__ + +/* interface IFaxSecurity2 */ +/* [nonextensible][unique][helpstring][dual][uuid][object] */ + +typedef +enum FAX_ACCESS_RIGHTS_ENUM_2 + { + far2SUBMIT_LOW = 0x1, + far2SUBMIT_NORMAL = 0x2, + far2SUBMIT_HIGH = 0x4, + far2QUERY_OUT_JOBS = 0x8, + far2MANAGE_OUT_JOBS = 0x10, + far2QUERY_CONFIG = 0x20, + far2MANAGE_CONFIG = 0x40, + far2QUERY_ARCHIVES = 0x80, + far2MANAGE_ARCHIVES = 0x100, + far2MANAGE_RECEIVE_FOLDER = 0x200 + } FAX_ACCESS_RIGHTS_ENUM_2; + + +EXTERN_C const IID IID_IFaxSecurity2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("17d851f4-d09b-48fc-99c9-8f24c4db9ab1") + IFaxSecurity2 : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Descriptor( + /* [retval][out] */ __RPC__out VARIANT *pvDescriptor) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Descriptor( + /* [in] */ VARIANT vDescriptor) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GrantedRights( + /* [retval][out] */ __RPC__out FAX_ACCESS_RIGHTS_ENUM_2 *pGrantedRights) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InformationType( + /* [retval][out] */ __RPC__out long *plInformationType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_InformationType( + /* [in] */ long lInformationType) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxSecurity2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxSecurity2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxSecurity2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxSecurity2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxSecurity2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxSecurity2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxSecurity2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxSecurity2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxSecurity2, get_Descriptor) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Descriptor )( + __RPC__in IFaxSecurity2 * This, + /* [retval][out] */ __RPC__out VARIANT *pvDescriptor); + + DECLSPEC_XFGVIRT(IFaxSecurity2, put_Descriptor) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Descriptor )( + __RPC__in IFaxSecurity2 * This, + /* [in] */ VARIANT vDescriptor); + + DECLSPEC_XFGVIRT(IFaxSecurity2, get_GrantedRights) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GrantedRights )( + __RPC__in IFaxSecurity2 * This, + /* [retval][out] */ __RPC__out FAX_ACCESS_RIGHTS_ENUM_2 *pGrantedRights); + + DECLSPEC_XFGVIRT(IFaxSecurity2, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxSecurity2 * This); + + DECLSPEC_XFGVIRT(IFaxSecurity2, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxSecurity2 * This); + + DECLSPEC_XFGVIRT(IFaxSecurity2, get_InformationType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InformationType )( + __RPC__in IFaxSecurity2 * This, + /* [retval][out] */ __RPC__out long *plInformationType); + + DECLSPEC_XFGVIRT(IFaxSecurity2, put_InformationType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_InformationType )( + __RPC__in IFaxSecurity2 * This, + /* [in] */ long lInformationType); + + END_INTERFACE + } IFaxSecurity2Vtbl; + + interface IFaxSecurity2 + { + CONST_VTBL struct IFaxSecurity2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxSecurity2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxSecurity2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxSecurity2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxSecurity2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxSecurity2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxSecurity2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxSecurity2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxSecurity2_get_Descriptor(This,pvDescriptor) \ + ( (This)->lpVtbl -> get_Descriptor(This,pvDescriptor) ) + +#define IFaxSecurity2_put_Descriptor(This,vDescriptor) \ + ( (This)->lpVtbl -> put_Descriptor(This,vDescriptor) ) + +#define IFaxSecurity2_get_GrantedRights(This,pGrantedRights) \ + ( (This)->lpVtbl -> get_GrantedRights(This,pGrantedRights) ) + +#define IFaxSecurity2_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#define IFaxSecurity2_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxSecurity2_get_InformationType(This,plInformationType) \ + ( (This)->lpVtbl -> get_InformationType(This,plInformationType) ) + +#define IFaxSecurity2_put_InformationType(This,lInformationType) \ + ( (This)->lpVtbl -> put_InformationType(This,lInformationType) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxSecurity2_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxIncomingMessage2_INTERFACE_DEFINED__ +#define __IFaxIncomingMessage2_INTERFACE_DEFINED__ + +/* interface IFaxIncomingMessage2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFaxIncomingMessage2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f9208503-e2bc-48f3-9ec0-e6236f9b509a") + IFaxIncomingMessage2 : public IFaxIncomingMessage + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Subject( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Subject( + /* [in] */ __RPC__in BSTR bstrSubject) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSenderName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderName( + /* [in] */ __RPC__in BSTR bstrSenderName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SenderFaxNumber( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSenderFaxNumber) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SenderFaxNumber( + /* [in] */ __RPC__in BSTR bstrSenderFaxNumber) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HasCoverPage( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbHasCoverPage) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HasCoverPage( + /* [in] */ VARIANT_BOOL bHasCoverPage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Recipients( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRecipients) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Recipients( + /* [in] */ __RPC__in BSTR bstrRecipients) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WasReAssigned( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbWasReAssigned) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Read( + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRead) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Read( + /* [in] */ VARIANT_BOOL bRead) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReAssign( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Save( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFaxIncomingMessage2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxIncomingMessage2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxIncomingMessage2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxIncomingMessage2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxIncomingMessage2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrId); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Pages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pages )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out long *plPages); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out long *plSize); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_DeviceName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrDeviceName); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_Retries) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Retries )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out long *plRetries); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_TransmissionStart) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionStart )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionStart); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_TransmissionEnd) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TransmissionEnd )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out DATE *pdateTransmissionEnd); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_CSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CSID )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCSID); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_TSID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TSID )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrTSID); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_CallerId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallerId )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrCallerId); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, get_RoutingInformation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RoutingInformation )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRoutingInformation); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, CopyTiff) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTiff )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in BSTR bstrTiffPath); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFaxIncomingMessage2 * This); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_Subject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSubject); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, put_Subject) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Subject )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in BSTR bstrSubject); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_SenderName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderName )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSenderName); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, put_SenderName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderName )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in BSTR bstrSenderName); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_SenderFaxNumber) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SenderFaxNumber )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrSenderFaxNumber); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, put_SenderFaxNumber) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SenderFaxNumber )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in BSTR bstrSenderFaxNumber); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_HasCoverPage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasCoverPage )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbHasCoverPage); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, put_HasCoverPage) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HasCoverPage )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ VARIANT_BOOL bHasCoverPage); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_Recipients) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Recipients )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pbstrRecipients); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, put_Recipients) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Recipients )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ __RPC__in BSTR bstrRecipients); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_WasReAssigned) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WasReAssigned )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbWasReAssigned); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, get_Read) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Read )( + __RPC__in IFaxIncomingMessage2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *pbRead); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, put_Read) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Read )( + __RPC__in IFaxIncomingMessage2 * This, + /* [in] */ VARIANT_BOOL bRead); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, ReAssign) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReAssign )( + __RPC__in IFaxIncomingMessage2 * This); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, Save) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Save )( + __RPC__in IFaxIncomingMessage2 * This); + + DECLSPEC_XFGVIRT(IFaxIncomingMessage2, Refresh) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )( + __RPC__in IFaxIncomingMessage2 * This); + + END_INTERFACE + } IFaxIncomingMessage2Vtbl; + + interface IFaxIncomingMessage2 + { + CONST_VTBL struct IFaxIncomingMessage2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxIncomingMessage2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxIncomingMessage2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxIncomingMessage2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxIncomingMessage2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxIncomingMessage2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxIncomingMessage2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxIncomingMessage2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFaxIncomingMessage2_get_Id(This,pbstrId) \ + ( (This)->lpVtbl -> get_Id(This,pbstrId) ) + +#define IFaxIncomingMessage2_get_Pages(This,plPages) \ + ( (This)->lpVtbl -> get_Pages(This,plPages) ) + +#define IFaxIncomingMessage2_get_Size(This,plSize) \ + ( (This)->lpVtbl -> get_Size(This,plSize) ) + +#define IFaxIncomingMessage2_get_DeviceName(This,pbstrDeviceName) \ + ( (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName) ) + +#define IFaxIncomingMessage2_get_Retries(This,plRetries) \ + ( (This)->lpVtbl -> get_Retries(This,plRetries) ) + +#define IFaxIncomingMessage2_get_TransmissionStart(This,pdateTransmissionStart) \ + ( (This)->lpVtbl -> get_TransmissionStart(This,pdateTransmissionStart) ) + +#define IFaxIncomingMessage2_get_TransmissionEnd(This,pdateTransmissionEnd) \ + ( (This)->lpVtbl -> get_TransmissionEnd(This,pdateTransmissionEnd) ) + +#define IFaxIncomingMessage2_get_CSID(This,pbstrCSID) \ + ( (This)->lpVtbl -> get_CSID(This,pbstrCSID) ) + +#define IFaxIncomingMessage2_get_TSID(This,pbstrTSID) \ + ( (This)->lpVtbl -> get_TSID(This,pbstrTSID) ) + +#define IFaxIncomingMessage2_get_CallerId(This,pbstrCallerId) \ + ( (This)->lpVtbl -> get_CallerId(This,pbstrCallerId) ) + +#define IFaxIncomingMessage2_get_RoutingInformation(This,pbstrRoutingInformation) \ + ( (This)->lpVtbl -> get_RoutingInformation(This,pbstrRoutingInformation) ) + +#define IFaxIncomingMessage2_CopyTiff(This,bstrTiffPath) \ + ( (This)->lpVtbl -> CopyTiff(This,bstrTiffPath) ) + +#define IFaxIncomingMessage2_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFaxIncomingMessage2_get_Subject(This,pbstrSubject) \ + ( (This)->lpVtbl -> get_Subject(This,pbstrSubject) ) + +#define IFaxIncomingMessage2_put_Subject(This,bstrSubject) \ + ( (This)->lpVtbl -> put_Subject(This,bstrSubject) ) + +#define IFaxIncomingMessage2_get_SenderName(This,pbstrSenderName) \ + ( (This)->lpVtbl -> get_SenderName(This,pbstrSenderName) ) + +#define IFaxIncomingMessage2_put_SenderName(This,bstrSenderName) \ + ( (This)->lpVtbl -> put_SenderName(This,bstrSenderName) ) + +#define IFaxIncomingMessage2_get_SenderFaxNumber(This,pbstrSenderFaxNumber) \ + ( (This)->lpVtbl -> get_SenderFaxNumber(This,pbstrSenderFaxNumber) ) + +#define IFaxIncomingMessage2_put_SenderFaxNumber(This,bstrSenderFaxNumber) \ + ( (This)->lpVtbl -> put_SenderFaxNumber(This,bstrSenderFaxNumber) ) + +#define IFaxIncomingMessage2_get_HasCoverPage(This,pbHasCoverPage) \ + ( (This)->lpVtbl -> get_HasCoverPage(This,pbHasCoverPage) ) + +#define IFaxIncomingMessage2_put_HasCoverPage(This,bHasCoverPage) \ + ( (This)->lpVtbl -> put_HasCoverPage(This,bHasCoverPage) ) + +#define IFaxIncomingMessage2_get_Recipients(This,pbstrRecipients) \ + ( (This)->lpVtbl -> get_Recipients(This,pbstrRecipients) ) + +#define IFaxIncomingMessage2_put_Recipients(This,bstrRecipients) \ + ( (This)->lpVtbl -> put_Recipients(This,bstrRecipients) ) + +#define IFaxIncomingMessage2_get_WasReAssigned(This,pbWasReAssigned) \ + ( (This)->lpVtbl -> get_WasReAssigned(This,pbWasReAssigned) ) + +#define IFaxIncomingMessage2_get_Read(This,pbRead) \ + ( (This)->lpVtbl -> get_Read(This,pbRead) ) + +#define IFaxIncomingMessage2_put_Read(This,bRead) \ + ( (This)->lpVtbl -> put_Read(This,bRead) ) + +#define IFaxIncomingMessage2_ReAssign(This) \ + ( (This)->lpVtbl -> ReAssign(This) ) + +#define IFaxIncomingMessage2_Save(This) \ + ( (This)->lpVtbl -> Save(This) ) + +#define IFaxIncomingMessage2_Refresh(This) \ + ( (This)->lpVtbl -> Refresh(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFaxIncomingMessage2_INTERFACE_DEFINED__ */ + + + +#ifndef __FAXCOMEXLib_LIBRARY_DEFINED__ +#define __FAXCOMEXLib_LIBRARY_DEFINED__ + +/* library FAXCOMEXLib */ +/* [helpstring][version][uuid] */ + +typedef +enum FAX_ROUTING_RULE_CODE_ENUM + { + frrcANY_CODE = 0 + } FAX_ROUTING_RULE_CODE_ENUM; + + +EXTERN_C const IID LIBID_FAXCOMEXLib; + +#ifndef __IFaxServerNotify_DISPINTERFACE_DEFINED__ +#define __IFaxServerNotify_DISPINTERFACE_DEFINED__ + +/* dispinterface IFaxServerNotify */ +/* [helpstring][uuid] */ + + +EXTERN_C const IID DIID_IFaxServerNotify; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2E037B27-CF8A-4abd-B1E0-5704943BEA6F") + IFaxServerNotify : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct IFaxServerNotifyVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxServerNotify * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxServerNotify * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxServerNotify * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxServerNotify * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxServerNotify * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxServerNotify * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxServerNotify * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } IFaxServerNotifyVtbl; + + interface IFaxServerNotify + { + CONST_VTBL struct IFaxServerNotifyVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxServerNotify_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxServerNotify_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxServerNotify_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxServerNotify_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxServerNotify_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxServerNotify_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxServerNotify_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __IFaxServerNotify_DISPINTERFACE_DEFINED__ */ + + +#ifndef ___IFaxServerNotify2_INTERFACE_DEFINED__ +#define ___IFaxServerNotify2_INTERFACE_DEFINED__ + +/* interface _IFaxServerNotify2 */ +/* [unique][uuid][object] */ + + +EXTERN_C const IID IID__IFaxServerNotify2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("ec9c69b9-5fe7-4805-9467-82fcd96af903") + _IFaxServerNotify2 : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingJobAdded( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingJobRemoved( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingJobChanged( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingJobAdded( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingJobRemoved( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingJobChanged( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingMessageAdded( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingMessageRemoved( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingMessageAdded( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingMessageRemoved( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnReceiptOptionsChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnActivityLoggingConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnSecurityConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnEventLoggingConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingQueueConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingArchiveConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingArchiveConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDevicesConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutboundRoutingGroupsConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutboundRoutingRulesConfigChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnServerActivityChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ long lIncomingMessages, + /* [in] */ long lRoutingMessages, + /* [in] */ long lOutgoingMessages, + /* [in] */ long lQueuedMessages) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnQueuesStatusChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ VARIANT_BOOL bOutgoingQueueBlocked, + /* [in] */ VARIANT_BOOL bOutgoingQueuePaused, + /* [in] */ VARIANT_BOOL bIncomingQueueBlocked) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnNewCall( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ long lCallId, + /* [in] */ long lDeviceId, + /* [in] */ __RPC__in BSTR bstrCallerId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnServerShutDown( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnDeviceStatusChange( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ long lDeviceId, + /* [in] */ VARIANT_BOOL bPoweredOff, + /* [in] */ VARIANT_BOOL bSending, + /* [in] */ VARIANT_BOOL bReceiving, + /* [in] */ VARIANT_BOOL bRinging) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnGeneralServerConfigChanged( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + }; + + +#else /* C style interface */ + + typedef struct _IFaxServerNotify2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in _IFaxServerNotify2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in _IFaxServerNotify2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in _IFaxServerNotify2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + _IFaxServerNotify2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnIncomingJobAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingJobAdded )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnIncomingJobRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingJobRemoved )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnIncomingJobChanged) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingJobChanged )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingJobAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingJobAdded )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingJobRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingJobRemoved )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingJobChanged) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingJobChanged )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnIncomingMessageAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingMessageAdded )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnIncomingMessageRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingMessageRemoved )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingMessageAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingMessageAdded )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingMessageRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingMessageRemoved )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ __RPC__in BSTR bstrMessageId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnReceiptOptionsChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnReceiptOptionsChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnActivityLoggingConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnActivityLoggingConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnSecurityConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnSecurityConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnEventLoggingConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnEventLoggingConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingQueueConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingQueueConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutgoingArchiveConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingArchiveConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnIncomingArchiveConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingArchiveConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnDevicesConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDevicesConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutboundRoutingGroupsConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutboundRoutingGroupsConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnOutboundRoutingRulesConfigChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutboundRoutingRulesConfigChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnServerActivityChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnServerActivityChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ long lIncomingMessages, + /* [in] */ long lRoutingMessages, + /* [in] */ long lOutgoingMessages, + /* [in] */ long lQueuedMessages); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnQueuesStatusChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnQueuesStatusChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ VARIANT_BOOL bOutgoingQueueBlocked, + /* [in] */ VARIANT_BOOL bOutgoingQueuePaused, + /* [in] */ VARIANT_BOOL bIncomingQueueBlocked); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnNewCall) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnNewCall )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ long lCallId, + /* [in] */ long lDeviceId, + /* [in] */ __RPC__in BSTR bstrCallerId); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnServerShutDown) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnServerShutDown )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnDeviceStatusChange) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnDeviceStatusChange )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer, + /* [in] */ long lDeviceId, + /* [in] */ VARIANT_BOOL bPoweredOff, + /* [in] */ VARIANT_BOOL bSending, + /* [in] */ VARIANT_BOOL bReceiving, + /* [in] */ VARIANT_BOOL bRinging); + + DECLSPEC_XFGVIRT(_IFaxServerNotify2, OnGeneralServerConfigChanged) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnGeneralServerConfigChanged )( + __RPC__in _IFaxServerNotify2 * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + END_INTERFACE + } _IFaxServerNotify2Vtbl; + + interface _IFaxServerNotify2 + { + CONST_VTBL struct _IFaxServerNotify2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define _IFaxServerNotify2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define _IFaxServerNotify2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define _IFaxServerNotify2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define _IFaxServerNotify2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define _IFaxServerNotify2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define _IFaxServerNotify2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define _IFaxServerNotify2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define _IFaxServerNotify2_OnIncomingJobAdded(This,pFaxServer,bstrJobId) \ + ( (This)->lpVtbl -> OnIncomingJobAdded(This,pFaxServer,bstrJobId) ) + +#define _IFaxServerNotify2_OnIncomingJobRemoved(This,pFaxServer,bstrJobId) \ + ( (This)->lpVtbl -> OnIncomingJobRemoved(This,pFaxServer,bstrJobId) ) + +#define _IFaxServerNotify2_OnIncomingJobChanged(This,pFaxServer,bstrJobId,pJobStatus) \ + ( (This)->lpVtbl -> OnIncomingJobChanged(This,pFaxServer,bstrJobId,pJobStatus) ) + +#define _IFaxServerNotify2_OnOutgoingJobAdded(This,pFaxServer,bstrJobId) \ + ( (This)->lpVtbl -> OnOutgoingJobAdded(This,pFaxServer,bstrJobId) ) + +#define _IFaxServerNotify2_OnOutgoingJobRemoved(This,pFaxServer,bstrJobId) \ + ( (This)->lpVtbl -> OnOutgoingJobRemoved(This,pFaxServer,bstrJobId) ) + +#define _IFaxServerNotify2_OnOutgoingJobChanged(This,pFaxServer,bstrJobId,pJobStatus) \ + ( (This)->lpVtbl -> OnOutgoingJobChanged(This,pFaxServer,bstrJobId,pJobStatus) ) + +#define _IFaxServerNotify2_OnIncomingMessageAdded(This,pFaxServer,bstrMessageId) \ + ( (This)->lpVtbl -> OnIncomingMessageAdded(This,pFaxServer,bstrMessageId) ) + +#define _IFaxServerNotify2_OnIncomingMessageRemoved(This,pFaxServer,bstrMessageId) \ + ( (This)->lpVtbl -> OnIncomingMessageRemoved(This,pFaxServer,bstrMessageId) ) + +#define _IFaxServerNotify2_OnOutgoingMessageAdded(This,pFaxServer,bstrMessageId) \ + ( (This)->lpVtbl -> OnOutgoingMessageAdded(This,pFaxServer,bstrMessageId) ) + +#define _IFaxServerNotify2_OnOutgoingMessageRemoved(This,pFaxServer,bstrMessageId) \ + ( (This)->lpVtbl -> OnOutgoingMessageRemoved(This,pFaxServer,bstrMessageId) ) + +#define _IFaxServerNotify2_OnReceiptOptionsChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnReceiptOptionsChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnActivityLoggingConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnActivityLoggingConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnSecurityConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnSecurityConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnEventLoggingConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnEventLoggingConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnOutgoingQueueConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnOutgoingQueueConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnOutgoingArchiveConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnOutgoingArchiveConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnIncomingArchiveConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnIncomingArchiveConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnDevicesConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnDevicesConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnOutboundRoutingGroupsConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnOutboundRoutingGroupsConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnOutboundRoutingRulesConfigChange(This,pFaxServer) \ + ( (This)->lpVtbl -> OnOutboundRoutingRulesConfigChange(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnServerActivityChange(This,pFaxServer,lIncomingMessages,lRoutingMessages,lOutgoingMessages,lQueuedMessages) \ + ( (This)->lpVtbl -> OnServerActivityChange(This,pFaxServer,lIncomingMessages,lRoutingMessages,lOutgoingMessages,lQueuedMessages) ) + +#define _IFaxServerNotify2_OnQueuesStatusChange(This,pFaxServer,bOutgoingQueueBlocked,bOutgoingQueuePaused,bIncomingQueueBlocked) \ + ( (This)->lpVtbl -> OnQueuesStatusChange(This,pFaxServer,bOutgoingQueueBlocked,bOutgoingQueuePaused,bIncomingQueueBlocked) ) + +#define _IFaxServerNotify2_OnNewCall(This,pFaxServer,lCallId,lDeviceId,bstrCallerId) \ + ( (This)->lpVtbl -> OnNewCall(This,pFaxServer,lCallId,lDeviceId,bstrCallerId) ) + +#define _IFaxServerNotify2_OnServerShutDown(This,pFaxServer) \ + ( (This)->lpVtbl -> OnServerShutDown(This,pFaxServer) ) + +#define _IFaxServerNotify2_OnDeviceStatusChange(This,pFaxServer,lDeviceId,bPoweredOff,bSending,bReceiving,bRinging) \ + ( (This)->lpVtbl -> OnDeviceStatusChange(This,pFaxServer,lDeviceId,bPoweredOff,bSending,bReceiving,bRinging) ) + +#define _IFaxServerNotify2_OnGeneralServerConfigChanged(This,pFaxServer) \ + ( (This)->lpVtbl -> OnGeneralServerConfigChanged(This,pFaxServer) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* ___IFaxServerNotify2_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxServerNotify2_DISPINTERFACE_DEFINED__ +#define __IFaxServerNotify2_DISPINTERFACE_DEFINED__ + +/* dispinterface IFaxServerNotify2 */ +/* [helpstring][uuid] */ + + +EXTERN_C const IID DIID_IFaxServerNotify2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("616ca8d6-a77a-4062-abfd-0e471241c7aa") + IFaxServerNotify2 : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct IFaxServerNotify2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxServerNotify2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxServerNotify2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxServerNotify2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxServerNotify2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxServerNotify2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxServerNotify2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxServerNotify2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } IFaxServerNotify2Vtbl; + + interface IFaxServerNotify2 + { + CONST_VTBL struct IFaxServerNotify2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxServerNotify2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxServerNotify2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxServerNotify2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxServerNotify2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxServerNotify2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxServerNotify2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxServerNotify2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __IFaxServerNotify2_DISPINTERFACE_DEFINED__ */ + + +#ifndef ___IFaxAccountNotify_INTERFACE_DEFINED__ +#define ___IFaxAccountNotify_INTERFACE_DEFINED__ + +/* interface _IFaxAccountNotify */ +/* [unique][uuid][object] */ + + +EXTERN_C const IID IID__IFaxAccountNotify; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("b9b3bc81-ac1b-46f3-b39d-0adc30e1b788") + _IFaxAccountNotify : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingJobAdded( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingJobRemoved( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingJobChanged( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingJobAdded( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingJobRemoved( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingJobChanged( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingMessageAdded( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [in] */ VARIANT_BOOL fAddedToReceiveFolder) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnIncomingMessageRemoved( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [in] */ VARIANT_BOOL fRemovedFromReceiveFolder) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingMessageAdded( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnOutgoingMessageRemoved( + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnServerShutDown( + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer) = 0; + + }; + + +#else /* C style interface */ + + typedef struct _IFaxAccountNotifyVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in _IFaxAccountNotify * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in _IFaxAccountNotify * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in _IFaxAccountNotify * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + _IFaxAccountNotify * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnIncomingJobAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingJobAdded )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnIncomingJobRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingJobRemoved )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnIncomingJobChanged) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingJobChanged )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnOutgoingJobAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingJobAdded )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnOutgoingJobRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingJobRemoved )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnOutgoingJobChanged) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingJobChanged )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrJobId, + /* [in] */ __RPC__in_opt IFaxJobStatus *pJobStatus); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnIncomingMessageAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingMessageAdded )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [in] */ VARIANT_BOOL fAddedToReceiveFolder); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnIncomingMessageRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnIncomingMessageRemoved )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId, + /* [in] */ VARIANT_BOOL fRemovedFromReceiveFolder); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnOutgoingMessageAdded) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingMessageAdded )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnOutgoingMessageRemoved) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnOutgoingMessageRemoved )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxAccount *pFaxAccount, + /* [in] */ __RPC__in BSTR bstrMessageId); + + DECLSPEC_XFGVIRT(_IFaxAccountNotify, OnServerShutDown) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnServerShutDown )( + __RPC__in _IFaxAccountNotify * This, + /* [in] */ __RPC__in_opt IFaxServer2 *pFaxServer); + + END_INTERFACE + } _IFaxAccountNotifyVtbl; + + interface _IFaxAccountNotify + { + CONST_VTBL struct _IFaxAccountNotifyVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define _IFaxAccountNotify_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define _IFaxAccountNotify_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define _IFaxAccountNotify_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define _IFaxAccountNotify_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define _IFaxAccountNotify_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define _IFaxAccountNotify_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define _IFaxAccountNotify_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define _IFaxAccountNotify_OnIncomingJobAdded(This,pFaxAccount,bstrJobId) \ + ( (This)->lpVtbl -> OnIncomingJobAdded(This,pFaxAccount,bstrJobId) ) + +#define _IFaxAccountNotify_OnIncomingJobRemoved(This,pFaxAccount,bstrJobId) \ + ( (This)->lpVtbl -> OnIncomingJobRemoved(This,pFaxAccount,bstrJobId) ) + +#define _IFaxAccountNotify_OnIncomingJobChanged(This,pFaxAccount,bstrJobId,pJobStatus) \ + ( (This)->lpVtbl -> OnIncomingJobChanged(This,pFaxAccount,bstrJobId,pJobStatus) ) + +#define _IFaxAccountNotify_OnOutgoingJobAdded(This,pFaxAccount,bstrJobId) \ + ( (This)->lpVtbl -> OnOutgoingJobAdded(This,pFaxAccount,bstrJobId) ) + +#define _IFaxAccountNotify_OnOutgoingJobRemoved(This,pFaxAccount,bstrJobId) \ + ( (This)->lpVtbl -> OnOutgoingJobRemoved(This,pFaxAccount,bstrJobId) ) + +#define _IFaxAccountNotify_OnOutgoingJobChanged(This,pFaxAccount,bstrJobId,pJobStatus) \ + ( (This)->lpVtbl -> OnOutgoingJobChanged(This,pFaxAccount,bstrJobId,pJobStatus) ) + +#define _IFaxAccountNotify_OnIncomingMessageAdded(This,pFaxAccount,bstrMessageId,fAddedToReceiveFolder) \ + ( (This)->lpVtbl -> OnIncomingMessageAdded(This,pFaxAccount,bstrMessageId,fAddedToReceiveFolder) ) + +#define _IFaxAccountNotify_OnIncomingMessageRemoved(This,pFaxAccount,bstrMessageId,fRemovedFromReceiveFolder) \ + ( (This)->lpVtbl -> OnIncomingMessageRemoved(This,pFaxAccount,bstrMessageId,fRemovedFromReceiveFolder) ) + +#define _IFaxAccountNotify_OnOutgoingMessageAdded(This,pFaxAccount,bstrMessageId) \ + ( (This)->lpVtbl -> OnOutgoingMessageAdded(This,pFaxAccount,bstrMessageId) ) + +#define _IFaxAccountNotify_OnOutgoingMessageRemoved(This,pFaxAccount,bstrMessageId) \ + ( (This)->lpVtbl -> OnOutgoingMessageRemoved(This,pFaxAccount,bstrMessageId) ) + +#define _IFaxAccountNotify_OnServerShutDown(This,pFaxServer) \ + ( (This)->lpVtbl -> OnServerShutDown(This,pFaxServer) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* ___IFaxAccountNotify_INTERFACE_DEFINED__ */ + + +#ifndef __IFaxAccountNotify_DISPINTERFACE_DEFINED__ +#define __IFaxAccountNotify_DISPINTERFACE_DEFINED__ + +/* dispinterface IFaxAccountNotify */ +/* [helpstring][uuid] */ + + +EXTERN_C const IID DIID_IFaxAccountNotify; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0b5e5bd1-b8a9-47a0-a323-ef4a293ba06a") + IFaxAccountNotify : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct IFaxAccountNotifyVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFaxAccountNotify * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFaxAccountNotify * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFaxAccountNotify * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFaxAccountNotify * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFaxAccountNotify * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFaxAccountNotify * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFaxAccountNotify * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } IFaxAccountNotifyVtbl; + + interface IFaxAccountNotify + { + CONST_VTBL struct IFaxAccountNotifyVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFaxAccountNotify_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFaxAccountNotify_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFaxAccountNotify_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFaxAccountNotify_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFaxAccountNotify_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFaxAccountNotify_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFaxAccountNotify_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __IFaxAccountNotify_DISPINTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_FaxServer; + +#ifdef __cplusplus + +class DECLSPEC_UUID("CDA8ACB0-8CF5-4F6C-9BA2-5931D40C8CAE") +FaxServer; +#endif + +EXTERN_C const CLSID CLSID_FaxDeviceProviders; + +#ifdef __cplusplus + +class DECLSPEC_UUID("EB8FE768-875A-4F5F-82C5-03F23AAC1BD7") +FaxDeviceProviders; +#endif + +EXTERN_C const CLSID CLSID_FaxDevices; + +#ifdef __cplusplus + +class DECLSPEC_UUID("5589E28E-23CB-4919-8808-E6101846E80D") +FaxDevices; +#endif + +EXTERN_C const CLSID CLSID_FaxInboundRouting; + +#ifdef __cplusplus + +class DECLSPEC_UUID("E80248ED-AD65-4218-8108-991924D4E7ED") +FaxInboundRouting; +#endif + +EXTERN_C const CLSID CLSID_FaxFolders; + +#ifdef __cplusplus + +class DECLSPEC_UUID("C35211D7-5776-48CB-AF44-C31BE3B2CFE5") +FaxFolders; +#endif + +EXTERN_C const CLSID CLSID_FaxLoggingOptions; + +#ifdef __cplusplus + +class DECLSPEC_UUID("1BF9EEA6-ECE0-4785-A18B-DE56E9EEF96A") +FaxLoggingOptions; +#endif + +EXTERN_C const CLSID CLSID_FaxActivity; + +#ifdef __cplusplus + +class DECLSPEC_UUID("CFEF5D0E-E84D-462E-AABB-87D31EB04FEF") +FaxActivity; +#endif + +EXTERN_C const CLSID CLSID_FaxOutboundRouting; + +#ifdef __cplusplus + +class DECLSPEC_UUID("C81B385E-B869-4AFD-86C0-616498ED9BE2") +FaxOutboundRouting; +#endif + +EXTERN_C const CLSID CLSID_FaxReceiptOptions; + +#ifdef __cplusplus + +class DECLSPEC_UUID("6982487B-227B-4C96-A61C-248348B05AB6") +FaxReceiptOptions; +#endif + +EXTERN_C const CLSID CLSID_FaxSecurity; + +#ifdef __cplusplus + +class DECLSPEC_UUID("10C4DDDE-ABF0-43DF-964F-7F3AC21A4C7B") +FaxSecurity; +#endif + +EXTERN_C const CLSID CLSID_FaxDocument; + +#ifdef __cplusplus + +class DECLSPEC_UUID("0F3F9F91-C838-415E-A4F3-3E828CA445E0") +FaxDocument; +#endif + +EXTERN_C const CLSID CLSID_FaxSender; + +#ifdef __cplusplus + +class DECLSPEC_UUID("265D84D0-1850-4360-B7C8-758BBB5F0B96") +FaxSender; +#endif + +EXTERN_C const CLSID CLSID_FaxRecipients; + +#ifdef __cplusplus + +class DECLSPEC_UUID("EA9BDF53-10A9-4D4F-A067-63C8F84F01B0") +FaxRecipients; +#endif + +EXTERN_C const CLSID CLSID_FaxIncomingArchive; + +#ifdef __cplusplus + +class DECLSPEC_UUID("8426C56A-35A1-4C6F-AF93-FC952422E2C2") +FaxIncomingArchive; +#endif + +EXTERN_C const CLSID CLSID_FaxIncomingQueue; + +#ifdef __cplusplus + +class DECLSPEC_UUID("69131717-F3F1-40E3-809D-A6CBF7BD85E5") +FaxIncomingQueue; +#endif + +EXTERN_C const CLSID CLSID_FaxOutgoingArchive; + +#ifdef __cplusplus + +class DECLSPEC_UUID("43C28403-E04F-474D-990C-B94669148F59") +FaxOutgoingArchive; +#endif + +EXTERN_C const CLSID CLSID_FaxOutgoingQueue; + +#ifdef __cplusplus + +class DECLSPEC_UUID("7421169E-8C43-4B0D-BB16-645C8FA40357") +FaxOutgoingQueue; +#endif + +EXTERN_C const CLSID CLSID_FaxIncomingMessageIterator; + +#ifdef __cplusplus + +class DECLSPEC_UUID("6088E1D8-3FC8-45C2-87B1-909A29607EA9") +FaxIncomingMessageIterator; +#endif + +EXTERN_C const CLSID CLSID_FaxIncomingMessage; + +#ifdef __cplusplus + +class DECLSPEC_UUID("1932FCF7-9D43-4D5A-89FF-03861B321736") +FaxIncomingMessage; +#endif + +EXTERN_C const CLSID CLSID_FaxOutgoingJobs; + +#ifdef __cplusplus + +class DECLSPEC_UUID("92BF2A6C-37BE-43FA-A37D-CB0E5F753B35") +FaxOutgoingJobs; +#endif + +EXTERN_C const CLSID CLSID_FaxOutgoingJob; + +#ifdef __cplusplus + +class DECLSPEC_UUID("71BB429C-0EF9-4915-BEC5-A5D897A3E924") +FaxOutgoingJob; +#endif + +EXTERN_C const CLSID CLSID_FaxOutgoingMessageIterator; + +#ifdef __cplusplus + +class DECLSPEC_UUID("8A3224D0-D30B-49DE-9813-CB385790FBBB") +FaxOutgoingMessageIterator; +#endif + +EXTERN_C const CLSID CLSID_FaxOutgoingMessage; + +#ifdef __cplusplus + +class DECLSPEC_UUID("91B4A378-4AD8-4AEF-A4DC-97D96E939A3A") +FaxOutgoingMessage; +#endif + +EXTERN_C const CLSID CLSID_FaxIncomingJobs; + +#ifdef __cplusplus + +class DECLSPEC_UUID("A1BB8A43-8866-4FB7-A15D-6266C875A5CC") +FaxIncomingJobs; +#endif + +EXTERN_C const CLSID CLSID_FaxIncomingJob; + +#ifdef __cplusplus + +class DECLSPEC_UUID("C47311EC-AE32-41B8-AE4B-3EAE0629D0C9") +FaxIncomingJob; +#endif + +EXTERN_C const CLSID CLSID_FaxDeviceProvider; + +#ifdef __cplusplus + +class DECLSPEC_UUID("17CF1AA3-F5EB-484A-9C9A-4440A5BAABFC") +FaxDeviceProvider; +#endif + +EXTERN_C const CLSID CLSID_FaxDevice; + +#ifdef __cplusplus + +class DECLSPEC_UUID("59E3A5B2-D676-484B-A6DE-720BFA89B5AF") +FaxDevice; +#endif + +EXTERN_C const CLSID CLSID_FaxActivityLogging; + +#ifdef __cplusplus + +class DECLSPEC_UUID("F0A0294E-3BBD-48B8-8F13-8C591A55BDBC") +FaxActivityLogging; +#endif + +EXTERN_C const CLSID CLSID_FaxEventLogging; + +#ifdef __cplusplus + +class DECLSPEC_UUID("A6850930-A0F6-4A6F-95B7-DB2EBF3D02E3") +FaxEventLogging; +#endif + +EXTERN_C const CLSID CLSID_FaxOutboundRoutingGroups; + +#ifdef __cplusplus + +class DECLSPEC_UUID("CCBEA1A5-E2B4-4B57-9421-B04B6289464B") +FaxOutboundRoutingGroups; +#endif + +EXTERN_C const CLSID CLSID_FaxOutboundRoutingGroup; + +#ifdef __cplusplus + +class DECLSPEC_UUID("0213F3E0-6791-4D77-A271-04D2357C50D6") +FaxOutboundRoutingGroup; +#endif + +EXTERN_C const CLSID CLSID_FaxDeviceIds; + +#ifdef __cplusplus + +class DECLSPEC_UUID("CDC539EA-7277-460E-8DE0-48A0A5760D1F") +FaxDeviceIds; +#endif + +EXTERN_C const CLSID CLSID_FaxOutboundRoutingRules; + +#ifdef __cplusplus + +class DECLSPEC_UUID("D385BECA-E624-4473-BFAA-9F4000831F54") +FaxOutboundRoutingRules; +#endif + +EXTERN_C const CLSID CLSID_FaxOutboundRoutingRule; + +#ifdef __cplusplus + +class DECLSPEC_UUID("6549EEBF-08D1-475A-828B-3BF105952FA0") +FaxOutboundRoutingRule; +#endif + +EXTERN_C const CLSID CLSID_FaxInboundRoutingExtensions; + +#ifdef __cplusplus + +class DECLSPEC_UUID("189A48ED-623C-4C0D-80F2-D66C7B9EFEC2") +FaxInboundRoutingExtensions; +#endif + +EXTERN_C const CLSID CLSID_FaxInboundRoutingExtension; + +#ifdef __cplusplus + +class DECLSPEC_UUID("1D7DFB51-7207-4436-A0D9-24E32EE56988") +FaxInboundRoutingExtension; +#endif + +EXTERN_C const CLSID CLSID_FaxInboundRoutingMethods; + +#ifdef __cplusplus + +class DECLSPEC_UUID("25FCB76A-B750-4B82-9266-FBBBAE8922BA") +FaxInboundRoutingMethods; +#endif + +EXTERN_C const CLSID CLSID_FaxInboundRoutingMethod; + +#ifdef __cplusplus + +class DECLSPEC_UUID("4B9FD75C-0194-4B72-9CE5-02A8205AC7D4") +FaxInboundRoutingMethod; +#endif + +EXTERN_C const CLSID CLSID_FaxJobStatus; + +#ifdef __cplusplus + +class DECLSPEC_UUID("7BF222F4-BE8D-442f-841D-6132742423BB") +FaxJobStatus; +#endif + +EXTERN_C const CLSID CLSID_FaxRecipient; + +#ifdef __cplusplus + +class DECLSPEC_UUID("60BF3301-7DF8-4bd8-9148-7B5801F9EFDF") +FaxRecipient; +#endif + +EXTERN_C const CLSID CLSID_FaxConfiguration; + +#ifdef __cplusplus + +class DECLSPEC_UUID("5857326f-e7b3-41a7-9c19-a91b463e2d56") +FaxConfiguration; +#endif + +EXTERN_C const CLSID CLSID_FaxAccountSet; + +#ifdef __cplusplus + +class DECLSPEC_UUID("fbc23c4b-79e0-4291-bc56-c12e253bbf3a") +FaxAccountSet; +#endif + +EXTERN_C const CLSID CLSID_FaxAccounts; + +#ifdef __cplusplus + +class DECLSPEC_UUID("da1f94aa-ee2c-47c0-8f4f-2a217075b76e") +FaxAccounts; +#endif + +EXTERN_C const CLSID CLSID_FaxAccount; + +#ifdef __cplusplus + +class DECLSPEC_UUID("a7e0647f-4524-4464-a56d-b9fe666f715e") +FaxAccount; +#endif + +EXTERN_C const CLSID CLSID_FaxAccountFolders; + +#ifdef __cplusplus + +class DECLSPEC_UUID("85398f49-c034-4a3f-821c-db7d685e8129") +FaxAccountFolders; +#endif + +EXTERN_C const CLSID CLSID_FaxAccountIncomingQueue; + +#ifdef __cplusplus + +class DECLSPEC_UUID("9bcf6094-b4da-45f4-b8d6-ddeb2186652c") +FaxAccountIncomingQueue; +#endif + +EXTERN_C const CLSID CLSID_FaxAccountOutgoingQueue; + +#ifdef __cplusplus + +class DECLSPEC_UUID("feeceefb-c149-48ba-bab8-b791e101f62f") +FaxAccountOutgoingQueue; +#endif + +EXTERN_C const CLSID CLSID_FaxAccountIncomingArchive; + +#ifdef __cplusplus + +class DECLSPEC_UUID("14b33db5-4c40-4ecf-9ef8-a360cbe809ed") +FaxAccountIncomingArchive; +#endif + +EXTERN_C const CLSID CLSID_FaxAccountOutgoingArchive; + +#ifdef __cplusplus + +class DECLSPEC_UUID("851e7af5-433a-4739-a2df-ad245c2cb98e") +FaxAccountOutgoingArchive; +#endif + +EXTERN_C const CLSID CLSID_FaxSecurity2; + +#ifdef __cplusplus + +class DECLSPEC_UUID("735c1248-ec89-4c30-a127-656e92e3c4ea") +FaxSecurity2; +#endif + + +#ifndef __FaxConstants_MODULE_DEFINED__ +#define __FaxConstants_MODULE_DEFINED__ + + +/* module FaxConstants */ +/* [dllname] */ + +/* [helpstring] */ const long lDEFAULT_PREFETCH_SIZE = prv_DEFAULT_PREFETCH_SIZE; + +/* [helpstring] */ const BSTR bstrGROUPNAME_ALLDEVICES = ( BSTR )L""; + +/* [helpstring] */ const wchar_t wcharREASSIGN_RECIPIENTS_DELIMITER = L';'; + +#endif /* __FaxConstants_MODULE_DEFINED__ */ +#endif /* __FAXCOMEXLib_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_faxcomex_0000_0056 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_faxcomex_0000_0056_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_faxcomex_0000_0056_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxComEx_i.c b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxComEx_i.c new file mode 100644 index 0000000000000000000000000000000000000000..669fdee36294fa1f96d4dccf9574c8ddc44452bd --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxComEx_i.c @@ -0,0 +1,398 @@ + + +/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ + +/* link this file in with the server and any clients */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +#ifdef __cplusplus +extern "C"{ +#endif + + +#include +#include + +#ifdef _MIDL_USE_GUIDDEF_ + +#ifndef INITGUID +#define INITGUID +#include +#undef INITGUID +#else +#include +#endif + +#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ + DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) + +#else // !_MIDL_USE_GUIDDEF_ + +#ifndef __IID_DEFINED__ +#define __IID_DEFINED__ + +typedef struct _IID +{ + unsigned long x; + unsigned short s1; + unsigned short s2; + unsigned char c[8]; +} IID; + +#endif // __IID_DEFINED__ + +#ifndef CLSID_DEFINED +#define CLSID_DEFINED +typedef IID CLSID; +#endif // CLSID_DEFINED + +#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ + EXTERN_C __declspec(selectany) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} + +#endif // !_MIDL_USE_GUIDDEF_ + +MIDL_DEFINE_GUID(IID, IID_IFaxJobStatus,0x8B86F485,0xFD7F,0x4824,0x88,0x6B,0x40,0xC5,0xCA,0xA6,0x17,0xCC); + + +MIDL_DEFINE_GUID(IID, IID_IFaxServer,0x475B6469,0x90A5,0x4878,0xA5,0x77,0x17,0xA8,0x6E,0x8E,0x34,0x62); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDeviceProviders,0x9FB76F62,0x4C7E,0x43A5,0xB6,0xFD,0x50,0x28,0x93,0xF7,0xE1,0x3E); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDevices,0x9E46783E,0xF34F,0x482E,0xA3,0x60,0x04,0x16,0xBE,0xCB,0xBD,0x96); + + +MIDL_DEFINE_GUID(IID, IID_IFaxInboundRouting,0x8148C20F,0x9D52,0x45B1,0xBF,0x96,0x38,0xFC,0x12,0x71,0x35,0x27); + + +MIDL_DEFINE_GUID(IID, IID_IFaxFolders,0xDCE3B2A8,0xA7AB,0x42BC,0x9D,0x0A,0x31,0x49,0x45,0x72,0x61,0xA0); + + +MIDL_DEFINE_GUID(IID, IID_IFaxLoggingOptions,0x34E64FB9,0x6B31,0x4D32,0x8B,0x27,0xD2,0x86,0xC0,0xC3,0x36,0x06); + + +MIDL_DEFINE_GUID(IID, IID_IFaxActivity,0x4B106F97,0x3DF5,0x40F2,0xBC,0x3C,0x44,0xCB,0x81,0x15,0xEB,0xDF); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutboundRouting,0x25DC05A4,0x9909,0x41BD,0xA9,0x5B,0x7E,0x5D,0x1D,0xEC,0x1D,0x43); + + +MIDL_DEFINE_GUID(IID, IID_IFaxReceiptOptions,0x378EFAEB,0x5FCB,0x4AFB,0xB2,0xEE,0xE1,0x6E,0x80,0x61,0x44,0x87); + + +MIDL_DEFINE_GUID(IID, IID_IFaxSecurity,0x77B508C1,0x09C0,0x47A2,0x91,0xEB,0xFC,0xE7,0xFD,0xF2,0x69,0x0E); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDocument,0xB207A246,0x09E3,0x4A4E,0xA7,0xDC,0xFE,0xA3,0x1D,0x29,0x45,0x8F); + + +MIDL_DEFINE_GUID(IID, IID_IFaxSender,0x0D879D7D,0xF57A,0x4CC6,0xA6,0xF9,0x3E,0xE5,0xD5,0x27,0xB4,0x6A); + + +MIDL_DEFINE_GUID(IID, IID_IFaxRecipient,0x9A3DA3A0,0x538D,0x42b6,0x94,0x44,0xAA,0xA5,0x7D,0x0C,0xE2,0xBC); + + +MIDL_DEFINE_GUID(IID, IID_IFaxRecipients,0xB9C9DE5A,0x894E,0x4492,0x9F,0xA3,0x08,0xC6,0x27,0xC1,0x1D,0x5D); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingArchive,0x76062CC7,0xF714,0x4FBD,0xAA,0x06,0xED,0x6E,0x4A,0x4B,0x70,0xF3); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingQueue,0x902E64EF,0x8FD8,0x4B75,0x97,0x25,0x60,0x14,0xDF,0x16,0x15,0x45); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingArchive,0xC9C28F40,0x8D80,0x4E53,0x81,0x0F,0x9A,0x79,0x91,0x9B,0x49,0xFD); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingQueue,0x80B1DF24,0xD9AC,0x4333,0xB3,0x73,0x48,0x7C,0xED,0xC8,0x0C,0xE5); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingMessageIterator,0xFD73ECC4,0x6F06,0x4F52,0x82,0xA8,0xF7,0xBA,0x06,0xAE,0x31,0x08); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingMessage,0x7CAB88FA,0x2EF9,0x4851,0xB2,0xF3,0x1D,0x14,0x8F,0xED,0x84,0x47); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingJobs,0x2C56D8E6,0x8C2F,0x4573,0x94,0x4C,0xE5,0x05,0xF8,0xF5,0xAE,0xED); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingJob,0x6356DAAD,0x6614,0x4583,0xBF,0x7A,0x3A,0xD6,0x7B,0xBF,0xC7,0x1C); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingMessageIterator,0xF5EC5D4F,0xB840,0x432F,0x99,0x80,0x11,0x2F,0xE4,0x2A,0x9B,0x7A); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingMessage,0xF0EA35DE,0xCAA5,0x4A7C,0x82,0xC7,0x2B,0x60,0xBA,0x5F,0x2B,0xE2); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingJobs,0x011F04E9,0x4FD6,0x4C23,0x95,0x13,0xB6,0xB6,0x6B,0xB2,0x6B,0xE9); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingJob,0x207529E6,0x654A,0x4916,0x9F,0x88,0x4D,0x23,0x2E,0xE8,0xA1,0x07); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDeviceProvider,0x290EAC63,0x83EC,0x449C,0x84,0x17,0xF1,0x48,0xDF,0x8C,0x68,0x2A); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDevice,0x49306C59,0xB52E,0x4867,0x9D,0xF4,0xCA,0x58,0x41,0xC9,0x56,0xD0); + + +MIDL_DEFINE_GUID(IID, IID_IFaxActivityLogging,0x1E29078B,0x5A69,0x497B,0x95,0x92,0x49,0xB7,0xE7,0xFA,0xDD,0xB5); + + +MIDL_DEFINE_GUID(IID, IID_IFaxEventLogging,0x0880D965,0x20E8,0x42E4,0x8E,0x17,0x94,0x4F,0x19,0x2C,0xAA,0xD4); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutboundRoutingGroups,0x235CBEF7,0xC2DE,0x4BFD,0xB8,0xDA,0x75,0x09,0x7C,0x82,0xC8,0x7F); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutboundRoutingGroup,0xCA6289A1,0x7E25,0x4F87,0x9A,0x0B,0x93,0x36,0x57,0x34,0x96,0x2C); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDeviceIds,0x2F0F813F,0x4CE9,0x443E,0x8C,0xA1,0x73,0x8C,0xFA,0xEE,0xE1,0x49); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutboundRoutingRules,0xDCEFA1E7,0xAE7D,0x4ED6,0x85,0x21,0x36,0x9E,0xDC,0xCA,0x51,0x20); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutboundRoutingRule,0xE1F795D5,0x07C2,0x469F,0xB0,0x27,0xAC,0xAC,0xC2,0x32,0x19,0xDA); + + +MIDL_DEFINE_GUID(IID, IID_IFaxInboundRoutingExtensions,0x2F6C9673,0x7B26,0x42DE,0x8E,0xB0,0x91,0x5D,0xCD,0x2A,0x4F,0x4C); + + +MIDL_DEFINE_GUID(IID, IID_IFaxInboundRoutingExtension,0x885B5E08,0xC26C,0x4EF9,0xAF,0x83,0x51,0x58,0x0A,0x75,0x0B,0xE1); + + +MIDL_DEFINE_GUID(IID, IID_IFaxInboundRoutingMethods,0x783FCA10,0x8908,0x4473,0x9D,0x69,0xF6,0x7F,0xBE,0xA0,0xC6,0xB9); + + +MIDL_DEFINE_GUID(IID, IID_IFaxInboundRoutingMethod,0x45700061,0xAD9D,0x4776,0xA8,0xC4,0x64,0x06,0x54,0x92,0xCF,0x4B); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDocument2,0xe1347661,0xf9ef,0x4d6d,0xb4,0xa5,0xc0,0xa0,0x68,0xb6,0x5c,0xff); + + +MIDL_DEFINE_GUID(IID, IID_IFaxConfiguration,0x10f4d0f7,0x0994,0x4543,0xab,0x6e,0x50,0x69,0x49,0x12,0x8c,0x40); + + +MIDL_DEFINE_GUID(IID, IID_IFaxServer2,0x571ced0f,0x5609,0x4f40,0x91,0x76,0x54,0x7e,0x3a,0x72,0xca,0x7c); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccountSet,0x7428fbae,0x841e,0x47b8,0x86,0xf4,0x22,0x88,0x94,0x6d,0xca,0x1b); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccounts,0x93ea8162,0x8be7,0x42d1,0xae,0x7b,0xec,0x74,0xe2,0xd9,0x89,0xda); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccount,0x68535b33,0x5dc4,0x4086,0xbe,0x26,0xb7,0x6f,0x9b,0x71,0x10,0x06); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingJob2,0x418a8d96,0x59a0,0x4789,0xb1,0x76,0xed,0xf3,0xdc,0x8f,0xa8,0xf7); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccountFolders,0x6463f89d,0x23d8,0x46a9,0x8f,0x86,0xc4,0x7b,0x77,0xca,0x79,0x26); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccountIncomingQueue,0xdd142d92,0x0186,0x4a95,0xa0,0x90,0xcb,0xc3,0xea,0xdb,0xa6,0xb4); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccountOutgoingQueue,0x0f1424e9,0xf22d,0x4553,0xb7,0xa5,0x0d,0x24,0xbd,0x0d,0x7e,0x46); + + +MIDL_DEFINE_GUID(IID, IID_IFaxOutgoingMessage2,0xb37df687,0xbc88,0x4b46,0xb3,0xbe,0xb4,0x58,0xb3,0xea,0x9e,0x7f); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccountIncomingArchive,0xa8a5b6ef,0xe0d6,0x4aee,0x95,0x5c,0x91,0x62,0x5b,0xec,0x9d,0xb4); + + +MIDL_DEFINE_GUID(IID, IID_IFaxAccountOutgoingArchive,0x5463076d,0xec14,0x491f,0x92,0x6e,0xb3,0xce,0xda,0x5e,0x56,0x62); + + +MIDL_DEFINE_GUID(IID, IID_IFaxSecurity2,0x17d851f4,0xd09b,0x48fc,0x99,0xc9,0x8f,0x24,0xc4,0xdb,0x9a,0xb1); + + +MIDL_DEFINE_GUID(IID, IID_IFaxIncomingMessage2,0xf9208503,0xe2bc,0x48f3,0x9e,0xc0,0xe6,0x23,0x6f,0x9b,0x50,0x9a); + + +MIDL_DEFINE_GUID(IID, LIBID_FAXCOMEXLib,0x2BF34C1A,0x8CAC,0x419F,0x85,0x47,0x32,0xFD,0xF6,0x50,0x5D,0xB8); + + +MIDL_DEFINE_GUID(IID, DIID_IFaxServerNotify,0x2E037B27,0xCF8A,0x4abd,0xB1,0xE0,0x57,0x04,0x94,0x3B,0xEA,0x6F); + + +MIDL_DEFINE_GUID(IID, IID__IFaxServerNotify2,0xec9c69b9,0x5fe7,0x4805,0x94,0x67,0x82,0xfc,0xd9,0x6a,0xf9,0x03); + + +MIDL_DEFINE_GUID(IID, DIID_IFaxServerNotify2,0x616ca8d6,0xa77a,0x4062,0xab,0xfd,0x0e,0x47,0x12,0x41,0xc7,0xaa); + + +MIDL_DEFINE_GUID(IID, IID__IFaxAccountNotify,0xb9b3bc81,0xac1b,0x46f3,0xb3,0x9d,0x0a,0xdc,0x30,0xe1,0xb7,0x88); + + +MIDL_DEFINE_GUID(IID, DIID_IFaxAccountNotify,0x0b5e5bd1,0xb8a9,0x47a0,0xa3,0x23,0xef,0x4a,0x29,0x3b,0xa0,0x6a); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxServer,0xCDA8ACB0,0x8CF5,0x4F6C,0x9B,0xA2,0x59,0x31,0xD4,0x0C,0x8C,0xAE); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDeviceProviders,0xEB8FE768,0x875A,0x4F5F,0x82,0xC5,0x03,0xF2,0x3A,0xAC,0x1B,0xD7); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDevices,0x5589E28E,0x23CB,0x4919,0x88,0x08,0xE6,0x10,0x18,0x46,0xE8,0x0D); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxInboundRouting,0xE80248ED,0xAD65,0x4218,0x81,0x08,0x99,0x19,0x24,0xD4,0xE7,0xED); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxFolders,0xC35211D7,0x5776,0x48CB,0xAF,0x44,0xC3,0x1B,0xE3,0xB2,0xCF,0xE5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxLoggingOptions,0x1BF9EEA6,0xECE0,0x4785,0xA1,0x8B,0xDE,0x56,0xE9,0xEE,0xF9,0x6A); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxActivity,0xCFEF5D0E,0xE84D,0x462E,0xAA,0xBB,0x87,0xD3,0x1E,0xB0,0x4F,0xEF); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutboundRouting,0xC81B385E,0xB869,0x4AFD,0x86,0xC0,0x61,0x64,0x98,0xED,0x9B,0xE2); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxReceiptOptions,0x6982487B,0x227B,0x4C96,0xA6,0x1C,0x24,0x83,0x48,0xB0,0x5A,0xB6); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxSecurity,0x10C4DDDE,0xABF0,0x43DF,0x96,0x4F,0x7F,0x3A,0xC2,0x1A,0x4C,0x7B); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDocument,0x0F3F9F91,0xC838,0x415E,0xA4,0xF3,0x3E,0x82,0x8C,0xA4,0x45,0xE0); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxSender,0x265D84D0,0x1850,0x4360,0xB7,0xC8,0x75,0x8B,0xBB,0x5F,0x0B,0x96); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxRecipients,0xEA9BDF53,0x10A9,0x4D4F,0xA0,0x67,0x63,0xC8,0xF8,0x4F,0x01,0xB0); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxIncomingArchive,0x8426C56A,0x35A1,0x4C6F,0xAF,0x93,0xFC,0x95,0x24,0x22,0xE2,0xC2); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxIncomingQueue,0x69131717,0xF3F1,0x40E3,0x80,0x9D,0xA6,0xCB,0xF7,0xBD,0x85,0xE5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutgoingArchive,0x43C28403,0xE04F,0x474D,0x99,0x0C,0xB9,0x46,0x69,0x14,0x8F,0x59); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutgoingQueue,0x7421169E,0x8C43,0x4B0D,0xBB,0x16,0x64,0x5C,0x8F,0xA4,0x03,0x57); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxIncomingMessageIterator,0x6088E1D8,0x3FC8,0x45C2,0x87,0xB1,0x90,0x9A,0x29,0x60,0x7E,0xA9); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxIncomingMessage,0x1932FCF7,0x9D43,0x4D5A,0x89,0xFF,0x03,0x86,0x1B,0x32,0x17,0x36); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutgoingJobs,0x92BF2A6C,0x37BE,0x43FA,0xA3,0x7D,0xCB,0x0E,0x5F,0x75,0x3B,0x35); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutgoingJob,0x71BB429C,0x0EF9,0x4915,0xBE,0xC5,0xA5,0xD8,0x97,0xA3,0xE9,0x24); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutgoingMessageIterator,0x8A3224D0,0xD30B,0x49DE,0x98,0x13,0xCB,0x38,0x57,0x90,0xFB,0xBB); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutgoingMessage,0x91B4A378,0x4AD8,0x4AEF,0xA4,0xDC,0x97,0xD9,0x6E,0x93,0x9A,0x3A); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxIncomingJobs,0xA1BB8A43,0x8866,0x4FB7,0xA1,0x5D,0x62,0x66,0xC8,0x75,0xA5,0xCC); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxIncomingJob,0xC47311EC,0xAE32,0x41B8,0xAE,0x4B,0x3E,0xAE,0x06,0x29,0xD0,0xC9); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDeviceProvider,0x17CF1AA3,0xF5EB,0x484A,0x9C,0x9A,0x44,0x40,0xA5,0xBA,0xAB,0xFC); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDevice,0x59E3A5B2,0xD676,0x484B,0xA6,0xDE,0x72,0x0B,0xFA,0x89,0xB5,0xAF); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxActivityLogging,0xF0A0294E,0x3BBD,0x48B8,0x8F,0x13,0x8C,0x59,0x1A,0x55,0xBD,0xBC); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxEventLogging,0xA6850930,0xA0F6,0x4A6F,0x95,0xB7,0xDB,0x2E,0xBF,0x3D,0x02,0xE3); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutboundRoutingGroups,0xCCBEA1A5,0xE2B4,0x4B57,0x94,0x21,0xB0,0x4B,0x62,0x89,0x46,0x4B); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutboundRoutingGroup,0x0213F3E0,0x6791,0x4D77,0xA2,0x71,0x04,0xD2,0x35,0x7C,0x50,0xD6); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDeviceIds,0xCDC539EA,0x7277,0x460E,0x8D,0xE0,0x48,0xA0,0xA5,0x76,0x0D,0x1F); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutboundRoutingRules,0xD385BECA,0xE624,0x4473,0xBF,0xAA,0x9F,0x40,0x00,0x83,0x1F,0x54); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxOutboundRoutingRule,0x6549EEBF,0x08D1,0x475A,0x82,0x8B,0x3B,0xF1,0x05,0x95,0x2F,0xA0); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxInboundRoutingExtensions,0x189A48ED,0x623C,0x4C0D,0x80,0xF2,0xD6,0x6C,0x7B,0x9E,0xFE,0xC2); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxInboundRoutingExtension,0x1D7DFB51,0x7207,0x4436,0xA0,0xD9,0x24,0xE3,0x2E,0xE5,0x69,0x88); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxInboundRoutingMethods,0x25FCB76A,0xB750,0x4B82,0x92,0x66,0xFB,0xBB,0xAE,0x89,0x22,0xBA); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxInboundRoutingMethod,0x4B9FD75C,0x0194,0x4B72,0x9C,0xE5,0x02,0xA8,0x20,0x5A,0xC7,0xD4); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxJobStatus,0x7BF222F4,0xBE8D,0x442f,0x84,0x1D,0x61,0x32,0x74,0x24,0x23,0xBB); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxRecipient,0x60BF3301,0x7DF8,0x4bd8,0x91,0x48,0x7B,0x58,0x01,0xF9,0xEF,0xDF); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxConfiguration,0x5857326f,0xe7b3,0x41a7,0x9c,0x19,0xa9,0x1b,0x46,0x3e,0x2d,0x56); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccountSet,0xfbc23c4b,0x79e0,0x4291,0xbc,0x56,0xc1,0x2e,0x25,0x3b,0xbf,0x3a); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccounts,0xda1f94aa,0xee2c,0x47c0,0x8f,0x4f,0x2a,0x21,0x70,0x75,0xb7,0x6e); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccount,0xa7e0647f,0x4524,0x4464,0xa5,0x6d,0xb9,0xfe,0x66,0x6f,0x71,0x5e); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccountFolders,0x85398f49,0xc034,0x4a3f,0x82,0x1c,0xdb,0x7d,0x68,0x5e,0x81,0x29); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccountIncomingQueue,0x9bcf6094,0xb4da,0x45f4,0xb8,0xd6,0xdd,0xeb,0x21,0x86,0x65,0x2c); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccountOutgoingQueue,0xfeeceefb,0xc149,0x48ba,0xba,0xb8,0xb7,0x91,0xe1,0x01,0xf6,0x2f); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccountIncomingArchive,0x14b33db5,0x4c40,0x4ecf,0x9e,0xf8,0xa3,0x60,0xcb,0xe8,0x09,0xed); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxAccountOutgoingArchive,0x851e7af5,0x433a,0x4739,0xa2,0xdf,0xad,0x24,0x5c,0x2c,0xb9,0x8e); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxSecurity2,0x735c1248,0xec89,0x4c30,0xa1,0x27,0x65,0x6e,0x92,0xe3,0xc4,0xea); + +#undef MIDL_DEFINE_GUID + +#ifdef __cplusplus +} +#endif + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxCom_i.c b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxCom_i.c new file mode 100644 index 0000000000000000000000000000000000000000..fd3329d97045bc8630e9c439bb621d9e24db3610 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxCom_i.c @@ -0,0 +1,128 @@ + + +/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ + +/* link this file in with the server and any clients */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +#ifdef __cplusplus +extern "C"{ +#endif + + +#include +#include + +#ifdef _MIDL_USE_GUIDDEF_ + +#ifndef INITGUID +#define INITGUID +#include +#undef INITGUID +#else +#include +#endif + +#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ + DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) + +#else // !_MIDL_USE_GUIDDEF_ + +#ifndef __IID_DEFINED__ +#define __IID_DEFINED__ + +typedef struct _IID +{ + unsigned long x; + unsigned short s1; + unsigned short s2; + unsigned char c[8]; +} IID; + +#endif // __IID_DEFINED__ + +#ifndef CLSID_DEFINED +#define CLSID_DEFINED +typedef IID CLSID; +#endif // CLSID_DEFINED + +#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ + EXTERN_C __declspec(selectany) const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} + +#endif // !_MIDL_USE_GUIDDEF_ + +MIDL_DEFINE_GUID(IID, IID_IFaxTiff,0xb19bb45f,0xb91c,0x11d1,0x83,0xe1,0x00,0xc0,0x4f,0xb6,0xe9,0x84); + + +MIDL_DEFINE_GUID(IID, IID_IFaxServer,0xD73733C7,0xCC80,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(IID, IID_IFaxPort,0xD73733CC,0xCC80,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(IID, IID_IFaxPorts,0xD73733D5,0xCC80,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(IID, IID_IFaxRoutingMethod,0x2199F5F3,0xCEFC,0x11D0,0xA3,0x41,0x00,0x00,0xF8,0x00,0xE6,0x8D); + + +MIDL_DEFINE_GUID(IID, IID_IFaxRoutingMethods,0x2199F5F5,0xCEFC,0x11D0,0xA3,0x41,0x00,0x00,0xF8,0x00,0xE6,0x8D); + + +MIDL_DEFINE_GUID(IID, IID_IFaxStatus,0x8B97E605,0xD054,0x11D0,0xB2,0x26,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(IID, IID_IFaxDoc,0xFA21F4C5,0x5C4C,0x11D1,0x83,0xCF,0x00,0xC0,0x4F,0xB6,0xE9,0x84); + + +MIDL_DEFINE_GUID(IID, IID_IFaxJobs,0x55DABFD3,0x5C9E,0x11D1,0xB7,0x91,0x00,0x00,0x00,0x00,0x00,0x00); + + +MIDL_DEFINE_GUID(IID, IID_IFaxJob,0x55DABFD5,0x5C9E,0x11D1,0xB7,0x91,0x00,0x00,0x00,0x00,0x00,0x00); + + +MIDL_DEFINE_GUID(IID, LIBID_FAXCOMLib,0x87099223,0xC7AF,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxTiff,0x87099231,0xC7AF,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxServer,0xD73733C8,0xCC80,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxPort,0xD73733CD,0xCC80,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxPorts,0xD73733D6,0xCC80,0x11D0,0xB2,0x25,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxRoutingMethod,0x2199F5F4,0xCEFC,0x11D0,0xA3,0x41,0x00,0x00,0xF8,0x00,0xE6,0x8D); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxRoutingMethods,0x2199F5F6,0xCEFC,0x11D0,0xA3,0x41,0x00,0x00,0xF8,0x00,0xE6,0x8D); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxStatus,0x8B97E606,0xD054,0x11D0,0xB2,0x26,0x00,0xC0,0x4F,0xB6,0xC2,0xF5); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxDoc,0xFA21F4C6,0x5C4C,0x11D1,0x83,0xCF,0x00,0xC0,0x4F,0xB6,0xE9,0x84); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxJobs,0x55DABFD4,0x5C9E,0x11D1,0xB7,0x91,0x00,0x00,0x00,0x00,0x00,0x00); + + +MIDL_DEFINE_GUID(CLSID, CLSID_FaxJob,0x55DABFD6,0x5C9E,0x11D1,0xB7,0x91,0x00,0x00,0x00,0x00,0x00,0x00); + +#undef MIDL_DEFINE_GUID + +#ifdef __cplusplus +} +#endif + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxDev.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxDev.h new file mode 100644 index 0000000000000000000000000000000000000000..fb6079880684c5a024cfec6f7e302031173af2ae --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxDev.h @@ -0,0 +1,221 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. + +Module Name: + + faxdev.h + +Abstract: + + This file contains the prototypes for the + FAX device provider API. + +--*/ + +#include + + +#ifndef _FAXDEV_ +#define _FAXDEV_ + +#if _MSC_VER > 1000 +#pragma once +#endif +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#ifdef __cplusplus +extern "C" { +#endif + +// +// FAX status constants +// + +#define FS_INITIALIZING 0x20000000 +#define FS_DIALING 0x20000001 +#define FS_TRANSMITTING 0x20000002 +#define FS_RECEIVING 0x20000004 +#define FS_COMPLETED 0x20000008 +#define FS_HANDLED 0x20000010 +#define FS_LINE_UNAVAILABLE 0x20000020 +#define FS_BUSY 0x20000040 +#define FS_NO_ANSWER 0x20000080 +#define FS_BAD_ADDRESS 0x20000100 +#define FS_NO_DIAL_TONE 0x20000200 +#define FS_DISCONNECTED 0x20000400 +#define FS_FATAL_ERROR 0x20000800 +#define FS_NOT_FAX_CALL 0x20001000 +#define FS_CALL_DELAYED 0x20002000 +#define FS_CALL_BLACKLISTED 0x20004000 +#define FS_USER_ABORT 0x20200000 +#define FS_ANSWERED 0x20800000 + + +// +// data structures +// + +typedef struct _FAX_SEND { + DWORD SizeOfStruct; + LPWSTR FileName; + LPWSTR CallerName; + LPWSTR CallerNumber; + LPWSTR ReceiverName; + LPWSTR ReceiverNumber; + BOOL Branding; + HCALL CallHandle; + DWORD Reserved[3]; +} FAX_SEND, *PFAX_SEND; + +typedef struct _FAX_RECEIVE { + DWORD SizeOfStruct; + LPWSTR FileName; + LPWSTR ReceiverName; + LPWSTR ReceiverNumber; + DWORD Reserved[4]; +} FAX_RECEIVE, *PFAX_RECEIVE; + +typedef _Struct_size_bytes_(SizeOfStruct) struct _FAX_DEV_STATUS { + DWORD SizeOfStruct; + DWORD StatusId; + DWORD StringId; + DWORD PageCount; + LPWSTR CSI; + LPWSTR CallerId; + LPWSTR RoutingInfo; + DWORD ErrorCode; + DWORD Reserved[3]; +} FAX_DEV_STATUS, *PFAX_DEV_STATUS; + +typedef BOOL +(CALLBACK *PFAX_SERVICE_CALLBACK)( + IN HANDLE FaxHandle, + IN DWORD DeviceId, + IN DWORD_PTR Param1, + IN DWORD_PTR Param2, + IN DWORD_PTR Param3 + ); + +typedef void +(CALLBACK *PFAX_LINECALLBACK)( + IN HANDLE FaxHandle, + IN DWORD hDevice, + IN DWORD dwMessage, + IN DWORD_PTR dwInstance, + IN DWORD_PTR dwParam1, + IN DWORD_PTR dwParam2, + IN DWORD_PTR dwParam3 + ); + +BOOL WINAPI +FaxDevInitialize( + IN HLINEAPP LineAppHandle, + IN HANDLE HeapHandle, + OUT PFAX_LINECALLBACK *LineCallbackFunction, + IN PFAX_SERVICE_CALLBACK FaxServiceCallback + ); + +HRESULT WINAPI FaxDevShutdown( + void +); + +BOOL WINAPI +FaxDevVirtualDeviceCreation( + OUT LPDWORD DeviceCount, + _Out_writes_(128) LPWSTR DeviceNamePrefix, + OUT LPDWORD DeviceIdPrefix, + IN HANDLE CompletionPort, + IN ULONG_PTR CompletionKey + ); + +BOOL WINAPI +FaxDevStartJob( + IN HLINE LineHandle, + IN DWORD DeviceId, + OUT PHANDLE FaxHandle, + IN HANDLE CompletionPortHandle, + IN ULONG_PTR CompletionKey + ); + +BOOL WINAPI +FaxDevEndJob( + IN HANDLE FaxHandle + ); + +typedef BOOL +(CALLBACK *PFAX_SEND_CALLBACK)( + IN HANDLE FaxHandle, + IN HCALL CallHandle, + IN DWORD Reserved1, + IN DWORD Reserved2 + ); + +BOOL WINAPI +FaxDevSend( + IN HANDLE FaxHandle, + IN PFAX_SEND FaxSend, + IN PFAX_SEND_CALLBACK FaxSendCallback + ); + +#define FAXDEVRECEIVE_SIZE 4096 + +BOOL WINAPI +FaxDevReceive( + IN HANDLE FaxHandle, + IN HCALL CallHandle, + IN OUT PFAX_RECEIVE FaxReceive + ); + +#define FAXDEVREPORTSTATUS_SIZE 4096 + +BOOL WINAPI +FaxDevReportStatus( + IN HANDLE FaxHandle OPTIONAL, + OUT PFAX_DEV_STATUS FaxStatus, + IN DWORD FaxStatusSize, + OUT LPDWORD FaxStatusSizeRequired + ); + +BOOL WINAPI +FaxDevAbortOperation( + IN HANDLE FaxHandle + ); + +BOOL WINAPI +FaxDevConfigure( + OUT HPROPSHEETPAGE *PropSheetPage + ); + +typedef BOOL (WINAPI *PFAXDEVINITIALIZE) (HLINEAPP,HANDLE,PFAX_LINECALLBACK*,PFAX_SERVICE_CALLBACK); +typedef BOOL (WINAPI *PFAXDEVVIRTUALDEVICECREATION) (LPDWORD DeviceCount, + _Out_writes_(128) LPWSTR DeviceNamePrefix, + LPDWORD DeviceIdPrefix, + HANDLE CompletionPort, + ULONG_PTR CompletionKey); +typedef BOOL (WINAPI *PFAXDEVSTARTJOB) (HLINE,DWORD,PHANDLE,HANDLE,ULONG_PTR); +typedef BOOL (WINAPI *PFAXDEVENDJOB) (HANDLE); +typedef BOOL (WINAPI *PFAXDEVSEND) (HANDLE,PFAX_SEND,PFAX_SEND_CALLBACK); +typedef BOOL (WINAPI *PFAXDEVRECEIVE) (HANDLE,HCALL,PFAX_RECEIVE); +typedef BOOL (WINAPI *PFAXDEVREPORTSTATUS) (HANDLE,PFAX_DEV_STATUS,DWORD,LPDWORD); +typedef BOOL (WINAPI *PFAXDEVABORTOPERATION) (HANDLE); +typedef BOOL (WINAPI *PFAXDEVCONFIGURE) (HPROPSHEETPAGE*); +typedef HRESULT (WINAPI * PFAXDEVSHUTDOWN) (void); + +#ifdef __cplusplus +} +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxExt.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxExt.h new file mode 100644 index 0000000000000000000000000000000000000000..34bf0971a50c7d761e310662c1c019871bfeeccf --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxExt.h @@ -0,0 +1,143 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. + +Module Name: + + faxext.h + +Abstract: + + Declarations of fax extension configuration and notification functions. + +--*/ + + +#ifndef _FAX_EXT_H_ +#define _FAX_EXT_H_ + +#if _MSC_VER > 1000 +#pragma once +#endif +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#ifdef __cplusplus +extern "C" { +#endif + +/************************************ +* * +* Extension configuration data * +* * +************************************/ + +typedef enum +{ + DEV_ID_SRC_FAX, // Device id is generated by the fax server + DEV_ID_SRC_TAPI // Device id is generated by a TAPI TSP (of FSP). +} FAX_ENUM_DEVICE_ID_SOURCE; + +// +// Prototype of FaxExtGetData +// +DWORD +WINAPI +FaxExtGetData ( + DWORD dwDeviceId, // Device id (0 = No device) + FAX_ENUM_DEVICE_ID_SOURCE DevIdSrc, // The source of the device id + LPCWSTR lpcwstrDataGUID,// GUID of data + LPBYTE *ppData, // (Out) Pointer to allocated data + LPDWORD lpdwDataSize // (Out) Pointer to data size +); +typedef DWORD (CALLBACK *PFAX_EXT_GET_DATA) (DWORD, FAX_ENUM_DEVICE_ID_SOURCE, LPCWSTR, LPBYTE *, LPDWORD); + +// +// Prototype of FaxExtSetData +// +DWORD +WINAPI +FaxExtSetData ( + HINSTANCE hInst, // Instance of calling extension + DWORD dwDeviceId, // Device id (0 = No device) + FAX_ENUM_DEVICE_ID_SOURCE DevIdSrc, // The source of the device id + LPCWSTR lpcwstrDataGUID,// GUID of data + LPBYTE pData, // Pointer to data + DWORD dwDataSize // Data size +); +typedef DWORD (CALLBACK *PFAX_EXT_SET_DATA) (HINSTANCE, DWORD, FAX_ENUM_DEVICE_ID_SOURCE, LPCWSTR, LPBYTE, DWORD); + +HRESULT +WINAPI +FaxExtConfigChange ( + DWORD dwDeviceId, // The device for which configuration has changed + LPCWSTR lpcwstrDataGUID, // Configuration name + LPBYTE lpData, // New configuration data + DWORD dwDataSize // Size of new configuration data +); +typedef HRESULT (WINAPI *PFAX_EXT_CONFIG_CHANGE) (DWORD, LPCWSTR, LPBYTE, DWORD); + +// +// Prototype of FaxExtRegisterForEvents +// +HANDLE +WINAPI +FaxExtRegisterForEvents ( + HINSTANCE hInst, // Instance of calling extension + DWORD dwDeviceId, // Device id (0 = No device) + FAX_ENUM_DEVICE_ID_SOURCE DevIdSrc, // The source of the device id + LPCWSTR lpcwstrDataGUID,// GUID of data + PFAX_EXT_CONFIG_CHANGE lpConfigChangeCallback +); +typedef HANDLE (CALLBACK *PFAX_EXT_REGISTER_FOR_EVENTS) (HINSTANCE, DWORD, FAX_ENUM_DEVICE_ID_SOURCE, LPCWSTR, PFAX_EXT_CONFIG_CHANGE); + +// +// Prototype of FaxExtUnregisterForEvents +// +DWORD +WINAPI +FaxExtUnregisterForEvents ( + HANDLE hNotification +); +typedef DWORD (CALLBACK *PFAX_EXT_UNREGISTER_FOR_EVENTS) (HANDLE); + +// +// Prototype of FaxExtFreeBuffer +// +VOID +WINAPI +FaxExtFreeBuffer ( + LPVOID lpvBuffer +); +typedef VOID (CALLBACK *PFAX_EXT_FREE_BUFFER) (LPVOID); + +// +// The extension should implement and export the following function: +// +HRESULT +WINAPI +FaxExtInitializeConfig ( + PFAX_EXT_GET_DATA, // Pointer to FaxExtGetExtensionData in service + PFAX_EXT_SET_DATA, // Pointer to FaxExtSetExtensionData in service + PFAX_EXT_REGISTER_FOR_EVENTS, // Pointer to FaxExtRegisterForExtensionEvents in service + PFAX_EXT_UNREGISTER_FOR_EVENTS, // Pointer to FaxExtUnregisterForExtensionEvents in service + PFAX_EXT_FREE_BUFFER // Pointer to FaxExtFreeBuffer in service +); +typedef HRESULT (WINAPI *PFAX_EXT_INITIALIZE_CONFIG) (PFAX_EXT_GET_DATA, PFAX_EXT_SET_DATA, PFAX_EXT_REGISTER_FOR_EVENTS, PFAX_EXT_UNREGISTER_FOR_EVENTS, PFAX_EXT_FREE_BUFFER); + +#ifdef __cplusplus +} +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // _FAX_EXT_H_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxMmc.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxMmc.h new file mode 100644 index 0000000000000000000000000000000000000000..013fd35beb6f103927546f8e71618f50a04ebf3e --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxMmc.h @@ -0,0 +1,51 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. + +Module Name: + + faxmmc.h + +Abstract: + + This header file contains public constants for extension of MMC components. + +--*/ + +#ifndef H_FXS_MMCEXT_H +#define H_FXS_MMCEXT_H + + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#define FAXSRV_DEVICE_NODETYPE_GUID_STR OLESTR("{3115A19A-6251-46ac-9425-14782858B8C9}") +#define FAXSRV_DEVICE_NODETYPE_GUID { 0x3115a19a, 0x6251, 0x46ac, { 0x94, 0x25, 0x14, 0x78, 0x28, 0x58, 0xb8, 0xc9 } } + +#define FAXSRV_DEVICE_PROVIDER_NODETYPE_GUID_STR OLESTR("{BD38E2AC-B926-4161-8640-0F6956EE2BA3}") +#define FAXSRV_DEVICE_PROVIDER_NODETYPE_GUID { 0xbd38e2ac, 0xb926, 0x4161, { 0x86, 0x40, 0x0f, 0x69, 0x56, 0xee, 0x2b, 0xa3 } } + +#define FAXSRV_ROUTING_METHOD_NODETYPE_GUID_STR OLESTR("{220D2CB0-85A9-4a43-B6E8-9D66B44F1AF5}") +#define FAXSRV_ROUTING_METHOD_NODETYPE_GUID { 0x220d2cb0, 0x85a9, 0x4a43, { 0xb6, 0xe8, 0x9d, 0x66, 0xb4, 0x4f, 0x1a, 0xf5 } } + +#define FAXSRV_MAX_GUID_LEN sizeof(FAXSRV_DEVICE_NODETYPE_GUID_STR)/sizeof(WCHAR) +#define FAXSRV_MAX_SERVER_NAME MAX_PATH +#define FAXSRV_MAX_ROUTEEXT_NAME_LEN MAX_PATH + +#define CF_MSFAXSRV_DEVICE_ID TEXT("FAXSRV_DeviceID") +#define CF_MSFAXSRV_FSP_GUID TEXT("FAXSRV_FSPGuid") +#define CF_MSFAXSRV_SERVER_NAME TEXT("FAXSRV_ServerName") +#define CF_MSFAXSRV_ROUTEEXT_NAME TEXT("FAXSRV_RoutingExtName") +#define CF_MSFAXSRV_ROUTING_METHOD_GUID TEXT("FAXSRV_RoutingMethodGuid") + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif //H_FXS_MMCEXT_H + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxRoute.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxRoute.h new file mode 100644 index 0000000000000000000000000000000000000000..539c7a02d5bb7fb486f03bdb3e7fa5f090cf2837 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FaxRoute.h @@ -0,0 +1,154 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. + +Module Name: + + faxroute.h + +Abstract: + + This file contains the prototypes for the + FAX routing extension API. + + +--*/ + +#include + +#ifndef _FAXROUTE_ +#define _FAXROUTE_ + +#if _MSC_VER > 1000 +#pragma once +#endif +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#ifdef __cplusplus +extern "C" { +#endif + + +// +// microsoft routing guids +// + +#define MS_FAXROUTE_PRINTING_GUID TEXT("{aec1b37c-9af2-11d0-abf7-00c04fd91a4e}") +#define MS_FAXROUTE_FOLDER_GUID TEXT("{92041a90-9af2-11d0-abf7-00c04fd91a4e}") +#define MS_FAXROUTE_EMAIL_GUID TEXT("{6bbf7bfe-9af2-11d0-abf7-00c04fd91a4e}") + +// +// callback routines +// + +typedef LONG (WINAPI *PFAXROUTEADDFILE)(DWORD JobId, LPCWSTR FileName, GUID *Guid); +typedef LONG (WINAPI *PFAXROUTEDELETEFILE)(DWORD JobId, LPCWSTR FileName); +typedef BOOL (WINAPI *PFAXROUTEGETFILE)(DWORD JobId, DWORD Index, _Out_writes_bytes_opt_(*RequiredSize) LPWSTR FileNameBuffer, LPDWORD RequiredSize); +typedef BOOL (WINAPI *PFAXROUTEENUMFILE)(DWORD JobId, GUID *GuidOwner, GUID *GuidCaller, LPCWSTR FileName, PVOID Context); +typedef BOOL (WINAPI *PFAXROUTEENUMFILES)(DWORD JobId, GUID *Guid,PFAXROUTEENUMFILE FileEnumerator, PVOID Context); +typedef BOOL (WINAPI *PFAXROUTEMODIFYROUTINGDATA)(DWORD JobId, LPCWSTR RoutingGuid, LPBYTE RoutingData, DWORD RoutingDataSize ); + + +typedef struct _FAX_ROUTE_CALLBACKROUTINES { + DWORD SizeOfStruct; // size of the struct set by the fax service + PFAXROUTEADDFILE FaxRouteAddFile; + PFAXROUTEDELETEFILE FaxRouteDeleteFile; + PFAXROUTEGETFILE FaxRouteGetFile; + PFAXROUTEENUMFILES FaxRouteEnumFiles; + PFAXROUTEMODIFYROUTINGDATA FaxRouteModifyRoutingData; +} FAX_ROUTE_CALLBACKROUTINES, *PFAX_ROUTE_CALLBACKROUTINES; + + +// +// routing data structure +// + +typedef struct _FAX_ROUTE { + DWORD SizeOfStruct; // size of the struct set by the fax service + DWORD JobId; // Fax job identifier + DWORDLONG ElapsedTime; // Elapsed time for whole fax job in Coordinated Universal Time (UTC) + DWORDLONG ReceiveTime; // Starting time for fax job in Coordinated Universal Time (UTC) + DWORD PageCount; // Number of pages received + LPCWSTR Csid; // Called station identifier + LPCWSTR Tsid; // Transmitting station identifier + LPCWSTR CallerId; // Caller id + LPCWSTR RoutingInfo; // Routing info such as DID, T.30-subaddress, etc. + LPCWSTR ReceiverName; // Receiver's name + LPCWSTR ReceiverNumber; // Receiver's fax number + LPCWSTR DeviceName; // Device name for the line that received the fax + DWORD DeviceId; // Permenant line identifier for the receiving device + LPBYTE RoutingInfoData; // Routing infor data to override configured info + DWORD RoutingInfoDataSize;// Size of routing info data +} FAX_ROUTE, *PFAX_ROUTE; + +enum FAXROUTE_ENABLE { + QUERY_STATUS = -1, + STATUS_DISABLE = 0, + STATUS_ENABLE = 1 +}; + + +// +// prototypes +// + +BOOL WINAPI +FaxRouteInitialize( + IN HANDLE HeapHandle, + IN PFAX_ROUTE_CALLBACKROUTINES FaxRouteCallbackRoutines + ); + +BOOL WINAPI +FaxRouteDeviceEnable( + IN LPCWSTR RoutingGuid, + IN DWORD DeviceId, + IN LONG Enabled + ); + +BOOL WINAPI +FaxRouteDeviceChangeNotification( + IN DWORD DeviceId, + IN BOOL NewDevice + ); + +BOOL WINAPI +FaxRouteGetRoutingInfo( + IN LPCWSTR RoutingGuid, + IN DWORD DeviceId, + IN LPBYTE RoutingInfo, + OUT LPDWORD RoutingInfoSize + ); + +BOOL WINAPI +FaxRouteSetRoutingInfo( + IN LPCWSTR RoutingGuid, + IN DWORD DeviceId, + IN const BYTE *RoutingInfo, + IN DWORD RoutingInfoSize + ); + + +typedef BOOL (WINAPI *PFAXROUTEINITIALIZE) (HANDLE,PFAX_ROUTE_CALLBACKROUTINES); +typedef BOOL (WINAPI *PFAXROUTEMETHOD) (const FAX_ROUTE*,PVOID*,LPDWORD); +typedef BOOL (WINAPI *PFAXROUTEDEVICEENABLE) (LPCWSTR,DWORD,LONG); +typedef BOOL (WINAPI *PFAXROUTEDEVICECHANGENOTIFICATION) (DWORD,BOOL); +typedef BOOL (WINAPI *PFAXROUTEGETROUTINGINFO) (LPCWSTR,DWORD,LPBYTE,LPDWORD); +typedef BOOL (WINAPI *PFAXROUTESETROUTINGINFO) (LPCWSTR,DWORD,const BYTE*,DWORD); + +#ifdef __cplusplus +} +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhCfg.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhCfg.h new file mode 100644 index 0000000000000000000000000000000000000000..d039904833513737312259cffccb007aa97ecfc3 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhCfg.h @@ -0,0 +1,860 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __dpcfg_h__ +#define __dpcfg_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFhTarget_FWD_DEFINED__ +#define __IFhTarget_FWD_DEFINED__ +typedef interface IFhTarget IFhTarget; + +#endif /* __IFhTarget_FWD_DEFINED__ */ + + +#ifndef __IFhScopeIterator_FWD_DEFINED__ +#define __IFhScopeIterator_FWD_DEFINED__ +typedef interface IFhScopeIterator IFhScopeIterator; + +#endif /* __IFhScopeIterator_FWD_DEFINED__ */ + + +#ifndef __IFhConfigMgr_FWD_DEFINED__ +#define __IFhConfigMgr_FWD_DEFINED__ +typedef interface IFhConfigMgr IFhConfigMgr; + +#endif /* __IFhConfigMgr_FWD_DEFINED__ */ + + +#ifndef __IFhReassociation_FWD_DEFINED__ +#define __IFhReassociation_FWD_DEFINED__ +typedef interface IFhReassociation IFhReassociation; + +#endif /* __IFhReassociation_FWD_DEFINED__ */ + + +#ifndef __FhConfigMgr_FWD_DEFINED__ +#define __FhConfigMgr_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FhConfigMgr FhConfigMgr; +#else +typedef struct FhConfigMgr FhConfigMgr; +#endif /* __cplusplus */ + +#endif /* __FhConfigMgr_FWD_DEFINED__ */ + + +#ifndef __FhReassociation_FWD_DEFINED__ +#define __FhReassociation_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FhReassociation FhReassociation; +#else +typedef struct FhReassociation FhReassociation; +#endif /* __cplusplus */ + +#endif /* __FhReassociation_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "ocidl.h" +#include "shobjidl_core.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_dpcfg_0000_0000 */ +/* [local] */ + +/*******************************************************************************/ +/* */ +/* Copyright (C) 2010 Microsoft Corporation. All rights reserved. */ +/* */ +/* IDL source for File History Configuration Manager COM API. */ +/* */ +/*******************************************************************************/ +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#if NTDDI_VERSION >= NTDDI_WIN8 +typedef +enum _FH_TARGET_PROPERTY_TYPE + { + FH_TARGET_NAME = 0, + FH_TARGET_URL = ( FH_TARGET_NAME + 1 ) , + FH_TARGET_DRIVE_TYPE = ( FH_TARGET_URL + 1 ) , + MAX_TARGET_PROPERTY = ( FH_TARGET_DRIVE_TYPE + 1 ) + } FH_TARGET_PROPERTY_TYPE; + +typedef enum _FH_TARGET_PROPERTY_TYPE *PFH_TARGET_PROPERTY_TYPE; + +typedef +enum _FH_TARGET_DRIVE_TYPES + { + FH_DRIVE_UNKNOWN = 0, + FH_DRIVE_REMOVABLE = 2, + FH_DRIVE_FIXED = 3, + FH_DRIVE_REMOTE = 4 + } FH_TARGET_DRIVE_TYPES; + +#pragma deprecated(IFhTarget) + + +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0000_v0_0_s_ifspec; + +#ifndef __IFhTarget_INTERFACE_DEFINED__ +#define __IFhTarget_INTERFACE_DEFINED__ + +/* interface IFhTarget */ +/* [uuid][object] */ + + +EXTERN_C const IID IID_IFhTarget; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("D87965FD-2BAD-4657-BD3B-9567EB300CED") + IFhTarget : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetStringProperty( + /* [in] */ FH_TARGET_PROPERTY_TYPE PropertyType, + /* [out] */ __RPC__deref_out_opt BSTR *PropertyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumericalProperty( + /* [in] */ FH_TARGET_PROPERTY_TYPE PropertyType, + /* [out] */ __RPC__out ULONGLONG *PropertyValue) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFhTargetVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFhTarget * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFhTarget * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFhTarget * This); + + DECLSPEC_XFGVIRT(IFhTarget, GetStringProperty) + HRESULT ( STDMETHODCALLTYPE *GetStringProperty )( + __RPC__in IFhTarget * This, + /* [in] */ FH_TARGET_PROPERTY_TYPE PropertyType, + /* [out] */ __RPC__deref_out_opt BSTR *PropertyValue); + + DECLSPEC_XFGVIRT(IFhTarget, GetNumericalProperty) + HRESULT ( STDMETHODCALLTYPE *GetNumericalProperty )( + __RPC__in IFhTarget * This, + /* [in] */ FH_TARGET_PROPERTY_TYPE PropertyType, + /* [out] */ __RPC__out ULONGLONG *PropertyValue); + + END_INTERFACE + } IFhTargetVtbl; + + interface IFhTarget + { + CONST_VTBL struct IFhTargetVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFhTarget_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFhTarget_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFhTarget_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFhTarget_GetStringProperty(This,PropertyType,PropertyValue) \ + ( (This)->lpVtbl -> GetStringProperty(This,PropertyType,PropertyValue) ) + +#define IFhTarget_GetNumericalProperty(This,PropertyType,PropertyValue) \ + ( (This)->lpVtbl -> GetNumericalProperty(This,PropertyType,PropertyValue) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFhTarget_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_dpcfg_0000_0001 */ +/* [local] */ + +#pragma deprecated(IFhScopeIterator) + + +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0001_v0_0_s_ifspec; + +#ifndef __IFhScopeIterator_INTERFACE_DEFINED__ +#define __IFhScopeIterator_INTERFACE_DEFINED__ + +/* interface IFhScopeIterator */ +/* [uuid][object] */ + + +EXTERN_C const IID IID_IFhScopeIterator; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("3197ABCE-532A-44C6-8615-F3666566A720") + IFhScopeIterator : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE MoveToNextItem( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetItem( + /* [out] */ __RPC__deref_out_opt BSTR *Item) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFhScopeIteratorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFhScopeIterator * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFhScopeIterator * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFhScopeIterator * This); + + DECLSPEC_XFGVIRT(IFhScopeIterator, MoveToNextItem) + HRESULT ( STDMETHODCALLTYPE *MoveToNextItem )( + __RPC__in IFhScopeIterator * This); + + DECLSPEC_XFGVIRT(IFhScopeIterator, GetItem) + HRESULT ( STDMETHODCALLTYPE *GetItem )( + __RPC__in IFhScopeIterator * This, + /* [out] */ __RPC__deref_out_opt BSTR *Item); + + END_INTERFACE + } IFhScopeIteratorVtbl; + + interface IFhScopeIterator + { + CONST_VTBL struct IFhScopeIteratorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFhScopeIterator_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFhScopeIterator_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFhScopeIterator_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFhScopeIterator_MoveToNextItem(This) \ + ( (This)->lpVtbl -> MoveToNextItem(This) ) + +#define IFhScopeIterator_GetItem(This,Item) \ + ( (This)->lpVtbl -> GetItem(This,Item) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFhScopeIterator_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_dpcfg_0000_0002 */ +/* [local] */ + +typedef +enum _FH_PROTECTED_ITEM_CATEGORY + { + FH_FOLDER = 0, + FH_LIBRARY = ( FH_FOLDER + 1 ) , + MAX_PROTECTED_ITEM_CATEGORY = ( FH_LIBRARY + 1 ) + } FH_PROTECTED_ITEM_CATEGORY; + +typedef enum _FH_PROTECTED_ITEM_CATEGORY *PFH_PROTECTED_ITEM_CATEGORY; + +typedef +enum _FH_LOCAL_POLICY_TYPE + { + FH_FREQUENCY = 0, + FH_RETENTION_TYPE = ( FH_FREQUENCY + 1 ) , + FH_RETENTION_AGE = ( FH_RETENTION_TYPE + 1 ) , + MAX_LOCAL_POLICY = ( FH_RETENTION_AGE + 1 ) + } FH_LOCAL_POLICY_TYPE; + +typedef enum _FH_LOCAL_POLICY_TYPE *PFH_LOCAL_POLICY_TYPE; + +typedef +enum _FH_RETENTION_TYPES + { + FH_RETENTION_DISABLED = 0, + FH_RETENTION_UNLIMITED = ( FH_RETENTION_DISABLED + 1 ) , + FH_RETENTION_AGE_BASED = ( FH_RETENTION_UNLIMITED + 1 ) , + MAX_RETENTION_TYPE = ( FH_RETENTION_AGE_BASED + 1 ) + } FH_RETENTION_TYPES; + +typedef +enum _FH_BACKUP_STATUS + { + FH_STATUS_DISABLED = 0, + FH_STATUS_DISABLED_BY_GP = ( FH_STATUS_DISABLED + 1 ) , + FH_STATUS_ENABLED = ( FH_STATUS_DISABLED_BY_GP + 1 ) , + FH_STATUS_REHYDRATING = ( FH_STATUS_ENABLED + 1 ) , + MAX_BACKUP_STATUS = ( FH_STATUS_REHYDRATING + 1 ) + } FH_BACKUP_STATUS; + +typedef +enum _FH_DEVICE_VALIDATION_RESULT + { + FH_ACCESS_DENIED = 0, + FH_INVALID_DRIVE_TYPE = ( FH_ACCESS_DENIED + 1 ) , + FH_READ_ONLY_PERMISSION = ( FH_INVALID_DRIVE_TYPE + 1 ) , + FH_CURRENT_DEFAULT = ( FH_READ_ONLY_PERMISSION + 1 ) , + FH_NAMESPACE_EXISTS = ( FH_CURRENT_DEFAULT + 1 ) , + FH_TARGET_PART_OF_LIBRARY = ( FH_NAMESPACE_EXISTS + 1 ) , + FH_VALID_TARGET = ( FH_TARGET_PART_OF_LIBRARY + 1 ) , + MAX_VALIDATION_RESULT = ( FH_VALID_TARGET + 1 ) + } FH_DEVICE_VALIDATION_RESULT; + +typedef enum _FH_DEVICE_VALIDATION_RESULT *PFH_DEVICE_VALIDATION_RESULT; + +#pragma deprecated(IFhConfigMgr) + + +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0002_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0002_v0_0_s_ifspec; + +#ifndef __IFhConfigMgr_INTERFACE_DEFINED__ +#define __IFhConfigMgr_INTERFACE_DEFINED__ + +/* interface IFhConfigMgr */ +/* [unique][uuid][object] */ + + +EXTERN_C const IID IID_IFhConfigMgr; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6A5FEA5B-BF8F-4EE5-B8C3-44D8A0D7331C") + IFhConfigMgr : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE LoadConfiguration( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateDefaultConfiguration( + /* [in] */ BOOL OverwriteIfExists) = 0; + + virtual HRESULT STDMETHODCALLTYPE SaveConfiguration( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddRemoveExcludeRule( + /* [in] */ BOOL Add, + /* [in] */ FH_PROTECTED_ITEM_CATEGORY Category, + /* [in] */ __RPC__in BSTR Item) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIncludeExcludeRules( + /* [in] */ BOOL Include, + /* [in] */ FH_PROTECTED_ITEM_CATEGORY Category, + /* [out] */ __RPC__deref_out_opt IFhScopeIterator **Iterator) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetLocalPolicy( + /* [in] */ FH_LOCAL_POLICY_TYPE LocalPolicyType, + /* [out] */ __RPC__out ULONGLONG *PolicyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetLocalPolicy( + /* [in] */ FH_LOCAL_POLICY_TYPE LocalPolicyType, + /* [in] */ ULONGLONG PolicyValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBackupStatus( + /* [out] */ __RPC__out FH_BACKUP_STATUS *BackupStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBackupStatus( + /* [in] */ FH_BACKUP_STATUS BackupStatus) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetDefaultTarget( + /* [out] */ __RPC__deref_out_opt IFhTarget **DefaultTarget) = 0; + + virtual HRESULT STDMETHODCALLTYPE ValidateTarget( + /* [in] */ __RPC__in BSTR TargetUrl, + /* [out] */ __RPC__out PFH_DEVICE_VALIDATION_RESULT ValidationResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE ProvisionAndSetNewTarget( + /* [in] */ __RPC__in BSTR TargetUrl, + /* [in] */ __RPC__in BSTR TargetName) = 0; + + virtual HRESULT STDMETHODCALLTYPE ChangeDefaultTargetRecommendation( + /* [in] */ BOOL Recommend) = 0; + + virtual HRESULT STDMETHODCALLTYPE QueryProtectionStatus( + /* [out] */ __RPC__out DWORD *ProtectionState, + /* [out] */ __RPC__deref_out_opt BSTR *ProtectedUntilTime) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFhConfigMgrVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFhConfigMgr * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFhConfigMgr * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFhConfigMgr * This); + + DECLSPEC_XFGVIRT(IFhConfigMgr, LoadConfiguration) + HRESULT ( STDMETHODCALLTYPE *LoadConfiguration )( + __RPC__in IFhConfigMgr * This); + + DECLSPEC_XFGVIRT(IFhConfigMgr, CreateDefaultConfiguration) + HRESULT ( STDMETHODCALLTYPE *CreateDefaultConfiguration )( + __RPC__in IFhConfigMgr * This, + /* [in] */ BOOL OverwriteIfExists); + + DECLSPEC_XFGVIRT(IFhConfigMgr, SaveConfiguration) + HRESULT ( STDMETHODCALLTYPE *SaveConfiguration )( + __RPC__in IFhConfigMgr * This); + + DECLSPEC_XFGVIRT(IFhConfigMgr, AddRemoveExcludeRule) + HRESULT ( STDMETHODCALLTYPE *AddRemoveExcludeRule )( + __RPC__in IFhConfigMgr * This, + /* [in] */ BOOL Add, + /* [in] */ FH_PROTECTED_ITEM_CATEGORY Category, + /* [in] */ __RPC__in BSTR Item); + + DECLSPEC_XFGVIRT(IFhConfigMgr, GetIncludeExcludeRules) + HRESULT ( STDMETHODCALLTYPE *GetIncludeExcludeRules )( + __RPC__in IFhConfigMgr * This, + /* [in] */ BOOL Include, + /* [in] */ FH_PROTECTED_ITEM_CATEGORY Category, + /* [out] */ __RPC__deref_out_opt IFhScopeIterator **Iterator); + + DECLSPEC_XFGVIRT(IFhConfigMgr, GetLocalPolicy) + HRESULT ( STDMETHODCALLTYPE *GetLocalPolicy )( + __RPC__in IFhConfigMgr * This, + /* [in] */ FH_LOCAL_POLICY_TYPE LocalPolicyType, + /* [out] */ __RPC__out ULONGLONG *PolicyValue); + + DECLSPEC_XFGVIRT(IFhConfigMgr, SetLocalPolicy) + HRESULT ( STDMETHODCALLTYPE *SetLocalPolicy )( + __RPC__in IFhConfigMgr * This, + /* [in] */ FH_LOCAL_POLICY_TYPE LocalPolicyType, + /* [in] */ ULONGLONG PolicyValue); + + DECLSPEC_XFGVIRT(IFhConfigMgr, GetBackupStatus) + HRESULT ( STDMETHODCALLTYPE *GetBackupStatus )( + __RPC__in IFhConfigMgr * This, + /* [out] */ __RPC__out FH_BACKUP_STATUS *BackupStatus); + + DECLSPEC_XFGVIRT(IFhConfigMgr, SetBackupStatus) + HRESULT ( STDMETHODCALLTYPE *SetBackupStatus )( + __RPC__in IFhConfigMgr * This, + /* [in] */ FH_BACKUP_STATUS BackupStatus); + + DECLSPEC_XFGVIRT(IFhConfigMgr, GetDefaultTarget) + HRESULT ( STDMETHODCALLTYPE *GetDefaultTarget )( + __RPC__in IFhConfigMgr * This, + /* [out] */ __RPC__deref_out_opt IFhTarget **DefaultTarget); + + DECLSPEC_XFGVIRT(IFhConfigMgr, ValidateTarget) + HRESULT ( STDMETHODCALLTYPE *ValidateTarget )( + __RPC__in IFhConfigMgr * This, + /* [in] */ __RPC__in BSTR TargetUrl, + /* [out] */ __RPC__out PFH_DEVICE_VALIDATION_RESULT ValidationResult); + + DECLSPEC_XFGVIRT(IFhConfigMgr, ProvisionAndSetNewTarget) + HRESULT ( STDMETHODCALLTYPE *ProvisionAndSetNewTarget )( + __RPC__in IFhConfigMgr * This, + /* [in] */ __RPC__in BSTR TargetUrl, + /* [in] */ __RPC__in BSTR TargetName); + + DECLSPEC_XFGVIRT(IFhConfigMgr, ChangeDefaultTargetRecommendation) + HRESULT ( STDMETHODCALLTYPE *ChangeDefaultTargetRecommendation )( + __RPC__in IFhConfigMgr * This, + /* [in] */ BOOL Recommend); + + DECLSPEC_XFGVIRT(IFhConfigMgr, QueryProtectionStatus) + HRESULT ( STDMETHODCALLTYPE *QueryProtectionStatus )( + __RPC__in IFhConfigMgr * This, + /* [out] */ __RPC__out DWORD *ProtectionState, + /* [out] */ __RPC__deref_out_opt BSTR *ProtectedUntilTime); + + END_INTERFACE + } IFhConfigMgrVtbl; + + interface IFhConfigMgr + { + CONST_VTBL struct IFhConfigMgrVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFhConfigMgr_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFhConfigMgr_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFhConfigMgr_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFhConfigMgr_LoadConfiguration(This) \ + ( (This)->lpVtbl -> LoadConfiguration(This) ) + +#define IFhConfigMgr_CreateDefaultConfiguration(This,OverwriteIfExists) \ + ( (This)->lpVtbl -> CreateDefaultConfiguration(This,OverwriteIfExists) ) + +#define IFhConfigMgr_SaveConfiguration(This) \ + ( (This)->lpVtbl -> SaveConfiguration(This) ) + +#define IFhConfigMgr_AddRemoveExcludeRule(This,Add,Category,Item) \ + ( (This)->lpVtbl -> AddRemoveExcludeRule(This,Add,Category,Item) ) + +#define IFhConfigMgr_GetIncludeExcludeRules(This,Include,Category,Iterator) \ + ( (This)->lpVtbl -> GetIncludeExcludeRules(This,Include,Category,Iterator) ) + +#define IFhConfigMgr_GetLocalPolicy(This,LocalPolicyType,PolicyValue) \ + ( (This)->lpVtbl -> GetLocalPolicy(This,LocalPolicyType,PolicyValue) ) + +#define IFhConfigMgr_SetLocalPolicy(This,LocalPolicyType,PolicyValue) \ + ( (This)->lpVtbl -> SetLocalPolicy(This,LocalPolicyType,PolicyValue) ) + +#define IFhConfigMgr_GetBackupStatus(This,BackupStatus) \ + ( (This)->lpVtbl -> GetBackupStatus(This,BackupStatus) ) + +#define IFhConfigMgr_SetBackupStatus(This,BackupStatus) \ + ( (This)->lpVtbl -> SetBackupStatus(This,BackupStatus) ) + +#define IFhConfigMgr_GetDefaultTarget(This,DefaultTarget) \ + ( (This)->lpVtbl -> GetDefaultTarget(This,DefaultTarget) ) + +#define IFhConfigMgr_ValidateTarget(This,TargetUrl,ValidationResult) \ + ( (This)->lpVtbl -> ValidateTarget(This,TargetUrl,ValidationResult) ) + +#define IFhConfigMgr_ProvisionAndSetNewTarget(This,TargetUrl,TargetName) \ + ( (This)->lpVtbl -> ProvisionAndSetNewTarget(This,TargetUrl,TargetName) ) + +#define IFhConfigMgr_ChangeDefaultTargetRecommendation(This,Recommend) \ + ( (This)->lpVtbl -> ChangeDefaultTargetRecommendation(This,Recommend) ) + +#define IFhConfigMgr_QueryProtectionStatus(This,ProtectionState,ProtectedUntilTime) \ + ( (This)->lpVtbl -> QueryProtectionStatus(This,ProtectionState,ProtectedUntilTime) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFhConfigMgr_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_dpcfg_0000_0003 */ +/* [local] */ + +#pragma deprecated(IFhReassociation) + + +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0003_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0003_v0_0_s_ifspec; + +#ifndef __IFhReassociation_INTERFACE_DEFINED__ +#define __IFhReassociation_INTERFACE_DEFINED__ + +/* interface IFhReassociation */ +/* [unique][uuid][object] */ + + +EXTERN_C const IID IID_IFhReassociation; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6544A28A-F68D-47ac-91EF-16B2B36AA3EE") + IFhReassociation : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE ValidateTarget( + /* [in] */ __RPC__in BSTR TargetUrl, + /* [out] */ __RPC__out PFH_DEVICE_VALIDATION_RESULT ValidationResult) = 0; + + virtual HRESULT STDMETHODCALLTYPE ScanTargetForConfigurations( + /* [in] */ __RPC__in BSTR TargetUrl) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConfigurationDetails( + /* [in] */ DWORD Index, + /* [out] */ __RPC__deref_out_opt BSTR *UserName, + /* [out] */ __RPC__deref_out_opt BSTR *PcName, + /* [out] */ __RPC__out FILETIME *BackupTime) = 0; + + virtual HRESULT STDMETHODCALLTYPE SelectConfiguration( + /* [in] */ DWORD Index) = 0; + + virtual HRESULT STDMETHODCALLTYPE PerformReassociation( + /* [in] */ BOOL OverwriteIfExists) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFhReassociationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFhReassociation * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFhReassociation * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFhReassociation * This); + + DECLSPEC_XFGVIRT(IFhReassociation, ValidateTarget) + HRESULT ( STDMETHODCALLTYPE *ValidateTarget )( + __RPC__in IFhReassociation * This, + /* [in] */ __RPC__in BSTR TargetUrl, + /* [out] */ __RPC__out PFH_DEVICE_VALIDATION_RESULT ValidationResult); + + DECLSPEC_XFGVIRT(IFhReassociation, ScanTargetForConfigurations) + HRESULT ( STDMETHODCALLTYPE *ScanTargetForConfigurations )( + __RPC__in IFhReassociation * This, + /* [in] */ __RPC__in BSTR TargetUrl); + + DECLSPEC_XFGVIRT(IFhReassociation, GetConfigurationDetails) + HRESULT ( STDMETHODCALLTYPE *GetConfigurationDetails )( + __RPC__in IFhReassociation * This, + /* [in] */ DWORD Index, + /* [out] */ __RPC__deref_out_opt BSTR *UserName, + /* [out] */ __RPC__deref_out_opt BSTR *PcName, + /* [out] */ __RPC__out FILETIME *BackupTime); + + DECLSPEC_XFGVIRT(IFhReassociation, SelectConfiguration) + HRESULT ( STDMETHODCALLTYPE *SelectConfiguration )( + __RPC__in IFhReassociation * This, + /* [in] */ DWORD Index); + + DECLSPEC_XFGVIRT(IFhReassociation, PerformReassociation) + HRESULT ( STDMETHODCALLTYPE *PerformReassociation )( + __RPC__in IFhReassociation * This, + /* [in] */ BOOL OverwriteIfExists); + + END_INTERFACE + } IFhReassociationVtbl; + + interface IFhReassociation + { + CONST_VTBL struct IFhReassociationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFhReassociation_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFhReassociation_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFhReassociation_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFhReassociation_ValidateTarget(This,TargetUrl,ValidationResult) \ + ( (This)->lpVtbl -> ValidateTarget(This,TargetUrl,ValidationResult) ) + +#define IFhReassociation_ScanTargetForConfigurations(This,TargetUrl) \ + ( (This)->lpVtbl -> ScanTargetForConfigurations(This,TargetUrl) ) + +#define IFhReassociation_GetConfigurationDetails(This,Index,UserName,PcName,BackupTime) \ + ( (This)->lpVtbl -> GetConfigurationDetails(This,Index,UserName,PcName,BackupTime) ) + +#define IFhReassociation_SelectConfiguration(This,Index) \ + ( (This)->lpVtbl -> SelectConfiguration(This,Index) ) + +#define IFhReassociation_PerformReassociation(This,OverwriteIfExists) \ + ( (This)->lpVtbl -> PerformReassociation(This,OverwriteIfExists) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFhReassociation_INTERFACE_DEFINED__ */ + + + +#ifndef __FhConfigMgrLib_LIBRARY_DEFINED__ +#define __FhConfigMgrLib_LIBRARY_DEFINED__ + +/* library FhConfigMgrLib */ +/* [version][uuid] */ + + +EXTERN_C const IID LIBID_FhConfigMgrLib; + +EXTERN_C const CLSID CLSID_FhConfigMgr; + +#ifdef __cplusplus + +class DECLSPEC_UUID("ED43BB3C-09E9-498a-9DF6-2177244C6DB4") +FhConfigMgr; +#endif + +EXTERN_C const CLSID CLSID_FhReassociation; + +#ifdef __cplusplus + +class DECLSPEC_UUID("4D728E35-16FA-4320-9E8B-BFD7100A8846") +FhReassociation; +#endif +#endif /* __FhConfigMgrLib_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_dpcfg_0000_0005 */ +/* [local] */ + +#endif // if NTDDI_VERSION >= NTDDI_WIN8 +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0005_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_dpcfg_0000_0005_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhCfg.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhCfg.idl new file mode 100644 index 0000000000000000000000000000000000000000..5a38677f1732784acfdb26185b2a77762e67799b --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhCfg.idl @@ -0,0 +1,238 @@ +cpp_quote("/*******************************************************************************/" ) +cpp_quote("/* */" ) +cpp_quote("/* Copyright (C) 2010 Microsoft Corporation. All rights reserved. */" ) +cpp_quote("/* */" ) +cpp_quote("/* IDL source for File History Configuration Manager COM API. */" ) +cpp_quote("/* */" ) +cpp_quote("/*******************************************************************************/" ) + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "ocidl.idl"; +import "oaidl.idl"; +import "shobjidl_core.idl"; + +cpp_quote("#if NTDDI_VERSION >= NTDDI_WIN8") + +typedef enum _FH_TARGET_PROPERTY_TYPE { + FH_TARGET_NAME, + FH_TARGET_URL, + FH_TARGET_DRIVE_TYPE, + MAX_TARGET_PROPERTY +} FH_TARGET_PROPERTY_TYPE, *PFH_TARGET_PROPERTY_TYPE; + +typedef enum _FH_TARGET_DRIVE_TYPES { + FH_DRIVE_UNKNOWN = 0, + FH_DRIVE_REMOVABLE = 2, + FH_DRIVE_FIXED = 3, + FH_DRIVE_REMOTE = 4 +} FH_TARGET_DRIVE_TYPES; + +cpp_quote("#pragma deprecated(IFhTarget)") +[ + object, + uuid(D87965FD-2BAD-4657-BD3B-9567EB300CED) +] +interface IFhTarget : IUnknown +{ + HRESULT GetStringProperty( + [in] FH_TARGET_PROPERTY_TYPE PropertyType, + [out] BSTR* PropertyValue + ); + + HRESULT GetNumericalProperty( + [in] FH_TARGET_PROPERTY_TYPE PropertyType, + [out] ULONGLONG* PropertyValue + ); +}; + +cpp_quote("#pragma deprecated(IFhScopeIterator)") +[ + object, + uuid(3197ABCE-532A-44C6-8615-F3666566A720) +] +interface IFhScopeIterator : IUnknown +{ + HRESULT MoveToNextItem(void); + + HRESULT GetItem( + [out] BSTR* Item + ); +}; + +typedef enum _FH_PROTECTED_ITEM_CATEGORY { + FH_FOLDER, + FH_LIBRARY, + MAX_PROTECTED_ITEM_CATEGORY +} FH_PROTECTED_ITEM_CATEGORY, *PFH_PROTECTED_ITEM_CATEGORY; + +typedef enum _FH_LOCAL_POLICY_TYPE { + FH_FREQUENCY, + FH_RETENTION_TYPE, + FH_RETENTION_AGE, + MAX_LOCAL_POLICY +} FH_LOCAL_POLICY_TYPE, *PFH_LOCAL_POLICY_TYPE; + +typedef enum _FH_RETENTION_TYPES { + FH_RETENTION_DISABLED, + FH_RETENTION_UNLIMITED, + FH_RETENTION_AGE_BASED, + MAX_RETENTION_TYPE +} FH_RETENTION_TYPES; + +typedef enum _FH_BACKUP_STATUS { + FH_STATUS_DISABLED, + FH_STATUS_DISABLED_BY_GP, + FH_STATUS_ENABLED, + FH_STATUS_REHYDRATING, + MAX_BACKUP_STATUS +} FH_BACKUP_STATUS; + +typedef enum _FH_DEVICE_VALIDATION_RESULT { + FH_ACCESS_DENIED, + FH_INVALID_DRIVE_TYPE, + FH_READ_ONLY_PERMISSION, + FH_CURRENT_DEFAULT, + FH_NAMESPACE_EXISTS, + FH_TARGET_PART_OF_LIBRARY, + FH_VALID_TARGET, + MAX_VALIDATION_RESULT +} FH_DEVICE_VALIDATION_RESULT, *PFH_DEVICE_VALIDATION_RESULT; + +cpp_quote("#pragma deprecated(IFhConfigMgr)") +[ + object, + uuid(6A5FEA5B-BF8F-4EE5-B8C3-44D8A0D7331C), + pointer_default(unique) +] +interface IFhConfigMgr : IUnknown +{ + HRESULT LoadConfiguration(void); + + HRESULT CreateDefaultConfiguration( + [in] BOOL OverwriteIfExists + ); + + HRESULT SaveConfiguration(void); + + HRESULT AddRemoveExcludeRule( + [in] BOOL Add, + [in] FH_PROTECTED_ITEM_CATEGORY Category, + [in] BSTR Item + ); + + HRESULT GetIncludeExcludeRules( + [in] BOOL Include, + [in] FH_PROTECTED_ITEM_CATEGORY Category, + [out] IFhScopeIterator** Iterator + ); + + HRESULT GetLocalPolicy( + [in] FH_LOCAL_POLICY_TYPE LocalPolicyType, + [out] ULONGLONG* PolicyValue + ); + + HRESULT SetLocalPolicy( + [in] FH_LOCAL_POLICY_TYPE LocalPolicyType, + [in] ULONGLONG PolicyValue + ); + + HRESULT GetBackupStatus( + [out] FH_BACKUP_STATUS* BackupStatus + ); + + HRESULT SetBackupStatus( + [in] FH_BACKUP_STATUS BackupStatus + ); + + HRESULT GetDefaultTarget( + [out] IFhTarget** DefaultTarget + ); + + HRESULT ValidateTarget( + [in] BSTR TargetUrl, + [out] PFH_DEVICE_VALIDATION_RESULT ValidationResult + ); + + HRESULT ProvisionAndSetNewTarget( + [in] BSTR TargetUrl, + [in] BSTR TargetName + ); + + HRESULT ChangeDefaultTargetRecommendation( + [in] BOOL Recommend + ); + + HRESULT QueryProtectionStatus( + [out] DWORD* ProtectionState, + [out] BSTR* ProtectedUntilTime + ); +}; + +cpp_quote("#pragma deprecated(IFhReassociation)") +[ + object, + uuid(6544A28A-F68D-47ac-91EF-16B2B36AA3EE), + pointer_default(unique) +] +interface IFhReassociation : IUnknown +{ + HRESULT ValidateTarget( + [in] BSTR TargetUrl, + [out] PFH_DEVICE_VALIDATION_RESULT ValidationResult + ); + + HRESULT ScanTargetForConfigurations( + [in] BSTR TargetUrl + ); + + HRESULT GetConfigurationDetails( + [in] DWORD Index, + [out] BSTR* UserName, + [out] BSTR* PcName, + [out] FILETIME* BackupTime + ); + + HRESULT SelectConfiguration( + [in] DWORD Index + ); + + HRESULT PerformReassociation( + [in] BOOL OverwriteIfExists + ); +}; + +[ + uuid(A99C8501-F546-4871-96FD-6B0D9427A19B), + version(1.0) +] +library FhConfigMgrLib +{ + importlib("stdole2.tlb"); + + [ + uuid(ED43BB3C-09E9-498a-9DF6-2177244C6DB4) + ] + coclass FhConfigMgr + { + [default] interface IFhConfigMgr; + }; + + [ + uuid(4D728E35-16FA-4320-9E8B-BFD7100A8846) + ] + coclass FhReassociation + { + [default] interface IFhReassociation; + }; +}; + +cpp_quote("#endif // if NTDDI_VERSION >= NTDDI_WIN8") + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhErrors.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhErrors.h new file mode 100644 index 0000000000000000000000000000000000000000..e43448481477bfa7c6fc608b5c3ac349a51f4af4 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhErrors.h @@ -0,0 +1,201 @@ +/*++ + +Microsoft Windows - File History +Copyright (c) 2010 Microsoft Corporation. All Rights Reserved. + +Module Name: + + FhErrors.h + +Abstract: + + This module contains the definitions of the error codes + returned by File History APIs and components. + +Environment: + + User mode. + +--*/ + +#ifndef _FHERRORS_ +#define _FHERRORS_ + +#if _MSC_VER > 1000 +#pragma once +#endif + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#ifdef __cplusplus +extern "C" { +#endif + +#if NTDDI_VERSION >= NTDDI_WIN8 + + +/////////////////////////////////////////////////////////////////////// +// +// Error codes for the Configuration Manager. (0x0300 - 0x03ff) +// +/////////////////////////////////////////////////////////////////////// + +// +// The Config File is corrupted and hence invalid +// + +#define FHCFG_E_CORRUPT_CONFIG_FILE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0300) + +// +// The Config File not found +// + +#define FHCFG_E_CONFIG_FILE_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0301) + +// +// The Config File already exists +// + +#define FHCFG_E_CONFIG_ALREADY_EXISTS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0302) + +// +// A valid configuration has not been loaded +// + +#define FHCFG_E_NO_VALID_CONFIGURATION_LOADED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0303) + +// +// Target is not connected +// + +#define FHCFG_E_TARGET_NOT_CONNECTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0304) + +// +// Configuration has been loaded previously +// + +#define FHCFG_E_CONFIGURATION_PREVIOUSLY_LOADED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0305) + +// +// Default target verification failed +// + +#define FHCFG_E_TARGET_VERIFICATION_FAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0306) + +// +// Target is not configured +// + +#define FHCFG_E_TARGET_NOT_CONFIGURED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0307) + +// +// Target doesn't have enough free space +// + +#define FHCFG_E_TARGET_NOT_ENOUGH_FREE_SPACE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0308) + +// +// Target cannot be used for File History +// + +#define FHCFG_E_TARGET_CANNOT_BE_USED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0309) + +// +// Rehydration can't be performed in the current configuration state +// + +#define FHCFG_E_INVALID_REHYDRATION_STATE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x30A) + +// +// Changing target recommendation is not allowed +// + +#define FHCFG_E_RECOMMENDATION_CHANGE_NOT_ALLOWED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0310) + +// +// The target was rehydrated on another PC. +// + +#define FHCFG_E_TARGET_REHYDRATED_ELSEWHERE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0X0311) + +// +// The legacy backup target was not supported by FileHistory +// + +#define FHCFG_E_LEGACY_TARGET_UNSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0X0312) + +// +// The validation result of the legacy backup target was not supported +// + +#define FHCFG_E_LEGACY_TARGET_VALIDATION_UNSUPPORTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0X0313) + +// +// The legacy backup user was fully excluded from backups +// + +#define FHCFG_E_LEGACY_BACKUP_USER_EXCLUDED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0X0314) + +// +// The legacy backup was not found +// + +#define FHCFG_E_LEGACY_BACKUP_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0X0315) + + +/////////////////////////////////////////////////////////////////////// +// +// Error codes for the File History Service. (0x0600 - 0x06ff) +// +/////////////////////////////////////////////////////////////////////// + +// +// Backups are blocked for the given configuration +// + +#define FHSVC_E_BACKUP_BLOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0600) + +// +// File History is not configured for the user +// + +#define FHSVC_E_NOT_CONFIGURED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0601) + +// +// The specified configuration is disabled by the user +// + +#define FHSVC_E_CONFIG_DISABLED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0602) + +// +// The specified configuration is disabled via Group Policy +// + +#define FHSVC_E_CONFIG_DISABLED_GP MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0603) + +// +// There is a fatal error with the specified configuration, backup cannot be even started +// + +#define FHSVC_E_FATAL_CONFIG_ERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0604) + +// +// The specified configuration is undergoing rehydration +// + +#define FHSVC_E_CONFIG_REHYDRATING MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0605) + +#endif // NTDDI_VERSION >= NTDDI_WIN8 + +#ifdef __cplusplus +} +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // _FHERRORS_ + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhStatus.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhStatus.h new file mode 100644 index 0000000000000000000000000000000000000000..2875c5db2924f8de8795385c2375292688ad37b2 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhStatus.h @@ -0,0 +1,78 @@ +/*++ + +Microsoft Windows - File History +Copyright (c) 2010 Microsoft Corporation. All Rights Reserved. + +Module Name: + + FhStatus.h + +Abstract: + + This module contains the definitions of codes reflecting the + File History status of a user account. + +Environment: + + User mode. + +--*/ + +#ifndef _FHSTATUS_ +#define _FHSTATUS_ + +#if _MSC_VER > 1000 +#pragma once +#endif + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#ifdef __cplusplus +extern "C" { +#endif + +#if NTDDI_VERSION >= NTDDI_WIN8 + + +#define FH_STATE_NOT_TRACKED 0x00 +#define FH_STATE_OFF 0x01 +#define FH_STATE_DISABLED_BY_GP 0x02 +#define FH_STATE_FATAL_CONFIG_ERROR 0x03 +#define FH_STATE_MIGRATING 0x04 +#define FH_STATE_REHYDRATING 0x05 + + +#define FH_STATE_TARGET_FS_LIMITATION 0x0D +#define FH_STATE_TARGET_ACCESS_DENIED 0x0E +#define FH_STATE_TARGET_VOLUME_DIRTY 0x0F +#define FH_STATE_TARGET_FULL_RETENTION_MAX 0x10 +#define FH_STATE_TARGET_FULL 0x11 +#define FH_STATE_STAGING_FULL 0x12 +#define FH_STATE_TARGET_LOW_SPACE_RETENTION_MAX 0x13 +#define FH_STATE_TARGET_LOW_SPACE 0x14 +#define FH_STATE_TARGET_ABSENT 0x15 +#define FH_STATE_TOO_MUCH_BEHIND 0xF0 +#define FH_STATE_NO_ERROR 0xFF + +// Indicates that File History is in a depreciated state +// where backup is not supported. This is only applicable +// if the user has an existing backup configured. +#define FH_STATE_BACKUP_NOT_SUPPORTED 0x810 + +#define FH_STATE_RUNNING 0x100 + + +#endif // NTDDI_VERSION >= NTDDI_WIN8 + +#ifdef __cplusplus +} +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // _FHSTATUS_ + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhSvcCtl.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhSvcCtl.h new file mode 100644 index 0000000000000000000000000000000000000000..9c81aab7216f82aea8a28e7a7504de09549f1bed --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FhSvcCtl.h @@ -0,0 +1,115 @@ +/*++ + +Microsoft Windows - File History +Copyright (c) Microsoft Corporation. All Rights Reserved. + +Module Name: + + FhSvcCtl.h + +Abstract: + + This module contains the definitions of the API provided + by the File History Service Control Library. + +Environment: + + User mode. + +--*/ + +#ifndef _FHSVCCTL_ +#define _FHSVCCTL_ + +#if _MSC_VER > 1000 +#pragma once +#endif + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#if NTDDI_VERSION >= NTDDI_WIN8 + + +// Backup stop reason +// This will be used for telemetry purposes +typedef enum { + BackupInvalidStopReason = 0, + BackupLimitUserBusyMachineOnAC = 1, // Backup quota reached for user busy and machine on AC condition (100 MB) + BackupLimitUserIdleMachineOnDC = 2, // Backup quota reached for user idle and machine on DC condition (75 MB) + BackupLimitUserBusyMachineOnDC = 3, // Backup quota reached for user busy and machine on DC condition (50 MB) + BackupCancelled = 4 // Backup cancelled by the user initiated action +} FhBackupStopReason; + +DECLARE_HANDLE (FH_SERVICE_PIPE_HANDLE); + +__declspec(deprecated("FhServiceOpenPipe is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceOpenPipe( + _In_ BOOL StartServiceIfStopped, + _Out_ FH_SERVICE_PIPE_HANDLE *Pipe + ); + +__declspec(deprecated("FhServiceClosePipe is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceClosePipe( + _In_ FH_SERVICE_PIPE_HANDLE Pipe + ); + +__declspec(deprecated("FhServiceStartBackup is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceStartBackup( + _In_ FH_SERVICE_PIPE_HANDLE Pipe, + _In_ BOOL LowPriorityIo + ); + +__declspec(deprecated("FhServiceStopBackup is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceStopBackup( + _In_ FH_SERVICE_PIPE_HANDLE Pipe, + _In_ BOOL StopTracking + ); + +__declspec(deprecated("FhServiceReloadConfiguration is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceReloadConfiguration( + _In_ FH_SERVICE_PIPE_HANDLE Pipe + ); + +__declspec(deprecated("FhServiceBlockBackup is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceBlockBackup( + _In_ FH_SERVICE_PIPE_HANDLE Pipe + ); + +__declspec(deprecated("FhServiceUnblockBackup is deprecated and might not work on all platforms. For more info, see MSDN.")) +HRESULT +WINAPI +FhServiceUnblockBackup( + _In_ FH_SERVICE_PIPE_HANDLE Pipe + ); + + +#endif // NTDDI_VERSION >= NTDDI_WIN8 + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#ifdef __cplusplus +} +#endif + +#endif // _FHSVCCTL_ + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FileHC.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FileHC.h new file mode 100644 index 0000000000000000000000000000000000000000..d1db360332be797fd4f386fe0fd2e1083d9a7e3c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FileHC.h @@ -0,0 +1,904 @@ +/*++ + + Copyright (c) 2002 Microsoft Corporation + + Module Name: + + FILEHC.H + + Abstract: + + This file defines the public interfaces for issuing async + Reads/Writes to a file using the fcache wrapper library. + +--*/ + +#ifndef _FILEHC_H_ +#define _FILEHC_H_ +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#ifdef __cplusplus +extern "C" { +#endif + +struct FIO_CONTEXT; +struct FH_OVERLAPPED; + +typedef VOID +(*PFN_IO_COMPLETION)( + IN struct FIO_CONTEXT* pContext, + IN struct FH_OVERLAPPED* lpo, + IN DWORD cb, + IN DWORD dwCompletionStatus + ); + + + +struct FH_OVERLAPPED { +/*++ + + This structure defines the extended OVERLAPPED structure + used by the File IO layer implemented in this module. + + The first 5 elements of this structure are identical to + NT's OVERLAPPED structure and have the exact same semantics. + + The final additional parameter is a pointer to a + function that will be called to complete the IO. + +--*/ + UINT_PTR Internal ; + UINT_PTR InternalHigh ; + DWORD Offset ; + DWORD OffsetHigh ; + HANDLE hEvent ; + PFN_IO_COMPLETION pfnCompletion ; + UINT_PTR Reserved1 ; + UINT_PTR Reserved2 ; + UINT_PTR Reserved3 ; + UINT_PTR Reserved4 ; +} ; + +typedef struct FH_OVERLAPPED* PFH_OVERLAPPED ; + +struct FIO_CONTEXT { +/*++ + + This structure defines the context object + that is used to represent file handles. + +--*/ + // + // Temporary hack - mailmsg object assumes it can put a NULL in us ! + // + DWORD m_dwTempHack ; + + // + // The context signature ! + // + DWORD m_dwSignature ; + + // + // The users file handle ! + // + HANDLE m_hFile ; + + // + // The offset to back fill Lines header - nntp aware only + // + DWORD m_dwLinesOffset; + + // + // Header length - nntp aware only + // + DWORD m_dwHeaderLength; +} ; + +typedef struct FIO_CONTEXT* PFIO_CONTEXT ; + + +#ifdef _FILEHC_IMPLEMENTATION_ +#define FILEHC_EXPORT __declspec( dllexport ) +#else +#define FILEHC_EXPORT __declspec( dllimport ) +#endif + + +// +// Initialize the DLL for Async IO - +// This is a counting initialize - for each call to FIOInitialize() +// there should be a matching call to FIOTerminate +// +FILEHC_EXPORT +BOOL __stdcall +FIOInitialize( + IN DWORD dwFlags + ); + +// +// Terminate the DLL's support for Async IO ! +// +FILEHC_EXPORT +BOOL __stdcall +FIOTerminate( + VOID + ); + +// +// Do an async read against the File ! +// +FILEHC_EXPORT +BOOL __stdcall +FIOReadFile( + IN PFIO_CONTEXT pContext, + _In_reads_bytes_(BytesToRead) IN LPVOID lpBuffer, + IN DWORD BytesToRead, + _Inout_ IN struct FH_OVERLAPPED * lpo + ); + +// +// Do an async read against the file - pass extra args +// so that if the FIO_CONTEXT is doing dot stuffing for the user +// it can do so efficiently ! +// +FILEHC_EXPORT +BOOL __stdcall +FIOReadFileEx( + IN PFIO_CONTEXT pContext, + _In_reads_bytes_(BytesToRead) IN LPVOID lpBuffer, + IN DWORD BytesToRead, + IN DWORD BytesAvailable, // must be >= BytesToWrite - number of bytes I can mess with. + _Inout_ IN struct FH_OVERLAPPED * lpo, + IN BOOL fFinalWrite, // Is this the final write ? + IN BOOL fIncludeTerminator // if TRUE contains CRLF.CRLF terminator which shouldn't be stuffed + ); + + +// +// Do an async write against the file ! +// +FILEHC_EXPORT +BOOL __stdcall +FIOWriteFile( + IN PFIO_CONTEXT pContext, + _Inout_updates_bytes_(BytesToWrite) IN LPCVOID lpBuffer, + IN DWORD BytesToWrite, + _Inout_ IN struct FH_OVERLAPPED * lpo + ); + +// +// Do an async write against the file - pass extra args +// so that if the FIO_CONTEXT is doing dot stuffing for the user +// it can do so efficiently ! +// +FILEHC_EXPORT +BOOL __stdcall +FIOWriteFileEx( + IN PFIO_CONTEXT pContext, + _Inout_updates_bytes_(BytesAvailable) IN LPVOID lpBuffer, + IN DWORD BytesToWrite, + IN DWORD BytesAvailable, // must be >= BytesToWrite - number of bytes I can mess with. + _Inout_ IN struct FH_OVERLAPPED* lpo, + IN BOOL fFinalWrite, // Is this the final write ? + IN BOOL fIncludeTerminator // if TRUE contains CRLF.CRLF terminator which shouldn't be stuffed + ) ; + +// +// Callback functions which create things in the cache ! +// +// NOTE: this is equivalent to FCACHE_RICHCREATE_CALLBACK where +// +// pfDidWeScanIt - returns FALSE +// pfIsStuffed - return FALSE +// pfStoredWithDots - return FALSE +// +typedef +HANDLE +(__stdcall *FCACHE_CREATE_CALLBACK) ( + IN LPSTR lpstrName, + IN LPVOID lpvData, + OUT DWORD* cbFileSize, + OUT DWORD* cbFileSizeHigh + ) ; + + +// +// Callback functions which create things in the cache ! +// +// This function will be called by CacheRichCreateFile(). +// +// lpstrName - the name of the file +// lpvData - User provided data, provided to CacheRichCreateFile +// cbFileSize - The function should return the size of the file through this +// cbFileSizeHigh - place to return the High DWORD of the file size +// pfDidWeScanIt - if THIS is true then at some point the created file has been +// scanned for DOTs appearing at the beginning of lines +// pfIsStuffed - This is only meaningfull if pfDidWeScanIt==TRUE, in which case +// if this is TRUE this indicates that there are DOTs at the beginning of lines +// pfStoredWithDots - If this is TRUE then it indicates that any DOTs that appear +// at the beginning of lines are stored with an extra dot as required in NNTP, +// SMTP and POP3 protocols. if this is FALSE then the message is stored without +// DOT stuffing. +// +typedef +HANDLE +(__stdcall *FCACHE_RICHCREATE_CALLBACK) ( + IN LPSTR lpstrName, + IN LPVOID lpvData, + OUT DWORD* cbFileSize, + OUT DWORD* cbFileSizeHigh, + OUT BOOL* pfDidWeScanIt, + OUT BOOL* pfIsStuffed, + OUT BOOL* pfStoredWithDots, + OUT BOOL* pfStoredWithTerminatingDot + ) ; + +// +// Initialize the File Handle Cache - +// +// NOTE : this will automatically initialize the DLL for async +// IO as well ! +// +FILEHC_EXPORT +BOOL __stdcall +InitializeCache() ; + +// +// Terminate the cache ! +// +// NOTE : this will terminate the DLL for async IO as well ! +// +FILEHC_EXPORT +BOOL __stdcall +TerminateCache() ; + +// +// Associate a file with an async context ! +// +FILEHC_EXPORT +PFIO_CONTEXT __stdcall +AssociateFile( _In_ HANDLE hFile ) ; + +// +// This allows the user to specify whether file stores content with extra DOTS +// added for RFC 822 protocols (i.e. NNTP and SMTP DATA commands). +// +// NOTE: AssociateFile() is the same as AssociateFileEx( hFile, FALSE ) ; +// +// hFile - The file that contains message content, or in which we will write message content +// fStoreWithDots - if TRUE then each period or DOT in the file which starts a line +// but is NOT part of the terminating CRLF.CRLF will be stored with an extra dot +// adjacent to it. This is the on the wire format for NNTP for instance. +// +FILEHC_EXPORT +PFIO_CONTEXT __stdcall +AssociateFileEx( _In_ HANDLE hFile, + BOOL fStoreWithDots, + BOOL fStoredWithTerminatingDot + ) ; + +// +// Add a reference to a context - +// +// Each call to AddRefContext() must be matched by a corresponding +// call to ReleaseContext(). Both AssociateFile and CacheCreateFile() +// also add a single reference which must be matched by a call to ReleaseContext(). +// +FILEHC_EXPORT +void __stdcall +AddRefContext( PFIO_CONTEXT ) ; + +// +// Release a Context ! +// +// FIO_CONTEXT's are reference counted - the user must call +// this for each successfull call to CacheCreateFile(), and +// each call to InsertFile() where fKeepReference is TRUE +// +FILEHC_EXPORT +void __stdcall +ReleaseContext( PFIO_CONTEXT ) ; + +// +// Close a handle associated with a non-cached FIO_CONTEXT +// +// This is used to Close the file handle within a context. +// This only succeeds if the FIO_CONTEXT is not cached ! +// +FILEHC_EXPORT +BOOL __stdcall +CloseNonCachedFile( PFIO_CONTEXT ) ; + +// +// Create a file in the cache, or find an existing one ! +// +// If the file is not in the cache, the cache will call +// pfnCallBack with lpv to do the actual work of calling +// CreateFile(). +// +FILEHC_EXPORT +struct FIO_CONTEXT* __stdcall +CacheCreateFile( _In_ IN LPSTR lpstrName, + IN FCACHE_CREATE_CALLBACK pfnCallBack, + _In_ IN LPVOID lpv, + IN BOOL fAsyncContext + ) ; + +// +// Create a file in the cache or find an existing one, +// if we create the file we can add properties onto it in +// the cache ! +// +FILEHC_EXPORT +struct FIO_CONTEXT* __stdcall +CacheRichCreateFile( _In_ IN LPSTR lpstrName, + IN FCACHE_RICHCREATE_CALLBACK pfnCallBack, + IN LPVOID lpv, + IN BOOL fAsyncContext + ) ; + +// +// This function allows a user to remove all files with the specified +// Name from the cache. if fAllPrefixes is TRUE, we will remove all files +// where the Name matches the beginning of the path ! +// If fAllPrefixes is FALSE then we will remove only the one file which +// exactly matches lpstrName ! +// +FILEHC_EXPORT +void __stdcall +CacheRemoveFiles( _In_ IN LPSTR lpstrName, + IN BOOL fAllPrefixes + ) ; +// +// Insert the file into the cache ! +// +// This function will add the file handle in the FIO_CONTEXT +// to the cache. All searches by lpstrName will find this +// item untill it expires from the cache. +// +// If fKeepReference is TRUE then the user must make a call to +// ReleaseContext() for the inserted FIO_CONTEXT ! +// +FILEHC_EXPORT +BOOL __stdcall +InsertFile( _In_ IN LPSTR lpstrName, + IN struct FIO_CONTEXT* pContext, + IN BOOL fKeepReference + ) ; + +// +// Report the file size that we've cached with the handle +// +FILEHC_EXPORT +DWORD __stdcall +GetFileSizeFromContext( IN struct FIO_CONTEXT* pContext, + _Out_ OUT DWORD* pcbFileSizeHigh + ) ; + +//---------------------------------------------------------------------- +// NAME CACHE NAME CACHE NAME CACHE - +// +// Name Cache API's +// +// + +// +// This is the function pointer provided by clients to compare +// keys. This must be provided on all calls. +// +// The function has memcmp() semantics, i.e. it must order the keys +// consistently, and return <0 if key1 is smaller then key2, ==0 if the +// keys match and >0 if key1 is greater then key2. +// +typedef +int +(__stdcall *CACHE_KEY_COMPARE)( IN DWORD cbKey1, + IN LPBYTE lpbKey1, + IN DWORD cbKey2, + IN LPBYTE lpbKey2 + ) ; + +// +// This is the function provided by clients to compute a hash +// value on Keys - NOTE: The Cache will provide a hash function +// IF the user does not, however the internally provided hash +// function is best only for things that appear to be regular strings. +// +typedef +DWORD +(__stdcall *CACHE_KEY_HASH)( IN LPBYTE lpbKey, + IN DWORD cbKey + ) ; + +// +// This is the generic callback function that is provided to the +// cache to help examine items within the cache. +// The BOOL return value is meaningfull to the Cache API's only +// on the following calls : +// +// +typedef +BOOL +(__stdcall *CACHE_READ_CALLBACK)( IN DWORD cb, + IN LPBYTE lpb, + IN LPVOID lpvContext + ) ; + +// +// This is a callback that is called whenever we destroy an entry in +// the name cache - this is called once for both key and data components, +// and gives the client a chance to track any relationships +// +// NOTE : if the client does not associate +// data with the name, the function will only be called for the Key data. +// +typedef +void +(__stdcall *CACHE_DESTROY_CALLBACK)( IN DWORD cb, + IN LPBYTE lpb + ) ; + +// +// This is a callback this is called whenever we evaluate a security descriptor. +// If it is not provided we will call the standard NT AccessCheck() call ! +// +// The function has the same signature as AccessCheck, however there are arguments +// we don't use - PrivilegeSet will always be NULL and PrivilegeSetLength will always be 0 ! +// +typedef +BOOL +(WINAPI *CACHE_ACCESS_CHECK)( IN PSECURITY_DESCRIPTOR pSecurityDescriptor, + IN HANDLE hClientToken, + IN DWORD dwDesiredAccess, + IN PGENERIC_MAPPING GenericMapping, + IN PRIVILEGE_SET* PrivilegeSet, + IN LPDWORD PrivilegeSetLength, + IN LPDWORD GrantedAccess, + IN LPBOOL AccessStatus + ) ; + + +// +// This is the externally exposed structure representing a Name Cache - +// it doesn't contain any fields usefull for a client, but must be passed +// back into all of the name cache API's +// +struct NAME_CACHE_CONTEXT { + // + // Signature DWORD ! - user must not touch this ! + // + DWORD m_dwSignature ; +} ; + +typedef struct NAME_CACHE_CONTEXT* PNAME_CACHE_CONTEXT ; + +// +// API's for creating/manging NAME CACHE's +// NOTE : Name Cache's are reference counted, and if this +// function is called twice with the same name we will +// Add a reference to an existing Name Cache. +// +FILEHC_EXPORT +PNAME_CACHE_CONTEXT __stdcall +FindOrCreateNameCache( + // + // Must not be NULL ! - this is CASE SENSITVE ! + // + _In_ LPSTR lpstrName, + // + // Must not be NULL ! + // + _In_ CACHE_KEY_COMPARE pfnKeyCompare, + // + // This may be NULL, in which case the cache will provide one ! + // + CACHE_KEY_HASH pfnKeyHash, + // + // The following two function pointers may be NULL ! + // + CACHE_DESTROY_CALLBACK pfnKeyDestroy, + CACHE_DESTROY_CALLBACK pfnDataDestroy + ) ; + +// +// API's for releasing the NAME CACHE ! +// +// The caller must guarantee the thread safety of this call - This function must not +// be called if any other thread is simultanesouly executing within +// CacheFindContectFromName(), AssociateContextWithName(), AssociateDataWithName(), or InvalidateName() +// +FILEHC_EXPORT +long __stdcall +ReleaseNameCache( + // + // Must not be NULL ! + // + _Inout_ PNAME_CACHE_CONTEXT pNameCache + ) ; + + +// +// API's for setting options on the name cache - this can be used to change +// how Security is evaluated ! +// +FILEHC_EXPORT +BOOL __stdcall +SetNameCacheSecurityFunction( + // + // Must not be NULL ! + // + _Out_opt_ PNAME_CACHE_CONTEXT pNameCache, + // + // This is the function pointer that will be used to evaluate security - + // this may be NULL - if it is we will use the Win32 Access Check ! + // + CACHE_ACCESS_CHECK pfnAccessCheck + ) ; + +// +// Find the FIO_CONTEXT that is associated with some user name. +// +// The function returns TRUE if the Name was found in the cache. +// FALSE if the name was not found in the cache. +// +// If the function returns FALSE then the pfnCallback function will not be +// called. +// +// If the function returns TRUE, ppFIOContext may return a NULL pointer, +// if the user passed a NULL FIO_CONTEXT to AssociateContextWithName() ! +// +// +FILEHC_EXPORT +BOOL __stdcall +FindContextFromName( + // + // The name cache the client wishes to use ! + // + PNAME_CACHE_CONTEXT pNameCache, + // + // User provides arbitrary bytes for Key to the cache item - pfnKeyCompare() used + // to compare keys ! + // + _In_reads_bytes_(cbName) IN LPBYTE lpbName, + _In_ IN DWORD cbName, + // + // User provides function which is called with the key once the key comparison + // matches the key. This lets the user do some extra checking that they're getting + // what they want. + // + IN CACHE_READ_CALLBACK pfnCallback, + IN LPVOID lpvClientContext, + // + // Ask the cache to evaluate the embedded security descriptor + // if hToken is 0 then we ignore and security descriptor data + // + IN HANDLE hToken, + IN ACCESS_MASK accessMask, + // + // We have a separate mechanism for returning the FIO_CONTEXT + // from the cache. + // + OUT struct FIO_CONTEXT** ppContext + ) ; + + +// +// Find the FIO_CONTEXT that is associated with some user name. +// +// The function returns TRUE if the Name was found in the cache. +// FALSE if the name was not found in the cache. +// +// If the function returns FALSE then the pfnCallback function will not be +// called. +// +// If the function returns TRUE, ppFIOContext may return a NULL pointer, +// if the user passed a NULL FIO_CONTEXT to AssociateContextWithName() ! +// +// +FILEHC_EXPORT +BOOL __stdcall +FindSyncContextFromName( + // + // The name cache the client wishes to use ! + // + PNAME_CACHE_CONTEXT pNameCache, + // + // User provides arbitrary bytes for Key to the cache item - pfnKeyCompare() used + // to compare keys ! + // + _In_reads_bytes_(cbName) IN LPBYTE lpbName, + IN DWORD cbName, + // + // User provides function which is called with the key once the key comparison + // matches the key. This lets the user do some extra checking that they're getting + // what they want. + // + IN CACHE_READ_CALLBACK pfnCallback, + IN LPVOID lpvClientContext, + // + // Ask the cache to evaluate the embedded security descriptor + // if hToken is 0 then we ignore and security descriptor data + // + IN HANDLE hToken, + IN ACCESS_MASK accessMask, + // + // We have a separate mechanism for returning the FIO_CONTEXT + // from the cache. + // + OUT struct FIO_CONTEXT** ppContext + ) ; + + +// +// Cache Associate context with name ! +// This insert a Name into the Name cache, that will find the specified FIO_CONTEXT ! +// +// If the name is already present in the cache, this will fail with GetLastError()==ERROR_DUP_NAME ! +// +FILEHC_EXPORT +BOOL __stdcall +AssociateContextWithName( + // + // The name cache the client wishes to use ! + // + _In_ PNAME_CACHE_CONTEXT pNameCache, + // + // User provides arbitrary bytes for the Name of the cache item. + // + _In_reads_bytes_(cbName) IN LPBYTE lpbName, + IN DWORD cbName, + // + // User may provide some arbitrary data to assoicate with the name ! + // + _In_ IN LPBYTE lpbData, + IN DWORD cbData, + // + // User may provide a self relative security descriptor to + // be associated with the name ! + // + IN PGENERIC_MAPPING pGenericMapping, + _In_opt_ IN PSECURITY_DESCRIPTOR pSecurityDescriptor, + // + // User provides the FIO_CONTEXT that the name should reference + // + _In_opt_ struct FIO_CONTEXT* pContext, + // + // User specifies whether they wish to keep their reference on the FIO_CONTEXT + // + BOOL fKeepReference + ) ; + +// +// This function allows the user to remove a single name and all associated data +// from the name cache. +// +FILEHC_EXPORT +BOOL +__stdcall +InvalidateName( + // + // The name cache the client wishes to use ! + // + PNAME_CACHE_CONTEXT pNameCache, + // + // User provides arbitrary bytes for the Name of the cache item. + // + _In_reads_bytes_(cbName) IN LPBYTE lpbName, + IN DWORD cbName + ) ; + + +// +// End of Name Cache API's +//---------------------------------------------------------------------------------- + +//---------------------------------------------------------------------------------- +// DOT STUFFING API's +// + +// +// This function gets an FIO_CONTEXT with the requested state. +// We may or may not create a new FIO_CONTEXT, if we do create one we'll stick +// it into the cache so it can be used again ! +// NOTE: if we have to do work, the user has the only reference to the resulting +// FIO_CONTEXT which will go away when they call ReleaseContext() ! +// +// pContext - the original FIO_CONTEXT +// lpstrName - the file name associated with pContext +// fWantItDotStuffed - if TRUE the resulting FIO_CONTEXT should be dot stuffed ! +// fTerminatorIncluded - if this is TRUE the source FIO_CONTEXT contains a terminating +// dot that we should be carefull not to stuff ! +// +// NOTE: We may return the same FIO_CONTEXT as the caller provided - in which case +// an extra reference has been added that needs to be dropped with ReleaseContext() ! +// +// +FILEHC_EXPORT +struct FIO_CONTEXT* __stdcall +ProduceDotStuffedContext( IN struct FIO_CONTEXT* pContext, + _In_ IN LPSTR lpstrName, + IN BOOL fWantItDotStuffed // if TRUE add dots, if FALSE remove dots + ) ; + +// +// This function takes a source FIO_CONTEXT (pContextSource) and copies +// the content into pContextDestination. +// +// The user specifies whether the Destination FIO_CONTEXT should be dot stuffed +// with fWantItDotStuffed, and whether the source FIO_CONTEXT includes the +// terminating CRLF.CRLF +// +// The out parameter pfModified is TRUE if there were modifications when +// Source was copied to Destination ! +// +// The function returns TRUE if successfull, FALSE otherwise ! +// +FILEHC_EXPORT +BOOL __stdcall +ProduceDotStuffedContextInContext( + IN struct FIO_CONTEXT* pContextSource, + IN struct FIO_CONTEXT* pContextDestination, + IN BOOL fWantItDotStuffed, + _Out_opt_ OUT BOOL* pfModified + ) ; + + + + +// +// Find out whether the file has a terminating 'CRLF.CRLF' sequence ! +// +FILEHC_EXPORT +BOOL __stdcall +GetIsFileDotTerminated( IN struct FIO_CONTEXT* pContext ) ; + +// +// Set whether the file has a terminating 'CRLF.CRLF' sequence ! +// +FILEHC_EXPORT +void __stdcall +SetIsFileDotTerminated( IN struct FIO_CONTEXT* pContext, + IN BOOL fIsDotTerminated + ) ; + +// +// Enable dot stuffing properties on the write path of the file +// handle cache of this message ! +// +// if fEnable is FALSE then all dot stuffing behaviour is turned +// off. +// +// if fStripDots is TRUE the File Handle Cache will convert +// occurrences of "\r\n." to "\r\n" within your message. +// +// if fStripDots is FALSE the FileHandle Cache will convert occurrences +// of "\r\n.." to "\r\n" within your message. +// +// +FILEHC_EXPORT +BOOL __stdcall +SetDotStuffingOnWrites( IN struct FIO_CONTEXT* pContext, + // + // fEnable == FALSE means ignore fStripDots, and writes are unmodified + // + IN BOOL fEnable, + // + // fStripDots == TRUE means we remove dots that are dot stuffed, + // fStripDots == FALSE means that we add dots to make the message dot stuffed + // + IN BOOL fStripDots + ) ; + +#if 0 +// +// This function temporarily disabled ! +// +FILEHC_EXPORT +BOOL __stdcall +SetDotStuffingOnReads( IN struct FIO_CONTEXT* pContext, + IN BOOL fEnable, + IN BOOL fStripDots + ) ; +#endif + +// +// Enable dot scanning properties on the write path +// of the file handle cache for this file ! +// +// if fEnable is TRUE the we will examine each write +// that goes through us to determine whether the +// message has any occurrences of "\r\n.". +// +FILEHC_EXPORT +BOOL __stdcall +SetDotScanningOnWrites( IN struct FIO_CONTEXT* pContext, + IN BOOL fEnable + ) ; + +// +// +// This function should be called when we have finished doing all writes to an FIO_CONTEXT +// This function should be paired with SetDotStuffingOnWrites() and the fStripDots +// parameter should be the same as when SetDotStuffingOnWrites() was called. +// +// We will update the Dot Stuffing State of the FIO_CONTEXT and discard +// all dot stuffing memory and stuff that may have been required ! +// +// If this function call is paired with a call to SetDotScanningOnWrites() fStripDots should be TRUE ! +// +FILEHC_EXPORT +void __stdcall +CompleteDotStuffingOnWrites( IN struct FIO_CONTEXT* pContext, + IN BOOL fStripDots + ) ; + +// +// This will cause us to examine each read for occurrences of +// "\r\n." +// +// NOTE : the user must use ASYNC Reads for this to work - we will assert +// if the user tries to pend any synchronous reads while we are in this state ! +// +FILEHC_EXPORT +BOOL __stdcall +SetDotScanningOnReads( IN struct FIO_CONTEXT* pContext, + IN BOOL fEnable + ) ; + + +// +// If any of the dot stuffing mechanism our turned on, +// this will get a count of the number of occurrences/modifications +// have occurred. +// +// if fReads is TRUE we get the count for occurrences on Read's +// if fReads is FALSE we get the count for occurrences on Write's +// +// if dot stuffing was turned off or not enabled somehow then +// GetDotStuffState() will return FALSE. +// +// NOTE: A NULL pfStuffed is not allowed ! +// +FILEHC_EXPORT +BOOL __stdcall +GetDotStuffState( IN struct FIO_CONTEXT* pContext, + IN BOOL fReads, + _Inout_ OUT BOOL* pfStuffed, + _Out_ OUT BOOL* pfStoredWithDots + ) ; + +// +// In this case we always assume that the FIO_CONTEXT is not going to be dot stuffed. +// fRequiresStuffing == TRUE indicates that it SHOULD BE stuffed. +// fRequiresStuffing == FALSE indicates that the message does not need dot stuffing. +// +FILEHC_EXPORT +void __stdcall +SetDotStuffState( IN struct FIO_CONTEXT* pContext, + // + // fIsStuffed is only relevant when fKnown == TRUE + // + IN BOOL fKnown, // We do know the dot stuff state + // + // if fKnown is TRUE then fIsStuffed is meaningfull, when thats the case + // if fIsStuffed is TRUE then the message + // + IN BOOL fRequiresStuffing// if fKnown is TRUE this arg is meaningfull + ) ; + + +#ifdef __cplusplus +} +#endif + + + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // _FILEHC_H_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FileOpen.Dlg b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FileOpen.Dlg new file mode 100644 index 0000000000000000000000000000000000000000..b7e65ec5cf57f7e128cafb042ff4f03fc9b6997c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FileOpen.Dlg @@ -0,0 +1,197 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +Module Name: + + fileopen.dlg + +Abstract: + + This module contains the resource descriptions for the Win32 + file open and save as common dialogs. + +Revision History: + +--*/ + + + +// +// Include Files. +// + +#include + + + + +// +// Constant Declarations. +// + +#define LBS_DISABLENOSCROLL 0x1000L + + + +// +// New File Open and Save As Dialogs. +// + +NEWFILEOPENV2ORD DIALOG DISCARDABLE 0, 0, 370, 237 +STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | + WS_SYSMENU | WS_CLIPCHILDREN +CAPTION "Open" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Look &in:", stc4, 4, 7, 57, 8, SS_NOTIFY,WS_EX_RIGHT + COMBOBOX cmb2, 66, 4, 174, 300, + CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | + WS_VSCROLL | WS_TABSTOP + + LTEXT "", stc1, 248, 4, 80, 14, NOT WS_GROUP | NOT WS_VISIBLE, + CONTROL "", ctl1, TOOLBARCLASSNAME, WS_TABSTOP | + CCS_NODIVIDER |CCS_NOPARENTALIGN | CCS_NORESIZE | TBSTYLE_WRAPABLE | + TBSTYLE_FLAT | TBSTYLE_TOOLTIPS | TBSTYLE_CUSTOMERASE, + 4,22,58,208 , WS_EX_CLIENTEDGE + LISTBOX lst1, 66, 22, 300, 156, + LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | + WS_HSCROLL | NOT WS_VISIBLE + + LTEXT "File &name:", stc3, 67, 187, 58, 8, SS_NOTIFY + + EDITTEXT edt1, 130, 184, 164, 12, WS_TABSTOP | ES_AUTOHSCROLL + + CONTROL "", cmb13, WC_COMBOBOXEX, WS_TABSTOP| WS_VSCROLL | + CBS_DROPDOWN | CBS_AUTOHSCROLL, + 130, 184, 164, 150 + + PUSHBUTTON "", psh5, 130, 184, 25, 14, WS_TABSTOP | BS_SPLITBUTTON | BS_BITMAP + + LTEXT "Files of &type:", stc2, 67, 203, 58, 8, SS_NOTIFY + COMBOBOX cmb1, 130, 201, 164, 100, + CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + + AUTOCHECKBOX "Open as &read-only", chx1, 130, 217, 160, 8, WS_TABSTOP + + DEFPUSHBUTTON "&Open", IDOK, 316, 184, 50, 14, WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL, 316, 200, 50, 14, WS_GROUP + PUSHBUTTON "&Help", pshHelp, 316, 218, 50, 14, WS_GROUP +END + + +NEWFILEOPENORD DIALOG DISCARDABLE 0, 0, 280, 164 +STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | + WS_SYSMENU | WS_CLIPCHILDREN +CAPTION "Open" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Look &in:", stc4, 7, 6, 27, 8, SS_NOTIFY + COMBOBOX cmb2, 36, 3, 148, 300, + CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | + WS_VSCROLL | WS_TABSTOP + + LTEXT "", stc1, 186, 3, 88, 16, NOT WS_GROUP | NOT WS_VISIBLE + LISTBOX lst1, 4, 20, 272, 85, + LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | + WS_HSCROLL | NOT WS_VISIBLE + + LTEXT "File &name:", stc3, 5, 112, 48, 8, SS_NOTIFY + EDITTEXT edt1, 54, 111, 155, 12, WS_TABSTOP | ES_AUTOHSCROLL + + CONTROL "", cmb13, WC_COMBOBOXEX, WS_TABSTOP| WS_VSCROLL | + CBS_DROPDOWN | CBS_AUTOHSCROLL, + 54, 111, 155, 150 + + PUSHBUTTON "", psh5, 54, 111, 25, 14, WS_TABSTOP | BS_SPLITBUTTON | BS_BITMAP + + LTEXT "Files of &type:", stc2, 5, 131, 48, 8, SS_NOTIFY + COMBOBOX cmb1, 54, 129, 155, 100, + CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP + + AUTOCHECKBOX "Open as &read-only", chx1, 54, 148, 74, 10, WS_TABSTOP + + DEFPUSHBUTTON "&Open", IDOK, 222, 110, 50, 14 + PUSHBUTTON "Cancel", IDCANCEL, 222, 128, 50, 14 + PUSHBUTTON "&Help", pshHelp, 222, 145, 50, 14 +END + +// +// Old File Open and Save As Dialogs. +// + +FILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 268, 134 +STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | + DS_3DLOOK +CAPTION "Open" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "File &name:", stc3, 6, 6, 76, 9 + EDITTEXT edt1, 6, 16, 90, 12, + ES_AUTOHSCROLL | WS_TABSTOP | ES_OEMCONVERT + LISTBOX lst1, 6, 32, 90, 68, + LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | + LBS_DISABLENOSCROLL | WS_VSCROLL | + WS_TABSTOP | LBS_OWNERDRAWFIXED + + LTEXT "&Folders:", -1, 110, 6, 96, 9 + LTEXT "", stc1, 110, 16, 96, 9, SS_NOPREFIX + LISTBOX lst2, 110, 32, 96, 68, + LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | + LBS_DISABLENOSCROLL | WS_VSCROLL | + WS_TABSTOP | LBS_OWNERDRAWFIXED + + LTEXT "List files of &type:", stc2, 6, 104, 90, 9 + COMBOBOX cmb1, 6, 114, 90, 96, + CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP + + LTEXT "Dri&ves:", stc4, 110, 104, 96, 9 + COMBOBOX cmb2, 110, 114, 96, 68, + CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | + CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP + + DEFPUSHBUTTON "OK", IDOK, 212, 6, 50, 14, WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL, 212, 24, 50, 14, WS_GROUP + + PUSHBUTTON "&Help", pshHelp, 212, 46, 50, 14, WS_GROUP + AUTOCHECKBOX "&Read only", chx1, 212, 68, 50, 12, WS_TABSTOP | WS_GROUP +END + + + +MULTIFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 268, 134 +STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | + DS_3DLOOK +CAPTION "Open" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "File &name:", stc3, 6, 6, 76, 9 + EDITTEXT edt1, 6, 16, 90, 12, + ES_AUTOHSCROLL | WS_TABSTOP | ES_OEMCONVERT + LISTBOX lst1, 6, 32, 90, 68, + LBS_SORT | LBS_NOTIFY | LBS_DISABLENOSCROLL | WS_VSCROLL | + WS_TABSTOP | LBS_EXTENDEDSEL | LBS_HASSTRINGS | + LBS_OWNERDRAWFIXED + + LTEXT "&Folders:", -1, 110, 6, 96, 9 + LTEXT "", stc1, 110, 16, 96, 9, SS_NOPREFIX + LISTBOX lst2, 110, 32, 96, 68, + LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | + LBS_DISABLENOSCROLL | WS_VSCROLL | + WS_TABSTOP | LBS_OWNERDRAWFIXED + + LTEXT "List files of &type:", stc2, 6, 104, 90, 9 + COMBOBOX cmb1, 6, 114, 90, 96, + CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP + + LTEXT "Dri&ves:", stc4, 110, 104, 96, 9 + COMBOBOX cmb2, 110, 114, 96, 68, + CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | + CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP + + DEFPUSHBUTTON "OK", IDOK, 212, 6, 50, 14, WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL, 212, 24, 50, 14, WS_GROUP + + PUSHBUTTON "&Help", pshHelp, 212, 46, 50, 14, WS_GROUP + AUTOCHECKBOX "&Read only", chx1, 212, 68, 50, 12, WS_TABSTOP | WS_GROUP +END diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filter.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filter.h new file mode 100644 index 0000000000000000000000000000000000000000..237b4d2f6e119c471afcf2b95f9f84cf682b0910 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filter.h @@ -0,0 +1,338 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __filter_h__ +#define __filter_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFilter_FWD_DEFINED__ +#define __IFilter_FWD_DEFINED__ +typedef interface IFilter IFilter; + +#endif /* __IFilter_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "unknwn.h" +#include "objidl.h" +#include "propidl.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_filter_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1993-1998. +// +//-------------------------------------------------------------------------- +#if !defined(_TAGFULLPROPSPEC_DEFINED_) +#define _TAGFULLPROPSPEC_DEFINED_ +typedef struct tagFULLPROPSPEC + { + GUID guidPropSet; + PROPSPEC psProperty; + } FULLPROPSPEC; + +#endif // #if !defined(_TAGFULLPROPSPEC_DEFINED_) + + +extern RPC_IF_HANDLE __MIDL_itf_filter_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_filter_0000_0000_v0_0_s_ifspec; + +#ifndef __IFilter_INTERFACE_DEFINED__ +#define __IFilter_INTERFACE_DEFINED__ + +/* interface IFilter */ +/* [unique][uuid][object][local] */ + +#ifndef _tagIFILTER_INIT_DEFINED +typedef +enum tagIFILTER_INIT + { + IFILTER_INIT_CANON_PARAGRAPHS = 1, + IFILTER_INIT_HARD_LINE_BREAKS = 2, + IFILTER_INIT_CANON_HYPHENS = 4, + IFILTER_INIT_CANON_SPACES = 8, + IFILTER_INIT_APPLY_INDEX_ATTRIBUTES = 16, + IFILTER_INIT_APPLY_OTHER_ATTRIBUTES = 32, + IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES = 256, + IFILTER_INIT_INDEXING_ONLY = 64, + IFILTER_INIT_SEARCH_LINKS = 128, + IFILTER_INIT_FILTER_OWNED_VALUE_OK = 512, + IFILTER_INIT_FILTER_AGGRESSIVE_BREAK = 1024, + IFILTER_INIT_DISABLE_EMBEDDED = 2048, + IFILTER_INIT_EMIT_FORMATTING = 4096 + } IFILTER_INIT; + +#define _tagIFILTER_INIT_DEFINED +#define _IFILTER_INIT_DEFINED +#endif +#ifndef _tagIFILTER_FLAGS_DEFINED +typedef +enum tagIFILTER_FLAGS + { + IFILTER_FLAGS_OLE_PROPERTIES = 1 + } IFILTER_FLAGS; + +#define _tagIFILTER_FLAGS_DEFINED +#define _IFILTER_FLAGS_DEFINED +#endif +#ifndef _tagCHUNKSTATE_DEFINED +typedef +enum tagCHUNKSTATE + { + CHUNK_TEXT = 0x1, + CHUNK_VALUE = 0x2, + CHUNK_FILTER_OWNED_VALUE = 0x4 + } CHUNKSTATE; + +#define _tagCHUNKSTATE_DEFINED +#define _CHUNKSTATE_DEFINED +#endif +#ifndef _tagCHUNK_BREAKTYPE_DEFINED +typedef +enum tagCHUNK_BREAKTYPE + { + CHUNK_NO_BREAK = 0, + CHUNK_EOW = 1, + CHUNK_EOS = 2, + CHUNK_EOP = 3, + CHUNK_EOC = 4 + } CHUNK_BREAKTYPE; + +#define _tagCHUNK_BREAKTYPE_DEFINED +#define _CHUNK_BREAKTYPE_DEFINED +#endif +#ifndef _tagFILTERREGION_DEFINED +typedef struct tagFILTERREGION + { + ULONG idChunk; + ULONG cwcStart; + ULONG cwcExtent; + } FILTERREGION; + +#define _tagFILTERREGION_DEFINED +#define _FILTERREGION_DEFINED +#endif +#ifndef _tagSTAT_CHUNK_DEFINED +typedef struct tagSTAT_CHUNK + { + ULONG idChunk; + CHUNK_BREAKTYPE breakType; + CHUNKSTATE flags; + LCID locale; + FULLPROPSPEC attribute; + ULONG idChunkSource; + ULONG cwcStartSource; + ULONG cwcLenSource; + } STAT_CHUNK; + +#define _tagSTAT_CHUNK_DEFINED +#define _STAT_CHUNK_DEFINED +#endif + +EXTERN_C const IID IID_IFilter; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("89BCB740-6119-101A-BCB7-00DD010655AF") + IFilter : public IUnknown + { + public: + virtual SCODE STDMETHODCALLTYPE Init( + /* [in] */ ULONG grfFlags, + /* [in] */ ULONG cAttributes, + /* [size_is][in] */ const FULLPROPSPEC *aAttributes, + /* [out] */ ULONG *pFlags) = 0; + + virtual SCODE STDMETHODCALLTYPE GetChunk( + /* [out] */ STAT_CHUNK *pStat) = 0; + + virtual SCODE STDMETHODCALLTYPE GetText( + /* [out][in] */ ULONG *pcwcBuffer, + /* [size_is][out] */ WCHAR *awcBuffer) = 0; + + virtual SCODE STDMETHODCALLTYPE GetValue( + /* [out] */ PROPVARIANT **ppPropValue) = 0; + + virtual SCODE STDMETHODCALLTYPE BindRegion( + /* [in] */ FILTERREGION origPos, + /* [in] */ REFIID riid, + /* [out] */ void **ppunk) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFilterVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IFilter * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IFilter * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IFilter * This); + + DECLSPEC_XFGVIRT(IFilter, Init) + SCODE ( STDMETHODCALLTYPE *Init )( + IFilter * This, + /* [in] */ ULONG grfFlags, + /* [in] */ ULONG cAttributes, + /* [size_is][in] */ const FULLPROPSPEC *aAttributes, + /* [out] */ ULONG *pFlags); + + DECLSPEC_XFGVIRT(IFilter, GetChunk) + SCODE ( STDMETHODCALLTYPE *GetChunk )( + IFilter * This, + /* [out] */ STAT_CHUNK *pStat); + + DECLSPEC_XFGVIRT(IFilter, GetText) + SCODE ( STDMETHODCALLTYPE *GetText )( + IFilter * This, + /* [out][in] */ ULONG *pcwcBuffer, + /* [size_is][out] */ WCHAR *awcBuffer); + + DECLSPEC_XFGVIRT(IFilter, GetValue) + SCODE ( STDMETHODCALLTYPE *GetValue )( + IFilter * This, + /* [out] */ PROPVARIANT **ppPropValue); + + DECLSPEC_XFGVIRT(IFilter, BindRegion) + SCODE ( STDMETHODCALLTYPE *BindRegion )( + IFilter * This, + /* [in] */ FILTERREGION origPos, + /* [in] */ REFIID riid, + /* [out] */ void **ppunk); + + END_INTERFACE + } IFilterVtbl; + + interface IFilter + { + CONST_VTBL struct IFilterVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFilter_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFilter_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFilter_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFilter_Init(This,grfFlags,cAttributes,aAttributes,pFlags) \ + ( (This)->lpVtbl -> Init(This,grfFlags,cAttributes,aAttributes,pFlags) ) + +#define IFilter_GetChunk(This,pStat) \ + ( (This)->lpVtbl -> GetChunk(This,pStat) ) + +#define IFilter_GetText(This,pcwcBuffer,awcBuffer) \ + ( (This)->lpVtbl -> GetText(This,pcwcBuffer,awcBuffer) ) + +#define IFilter_GetValue(This,ppPropValue) \ + ( (This)->lpVtbl -> GetValue(This,ppPropValue) ) + +#define IFilter_BindRegion(This,origPos,riid,ppunk) \ + ( (This)->lpVtbl -> BindRegion(This,origPos,riid,ppunk) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFilter_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_filter_0000_0001 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_filter_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_filter_0000_0001_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filter.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filter.idl new file mode 100644 index 0000000000000000000000000000000000000000..4b3bed7b35560a0072db15731d6465b046452b41 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filter.idl @@ -0,0 +1,160 @@ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1992-1998 +// +// File: ifilt.idl +// +// Contents: IFilter interface definition +// +// History: 12-Jul-93 AmyA Created +// +//-------------------------------------------------------------------------- + +import "unknwn.idl"; +import "objidl.idl"; +import "propidl.idl"; + +cpp_quote("//+-------------------------------------------------------------------------") +cpp_quote("//") +cpp_quote("// Microsoft Windows") +cpp_quote("// Copyright (C) Microsoft Corporation, 1993-1998.") +cpp_quote("//") +cpp_quote("//--------------------------------------------------------------------------") + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +cpp_quote("#if !defined(_TAGFULLPROPSPEC_DEFINED_)") +cpp_quote("#define _TAGFULLPROPSPEC_DEFINED_") +typedef struct tagFULLPROPSPEC +{ + GUID guidPropSet; + PROPSPEC psProperty; +} FULLPROPSPEC; +cpp_quote("#endif // #if !defined(_TAGFULLPROPSPEC_DEFINED_)") + +[ + object, + uuid(89BCB740-6119-101A-BCB7-00DD010655AF), + pointer_default(unique) +] + +interface IFilter : IUnknown +{ + cpp_quote("#ifndef _tagIFILTER_INIT_DEFINED") + typedef enum tagIFILTER_INIT + { + IFILTER_INIT_CANON_PARAGRAPHS = 1, + IFILTER_INIT_HARD_LINE_BREAKS = 2, + IFILTER_INIT_CANON_HYPHENS = 4, + IFILTER_INIT_CANON_SPACES = 8, + + IFILTER_INIT_APPLY_INDEX_ATTRIBUTES = 16, + IFILTER_INIT_APPLY_OTHER_ATTRIBUTES = 32, + IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES = 256, + + IFILTER_INIT_INDEXING_ONLY = 64, + + IFILTER_INIT_SEARCH_LINKS = 128, + + IFILTER_INIT_FILTER_OWNED_VALUE_OK = 512, + + IFILTER_INIT_FILTER_AGGRESSIVE_BREAK = 1024, + + IFILTER_INIT_DISABLE_EMBEDDED = 2048, + + IFILTER_INIT_EMIT_FORMATTING = 4096 + + } IFILTER_INIT; + cpp_quote("#define _tagIFILTER_INIT_DEFINED") + cpp_quote("#define _IFILTER_INIT_DEFINED") + cpp_quote("#endif") + + cpp_quote("#ifndef _tagIFILTER_FLAGS_DEFINED") + typedef enum tagIFILTER_FLAGS + { + IFILTER_FLAGS_OLE_PROPERTIES = 1 + } IFILTER_FLAGS; + cpp_quote("#define _tagIFILTER_FLAGS_DEFINED") + cpp_quote("#define _IFILTER_FLAGS_DEFINED") + cpp_quote("#endif") + + cpp_quote("#ifndef _tagCHUNKSTATE_DEFINED") + typedef enum tagCHUNKSTATE + { + CHUNK_TEXT = 0x1, + CHUNK_VALUE = 0x2, + CHUNK_FILTER_OWNED_VALUE = 0x4, + CHUNK_IMAGE = 0x8 + + } CHUNKSTATE; + cpp_quote("#define _tagCHUNKSTATE_DEFINED") + cpp_quote("#define _CHUNKSTATE_DEFINED") + cpp_quote("#endif") + + cpp_quote("#ifndef _tagCHUNK_BREAKTYPE_DEFINED") + typedef enum tagCHUNK_BREAKTYPE + { + CHUNK_NO_BREAK = 0, + CHUNK_EOW = 1, + CHUNK_EOS = 2, + CHUNK_EOP = 3, + CHUNK_EOC = 4 + } CHUNK_BREAKTYPE; + cpp_quote("#define _tagCHUNK_BREAKTYPE_DEFINED") + cpp_quote("#define _CHUNK_BREAKTYPE_DEFINED") + cpp_quote("#endif") + + cpp_quote("#ifndef _tagFILTERREGION_DEFINED") + typedef struct tagFILTERREGION + { + ULONG idChunk; + ULONG cwcStart; + ULONG cwcExtent; + } FILTERREGION; + cpp_quote("#define _tagFILTERREGION_DEFINED") + cpp_quote("#define _FILTERREGION_DEFINED") + cpp_quote("#endif") + + cpp_quote("#ifndef _tagSTAT_CHUNK_DEFINED") + typedef struct tagSTAT_CHUNK + { + ULONG idChunk; + CHUNK_BREAKTYPE breakType; + CHUNKSTATE flags; + LCID locale; + FULLPROPSPEC attribute; + ULONG idChunkSource; + ULONG cwcStartSource; + ULONG cwcLenSource; + } STAT_CHUNK; + + cpp_quote("#define _tagSTAT_CHUNK_DEFINED") + cpp_quote("#define _STAT_CHUNK_DEFINED") + cpp_quote("#endif") + + SCODE Init([in] ULONG grfFlags, + [in] ULONG cAttributes, + [in, size_is(cAttributes), unique] FULLPROPSPEC const * aAttributes, + [out] ULONG * pFlags ); + + SCODE GetChunk([out] STAT_CHUNK * pStat ); + + SCODE GetText([in, out] ULONG * pcwcBuffer, + [out, size_is(*pcwcBuffer)] WCHAR * awcBuffer ); + + SCODE GetValue([out] PROPVARIANT ** ppPropValue ); + + [local] + SCODE BindRegion([in] FILTERREGION origPos, + [in] REFIID riid, + [out] void ** ppunk ); + +} + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filterr.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filterr.h new file mode 100644 index 0000000000000000000000000000000000000000..1610d7f2b61ee51d1e1ab241ac7579af6674efb6 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Filterr.h @@ -0,0 +1,177 @@ +#ifndef _FILTERR_H_ +#define _FILTERR_H_ +#ifndef FACILITY_WINDOWS +// +// Values are 32 bit values laid out as follows: +// +// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 +// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 +// +---+-+-+-----------------------+-------------------------------+ +// |Sev|C|R| Facility | Code | +// +---+-+-+-----------------------+-------------------------------+ +// +// where +// +// Sev - is the severity code +// +// 00 - Success +// 01 - Informational +// 10 - Warning +// 11 - Error +// +// C - is the Customer code flag +// +// R - is a reserved bit +// +// Facility - is the facility code +// +// Code - is the facility's status code +// +// +// Define the facility codes +// +#define FACILITY_ITF 0x4 +#define FACILITY_WINDOWS 0x8 + + +// +// Define the severity codes +// +#define STATUS_SEVERITY_SUCCESS 0x0 +#define STATUS_SEVERITY_COERROR 0x2 +#define STATUS_SEVERITY_COFAIL 0x3 + + +// +// MessageId: NOT_AN_ERROR +// +// MessageText: +// +// NOTE: This dummy error message is necessary to force MC to output +// the above defines inside the FACILITY_WINDOWS guard instead +// of leaving it empty. +// +#define NOT_AN_ERROR ((HRESULT)0x00080000L) + +#endif // FACILITY_WINDOWS +// +// Codes 0x1700-0x172F are reserved for FILTER +// +// +// MessageId: FILTER_E_END_OF_CHUNKS +// +// MessageText: +// +// No more chunks of text available in object. +// +#define FILTER_E_END_OF_CHUNKS ((HRESULT)0x80041700L) + +// +// MessageId: FILTER_E_NO_MORE_TEXT +// +// MessageText: +// +// No more text available in chunk. +// +#define FILTER_E_NO_MORE_TEXT ((HRESULT)0x80041701L) + +// +// MessageId: FILTER_E_NO_MORE_VALUES +// +// MessageText: +// +// No more property values available in chunk. +// +#define FILTER_E_NO_MORE_VALUES ((HRESULT)0x80041702L) + +// +// MessageId: FILTER_E_ACCESS +// +// MessageText: +// +// Unable to access object. +// +#define FILTER_E_ACCESS ((HRESULT)0x80041703L) + +// +// MessageId: FILTER_W_MONIKER_CLIPPED +// +// MessageText: +// +// Moniker doesn't cover entire region. +// +#define FILTER_W_MONIKER_CLIPPED ((HRESULT)0x00041704L) + +// +// MessageId: FILTER_E_NO_TEXT +// +// MessageText: +// +// No text in current chunk. +// +#define FILTER_E_NO_TEXT ((HRESULT)0x80041705L) + +// +// MessageId: FILTER_E_NO_VALUES +// +// MessageText: +// +// No values in current chunk. +// +#define FILTER_E_NO_VALUES ((HRESULT)0x80041706L) + +// +// MessageId: FILTER_E_EMBEDDING_UNAVAILABLE +// +// MessageText: +// +// Unable to bind IFilter for embedded object. +// +#define FILTER_E_EMBEDDING_UNAVAILABLE ((HRESULT)0x80041707L) + +// +// MessageId: FILTER_E_LINK_UNAVAILABLE +// +// MessageText: +// +// Unable to bind IFilter for linked object. +// +#define FILTER_E_LINK_UNAVAILABLE ((HRESULT)0x80041708L) + +// +// MessageId: FILTER_S_LAST_TEXT +// +// MessageText: +// +// This is the last text in the current chunk. +// +#define FILTER_S_LAST_TEXT ((HRESULT)0x00041709L) + +// +// MessageId: FILTER_S_LAST_VALUES +// +// MessageText: +// +// This is the last value in the current chunk. +// +#define FILTER_S_LAST_VALUES ((HRESULT)0x0004170AL) + +// +// MessageId: FILTER_E_PASSWORD +// +// MessageText: +// +// File was not filtered due to password protection. +// +#define FILTER_E_PASSWORD ((HRESULT)0x8004170BL) + +// +// MessageId: FILTER_E_UNKNOWNFORMAT +// +// MessageText: +// +// The document format is not recognized by the flter. +// +#define FILTER_E_UNKNOWNFORMAT ((HRESULT)0x8004170CL) + +#endif // _FILTERR_H_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FindText.Dlg b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FindText.Dlg new file mode 100644 index 0000000000000000000000000000000000000000..2924b1b6902c08657d3dc2a14893f4d854000415 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FindText.Dlg @@ -0,0 +1,73 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +Module Name: + + findtext.dlg + +Abstract: + + This module contains the resource descriptions for the Win32 + find and replace common dialogs. + +Revision History: + +--*/ + + + +// +// Find and Replace Dialogs. +// + +FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 30, 73, 236, 74 +STYLE WS_BORDER | WS_CAPTION | DS_MODALFRAME | WS_POPUP | WS_SYSMENU | + DS_3DLOOK +CAPTION "Find" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Fi&nd what:", -1, 4, 8, 42, 8 + EDITTEXT edt1, 47, 7, 128, 12, WS_GROUP | WS_TABSTOP | ES_AUTOHSCROLL + + AUTOCHECKBOX "Match &whole word only", chx1, 4, 26, 100, 12, WS_GROUP + AUTOCHECKBOX "Match &case", chx2, 4, 42, 64, 12 + AUTOCHECKBOX "W&rap around", chx3, 4, 58, 64, 12 + + GROUPBOX "Direction", grp1, 107, 26, 68, 28, WS_GROUP + AUTORADIOBUTTON "&Up", rad1, 111, 38, 25, 12, WS_GROUP + AUTORADIOBUTTON "&Down", rad2, 138, 38, 35, 12 + + DEFPUSHBUTTON "&Find Next", IDOK, 182, 5, 50, 14, WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL, 182, 23, 50, 14 + PUSHBUTTON "&Help", pshHelp, 182, 45, 50, 14 + + LTEXT "", stc1, 4, 56, 1, 1, NOT WS_VISIBLE +END + + +REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 44, 230, 94 +STYLE WS_BORDER | WS_CAPTION | DS_MODALFRAME | WS_POPUP | WS_SYSMENU | + DS_3DLOOK +CAPTION "Replace" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Fi&nd what:", -1, 4, 9, 48, 8 + EDITTEXT edt1, 54, 7, 114, 12, WS_GROUP | WS_TABSTOP | ES_AUTOHSCROLL + + LTEXT "Re&place with:", -1, 4, 26, 48, 8 + EDITTEXT edt2, 54, 24, 114, 12, WS_GROUP | WS_TABSTOP | ES_AUTOHSCROLL + + AUTOCHECKBOX "Match &whole word only", chx1, 4, 46, 104, 12, WS_GROUP + AUTOCHECKBOX "Match &case", chx2, 4, 62, 59, 12 + AUTOCHECKBOX "W&rap around", chx3, 4, 78, 64, 12 + + DEFPUSHBUTTON "&Find Next", IDOK, 174, 4, 50, 14, WS_GROUP + PUSHBUTTON "&Replace", psh1, 174, 21, 50, 14 + PUSHBUTTON "Replace &All", psh2, 174, 38, 50, 14 + PUSHBUTTON "Cancel", IDCANCEL, 174, 55, 50, 14 + PUSHBUTTON "&Help", pshHelp, 174, 75, 50, 14 + + LTEXT "", stc1, 4, 76, 1, 1, NOT WS_VISIBLE +END + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Font.Dlg b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Font.Dlg new file mode 100644 index 0000000000000000000000000000000000000000..e57879e7315f03466d8dd222e8b465178423bc69 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/Font.Dlg @@ -0,0 +1,128 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +Module Name: + + font.dlg + +Abstract: + + This module contains the resource descriptions for the Win32 + font common dialogs. + +Revision History: + +--*/ + + + +// +// Font Dialogs. +// + +FORMATDLGORD31 DIALOG 13, 54, 287, 196 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | + DS_3DLOOK +CAPTION "Font" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "&Font:", stc1, 7, 7, 40, 9 + COMBOBOX cmb1, 7, 16, 98, 76, + CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | + CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_HASSTRINGS | + CBS_OWNERDRAWFIXED + + LTEXT "Font st&yle:", stc2, 110, 7, 44, 9 + COMBOBOX cmb2, 110, 16, 74, 76, + CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | + WS_VSCROLL | WS_TABSTOP | CBS_HASSTRINGS | + CBS_OWNERDRAWFIXED + + LTEXT "&Size:", stc3, 189, 7, 30, 9 + COMBOBOX cmb3, 190, 16, 36, 76, + CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | + CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_HASSTRINGS | + CBS_OWNERDRAWFIXED + + GROUPBOX "Effects", grp1, 7, 97, 98, 72, WS_GROUP + AUTOCHECKBOX "Stri&keout", chx1, 13, 110, 49, 10, WS_TABSTOP + AUTOCHECKBOX "&Underline", chx2, 13, 123, 51, 10 + + LTEXT "&Color:", stc4, 13, 136, 30, 9 + COMBOBOX cmb4, 13, 146, 82, 100, + CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | + CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + + GROUPBOX "Sample", grp2, 110, 97, 116, 43, WS_GROUP + CTEXT "AaBbYyZz", stc5, 118, 111, 100, 23, + SS_NOPREFIX | NOT WS_VISIBLE + LTEXT "", stc6, 7, 172, 219, 20, SS_NOPREFIX | NOT WS_GROUP + + LTEXT "Sc&ript:", stc7, 110, 147, 30, 9 + COMBOBOX cmb5, 110, 157, 116, 30, CBS_DROPDOWNLIST | + CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_HASSTRINGS | + WS_BORDER | WS_VSCROLL | WS_TABSTOP + + DEFPUSHBUTTON "OK", IDOK, 231, 16, 45, 14, WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL, 231, 32, 45, 14, WS_GROUP + PUSHBUTTON "&Apply", psh3, 231, 48, 45, 14, WS_GROUP + PUSHBUTTON "&Help", pshHelp, 231, 64, 45, 14, WS_GROUP + +END + +// +// New Font Dialog with Syslink +// +NEWFORMATDLGWITHLINK DIALOG 13, 54, 243, 234 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | + DS_3DLOOK +CAPTION "Font" +FONT 9, "Segoe UI" +BEGIN + LTEXT "&Font:", stc1, 7, 7, 98, 9 + COMBOBOX cmb1, 7, 16, 98, 76, + CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | + CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_HASSTRINGS | + CBS_OWNERDRAWFIXED + + LTEXT "Font st&yle:", stc2, 114, 7, 74, 9 + COMBOBOX cmb2, 114, 16, 74, 76, + CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | + WS_VSCROLL | WS_TABSTOP | CBS_HASSTRINGS | + CBS_OWNERDRAWFIXED + + LTEXT "&Size:", stc3, 198, 7, 36, 9 + COMBOBOX cmb3, 198, 16, 36, 76, + CBS_SIMPLE | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | + CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_HASSTRINGS | + CBS_OWNERDRAWFIXED + + GROUPBOX "Effects", grp1, 7, 97, 98, 76, WS_GROUP + AUTOCHECKBOX "Stri&keout", chx1, 13, 111, 90, 10, WS_TABSTOP + AUTOCHECKBOX "&Underline", chx2, 13, 127, 90, 10 + + LTEXT "&Color:", stc4, 13, 144, 89, 9 + COMBOBOX cmb4, 13, 155, 85, 100, + CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | + CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP + + GROUPBOX "Sample", grp2, 114, 97, 120, 43, WS_GROUP + CTEXT "AaBbYyZz", stc5, 116, 106, 117, 33, + SS_NOPREFIX | NOT WS_VISIBLE + LTEXT "", stc6, 7, 178, 227, 20, SS_NOPREFIX | NOT WS_GROUP + + LTEXT "Sc&ript:", stc7, 114, 145, 118, 9 + COMBOBOX cmb5, 114, 155, 120, 30, CBS_DROPDOWNLIST | + CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_HASSTRINGS | + WS_BORDER | WS_VSCROLL | WS_TABSTOP + + CONTROL "Show more fonts", IDC_MANAGE_LINK, "SysLink", + WS_TABSTOP, 7, 199, 227, 9 + + DEFPUSHBUTTON "OK", IDOK, 141, 215, 45, 14, WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL, 190, 215, 45, 14, WS_GROUP + PUSHBUTTON "&Apply", psh3, 92, 215, 45, 14, WS_GROUP + PUSHBUTTON "&Help", pshHelp, 43, 215, 45, 14, WS_GROUP + +END diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FrQuery.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FrQuery.h new file mode 100644 index 0000000000000000000000000000000000000000..5adf90b32f5aeb6e4f3c145ce8e4e5840fc3f744 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/FrQuery.h @@ -0,0 +1,128 @@ +//*************************************************************************** +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// +// FRQuery.h +// +// Purpose: query support classes +// +//*************************************************************************** + +#if _MSC_VER > 1000 +#pragma once +#endif + +#ifndef _FRAMEWORK_QUERY_H_ +#define _FRAMEWORK_QUERY_H_ + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#include +#include +#include +#include + +class POLARITY CFrameworkQuery +{ +public: + CFrameworkQuery(); + ~CFrameworkQuery(); + + // Finds out if a particular field was requested by the query in either + // the Select statement, or the Where statement. Only meaningful if we + // are in ExecQueryAsync and the query has been sucessfully parsed. + bool IsPropertyRequired(LPCWSTR propName); + + // Gets the class name from the query. Only meaningful if we are + // in ExecQueryAsync and the query has been sucessfully parsed. It + // is the responsibility of the caller to SysFreeString the returned + // string. + BSTR GetQueryClassName(void) { return SysAllocString(m_bstrtClassName); } + + // Given a property name, it will return all the values + // that the query requests in a CHStringArray. + // Select * from win32_directory where drive = "C:" GetValuesForProp(L"Drive") -> C: + // Where Drive = "C:" or Drive = "D:" GetValuesForProp(L"Drive") -> C:, D: + // Where Path = "\DOS" GetValuesForProp(L"Drive") -> (empty) + // Where Drive <> "C:" GetValuesForProp(L"Drive") -> (empty) + // Where Drive = "C:" or (Drive = "D:" and Mounted = true) GetValuesForProp(L"Drive") -> C:, D: + HRESULT GetValuesForProp(LPCWSTR wszPropName, CHStringArray& achNames); + + // Here's an overloaded version in case client wants to pass in a vector of _bstr_t's + HRESULT GetValuesForProp(LPCWSTR wszPropName, std::vector<_bstr_t>& vectorNames); + + // Returns a list of all the properties specified in the Select clause, plus. + // all the the properties from the Where clauses. If the returned array is empty, all + // properties are required. + void GetRequiredProperties(CHStringArray &saProperties); + + // Boolean indicating if all properties are being requested. + bool AllPropertiesAreRequired(void) { return (m_csaPropertiesRequired.GetSize() == 0); } + + // Boolean indicating if only the key properties are required. + bool KeysOnly(void) { return m_bKeysOnly; } + + // Accessor function to retrieve wql query + const CHString &GetQuery() ; + + // Moves the values into the member variables. Should never be called by users. + HRESULT Init( + + const BSTR bstrQueryFormat, + const BSTR bstrQuery, + long lFlags, + CHString &sNamespace + ); + + // Moves the values into the member variables. Should never be called by users. + HRESULT Init( + + ParsedObjectPath *pParsedObjectPath, + IWbemContext *pCtx, + LPCWSTR lpwszClassName, + CHString &sNamespace + ); + + // Initializes the KeysOnly data member. Should never be called by users. + void Init2(IWbemClassObject *IClass); + + +protected: + + /*****************************************************************************/ + /* The rest of these data members and functions are intended for Microsoft */ + /* internal use only. Use by third parties is unsupported and unrecommended. */ + /*****************************************************************************/ + + SQL_LEVEL_1_RPN_EXPRESSION *m_pLevel1RPNExpression; + CHStringArray m_csaPropertiesRequired; + enum QueryTypes{eUnknown, eWQLCommand, eContextObject} m_QueryType; + + DWORD IsInList(const CHStringArray &csaArray, LPCWSTR pwszValue); + + BOOL IsReference(LPCWSTR lpwszPropertyName); + const CHString &GetNamespace(); + +private: + + CHString m_sNamespace; + long m_lFlags; + IWbemClassObject *m_IClass; + CHString m_sQueryFormat; + + void Reset(void); + bool m_bKeysOnly; + bool m_AddKeys; + CHString m_sQuery; + bstr_t m_bstrtClassName; + +}; + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/event.xsd b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/event.xsd new file mode 100644 index 0000000000000000000000000000000000000000..312f8a33840c46882e130e0d0cc6751affd9f310 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/event.xsd @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + Hex 1-8 digits in size + + + + + + + + Hex 1-16 digits in size + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Classic eventlog binary data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Generic event + + + + + Custom event + + + + + WPP debug event + + + + + Non schematized event + + + + + Instrumentation event + + + + + + + + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/eventlogquery.xsd b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/eventlogquery.xsd new file mode 100644 index 0000000000000000000000000000000000000000..69c305dd59c4ad62f554f924286008a11bf27610 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/eventlogquery.xsd @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/eventman.xsd b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/eventman.xsd new file mode 100644 index 0000000000000000000000000000000000000000..d1558a1230e1d0e9daa1822d70b097def9ddd7d0 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/eventman.xsd @@ -0,0 +1,1332 @@ + + + + + + + + Root element of an instrumentation manifest. + + + + + + + + Not a valid root element for an instrumentation manifest. Used when + storing instrumentation data within other XML documents. + + + + + + + + An instrumentation manifest may contain MESSAGETABLE strings, ETW + providers, and/or a Windows Performance Counter V2 provider. + + Manifests containing MESSAGETABLE strings can be compiled with mc.exe. + + Manifests containing ETW providers can be compiled with mc.exe, + installed or uninstalled with wevtutil.exe, and used with TDH APIs or + ETW tools to decode ETL traces. + + Manifests containing a Performance Counter V2 provider can be compiled + with ctrpp.exe, installed using lodctr.exe, and uninstalled using + unlodctr.exe. + + Note that instrumentation manifests must be uninstalled before they can + be reinstalled. + + + + + + + + + + + + + + May contain MESSAGETABLE strings, ETW providers, and/or a Windows + Performance Counter V2 provider. + + The events element is used for MESSAGETABLE strings and ETW providers. + + The counters element (defined in the counterman.xsd schema) is used for + a Windows Performance Counter V2 provider. + + + + + + + + + + + + + Contains MESSAGETABLE strings and ETW providers. + + + + + + + + + + + + + + + + Defines an ETW provider. A provider is a unit of organization for ETW + event definitions. At runtime, the provider GUID is used when opening + the ETW handle. When collecting a trace, the provider's control GUID is + used to enable or disable the collection of the provider's events. + Within the trace data, the provider GUID identifies the provider as the + source of the event. When the trace data is processed, the provider + GUID is used to match an event to the manifest that contains the event + definitions needed to decode it. + + + + + + + + + + + + + + + + + + + + + + + A manifest-based ETW provider has a decode GUID (used to locate the manifest) + and a control GUID (used to enable the provider or filter events). Normally, + the same GUID (the provider guid) is used for both decode and control. + If distinct values are needed for the decode and control GUIDs, set the + "guid" attribute to the decode GUID and set the "controlGuid" attribute to the + control GUID. Note that to avoid provider name conflicts, if the controlGuid + attribute is used, the provider name must end with the decode guid, e.g. + + guid="{54bab802-bb0b-4b4a-9ce9-7360a0120b3e}" + name="MyProvider.54bab802bb0b4b4a9ce97360a0120b3e" + controlGuid="{74d557d9-4a8e-4a3f-9a32-3f1a0eab71ba}" + + If a provider uses distinct decode and control GUIDs, the resulting traces may + not decode properly when decoded on Windows versions prior to Windows 10 + Fall Creators Update (2017). + + Note that distinct decode and control GUIDs are typically used to support + tool-generated manifests and are generally unnecessary for hand-maintained + manifests. + + + + + + + Name of the executable file into which the provider's non-localized template + resource is linked, usually the same as the provider's binary. + + Since the full install path of the provider binary is usually determined at + install time, the value of this attribute is usually overridden by using + wevtutil.exe's /rf:FullResourceFilePath parameter. + + + + + + + Name of the executable file into which the provider's localizable message + resource is linked, usually the same as the provider's binary. + + Since the full install path of the provider binary is usually determined at + install time, the value of this attribute is usually overridden by using + wevtutil.exe's /mf:FullMessageFilePath parameter. + + + + + + Deprecated. + + + + + + + + + + + + + + + + + + + + + Use channels to describe the destinations for your events. Each channel you + define here will show up in the Windows Event Viewer. + + + + + + + + + + + + + + Declares a channel that is used by events in this manifest but is not + owned by this manifest. This may be used to reference well-known + channels from winmeta.xml or to reference channels owned by other + components that this manifest will depend upon. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + Defines a channel that is used by events in this manifest and is owned + by this manifest. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + + + + + + + + + + + + Default publishing session/security if not specified explicitly by + the channel access attribute. + + + + + + + + + + + + + + + + + + + Channel logging config + + + + + + + + + + + + + Channel publishing config + + + + + + + + Amount of memory allocated for the session buffers (KB) + + + + + Number of etl files to create across enablement + + + + + Minimum number of session buffers + + + + + Maximum number of session buffers + + + + + Buffer flush interval (sec) + + + + + Clock resolution + + + + + + + + + + + + + + + + + + + + + + + + + Defines custom levels for use by this provider. Levels are used to + filter events. + + Note that winmeta.xml provides predefined levels win:LogAlways, + win:Critical, win:Error, win:Warning, win:Informational, win:Verbose. + Custom levels must use values 16-255. + + + + + + + + + + + Defines a custom level for use by this provider. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + Defines custom tasks for use by this provider. A task is a localizable + string label that can be applied to an event. + + Note that winmeta.xml provides predefined task win:None. + Custom tasks must use values 1-65535. + + + + + + + + + + + Defines a custom task for use by this provider. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + + + + Defines custom opcodes for use by this provider. An opcode is a + semantic category for certain special types of event. For example, the + Start opcode is used on events that trace the beginning of an activity, + and the Stop opcode is used on events that trace the end. + + Note that winmeta.xml provides predefined opcodes win:Info, win:Start, + win:Stop, win:DC_Start, win:DC_Stop, win:Extension, win:Reply, + win:Resume, win:Suspend, win:Send, win:Receive. Custom opcodes must use + values 10-239. + + + + + + + + + + + Defines a custom opcode for use by this provider. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + Defines custom keywords for use by this provider. A keyword is a bit + (flag) that specifies a category that an event may belong to. Keywords + are used to filter events. + + Note that winmeta.xml provides several predefined keywords. These + keywords should only be used for their described purpose. The reserved + keywords should not be used directly (mc.exe adds the reserved keywords + to events as appropriate based on the event's channel). Custom keywords + must use the low 48 bits of the keyword mask. + + + + + + + + + + + Defines a custom keyword for use by this provider. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + Each keyword must have a unique name, which is used to reference the keyword + from the events section of the manifest. + + + + + + + + Mask is a 64-bit value in which only one bit is set. Mask value cannot be zero. + The high 16 bits of the mask are reserved for definition by winmeta.xml. + + + + + + + + + + + Defines custom enumerated types (maps) for use by this provider. + + + + + + + + + + + + + + + + + + + + Defines an enumeration value for use in this value map. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + + + + + + Defines a flag value for use in this bit map. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a value for use in this pattern map. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + Use templates to describe the payload logged by an event. Many events + can share a template. + + + + + + + + + + + + + + + + + + + + Tags is a 28-bit user-defined metadata value applied to each event that uses + this template. The event producer and consumer coordinate to define the + semantics of the tags value. During event processing on Windows 10 Fall + Creators Update (2017) or later, this value can be retrieved from the + TRACE_EVENT_INFO Tags field. + + + + + + + + + + Defines the name and type of an event property (field). + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + Tags is a 28-bit user-defined metadata value applied to this property. The + event producer and consumer coordinate to define the semantics of the tags + value. During event processing on Windows 10 Fall Creators Update (2017) or + later, this value can be retrieved from the EVENT_PROPERTY_INFO Tags field. + + + + + + + + + + Defines the properties (fields) of an event structure. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + Tags is a 28-bit user-defined metadata value applied to this property. The + event producer and consumer coordinate to define the semantics of the tags + value. During event processing on Windows 10 Fall Creators Update (2017) or + later, this value can be retrieved from the EVENT_PROPERTY_INFO Tags field. + + + + + + + + + Represents binary data in classic eventlog API + + + + + + + + + + + + + + Defines the events logged by this provider. + + + + + + + + + + + Defines the event's value (ID), name, level, keywords, fields, etc. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + Also referred to as the Event-Id. A manifest-based ETW event is uniquely + identified by the {Provider-Guid,Event-Id,Event-Version} tuple. + + + + + + + Non-localized event name. During event processing on Windows 10 Fall + Creators Update (2017) or later, this value can be retrieved from the + TRACE_EVENT_INFO EventNameOffset field. + + + + + + + Non-localized event attributes. This should be a semicolon-delimited list of + name=value attributes associated with the event. During event processing on + Windows 10 Fall Creators Update (2017) or later, this value can be retrieved + from the TRACE_EVENT_INFO EventAttributesOffset field. + + Defined attributes include: + FILE=Filename of source code associated with event; + LINE=Line number of source code associated with event; + FUNC=Function name associated with event; + MJ=Major component associated with event (component name); + MN=Minor component associated with event (subcomponent name). + Values containing semicolons or double-quotes should be quoted using + double-quotes; double-quotes within the value should be doubled. Example: + attributes='FILE=source.cpp;LINE=123;MJ="Value; ""Quoted"""' + + Note that most of these attributes are intended for use with tool-generated + manifests and may not be appropriate for use with hand-maintained manifests. For + example, the FILE ane LINE attributes are not generally appropriate for use in + a hand-maintained manifest, since a single event might be emitted from multiple + source code locations and the source code locations will change over time. The + FILE and LINE attributes are intended for use in cases where the manifest is + regenerated (with a new GUID) by a code generation tool each time the source + code changes. + + + + + + + Reference to the name of a predefined level (from winmeta.xml) or the name of a + custom level (defined in the <levels> section). If not specified, the + event's level will default to "LogAlways". + + Event level is a primary filtering attribute. All events should be assigned + a meaningful level (win:Critical, win:Error, win:Warning, win:Informational, + or win:Verbose) to support effective filtering during event collection. + + + + + + + + + Reference to the name of a custom level defined in the <keywords> section. + If not specified, the event will have no keywords set and will bypass most + keyword-based event filtering. + + Event keyword is a primary filtering attribute. All events should be assigned + at least one meaningful keyword to support effective filtering during event + collection. + + + + + + + + + + Increment the version of an event if its template is modified. + + + + + + + + Use this to indicate that this event has been removed and will not be logged + by this version of the provider. The description of the event should be retained + in this manifest so that if an etl file collected from an older version of the + provider on a different machine is brought to this machine, it can be correctly + decoded on this machine. + + + + + + + Use this to indicate that the template associated with this event contains + valid WinRT types i.e. the event payload fields can come from arguments + of projected WinRT methods. This attribute will be used if generating code + for WinRT projection APIs. + + + + + + + + + Defines a set of custom filters for use in this provider. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + Defines a custom filter for use in this provider. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + Specifies values for this provider's provider traits. The provider traits + consist of a small binary blob that is registered with the ETW runtime via + EventSetInformation and included with each call to EventWrite. The traits + blob contains information about a provider's name, decode GUID, and group + GUID. + + When provider traits are needed (i.e. when the provider has different values + for its control GUID and its decode GUID or when the traits element is + present), the MC tool's -um or -km codegen will generate a provider traits + blob, will generate code to automatically register the blob as part of + EventRegister, and will include the blob in each call to EventWrite. + + + + + + Optional. Default is false. If true, the provider's name will be included + in the provider traits. If false, the provider's name will be left blank + to reduce the size of the trace file. Including the provider name makes it + possible to filter an event by provider name. + + + + + + + Optional. Specifies that this provider is a member of the specified provider + group. By default, the provider is not a member of any provider group. + + + + + + + + + + + + + + + + + + Decimal or hexadecimal message ID. Decimal should have no leading 0s. + Hexadecimal requires '0x' prefix. + + + + + + + Deprecated. Specifies an alias for this string table entry. + + + + + + + + + + + + + Contains one or more resource tables, each of which contains resources + for a single locale. + + + + + + + + + This attribute is not used. + + + + + + + + + Contains resources for a single locale. + + + + + + + + + Specify the locale of the resources using a Windows locale name, e.g. + "en-US". Locale name syntax is documented in MSDN topics such as + "locale names" and "LocaleNameToLCID". + + + + + + + + + + Localized values of strings referenced in MESSAGETABLE strings and ETW + providers. + + + + + + + + + + + + Defines the localized value of a string referenced by an event or a + message table in this manifest. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + The stringTableId of the string reference in the ETW provider or the + MESSAGETABLE string. For example, if a string is referenced as + "$(string.MyString1)" then the id would be "MyString1". + + + + + + + The localized string. + + + + + + + Not used by Windows or mc.exe. This attribute can be used to describe + the usage of the string to aid in tracking and localization. + + + + + + + + + + + Used only by the Microsoft-provided WinMeta.xml file. + + WinMeta.xml uses this element to document ETW facilities that are built + into the Windows operating system or are commonly used by ETW decoding + tools. This includes the definitions of the property types supported by + TDH APIs as well as Microsoft-defined constants for well-known event + levels, opcodes, and channels. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Declares an outType supported by Windows. An outType is a sub-type that + extends the inType with additional semantics and presentation details + for a property of an ETW event. For example, a property could have + inType "AnsiString" (indicating nul-terminated CHAR8 string) and + outType "Utf8" (indicating UTF-8 character encoding). + + + + + + + + + + + + + + + + + + + + + Declares an inType supported by Windows. An inType is the type of a + property of an ETW event. Every ETW event property declares an inType. + The inType fully defines the mechanism for determining the size of a + property and also gives a general idea of how the property's value + should be interpreted. For example, an inType "Int16" indicates the + size is 2 and the property should be interpreted as a signed 16-bit + integer. + + Each inType has a set of outTypes that are supported for use with it. + The outType adds semantics or presentation details to the inType. For + example, the inType "UInt16" can be used with outType "Port" to + indicate that an event property is a big-endian 16-bit Internet + protocol port number. + + Each inType specifies one outType as "default", indicating the behavior + that should be used when an ETW property uses the inType but does not + specify an outType. + + + + + + + + + + + + + + + + Declares that Windows supports the use of the specified outType with + this inType. + + Note that only the attributes of this element are significant. The text + content of this element is not used by mc.exe. + + + + + + + + + + + + + + + + + + Deprecated. Specifies an alias for this string table entry. + + + + + + + + + + + + + A globally unique identifier in Registry format, + e.g. {12345678-4321-ABCD-1234-9ABCDEF012345678}. + Use GUIDGen.exe or UUIDGen.exe to create a GUID. + + + + + + + + + + + Symbol is used for code-generation. It should be a valid C Symbol or an empty string. + + + + + + + + + + + Is used for code-generation on namespaces which should be valid C++ symbols. + E.g. Namespace1._Namespace2.Namespace2 + + + + + + + + + + 1-2 hexadecimal digits with '0x' prefix. + + + + + + + + + 1-4 hexadecimal digits with '0x' prefix. + + + + + + + + + 1-8 hexadecimal digits with '0x' prefix. + + + + + + + + + 1-16 hexadecimal digits with '0x' prefix. + + + + + + + + + + 8-bit unsigned decimal or hexadecimal integer. Decimal should have no + leading 0s. Hexadecimal requires '0x' prefix. + + + + + + + + + 16-bit unsigned decimal or hexadecimal integer. Decimal should have no + leading 0s. Hexadecimal requires '0x' prefix. + + + + + + + + + 32-bit unsigned decimal or hexadecimal integer. Decimal should have no + leading 0s. Hexadecimal requires '0x' prefix. + + + + + + + + + 64-bit unsigned decimal or hexadecimal integer. Decimal should have no + leading 0s. Hexadecimal requires '0x' prefix. + + + + + + + + + For a constant-Length property, specify the value (decimal). + For a variable-Length property, specify the name of the property that + will have the length of this property. + + Length is required for "Binary" properties. It indicates the size (in + bytes) of the property value. + + Length is optional for "UnicodeString" and "AnsiString" properties. If + present, Length indicates the size (in characters) of the property + value. If Length is not present, the property is assumed to be + nul-terminated. + + Length is not used for other inTypes. Other inTypes either use a + well-known constant size (e.g. Int32 length is 4) or encode the size + within the value (e.g. nul-terminated strings end at the first 0 + character, and "counted" values start with a 16-bit size). + + In the case of an array (i.e. when the property has a Count), the same + Length value applies to all elements of the array. As a result, it is + not generally useful to create an array of variable-Length properties. + + Note that some decoders only recognize Length properties that + immediately precede the corresponding variable-Length property. + + + + + + + + + For constant-Count array, specify the value (decimal). + For variable-Count array, specify the name of the property that will + have the count of this property. + + Note that some decoders will treat Count="0" as an error, and some + decoders will treat Count="1" as non-array. + + Note that some decoders only recognize Count properties that + immediately precede the corresponding variable-Count property. + + + + + + + + + A reference to a localized string value provided elsewhere. The value + of this attribute should be of the form "$(string.stringTableId)", + where stringTableId is the "id" attribute of a <string> element + defined in the <stringTable> section, or of the form + "$(mc.mcSymbolId)", where mcSymbolId is the symbol of a message string + defined in an .mc file compiled along with this manifest. + + + + + + + + + + + A fully-qualified path to a file. Standard Windows environment variables are + allowed. Typically, the file is of type .exe, .dll, or .sys. + + + + + + + + + Space-separated list of keywords. To support consistent event + filtering, all events should have at least one keyword assigned. + + + + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evntcons.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evntcons.h new file mode 100644 index 0000000000000000000000000000000000000000..5c058be115af1a6ef6b624d3c22de9913933c818 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evntcons.h @@ -0,0 +1,373 @@ + +/*++ + +Copyright 2004 (c) Microsoft Corporation. All rights reserved. + +Module Name: + + evntcons.h + +Abstract: + + This defines the event consumer API + +Revision History: + + Insung Park (insungp) 26-Aug-2004 + Created the file. + +--*/ + +#ifndef _EVNTCONS_H_ +#define _EVNTCONS_H_ + +#pragma once +#include + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +#include +#include +#include + +#ifndef EVNTCONS_INLINE +#define EVNTCONS_INLINE __inline +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#if defined (_MSC_VER) +#if _MSC_VER >= 1200 +#pragma warning(push) +#pragma warning(disable:4820) // padding added +#endif +#pragma warning(disable:4201) // nonstandard extension used : nameless struct/union +#pragma warning(disable:4214) // nonstandard extension used : bit field types other then int +#endif + +#define EVENT_HEADER_EXT_TYPE_RELATED_ACTIVITYID 0x0001 +#define EVENT_HEADER_EXT_TYPE_SID 0x0002 +#define EVENT_HEADER_EXT_TYPE_TS_ID 0x0003 +#define EVENT_HEADER_EXT_TYPE_INSTANCE_INFO 0x0004 +#define EVENT_HEADER_EXT_TYPE_STACK_TRACE32 0x0005 +#define EVENT_HEADER_EXT_TYPE_STACK_TRACE64 0x0006 +#define EVENT_HEADER_EXT_TYPE_PEBS_INDEX 0x0007 +#define EVENT_HEADER_EXT_TYPE_PMC_COUNTERS 0x0008 +#define EVENT_HEADER_EXT_TYPE_PSM_KEY 0x0009 +#define EVENT_HEADER_EXT_TYPE_EVENT_KEY 0x000A +#define EVENT_HEADER_EXT_TYPE_EVENT_SCHEMA_TL 0x000B +#define EVENT_HEADER_EXT_TYPE_PROV_TRAITS 0x000C +#define EVENT_HEADER_EXT_TYPE_PROCESS_START_KEY 0x000D +#define EVENT_HEADER_EXT_TYPE_CONTROL_GUID 0x000E +#define EVENT_HEADER_EXT_TYPE_QPC_DELTA 0x000F +#define EVENT_HEADER_EXT_TYPE_CONTAINER_ID 0x0010 +#define EVENT_HEADER_EXT_TYPE_STACK_KEY32 0x0011 +#define EVENT_HEADER_EXT_TYPE_STACK_KEY64 0x0012 +#define EVENT_HEADER_EXT_TYPE_MAX 0x0013 + +#ifndef EVENT_HEADER_EXTENDED_DATA_ITEM_DEF +#define EVENT_HEADER_EXTENDED_DATA_ITEM_DEF +typedef struct _EVENT_HEADER_EXTENDED_DATA_ITEM { + + USHORT Reserved1; // Reserved for internal use + USHORT ExtType; // Extended info type + struct { + USHORT Linkage : 1; // Indicates additional extended + // data item + USHORT Reserved2 : 15; + }; + USHORT DataSize; // Size of extended info data + ULONGLONG DataPtr; // Pointer to extended info data + +} EVENT_HEADER_EXTENDED_DATA_ITEM, *PEVENT_HEADER_EXTENDED_DATA_ITEM; +#endif + +// +// Structures for extended items. +// + +typedef struct _EVENT_EXTENDED_ITEM_INSTANCE { + ULONG InstanceId; + ULONG ParentInstanceId; + GUID ParentGuid; +} EVENT_EXTENDED_ITEM_INSTANCE, *PEVENT_EXTENDED_ITEM_INSTANCE; + +typedef struct _EVENT_EXTENDED_ITEM_RELATED_ACTIVITYID { + GUID RelatedActivityId; +} EVENT_EXTENDED_ITEM_RELATED_ACTIVITYID, *PEVENT_EXTENDED_ITEM_RELATED_ACTIVITYID; + +typedef struct _EVENT_EXTENDED_ITEM_TS_ID { + ULONG SessionId; +} EVENT_EXTENDED_ITEM_TS_ID, *PEVENT_EXTENDED_ITEM_TS_ID; + +typedef struct _EVENT_EXTENDED_ITEM_STACK_TRACE32 { + ULONG64 MatchId; + ULONG Address[ANYSIZE_ARRAY]; +} EVENT_EXTENDED_ITEM_STACK_TRACE32, *PEVENT_EXTENDED_ITEM_STACK_TRACE32; + +typedef struct _EVENT_EXTENDED_ITEM_STACK_TRACE64 { + ULONG64 MatchId; + ULONG64 Address[ANYSIZE_ARRAY]; +} EVENT_EXTENDED_ITEM_STACK_TRACE64, *PEVENT_EXTENDED_ITEM_STACK_TRACE64; + +typedef struct _EVENT_EXTENDED_ITEM_STACK_KEY32 { + ULONG64 MatchId; + ULONG StackKey; + ULONG Padding; +} EVENT_EXTENDED_ITEM_STACK_KEY32, *PEVENT_EXTENDED_ITEM_STACK_KEY32; + +typedef struct _EVENT_EXTENDED_ITEM_STACK_KEY64 { + ULONG64 MatchId; + ULONG64 StackKey; +} EVENT_EXTENDED_ITEM_STACK_KEY64, *PEVENT_EXTENDED_ITEM_STACK_KEY64; + +typedef struct _EVENT_EXTENDED_ITEM_PEBS_INDEX { + ULONG64 PebsIndex; +} EVENT_EXTENDED_ITEM_PEBS_INDEX, *PEVENT_EXTENDED_ITEM_PEBS_INDEX; + +typedef struct _EVENT_EXTENDED_ITEM_PMC_COUNTERS { + ULONG64 Counter[ANYSIZE_ARRAY]; +} EVENT_EXTENDED_ITEM_PMC_COUNTERS, *PEVENT_EXTENDED_ITEM_PMC_COUNTERS; + +typedef struct _EVENT_EXTENDED_ITEM_PROCESS_START_KEY { + ULONG64 ProcessStartKey; +} EVENT_EXTENDED_ITEM_PROCESS_START_KEY, *PEVENT_EXTENDED_ITEM_PROCESS_START_KEY; + +typedef struct _EVENT_EXTENDED_ITEM_EVENT_KEY { + ULONG64 Key; +} EVENT_EXTENDED_ITEM_EVENT_KEY, *PEVENT_EXTENDED_ITEM_EVENT_KEY; + +#define EVENT_HEADER_PROPERTY_XML 0x0001 +#define EVENT_HEADER_PROPERTY_FORWARDED_XML 0x0002 +#define EVENT_HEADER_PROPERTY_LEGACY_EVENTLOG 0x0004 +#define EVENT_HEADER_PROPERTY_RELOGGABLE 0x0008 + +#define EVENT_HEADER_FLAG_EXTENDED_INFO 0x0001 +#define EVENT_HEADER_FLAG_PRIVATE_SESSION 0x0002 +#define EVENT_HEADER_FLAG_STRING_ONLY 0x0004 +#define EVENT_HEADER_FLAG_TRACE_MESSAGE 0x0008 +#define EVENT_HEADER_FLAG_NO_CPUTIME 0x0010 +#define EVENT_HEADER_FLAG_32_BIT_HEADER 0x0020 +#define EVENT_HEADER_FLAG_64_BIT_HEADER 0x0040 +#define EVENT_HEADER_FLAG_DECODE_GUID 0x0080 // ProviderId is decode GUID. +#define EVENT_HEADER_FLAG_CLASSIC_HEADER 0x0100 +#define EVENT_HEADER_FLAG_PROCESSOR_INDEX 0x0200 + +#ifndef EVENT_HEADER_DEF +#define EVENT_HEADER_DEF +typedef struct _EVENT_HEADER { + + USHORT Size; // Event Size + USHORT HeaderType; // Header Type + USHORT Flags; // Flags + USHORT EventProperty; // User given event property + ULONG ThreadId; // Thread Id + ULONG ProcessId; // Process Id + LARGE_INTEGER TimeStamp; // Event Timestamp + GUID ProviderId; // Provider Id + EVENT_DESCRIPTOR EventDescriptor; // Event Descriptor + union { + struct { + ULONG KernelTime; // Kernel Mode CPU ticks + ULONG UserTime; // User mode CPU ticks + } DUMMYSTRUCTNAME; + ULONG64 ProcessorTime; // Processor Clock + // for private session events + } DUMMYUNIONNAME; + GUID ActivityId; // Activity Id + +} EVENT_HEADER, *PEVENT_HEADER; +#endif + +#ifndef EVENT_RECORD_DEF +#define EVENT_RECORD_DEF +typedef struct _EVENT_RECORD { + + EVENT_HEADER EventHeader; // Event header + ETW_BUFFER_CONTEXT BufferContext; // Buffer context + USHORT ExtendedDataCount; // Number of extended + // data items + USHORT UserDataLength; // User data length + PEVENT_HEADER_EXTENDED_DATA_ITEM // Pointer to an array of + ExtendedData; // extended data items + PVOID UserData; // Pointer to user data + PVOID UserContext; // Context from OpenTrace +} EVENT_RECORD, *PEVENT_RECORD; + +typedef const EVENT_RECORD *PCEVENT_RECORD; +#endif + +#define EVENT_ENABLE_PROPERTY_SID 0x00000001 +#define EVENT_ENABLE_PROPERTY_TS_ID 0x00000002 +#define EVENT_ENABLE_PROPERTY_STACK_TRACE 0x00000004 +#define EVENT_ENABLE_PROPERTY_PSM_KEY 0x00000008 +#define EVENT_ENABLE_PROPERTY_IGNORE_KEYWORD_0 0x00000010 +#define EVENT_ENABLE_PROPERTY_PROVIDER_GROUP 0x00000020 +#define EVENT_ENABLE_PROPERTY_ENABLE_KEYWORD_0 0x00000040 +#define EVENT_ENABLE_PROPERTY_PROCESS_START_KEY 0x00000080 +#define EVENT_ENABLE_PROPERTY_EVENT_KEY 0x00000100 +#define EVENT_ENABLE_PROPERTY_EXCLUDE_INPRIVATE 0x00000200 +#define EVENT_ENABLE_PROPERTY_ENABLE_SILOS 0x00000400 +#define EVENT_ENABLE_PROPERTY_SOURCE_CONTAINER_TRACKING 0x00000800 + +// +// Consumer API +// + +#define PROCESS_TRACE_MODE_REAL_TIME 0x00000100 +#define PROCESS_TRACE_MODE_RAW_TIMESTAMP 0x00001000 +#define PROCESS_TRACE_MODE_EVENT_RECORD 0x10000000 + +EVNTCONS_INLINE +ULONG +GetEventProcessorIndex ( + _In_ PCEVENT_RECORD EventRecord + ) +{ + if ((EventRecord->EventHeader.Flags & EVENT_HEADER_FLAG_PROCESSOR_INDEX) != 0) { + return EventRecord->BufferContext.ProcessorIndex; + + } else { + return EventRecord->BufferContext.ProcessorNumber; + } +} + +// +// Provider Trait APIs +// + +typedef enum { + EtwProviderTraitTypeGroup = 1, // Provider group GUID. + EtwProviderTraitDecodeGuid = 2, // Decode GUID (when different from control GUID) + EtwProviderTraitTypeMax +} ETW_PROVIDER_TRAIT_TYPE; + +EVNTCONS_INLINE +VOID +EtwGetTraitFromProviderTraits( + _In_ PVOID ProviderTraits, + _In_ UCHAR TraitType, + _Out_ PVOID* Trait, + _Out_ PUSHORT Size + ) +{ + USHORT const ByteCount = *(USHORT UNALIGNED*)ProviderTraits; + PUCHAR Ptr = (PUCHAR)ProviderTraits; + UCHAR const* PtrEnd = Ptr + ByteCount; + + *Trait = NULL; + *Size = 0; + + // + // Abort on invalid size. + // + + if (ByteCount < 3) { + return; + } + + // + // Skip byte counts + // + + Ptr += 2; + + // + // Skip the Provider Name, including the Null termination + // + + Ptr += strnlen((PCSTR)Ptr, ByteCount - 3u); + Ptr += 1; + + // + // Loop through the rest of the traits until one of the + // desired type is located. + // + + while (Ptr < PtrEnd) { + USHORT const TraitByteCount = *(USHORT const UNALIGNED*)Ptr; + + // + // Abort on invalid trait size. + // + + if (TraitByteCount < 3) { + return; + } + + if ((Ptr[2] == TraitType) && + (Ptr + TraitByteCount <= PtrEnd)) { + + *Trait = (PVOID)(Ptr + 3); + *Size = TraitByteCount - 3u; + return; + } + + Ptr += TraitByteCount; + } + + return; +} + +// +// Event Security APIs +// + +typedef enum { + EventSecuritySetDACL, + EventSecuritySetSACL, + EventSecurityAddDACL, + EventSecurityAddSACL, + EventSecurityMax +} EVENTSECURITYOPERATION; + +#if (WINVER >= _WIN32_WINNT_LONGHORN) +ULONG +EVNTAPI +EventAccessControl( + _In_ LPGUID Guid, + _In_ ULONG Operation, + _In_ PSID Sid, + _In_ ULONG Rights, + _In_ BOOLEAN AllowOrDeny + ); +#endif + +#if (WINVER >= _WIN32_WINNT_LONGHORN) +ULONG +EVNTAPI +EventAccessQuery( + _In_ LPGUID Guid, + _Out_writes_bytes_opt_(*BufferSize) PSECURITY_DESCRIPTOR Buffer, + _Inout_ PULONG BufferSize + ); +#endif + +#if (WINVER >= _WIN32_WINNT_LONGHORN) +ULONG +EVNTAPI +EventAccessRemove( + _In_ LPGUID Guid + ); +#endif + +#if defined (_MSC_VER) +#if _MSC_VER >= 1200 +#pragma warning(pop) // restore 4201,4214 +#else +#pragma warning(default:4201) // nonstandard extension used : nameless struct/union +#pragma warning(default:4214) // nonstandard extension used : bit field types other then int +#endif +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#endif diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr.h new file mode 100644 index 0000000000000000000000000000000000000000..23ac386591993375096d69e1b726204d15419f3a --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr.h @@ -0,0 +1,2000 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __evr_h__ +#define __evr_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IMFVideoPositionMapper_FWD_DEFINED__ +#define __IMFVideoPositionMapper_FWD_DEFINED__ +typedef interface IMFVideoPositionMapper IMFVideoPositionMapper; + +#endif /* __IMFVideoPositionMapper_FWD_DEFINED__ */ + + +#ifndef __IMFVideoDeviceID_FWD_DEFINED__ +#define __IMFVideoDeviceID_FWD_DEFINED__ +typedef interface IMFVideoDeviceID IMFVideoDeviceID; + +#endif /* __IMFVideoDeviceID_FWD_DEFINED__ */ + + +#ifndef __IMFVideoDisplayControl_FWD_DEFINED__ +#define __IMFVideoDisplayControl_FWD_DEFINED__ +typedef interface IMFVideoDisplayControl IMFVideoDisplayControl; + +#endif /* __IMFVideoDisplayControl_FWD_DEFINED__ */ + + +#ifndef __IMFVideoPresenter_FWD_DEFINED__ +#define __IMFVideoPresenter_FWD_DEFINED__ +typedef interface IMFVideoPresenter IMFVideoPresenter; + +#endif /* __IMFVideoPresenter_FWD_DEFINED__ */ + + +#ifndef __IMFDesiredSample_FWD_DEFINED__ +#define __IMFDesiredSample_FWD_DEFINED__ +typedef interface IMFDesiredSample IMFDesiredSample; + +#endif /* __IMFDesiredSample_FWD_DEFINED__ */ + + +#ifndef __IMFVideoMixerControl_FWD_DEFINED__ +#define __IMFVideoMixerControl_FWD_DEFINED__ +typedef interface IMFVideoMixerControl IMFVideoMixerControl; + +#endif /* __IMFVideoMixerControl_FWD_DEFINED__ */ + + +#ifndef __IMFVideoMixerControl2_FWD_DEFINED__ +#define __IMFVideoMixerControl2_FWD_DEFINED__ +typedef interface IMFVideoMixerControl2 IMFVideoMixerControl2; + +#endif /* __IMFVideoMixerControl2_FWD_DEFINED__ */ + + +#ifndef __IMFVideoRenderer_FWD_DEFINED__ +#define __IMFVideoRenderer_FWD_DEFINED__ +typedef interface IMFVideoRenderer IMFVideoRenderer; + +#endif /* __IMFVideoRenderer_FWD_DEFINED__ */ + + +#ifndef __IEVRFilterConfig_FWD_DEFINED__ +#define __IEVRFilterConfig_FWD_DEFINED__ +typedef interface IEVRFilterConfig IEVRFilterConfig; + +#endif /* __IEVRFilterConfig_FWD_DEFINED__ */ + + +#ifndef __IEVRFilterConfigEx_FWD_DEFINED__ +#define __IEVRFilterConfigEx_FWD_DEFINED__ +typedef interface IEVRFilterConfigEx IEVRFilterConfigEx; + +#endif /* __IEVRFilterConfigEx_FWD_DEFINED__ */ + + +#ifndef __IMFTopologyServiceLookup_FWD_DEFINED__ +#define __IMFTopologyServiceLookup_FWD_DEFINED__ +typedef interface IMFTopologyServiceLookup IMFTopologyServiceLookup; + +#endif /* __IMFTopologyServiceLookup_FWD_DEFINED__ */ + + +#ifndef __IMFTopologyServiceLookupClient_FWD_DEFINED__ +#define __IMFTopologyServiceLookupClient_FWD_DEFINED__ +typedef interface IMFTopologyServiceLookupClient IMFTopologyServiceLookupClient; + +#endif /* __IMFTopologyServiceLookupClient_FWD_DEFINED__ */ + + +#ifndef __IEVRTrustedVideoPlugin_FWD_DEFINED__ +#define __IEVRTrustedVideoPlugin_FWD_DEFINED__ +typedef interface IEVRTrustedVideoPlugin IEVRTrustedVideoPlugin; + +#endif /* __IEVRTrustedVideoPlugin_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "unknwn.h" +#include "propidl.h" +#include "mfidl.h" +#include "strmif.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_evr_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#if defined(__midl) +typedef +enum _D3DFORMAT + { + D3DFMT_UNKNOWN = 0, + D3DFMT_R8G8B8 = 20, + D3DFMT_A8R8G8B8 = 21, + D3DFMT_X8R8G8B8 = 22, + D3DFMT_R5G6B5 = 23, + D3DFMT_X1R5G5B5 = 24, + D3DFMT_A1R5G5B5 = 25, + D3DFMT_A4R4G4B4 = 26, + D3DFMT_R3G3B2 = 27, + D3DFMT_A8 = 28, + D3DFMT_A8R3G3B2 = 29, + D3DFMT_X4R4G4B4 = 30, + D3DFMT_A2B10G10R10 = 31, + D3DFMT_G16R16 = 34, + D3DFMT_A8P8 = 40, + D3DFMT_P8 = 41, + D3DFMT_L8 = 50, + D3DFMT_A8L8 = 51, + D3DFMT_A4L4 = 52, + D3DFMT_V8U8 = 60, + D3DFMT_L6V5U5 = 61, + D3DFMT_X8L8V8U8 = 62, + D3DFMT_Q8W8V8U8 = 63, + D3DFMT_V16U16 = 64, + D3DFMT_W11V11U10 = 65, + D3DFMT_A2W10V10U10 = 67, + D3DFMT_D16_LOCKABLE = 70, + D3DFMT_D32 = 71, + D3DFMT_D15S1 = 73, + D3DFMT_D24S8 = 75, + D3DFMT_D16 = 80, + D3DFMT_D24X8 = 77, + D3DFMT_D24X4S4 = 79, + D3DFMT_VERTEXDATA = 100, + D3DFMT_INDEX16 = 101, + D3DFMT_INDEX32 = 102, + D3DFMT_FORCE_DWORD = 0x7fffffff + } D3DFORMAT; + +#endif // __midl +DEFINE_GUID(MR_VIDEO_RENDER_SERVICE, + 0x1092a86c, + 0xab1a, + 0x459a, + 0xa3, 0x36, 0x83, 0x1f, 0xbc, 0x4d, 0x11, 0xff +); +DEFINE_GUID(MR_VIDEO_MIXER_SERVICE, + 0x73cd2fc, + 0x6cf4, + 0x40b7, + 0x88, 0x59, 0xe8, 0x95, 0x52, 0xc8, 0x41, 0xf8 +); +DEFINE_GUID(MR_VIDEO_ACCELERATION_SERVICE, + 0xefef5175, + 0x5c7d, + 0x4ce2, + 0xbb, 0xbd, 0x34, 0xff, 0x8b, 0xca, 0x65, 0x54 +); +DEFINE_GUID(MR_BUFFER_SERVICE, + 0xa562248c, + 0x9ac6, + 0x4ffc, + 0x9f, 0xba, 0x3a, 0xf8, 0xf8, 0xad, 0x1a, 0x4d +); +DEFINE_GUID(VIDEO_ZOOM_RECT, + 0x7aaa1638, + 0x1b7f, + 0x4c93, + 0xbd, 0x89, 0x5b, 0x9c, 0x9f, 0xb6, 0xfc, 0xf0 +); + + + + + + + + + + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0000_v0_0_s_ifspec; + +#ifndef __IMFVideoPositionMapper_INTERFACE_DEFINED__ +#define __IMFVideoPositionMapper_INTERFACE_DEFINED__ + +/* interface IMFVideoPositionMapper */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoPositionMapper; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("1F6A9F17-E70B-4e24-8AE4-0B2C3BA7A4AE") + IMFVideoPositionMapper : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE MapOutputCoordinateToInputStream( + /* [in] */ float xOut, + /* [in] */ float yOut, + /* [in] */ DWORD dwOutputStreamIndex, + /* [in] */ DWORD dwInputStreamIndex, + /* [annotation][out] */ + _Out_ float *pxIn, + /* [annotation][out] */ + _Out_ float *pyIn) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoPositionMapperVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFVideoPositionMapper * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFVideoPositionMapper * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFVideoPositionMapper * This); + + DECLSPEC_XFGVIRT(IMFVideoPositionMapper, MapOutputCoordinateToInputStream) + HRESULT ( STDMETHODCALLTYPE *MapOutputCoordinateToInputStream )( + IMFVideoPositionMapper * This, + /* [in] */ float xOut, + /* [in] */ float yOut, + /* [in] */ DWORD dwOutputStreamIndex, + /* [in] */ DWORD dwInputStreamIndex, + /* [annotation][out] */ + _Out_ float *pxIn, + /* [annotation][out] */ + _Out_ float *pyIn); + + END_INTERFACE + } IMFVideoPositionMapperVtbl; + + interface IMFVideoPositionMapper + { + CONST_VTBL struct IMFVideoPositionMapperVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoPositionMapper_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoPositionMapper_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoPositionMapper_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoPositionMapper_MapOutputCoordinateToInputStream(This,xOut,yOut,dwOutputStreamIndex,dwInputStreamIndex,pxIn,pyIn) \ + ( (This)->lpVtbl -> MapOutputCoordinateToInputStream(This,xOut,yOut,dwOutputStreamIndex,dwInputStreamIndex,pxIn,pyIn) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoPositionMapper_INTERFACE_DEFINED__ */ + + +#ifndef __IMFVideoDeviceID_INTERFACE_DEFINED__ +#define __IMFVideoDeviceID_INTERFACE_DEFINED__ + +/* interface IMFVideoDeviceID */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoDeviceID; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("A38D9567-5A9C-4f3c-B293-8EB415B279BA") + IMFVideoDeviceID : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetDeviceID( + /* [annotation][out] */ + _Out_ IID *pDeviceID) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoDeviceIDVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFVideoDeviceID * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFVideoDeviceID * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFVideoDeviceID * This); + + DECLSPEC_XFGVIRT(IMFVideoDeviceID, GetDeviceID) + HRESULT ( STDMETHODCALLTYPE *GetDeviceID )( + IMFVideoDeviceID * This, + /* [annotation][out] */ + _Out_ IID *pDeviceID); + + END_INTERFACE + } IMFVideoDeviceIDVtbl; + + interface IMFVideoDeviceID + { + CONST_VTBL struct IMFVideoDeviceIDVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoDeviceID_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoDeviceID_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoDeviceID_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoDeviceID_GetDeviceID(This,pDeviceID) \ + ( (This)->lpVtbl -> GetDeviceID(This,pDeviceID) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoDeviceID_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr_0000_0002 */ +/* [local] */ + +typedef +enum MFVideoAspectRatioMode + { + MFVideoARMode_None = 0, + MFVideoARMode_PreservePicture = 0x1, + MFVideoARMode_PreservePixel = 0x2, + MFVideoARMode_NonLinearStretch = 0x4, + MFVideoARMode_Mask = 0x7 + } MFVideoAspectRatioMode; + +typedef +enum MFVideoRenderPrefs + { + MFVideoRenderPrefs_DoNotRenderBorder = 0x1, + MFVideoRenderPrefs_DoNotClipToDevice = 0x2, + MFVideoRenderPrefs_AllowOutputThrottling = 0x4, + MFVideoRenderPrefs_ForceOutputThrottling = 0x8, + MFVideoRenderPrefs_ForceBatching = 0x10, + MFVideoRenderPrefs_AllowBatching = 0x20, + MFVideoRenderPrefs_ForceScaling = 0x40, + MFVideoRenderPrefs_AllowScaling = 0x80, + MFVideoRenderPrefs_DoNotRepaintOnStop = 0x100, + MFVideoRenderPrefs_Mask = 0x1ff + } MFVideoRenderPrefs; + +#ifndef _MFVideoNormalizedRect_ +#define _MFVideoNormalizedRect_ +typedef struct MFVideoNormalizedRect + { + float left; + float top; + float right; + float bottom; + } MFVideoNormalizedRect; + +#endif + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0002_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0002_v0_0_s_ifspec; + +#ifndef __IMFVideoDisplayControl_INTERFACE_DEFINED__ +#define __IMFVideoDisplayControl_INTERFACE_DEFINED__ + +/* interface IMFVideoDisplayControl */ +/* [helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoDisplayControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a490b1e4-ab84-4d31-a1b2-181e03b1077a") + IMFVideoDisplayControl : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetNativeVideoSize( + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszVideo, + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszARVideo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetIdealVideoSize( + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszMin, + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszMax) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoPosition( + /* [unique][in] */ __RPC__in_opt const MFVideoNormalizedRect *pnrcSource, + /* [unique][in] */ __RPC__in_opt const LPRECT prcDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoPosition( + /* [out] */ __RPC__out MFVideoNormalizedRect *pnrcSource, + /* [out] */ __RPC__out LPRECT prcDest) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetAspectRatioMode( + /* [in] */ DWORD dwAspectRatioMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAspectRatioMode( + /* [out] */ __RPC__out DWORD *pdwAspectRatioMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoWindow( + /* [in] */ __RPC__in HWND hwndVideo) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoWindow( + /* [out] */ __RPC__deref_out_opt HWND *phwndVideo) = 0; + + virtual HRESULT STDMETHODCALLTYPE RepaintVideo( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentImage( + /* [out][in] */ __RPC__inout BITMAPINFOHEADER *pBih, + /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*pcbDib) BYTE **pDib, + /* [out] */ __RPC__out DWORD *pcbDib, + /* [unique][out][in] */ __RPC__inout_opt LONGLONG *pTimeStamp) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBorderColor( + /* [in] */ COLORREF Clr) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBorderColor( + /* [out] */ __RPC__out COLORREF *pClr) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetRenderingPrefs( + /* [in] */ DWORD dwRenderFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRenderingPrefs( + /* [out] */ __RPC__out DWORD *pdwRenderFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFullscreen( + /* [in] */ BOOL fFullscreen) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFullscreen( + /* [out] */ __RPC__out BOOL *pfFullscreen) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoDisplayControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IMFVideoDisplayControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IMFVideoDisplayControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IMFVideoDisplayControl * This); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetNativeVideoSize) + HRESULT ( STDMETHODCALLTYPE *GetNativeVideoSize )( + __RPC__in IMFVideoDisplayControl * This, + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszVideo, + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszARVideo); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetIdealVideoSize) + HRESULT ( STDMETHODCALLTYPE *GetIdealVideoSize )( + __RPC__in IMFVideoDisplayControl * This, + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszMin, + /* [unique][out][in] */ __RPC__inout_opt SIZE *pszMax); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, SetVideoPosition) + HRESULT ( STDMETHODCALLTYPE *SetVideoPosition )( + __RPC__in IMFVideoDisplayControl * This, + /* [unique][in] */ __RPC__in_opt const MFVideoNormalizedRect *pnrcSource, + /* [unique][in] */ __RPC__in_opt const LPRECT prcDest); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetVideoPosition) + HRESULT ( STDMETHODCALLTYPE *GetVideoPosition )( + __RPC__in IMFVideoDisplayControl * This, + /* [out] */ __RPC__out MFVideoNormalizedRect *pnrcSource, + /* [out] */ __RPC__out LPRECT prcDest); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, SetAspectRatioMode) + HRESULT ( STDMETHODCALLTYPE *SetAspectRatioMode )( + __RPC__in IMFVideoDisplayControl * This, + /* [in] */ DWORD dwAspectRatioMode); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetAspectRatioMode) + HRESULT ( STDMETHODCALLTYPE *GetAspectRatioMode )( + __RPC__in IMFVideoDisplayControl * This, + /* [out] */ __RPC__out DWORD *pdwAspectRatioMode); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, SetVideoWindow) + HRESULT ( STDMETHODCALLTYPE *SetVideoWindow )( + __RPC__in IMFVideoDisplayControl * This, + /* [in] */ __RPC__in HWND hwndVideo); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetVideoWindow) + HRESULT ( STDMETHODCALLTYPE *GetVideoWindow )( + __RPC__in IMFVideoDisplayControl * This, + /* [out] */ __RPC__deref_out_opt HWND *phwndVideo); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, RepaintVideo) + HRESULT ( STDMETHODCALLTYPE *RepaintVideo )( + __RPC__in IMFVideoDisplayControl * This); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetCurrentImage) + HRESULT ( STDMETHODCALLTYPE *GetCurrentImage )( + __RPC__in IMFVideoDisplayControl * This, + /* [out][in] */ __RPC__inout BITMAPINFOHEADER *pBih, + /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*pcbDib) BYTE **pDib, + /* [out] */ __RPC__out DWORD *pcbDib, + /* [unique][out][in] */ __RPC__inout_opt LONGLONG *pTimeStamp); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, SetBorderColor) + HRESULT ( STDMETHODCALLTYPE *SetBorderColor )( + __RPC__in IMFVideoDisplayControl * This, + /* [in] */ COLORREF Clr); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetBorderColor) + HRESULT ( STDMETHODCALLTYPE *GetBorderColor )( + __RPC__in IMFVideoDisplayControl * This, + /* [out] */ __RPC__out COLORREF *pClr); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, SetRenderingPrefs) + HRESULT ( STDMETHODCALLTYPE *SetRenderingPrefs )( + __RPC__in IMFVideoDisplayControl * This, + /* [in] */ DWORD dwRenderFlags); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetRenderingPrefs) + HRESULT ( STDMETHODCALLTYPE *GetRenderingPrefs )( + __RPC__in IMFVideoDisplayControl * This, + /* [out] */ __RPC__out DWORD *pdwRenderFlags); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, SetFullscreen) + HRESULT ( STDMETHODCALLTYPE *SetFullscreen )( + __RPC__in IMFVideoDisplayControl * This, + /* [in] */ BOOL fFullscreen); + + DECLSPEC_XFGVIRT(IMFVideoDisplayControl, GetFullscreen) + HRESULT ( STDMETHODCALLTYPE *GetFullscreen )( + __RPC__in IMFVideoDisplayControl * This, + /* [out] */ __RPC__out BOOL *pfFullscreen); + + END_INTERFACE + } IMFVideoDisplayControlVtbl; + + interface IMFVideoDisplayControl + { + CONST_VTBL struct IMFVideoDisplayControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoDisplayControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoDisplayControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoDisplayControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoDisplayControl_GetNativeVideoSize(This,pszVideo,pszARVideo) \ + ( (This)->lpVtbl -> GetNativeVideoSize(This,pszVideo,pszARVideo) ) + +#define IMFVideoDisplayControl_GetIdealVideoSize(This,pszMin,pszMax) \ + ( (This)->lpVtbl -> GetIdealVideoSize(This,pszMin,pszMax) ) + +#define IMFVideoDisplayControl_SetVideoPosition(This,pnrcSource,prcDest) \ + ( (This)->lpVtbl -> SetVideoPosition(This,pnrcSource,prcDest) ) + +#define IMFVideoDisplayControl_GetVideoPosition(This,pnrcSource,prcDest) \ + ( (This)->lpVtbl -> GetVideoPosition(This,pnrcSource,prcDest) ) + +#define IMFVideoDisplayControl_SetAspectRatioMode(This,dwAspectRatioMode) \ + ( (This)->lpVtbl -> SetAspectRatioMode(This,dwAspectRatioMode) ) + +#define IMFVideoDisplayControl_GetAspectRatioMode(This,pdwAspectRatioMode) \ + ( (This)->lpVtbl -> GetAspectRatioMode(This,pdwAspectRatioMode) ) + +#define IMFVideoDisplayControl_SetVideoWindow(This,hwndVideo) \ + ( (This)->lpVtbl -> SetVideoWindow(This,hwndVideo) ) + +#define IMFVideoDisplayControl_GetVideoWindow(This,phwndVideo) \ + ( (This)->lpVtbl -> GetVideoWindow(This,phwndVideo) ) + +#define IMFVideoDisplayControl_RepaintVideo(This) \ + ( (This)->lpVtbl -> RepaintVideo(This) ) + +#define IMFVideoDisplayControl_GetCurrentImage(This,pBih,pDib,pcbDib,pTimeStamp) \ + ( (This)->lpVtbl -> GetCurrentImage(This,pBih,pDib,pcbDib,pTimeStamp) ) + +#define IMFVideoDisplayControl_SetBorderColor(This,Clr) \ + ( (This)->lpVtbl -> SetBorderColor(This,Clr) ) + +#define IMFVideoDisplayControl_GetBorderColor(This,pClr) \ + ( (This)->lpVtbl -> GetBorderColor(This,pClr) ) + +#define IMFVideoDisplayControl_SetRenderingPrefs(This,dwRenderFlags) \ + ( (This)->lpVtbl -> SetRenderingPrefs(This,dwRenderFlags) ) + +#define IMFVideoDisplayControl_GetRenderingPrefs(This,pdwRenderFlags) \ + ( (This)->lpVtbl -> GetRenderingPrefs(This,pdwRenderFlags) ) + +#define IMFVideoDisplayControl_SetFullscreen(This,fFullscreen) \ + ( (This)->lpVtbl -> SetFullscreen(This,fFullscreen) ) + +#define IMFVideoDisplayControl_GetFullscreen(This,pfFullscreen) \ + ( (This)->lpVtbl -> GetFullscreen(This,pfFullscreen) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoDisplayControl_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr_0000_0003 */ +/* [local] */ + +typedef +enum MFVP_MESSAGE_TYPE + { + MFVP_MESSAGE_FLUSH = 0, + MFVP_MESSAGE_INVALIDATEMEDIATYPE = 0x1, + MFVP_MESSAGE_PROCESSINPUTNOTIFY = 0x2, + MFVP_MESSAGE_BEGINSTREAMING = 0x3, + MFVP_MESSAGE_ENDSTREAMING = 0x4, + MFVP_MESSAGE_ENDOFSTREAM = 0x5, + MFVP_MESSAGE_STEP = 0x6, + MFVP_MESSAGE_CANCELSTEP = 0x7 + } MFVP_MESSAGE_TYPE; + + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0003_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0003_v0_0_s_ifspec; + +#ifndef __IMFVideoPresenter_INTERFACE_DEFINED__ +#define __IMFVideoPresenter_INTERFACE_DEFINED__ + +/* interface IMFVideoPresenter */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoPresenter; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("29AFF080-182A-4a5d-AF3B-448F3A6346CB") + IMFVideoPresenter : public IMFClockStateSink + { + public: + virtual HRESULT STDMETHODCALLTYPE ProcessMessage( + MFVP_MESSAGE_TYPE eMessage, + ULONG_PTR ulParam) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCurrentMediaType( + /* [annotation][out] */ + _Outptr_ IMFVideoMediaType **ppMediaType) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoPresenterVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFVideoPresenter * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFVideoPresenter * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFVideoPresenter * This); + + DECLSPEC_XFGVIRT(IMFClockStateSink, OnClockStart) + HRESULT ( STDMETHODCALLTYPE *OnClockStart )( + IMFVideoPresenter * This, + /* [in] */ MFTIME hnsSystemTime, + /* [in] */ LONGLONG llClockStartOffset); + + DECLSPEC_XFGVIRT(IMFClockStateSink, OnClockStop) + HRESULT ( STDMETHODCALLTYPE *OnClockStop )( + IMFVideoPresenter * This, + /* [in] */ MFTIME hnsSystemTime); + + DECLSPEC_XFGVIRT(IMFClockStateSink, OnClockPause) + HRESULT ( STDMETHODCALLTYPE *OnClockPause )( + IMFVideoPresenter * This, + /* [in] */ MFTIME hnsSystemTime); + + DECLSPEC_XFGVIRT(IMFClockStateSink, OnClockRestart) + HRESULT ( STDMETHODCALLTYPE *OnClockRestart )( + IMFVideoPresenter * This, + /* [in] */ MFTIME hnsSystemTime); + + DECLSPEC_XFGVIRT(IMFClockStateSink, OnClockSetRate) + HRESULT ( STDMETHODCALLTYPE *OnClockSetRate )( + IMFVideoPresenter * This, + /* [in] */ MFTIME hnsSystemTime, + /* [in] */ float flRate); + + DECLSPEC_XFGVIRT(IMFVideoPresenter, ProcessMessage) + HRESULT ( STDMETHODCALLTYPE *ProcessMessage )( + IMFVideoPresenter * This, + MFVP_MESSAGE_TYPE eMessage, + ULONG_PTR ulParam); + + DECLSPEC_XFGVIRT(IMFVideoPresenter, GetCurrentMediaType) + HRESULT ( STDMETHODCALLTYPE *GetCurrentMediaType )( + IMFVideoPresenter * This, + /* [annotation][out] */ + _Outptr_ IMFVideoMediaType **ppMediaType); + + END_INTERFACE + } IMFVideoPresenterVtbl; + + interface IMFVideoPresenter + { + CONST_VTBL struct IMFVideoPresenterVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoPresenter_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoPresenter_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoPresenter_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoPresenter_OnClockStart(This,hnsSystemTime,llClockStartOffset) \ + ( (This)->lpVtbl -> OnClockStart(This,hnsSystemTime,llClockStartOffset) ) + +#define IMFVideoPresenter_OnClockStop(This,hnsSystemTime) \ + ( (This)->lpVtbl -> OnClockStop(This,hnsSystemTime) ) + +#define IMFVideoPresenter_OnClockPause(This,hnsSystemTime) \ + ( (This)->lpVtbl -> OnClockPause(This,hnsSystemTime) ) + +#define IMFVideoPresenter_OnClockRestart(This,hnsSystemTime) \ + ( (This)->lpVtbl -> OnClockRestart(This,hnsSystemTime) ) + +#define IMFVideoPresenter_OnClockSetRate(This,hnsSystemTime,flRate) \ + ( (This)->lpVtbl -> OnClockSetRate(This,hnsSystemTime,flRate) ) + + +#define IMFVideoPresenter_ProcessMessage(This,eMessage,ulParam) \ + ( (This)->lpVtbl -> ProcessMessage(This,eMessage,ulParam) ) + +#define IMFVideoPresenter_GetCurrentMediaType(This,ppMediaType) \ + ( (This)->lpVtbl -> GetCurrentMediaType(This,ppMediaType) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoPresenter_INTERFACE_DEFINED__ */ + + +#ifndef __IMFDesiredSample_INTERFACE_DEFINED__ +#define __IMFDesiredSample_INTERFACE_DEFINED__ + +/* interface IMFDesiredSample */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFDesiredSample; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("56C294D0-753E-4260-8D61-A3D8820B1D54") + IMFDesiredSample : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetDesiredSampleTimeAndDuration( + /* [annotation][out] */ + _Out_ LONGLONG *phnsSampleTime, + /* [annotation][out] */ + _Out_ LONGLONG *phnsSampleDuration) = 0; + + virtual void STDMETHODCALLTYPE SetDesiredSampleTimeAndDuration( + /* [in] */ LONGLONG hnsSampleTime, + /* [in] */ LONGLONG hnsSampleDuration) = 0; + + virtual void STDMETHODCALLTYPE Clear( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFDesiredSampleVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFDesiredSample * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFDesiredSample * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFDesiredSample * This); + + DECLSPEC_XFGVIRT(IMFDesiredSample, GetDesiredSampleTimeAndDuration) + HRESULT ( STDMETHODCALLTYPE *GetDesiredSampleTimeAndDuration )( + IMFDesiredSample * This, + /* [annotation][out] */ + _Out_ LONGLONG *phnsSampleTime, + /* [annotation][out] */ + _Out_ LONGLONG *phnsSampleDuration); + + DECLSPEC_XFGVIRT(IMFDesiredSample, SetDesiredSampleTimeAndDuration) + void ( STDMETHODCALLTYPE *SetDesiredSampleTimeAndDuration )( + IMFDesiredSample * This, + /* [in] */ LONGLONG hnsSampleTime, + /* [in] */ LONGLONG hnsSampleDuration); + + DECLSPEC_XFGVIRT(IMFDesiredSample, Clear) + void ( STDMETHODCALLTYPE *Clear )( + IMFDesiredSample * This); + + END_INTERFACE + } IMFDesiredSampleVtbl; + + interface IMFDesiredSample + { + CONST_VTBL struct IMFDesiredSampleVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFDesiredSample_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFDesiredSample_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFDesiredSample_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFDesiredSample_GetDesiredSampleTimeAndDuration(This,phnsSampleTime,phnsSampleDuration) \ + ( (This)->lpVtbl -> GetDesiredSampleTimeAndDuration(This,phnsSampleTime,phnsSampleDuration) ) + +#define IMFDesiredSample_SetDesiredSampleTimeAndDuration(This,hnsSampleTime,hnsSampleDuration) \ + ( (This)->lpVtbl -> SetDesiredSampleTimeAndDuration(This,hnsSampleTime,hnsSampleDuration) ) + +#define IMFDesiredSample_Clear(This) \ + ( (This)->lpVtbl -> Clear(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFDesiredSample_INTERFACE_DEFINED__ */ + + +#ifndef __IMFVideoMixerControl_INTERFACE_DEFINED__ +#define __IMFVideoMixerControl_INTERFACE_DEFINED__ + +/* interface IMFVideoMixerControl */ +/* [helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoMixerControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("A5C6C53F-C202-4aa5-9695-175BA8C508A5") + IMFVideoMixerControl : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE SetStreamZOrder( + /* [in] */ DWORD dwStreamID, + /* [in] */ DWORD dwZ) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamZOrder( + /* [in] */ DWORD dwStreamID, + /* [out] */ __RPC__out DWORD *pdwZ) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetStreamOutputRect( + /* [in] */ DWORD dwStreamID, + /* [in] */ __RPC__in const MFVideoNormalizedRect *pnrcOutput) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamOutputRect( + /* [in] */ DWORD dwStreamID, + /* [out] */ __RPC__out MFVideoNormalizedRect *pnrcOutput) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoMixerControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IMFVideoMixerControl * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IMFVideoMixerControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IMFVideoMixerControl * This); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, SetStreamZOrder) + HRESULT ( STDMETHODCALLTYPE *SetStreamZOrder )( + __RPC__in IMFVideoMixerControl * This, + /* [in] */ DWORD dwStreamID, + /* [in] */ DWORD dwZ); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, GetStreamZOrder) + HRESULT ( STDMETHODCALLTYPE *GetStreamZOrder )( + __RPC__in IMFVideoMixerControl * This, + /* [in] */ DWORD dwStreamID, + /* [out] */ __RPC__out DWORD *pdwZ); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, SetStreamOutputRect) + HRESULT ( STDMETHODCALLTYPE *SetStreamOutputRect )( + __RPC__in IMFVideoMixerControl * This, + /* [in] */ DWORD dwStreamID, + /* [in] */ __RPC__in const MFVideoNormalizedRect *pnrcOutput); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, GetStreamOutputRect) + HRESULT ( STDMETHODCALLTYPE *GetStreamOutputRect )( + __RPC__in IMFVideoMixerControl * This, + /* [in] */ DWORD dwStreamID, + /* [out] */ __RPC__out MFVideoNormalizedRect *pnrcOutput); + + END_INTERFACE + } IMFVideoMixerControlVtbl; + + interface IMFVideoMixerControl + { + CONST_VTBL struct IMFVideoMixerControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoMixerControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoMixerControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoMixerControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoMixerControl_SetStreamZOrder(This,dwStreamID,dwZ) \ + ( (This)->lpVtbl -> SetStreamZOrder(This,dwStreamID,dwZ) ) + +#define IMFVideoMixerControl_GetStreamZOrder(This,dwStreamID,pdwZ) \ + ( (This)->lpVtbl -> GetStreamZOrder(This,dwStreamID,pdwZ) ) + +#define IMFVideoMixerControl_SetStreamOutputRect(This,dwStreamID,pnrcOutput) \ + ( (This)->lpVtbl -> SetStreamOutputRect(This,dwStreamID,pnrcOutput) ) + +#define IMFVideoMixerControl_GetStreamOutputRect(This,dwStreamID,pnrcOutput) \ + ( (This)->lpVtbl -> GetStreamOutputRect(This,dwStreamID,pnrcOutput) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoMixerControl_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr_0000_0006 */ +/* [local] */ + +typedef +enum _MFVideoMixPrefs + { + MFVideoMixPrefs_ForceHalfInterlace = 0x1, + MFVideoMixPrefs_AllowDropToHalfInterlace = 0x2, + MFVideoMixPrefs_AllowDropToBob = 0x4, + MFVideoMixPrefs_ForceBob = 0x8, + MFVideoMixPrefs_EnableRotation = 0x10, + MFVideoMixPrefs_Mask = 0x1f + } MFVideoMixPrefs; + + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0006_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0006_v0_0_s_ifspec; + +#ifndef __IMFVideoMixerControl2_INTERFACE_DEFINED__ +#define __IMFVideoMixerControl2_INTERFACE_DEFINED__ + +/* interface IMFVideoMixerControl2 */ +/* [helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoMixerControl2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8459616d-966e-4930-b658-54fa7e5a16d3") + IMFVideoMixerControl2 : public IMFVideoMixerControl + { + public: + virtual HRESULT STDMETHODCALLTYPE SetMixingPrefs( + /* [in] */ DWORD dwMixFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetMixingPrefs( + /* [out] */ __RPC__out DWORD *pdwMixFlags) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoMixerControl2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IMFVideoMixerControl2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IMFVideoMixerControl2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IMFVideoMixerControl2 * This); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, SetStreamZOrder) + HRESULT ( STDMETHODCALLTYPE *SetStreamZOrder )( + __RPC__in IMFVideoMixerControl2 * This, + /* [in] */ DWORD dwStreamID, + /* [in] */ DWORD dwZ); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, GetStreamZOrder) + HRESULT ( STDMETHODCALLTYPE *GetStreamZOrder )( + __RPC__in IMFVideoMixerControl2 * This, + /* [in] */ DWORD dwStreamID, + /* [out] */ __RPC__out DWORD *pdwZ); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, SetStreamOutputRect) + HRESULT ( STDMETHODCALLTYPE *SetStreamOutputRect )( + __RPC__in IMFVideoMixerControl2 * This, + /* [in] */ DWORD dwStreamID, + /* [in] */ __RPC__in const MFVideoNormalizedRect *pnrcOutput); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl, GetStreamOutputRect) + HRESULT ( STDMETHODCALLTYPE *GetStreamOutputRect )( + __RPC__in IMFVideoMixerControl2 * This, + /* [in] */ DWORD dwStreamID, + /* [out] */ __RPC__out MFVideoNormalizedRect *pnrcOutput); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl2, SetMixingPrefs) + HRESULT ( STDMETHODCALLTYPE *SetMixingPrefs )( + __RPC__in IMFVideoMixerControl2 * This, + /* [in] */ DWORD dwMixFlags); + + DECLSPEC_XFGVIRT(IMFVideoMixerControl2, GetMixingPrefs) + HRESULT ( STDMETHODCALLTYPE *GetMixingPrefs )( + __RPC__in IMFVideoMixerControl2 * This, + /* [out] */ __RPC__out DWORD *pdwMixFlags); + + END_INTERFACE + } IMFVideoMixerControl2Vtbl; + + interface IMFVideoMixerControl2 + { + CONST_VTBL struct IMFVideoMixerControl2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoMixerControl2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoMixerControl2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoMixerControl2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoMixerControl2_SetStreamZOrder(This,dwStreamID,dwZ) \ + ( (This)->lpVtbl -> SetStreamZOrder(This,dwStreamID,dwZ) ) + +#define IMFVideoMixerControl2_GetStreamZOrder(This,dwStreamID,pdwZ) \ + ( (This)->lpVtbl -> GetStreamZOrder(This,dwStreamID,pdwZ) ) + +#define IMFVideoMixerControl2_SetStreamOutputRect(This,dwStreamID,pnrcOutput) \ + ( (This)->lpVtbl -> SetStreamOutputRect(This,dwStreamID,pnrcOutput) ) + +#define IMFVideoMixerControl2_GetStreamOutputRect(This,dwStreamID,pnrcOutput) \ + ( (This)->lpVtbl -> GetStreamOutputRect(This,dwStreamID,pnrcOutput) ) + + +#define IMFVideoMixerControl2_SetMixingPrefs(This,dwMixFlags) \ + ( (This)->lpVtbl -> SetMixingPrefs(This,dwMixFlags) ) + +#define IMFVideoMixerControl2_GetMixingPrefs(This,pdwMixFlags) \ + ( (This)->lpVtbl -> GetMixingPrefs(This,pdwMixFlags) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoMixerControl2_INTERFACE_DEFINED__ */ + + +#ifndef __IMFVideoRenderer_INTERFACE_DEFINED__ +#define __IMFVideoRenderer_INTERFACE_DEFINED__ + +/* interface IMFVideoRenderer */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoRenderer; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("DFDFD197-A9CA-43d8-B341-6AF3503792CD") + IMFVideoRenderer : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE InitializeRenderer( + /* [annotation][unique][in] */ + _In_opt_ IMFTransform *pVideoMixer, + /* [annotation][unique][in] */ + _In_opt_ IMFVideoPresenter *pVideoPresenter) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoRendererVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFVideoRenderer * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFVideoRenderer * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFVideoRenderer * This); + + DECLSPEC_XFGVIRT(IMFVideoRenderer, InitializeRenderer) + HRESULT ( STDMETHODCALLTYPE *InitializeRenderer )( + IMFVideoRenderer * This, + /* [annotation][unique][in] */ + _In_opt_ IMFTransform *pVideoMixer, + /* [annotation][unique][in] */ + _In_opt_ IMFVideoPresenter *pVideoPresenter); + + END_INTERFACE + } IMFVideoRendererVtbl; + + interface IMFVideoRenderer + { + CONST_VTBL struct IMFVideoRendererVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoRenderer_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoRenderer_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoRenderer_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoRenderer_InitializeRenderer(This,pVideoMixer,pVideoPresenter) \ + ( (This)->lpVtbl -> InitializeRenderer(This,pVideoMixer,pVideoPresenter) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoRenderer_INTERFACE_DEFINED__ */ + + +#ifndef __IEVRFilterConfig_INTERFACE_DEFINED__ +#define __IEVRFilterConfig_INTERFACE_DEFINED__ + +/* interface IEVRFilterConfig */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IEVRFilterConfig; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("83E91E85-82C1-4ea7-801D-85DC50B75086") + IEVRFilterConfig : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE SetNumberOfStreams( + /* [in] */ DWORD dwMaxStreams) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNumberOfStreams( + /* [annotation][out] */ + _Out_ DWORD *pdwMaxStreams) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEVRFilterConfigVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IEVRFilterConfig * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IEVRFilterConfig * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IEVRFilterConfig * This); + + DECLSPEC_XFGVIRT(IEVRFilterConfig, SetNumberOfStreams) + HRESULT ( STDMETHODCALLTYPE *SetNumberOfStreams )( + IEVRFilterConfig * This, + /* [in] */ DWORD dwMaxStreams); + + DECLSPEC_XFGVIRT(IEVRFilterConfig, GetNumberOfStreams) + HRESULT ( STDMETHODCALLTYPE *GetNumberOfStreams )( + IEVRFilterConfig * This, + /* [annotation][out] */ + _Out_ DWORD *pdwMaxStreams); + + END_INTERFACE + } IEVRFilterConfigVtbl; + + interface IEVRFilterConfig + { + CONST_VTBL struct IEVRFilterConfigVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEVRFilterConfig_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEVRFilterConfig_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEVRFilterConfig_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEVRFilterConfig_SetNumberOfStreams(This,dwMaxStreams) \ + ( (This)->lpVtbl -> SetNumberOfStreams(This,dwMaxStreams) ) + +#define IEVRFilterConfig_GetNumberOfStreams(This,pdwMaxStreams) \ + ( (This)->lpVtbl -> GetNumberOfStreams(This,pdwMaxStreams) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEVRFilterConfig_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr_0000_0009 */ +/* [local] */ + +typedef +enum _EVRFilterConfig_Prefs + { + EVRFilterConfigPrefs_EnableQoS = 0x1, + EVRFilterConfigPrefs_Mask = 0x1 + } EVRFilterConfigPrefs; + + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0009_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0009_v0_0_s_ifspec; + +#ifndef __IEVRFilterConfigEx_INTERFACE_DEFINED__ +#define __IEVRFilterConfigEx_INTERFACE_DEFINED__ + +/* interface IEVRFilterConfigEx */ +/* [helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IEVRFilterConfigEx; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("aea36028-796d-454f-beee-b48071e24304") + IEVRFilterConfigEx : public IEVRFilterConfig + { + public: + virtual HRESULT STDMETHODCALLTYPE SetConfigPrefs( + /* [in] */ DWORD dwConfigFlags) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetConfigPrefs( + /* [out] */ __RPC__out DWORD *pdwConfigFlags) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEVRFilterConfigExVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IEVRFilterConfigEx * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IEVRFilterConfigEx * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IEVRFilterConfigEx * This); + + DECLSPEC_XFGVIRT(IEVRFilterConfig, SetNumberOfStreams) + HRESULT ( STDMETHODCALLTYPE *SetNumberOfStreams )( + __RPC__in IEVRFilterConfigEx * This, + /* [in] */ DWORD dwMaxStreams); + + DECLSPEC_XFGVIRT(IEVRFilterConfig, GetNumberOfStreams) + HRESULT ( STDMETHODCALLTYPE *GetNumberOfStreams )( + __RPC__in IEVRFilterConfigEx * This, + /* [annotation][out] */ + _Out_ DWORD *pdwMaxStreams); + + DECLSPEC_XFGVIRT(IEVRFilterConfigEx, SetConfigPrefs) + HRESULT ( STDMETHODCALLTYPE *SetConfigPrefs )( + __RPC__in IEVRFilterConfigEx * This, + /* [in] */ DWORD dwConfigFlags); + + DECLSPEC_XFGVIRT(IEVRFilterConfigEx, GetConfigPrefs) + HRESULT ( STDMETHODCALLTYPE *GetConfigPrefs )( + __RPC__in IEVRFilterConfigEx * This, + /* [out] */ __RPC__out DWORD *pdwConfigFlags); + + END_INTERFACE + } IEVRFilterConfigExVtbl; + + interface IEVRFilterConfigEx + { + CONST_VTBL struct IEVRFilterConfigExVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEVRFilterConfigEx_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEVRFilterConfigEx_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEVRFilterConfigEx_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEVRFilterConfigEx_SetNumberOfStreams(This,dwMaxStreams) \ + ( (This)->lpVtbl -> SetNumberOfStreams(This,dwMaxStreams) ) + +#define IEVRFilterConfigEx_GetNumberOfStreams(This,pdwMaxStreams) \ + ( (This)->lpVtbl -> GetNumberOfStreams(This,pdwMaxStreams) ) + + +#define IEVRFilterConfigEx_SetConfigPrefs(This,dwConfigFlags) \ + ( (This)->lpVtbl -> SetConfigPrefs(This,dwConfigFlags) ) + +#define IEVRFilterConfigEx_GetConfigPrefs(This,pdwConfigFlags) \ + ( (This)->lpVtbl -> GetConfigPrefs(This,pdwConfigFlags) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEVRFilterConfigEx_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr_0000_0010 */ +/* [local] */ + +typedef +enum _MF_SERVICE_LOOKUP_TYPE + { + MF_SERVICE_LOOKUP_UPSTREAM = 0, + MF_SERVICE_LOOKUP_UPSTREAM_DIRECT = ( MF_SERVICE_LOOKUP_UPSTREAM + 1 ) , + MF_SERVICE_LOOKUP_DOWNSTREAM = ( MF_SERVICE_LOOKUP_UPSTREAM_DIRECT + 1 ) , + MF_SERVICE_LOOKUP_DOWNSTREAM_DIRECT = ( MF_SERVICE_LOOKUP_DOWNSTREAM + 1 ) , + MF_SERVICE_LOOKUP_ALL = ( MF_SERVICE_LOOKUP_DOWNSTREAM_DIRECT + 1 ) , + MF_SERVICE_LOOKUP_GLOBAL = ( MF_SERVICE_LOOKUP_ALL + 1 ) + } MF_SERVICE_LOOKUP_TYPE; + + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0010_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0010_v0_0_s_ifspec; + +#ifndef __IMFTopologyServiceLookup_INTERFACE_DEFINED__ +#define __IMFTopologyServiceLookup_INTERFACE_DEFINED__ + +/* interface IMFTopologyServiceLookup */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFTopologyServiceLookup; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("fa993889-4383-415a-a930-dd472a8cf6f7") + IMFTopologyServiceLookup : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE LookupService( + /* [in] */ MF_SERVICE_LOOKUP_TYPE Type, + /* [in] */ DWORD dwIndex, + /* [in] */ REFGUID guidService, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _Out_writes_to_(1,*pnObjects) LPVOID *ppvObjects, + /* [annotation][out][in] */ + _Inout_ DWORD *pnObjects) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFTopologyServiceLookupVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFTopologyServiceLookup * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFTopologyServiceLookup * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFTopologyServiceLookup * This); + + DECLSPEC_XFGVIRT(IMFTopologyServiceLookup, LookupService) + HRESULT ( STDMETHODCALLTYPE *LookupService )( + IMFTopologyServiceLookup * This, + /* [in] */ MF_SERVICE_LOOKUP_TYPE Type, + /* [in] */ DWORD dwIndex, + /* [in] */ REFGUID guidService, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _Out_writes_to_(1,*pnObjects) LPVOID *ppvObjects, + /* [annotation][out][in] */ + _Inout_ DWORD *pnObjects); + + END_INTERFACE + } IMFTopologyServiceLookupVtbl; + + interface IMFTopologyServiceLookup + { + CONST_VTBL struct IMFTopologyServiceLookupVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFTopologyServiceLookup_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFTopologyServiceLookup_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFTopologyServiceLookup_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFTopologyServiceLookup_LookupService(This,Type,dwIndex,guidService,riid,ppvObjects,pnObjects) \ + ( (This)->lpVtbl -> LookupService(This,Type,dwIndex,guidService,riid,ppvObjects,pnObjects) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFTopologyServiceLookup_INTERFACE_DEFINED__ */ + + +#ifndef __IMFTopologyServiceLookupClient_INTERFACE_DEFINED__ +#define __IMFTopologyServiceLookupClient_INTERFACE_DEFINED__ + +/* interface IMFTopologyServiceLookupClient */ +/* [uuid][object][local] */ + + +EXTERN_C const IID IID_IMFTopologyServiceLookupClient; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("fa99388a-4383-415a-a930-dd472a8cf6f7") + IMFTopologyServiceLookupClient : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE InitServicePointers( + /* [annotation][in] */ + _In_ IMFTopologyServiceLookup *pLookup) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReleaseServicePointers( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFTopologyServiceLookupClientVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFTopologyServiceLookupClient * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFTopologyServiceLookupClient * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFTopologyServiceLookupClient * This); + + DECLSPEC_XFGVIRT(IMFTopologyServiceLookupClient, InitServicePointers) + HRESULT ( STDMETHODCALLTYPE *InitServicePointers )( + IMFTopologyServiceLookupClient * This, + /* [annotation][in] */ + _In_ IMFTopologyServiceLookup *pLookup); + + DECLSPEC_XFGVIRT(IMFTopologyServiceLookupClient, ReleaseServicePointers) + HRESULT ( STDMETHODCALLTYPE *ReleaseServicePointers )( + IMFTopologyServiceLookupClient * This); + + END_INTERFACE + } IMFTopologyServiceLookupClientVtbl; + + interface IMFTopologyServiceLookupClient + { + CONST_VTBL struct IMFTopologyServiceLookupClientVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFTopologyServiceLookupClient_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFTopologyServiceLookupClient_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFTopologyServiceLookupClient_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFTopologyServiceLookupClient_InitServicePointers(This,pLookup) \ + ( (This)->lpVtbl -> InitServicePointers(This,pLookup) ) + +#define IMFTopologyServiceLookupClient_ReleaseServicePointers(This) \ + ( (This)->lpVtbl -> ReleaseServicePointers(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFTopologyServiceLookupClient_INTERFACE_DEFINED__ */ + + +#ifndef __IEVRTrustedVideoPlugin_INTERFACE_DEFINED__ +#define __IEVRTrustedVideoPlugin_INTERFACE_DEFINED__ + +/* interface IEVRTrustedVideoPlugin */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IEVRTrustedVideoPlugin; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("83A4CE40-7710-494b-A893-A472049AF630") + IEVRTrustedVideoPlugin : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE IsInTrustedVideoMode( + /* [out] */ BOOL *pYes) = 0; + + virtual HRESULT STDMETHODCALLTYPE CanConstrict( + /* [out] */ BOOL *pYes) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetConstriction( + DWORD dwKPix) = 0; + + virtual HRESULT STDMETHODCALLTYPE DisableImageExport( + BOOL bDisable) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEVRTrustedVideoPluginVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IEVRTrustedVideoPlugin * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IEVRTrustedVideoPlugin * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IEVRTrustedVideoPlugin * This); + + DECLSPEC_XFGVIRT(IEVRTrustedVideoPlugin, IsInTrustedVideoMode) + HRESULT ( STDMETHODCALLTYPE *IsInTrustedVideoMode )( + IEVRTrustedVideoPlugin * This, + /* [out] */ BOOL *pYes); + + DECLSPEC_XFGVIRT(IEVRTrustedVideoPlugin, CanConstrict) + HRESULT ( STDMETHODCALLTYPE *CanConstrict )( + IEVRTrustedVideoPlugin * This, + /* [out] */ BOOL *pYes); + + DECLSPEC_XFGVIRT(IEVRTrustedVideoPlugin, SetConstriction) + HRESULT ( STDMETHODCALLTYPE *SetConstriction )( + IEVRTrustedVideoPlugin * This, + DWORD dwKPix); + + DECLSPEC_XFGVIRT(IEVRTrustedVideoPlugin, DisableImageExport) + HRESULT ( STDMETHODCALLTYPE *DisableImageExport )( + IEVRTrustedVideoPlugin * This, + BOOL bDisable); + + END_INTERFACE + } IEVRTrustedVideoPluginVtbl; + + interface IEVRTrustedVideoPlugin + { + CONST_VTBL struct IEVRTrustedVideoPluginVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEVRTrustedVideoPlugin_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEVRTrustedVideoPlugin_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEVRTrustedVideoPlugin_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEVRTrustedVideoPlugin_IsInTrustedVideoMode(This,pYes) \ + ( (This)->lpVtbl -> IsInTrustedVideoMode(This,pYes) ) + +#define IEVRTrustedVideoPlugin_CanConstrict(This,pYes) \ + ( (This)->lpVtbl -> CanConstrict(This,pYes) ) + +#define IEVRTrustedVideoPlugin_SetConstriction(This,dwKPix) \ + ( (This)->lpVtbl -> SetConstriction(This,dwKPix) ) + +#define IEVRTrustedVideoPlugin_DisableImageExport(This,bDisable) \ + ( (This)->lpVtbl -> DisableImageExport(This,bDisable) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEVRTrustedVideoPlugin_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr_0000_0013 */ +/* [local] */ + +#ifndef MFEVRDLL +#define MFEVRDLL 0 +#endif +#if MFEVRDLL +#define EVRPUBLIC(func) STDAPI _##func +#else +#define EVRPUBLIC(func) STDAPI func +#endif +EVRPUBLIC(MFCreateVideoPresenter)( + _In_opt_ IUnknown * pOwner, + REFIID riidDevice, + REFIID riid, + _Outptr_result_maybenull_ void ** ppVideoPresenter + ); +EVRPUBLIC(MFCreateVideoMixer)( + _In_opt_ IUnknown * pOwner, + REFIID riidDevice, + REFIID riid, + _Outptr_ void ** ppv + ); +EVRPUBLIC(MFCreateVideoMixerAndPresenter)( + _In_opt_ IUnknown * pMixerOwner, + _In_opt_ IUnknown * pPresenterOwner, + REFIID riidMixer, + _Outptr_ void ** ppvVideoMixer, + REFIID riidPresenter, + _Outptr_ void ** ppvVideoPresenter + ); +EVRPUBLIC(MFCreateVideoRenderer)( + REFIID riidRenderer, + _Outptr_result_maybenull_ void ** ppVideoRenderer + ); +EVRPUBLIC(MFCreateVideoSampleFromSurface)( + _In_ IUnknown* pUnkSurface, + _Out_ IMFSample** ppSample + ); +EVRPUBLIC(MFCreateVideoSampleAllocator)( + _In_ REFIID riid, + _Outptr_ void** ppSampleAllocator + ); +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0013_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr_0000_0013_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER HWND_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in HWND * ); +unsigned char * __RPC_USER HWND_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in HWND * ); +unsigned char * __RPC_USER HWND_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out HWND * ); +void __RPC_USER HWND_UserFree( __RPC__in unsigned long *, __RPC__in HWND * ); + +unsigned long __RPC_USER HWND_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in HWND * ); +unsigned char * __RPC_USER HWND_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in HWND * ); +unsigned char * __RPC_USER HWND_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out HWND * ); +void __RPC_USER HWND_UserFree64( __RPC__in unsigned long *, __RPC__in HWND * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr.idl new file mode 100644 index 0000000000000000000000000000000000000000..dd1461620b483171bad9ad454f27b2ea1f606c69 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr.idl @@ -0,0 +1,1756 @@ +/////////////////////////////////////////////////////////////////////////////// +// +// Public Interfaces for the Enhanced Video Renderer. +// +// Copyright (c) 1999 - 2004, Microsoft Corporation. All rights reserved. +/////////////////////////////////////////////////////////////////////////////// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "unknwn.idl"; +import "propidl.idl"; +import "mfidl.idl"; +import "mftransform.idl"; + +// DMO IDL import for IMediaBuffer and IMediaObject +import "mediaobj.idl"; + +// Get AM_MEDIA_TYPES +import "strmif.idl"; + +// __midl definitions : only defined for MIDL processing + +cpp_quote( "#if defined(__midl)" ) + +// MAKEFOURCC definition + +#ifndef MAKEFOURCC + +#define MAKEFOURCC(ch0, ch1, ch2, ch3) \ + ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \ + ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 )) + +#endif // MAKEFOURCC + +// D3DFORMAT definition + +#ifndef D3DFORMAT + +typedef enum _D3DFORMAT +{ + + D3DFMT_UNKNOWN = 0, + + D3DFMT_R8G8B8 = 20, + D3DFMT_A8R8G8B8 = 21, + D3DFMT_X8R8G8B8 = 22, + D3DFMT_R5G6B5 = 23, + D3DFMT_X1R5G5B5 = 24, + D3DFMT_A1R5G5B5 = 25, + D3DFMT_A4R4G4B4 = 26, + D3DFMT_R3G3B2 = 27, + D3DFMT_A8 = 28, + D3DFMT_A8R3G3B2 = 29, + D3DFMT_X4R4G4B4 = 30, + D3DFMT_A2B10G10R10 = 31, + D3DFMT_G16R16 = 34, + + D3DFMT_A8P8 = 40, + D3DFMT_P8 = 41, + + D3DFMT_L8 = 50, + D3DFMT_A8L8 = 51, + D3DFMT_A4L4 = 52, + + D3DFMT_V8U8 = 60, + D3DFMT_L6V5U5 = 61, + D3DFMT_X8L8V8U8 = 62, + D3DFMT_Q8W8V8U8 = 63, + D3DFMT_V16U16 = 64, + D3DFMT_W11V11U10 = 65, + D3DFMT_A2W10V10U10 = 67, +/* + D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'), + D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'), + D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'), + D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'), + D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'), + D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'), + D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'), +*/ + D3DFMT_D16_LOCKABLE = 70, + D3DFMT_D32 = 71, + D3DFMT_D15S1 = 73, + D3DFMT_D24S8 = 75, + D3DFMT_D16 = 80, + D3DFMT_D24X8 = 77, + D3DFMT_D24X4S4 = 79, + + + D3DFMT_VERTEXDATA =100, + D3DFMT_INDEX16 =101, + D3DFMT_INDEX32 =102, + + D3DFMT_FORCE_DWORD =0x7fffffff + +} D3DFORMAT; + +#endif // D3DFORMAT + +cpp_quote( "#endif // __midl" ) // __midl + +//============================================================================= +// Description: +// +// Service GUID used by IMFGetService::GetService to retrieve interfaces from +// the renderer or the presenter. +// +cpp_quote( "DEFINE_GUID(MR_VIDEO_RENDER_SERVICE, " ) +cpp_quote( " 0x1092a86c, " ) +cpp_quote( " 0xab1a, " ) +cpp_quote( " 0x459a, " ) +cpp_quote( " 0xa3, 0x36, 0x83, 0x1f, 0xbc, 0x4d, 0x11, 0xff " ) +cpp_quote( ");" ) + +//============================================================================= +// Description: +// +// Service GUID used by IMFGetService::GetService to retrieve interfaces from +// the mixer. +// +cpp_quote( "DEFINE_GUID(MR_VIDEO_MIXER_SERVICE, " ) +cpp_quote( " 0x73cd2fc, " ) +cpp_quote( " 0x6cf4, " ) +cpp_quote( " 0x40b7, " ) +cpp_quote( " 0x88, 0x59, 0xe8, 0x95, 0x52, 0xc8, 0x41, 0xf8 " ) +cpp_quote( ");" ) + +//============================================================================= +// Description: +// +// Service GUID used by IMFGetService::GetService to retrieve HW acceleration +// interfaces in the pipeline. +// +cpp_quote( "DEFINE_GUID(MR_VIDEO_ACCELERATION_SERVICE, " ) +cpp_quote( " 0xefef5175, " ) +cpp_quote( " 0x5c7d, " ) +cpp_quote( " 0x4ce2, " ) +cpp_quote( " 0xbb, 0xbd, 0x34, 0xff, 0x8b, 0xca, 0x65, 0x54 " ) +cpp_quote( "); " ) + +//============================================================================= +// Description: +// +// Service GUID used by IMFGetService::GetService to retrieve an object +// from a buffer. +// +cpp_quote( "DEFINE_GUID(MR_BUFFER_SERVICE, " ) +cpp_quote( " 0xa562248c, " ) +cpp_quote( " 0x9ac6, " ) +cpp_quote( " 0x4ffc, " ) +cpp_quote( " 0x9f, 0xba, 0x3a, 0xf8, 0xf8, 0xad, 0x1a, 0x4d " ) +cpp_quote( ");" ) + +//============================================================================= +// Description: +// +// IMFAttributes Blob GUID set on the mixer by the presenter to indicate +// the zoom rectangle to be used in processing the video. The zoom rectangle +// is expressed as an MFVideoNormalizedRect. +// +cpp_quote( "DEFINE_GUID(VIDEO_ZOOM_RECT, " ) +cpp_quote( " 0x7aaa1638, " ) +cpp_quote( " 0x1b7f, " ) +cpp_quote( " 0x4c93, " ) +cpp_quote( " 0xbd, 0x89, 0x5b, 0x9c, 0x9f, 0xb6, 0xfc, 0xf0" ) +cpp_quote( ");" ) + + + +//============================================================================= +// Description: +// +// public interfaces supported by the EVR +// +interface IMFTrackedSample; +interface IMFVideoDisplayControl; +interface IMFVideoPresenter; +interface IMFVideoPositionMapper; +interface IMFDesiredSample; +interface IMFVideoMixerControl; +interface IMFVideoRenderer; +interface IMFVideoDeviceID; +interface IEVRFilterConfig; + +//============================================================================= +// Description: +// +// This interface is used to map coordinates on the output video frame to +// coordinates on the input video frame. If a component in the MF pipeline +// (MF transform, demux, sink) transforms the video in such a way that +// co-ordinates in the input image map to different co-ordinate values in the +// output image, then that component must implement this interface to provide +// the reverse transformation. +// +// It is accessible to the application via the IMFGetService interface from +// the renderer object using service GUID MR_VIDEO_RENDER_SERVICE. +// +[ + object, + uuid(1F6A9F17-E70B-4e24-8AE4-0B2C3BA7A4AE), + helpstring("IMFVideoPositionMapper Interface"), + local +] +interface IMFVideoPositionMapper : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Provides the reverse transformation of coordinates for components that + // transform the video in such a way that co-ordinates in the input image + // map to different co-ordinate values in the output image. + // + // Parameters: + // + // xOut - x coordinate of the output image normalized to the range [0,1] + // yOut - y coordinate of the output image normalized to the range [0,1] + // dwOutputStreamIndex - Output stream index relative to which co-ordinate + // mapping is required. + // dwInputStreamIndex - Input stream index relative to which co-ordinate + // mapping is required. + // pxIn - Mapped x coordinate of the input image normalized to the range [0,1] + // pyIn - Mapped y coordinate of the input image normalized to the range [0,1] + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT MapOutputCoordinateToInputStream( + [in] float xOut, + [in] float yOut, + [in] DWORD dwOutputStreamIndex, + [in] DWORD dwInputStreamIndex, + [out, annotation("_Out_")] float* pxIn, + [out, annotation("_Out_")] float* pyIn + ); +}; + +//============================================================================= +// Description: +// +// The IMFVideoDeviceID interface supports a single method, which returns the device +// IID supported by that object. This IID must be compatible with other components. +// This interface is mandatory for the Mixer and Presenter objects, since these +// components must use the same type of video device. +// +[ + object, + uuid(A38D9567-5A9C-4f3c-B293-8EB415B279BA), + helpstring("IMFVideoDeviceID Interface"), + local +] +interface IMFVideoDeviceID : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // The GetDeviceID method retrieves the video device ID of the video device + // supported by this video component. Although not restricted to these, it + // will generally be one of the following: + // - IID_IDirect3DDevice9 + // + // Parameters: + // + // pDeviceID - Pointer that receives the IID of the device supported by this component. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetDeviceID( + [out, annotation("_Out_")] IID* pDeviceID + ); +}; + +//============================================================================= +// Description: +// +// Enumeration used to specify the aspect ratio mode desired to be used when +// rendering video. Set by calling IMFVideoDisplayControl::SetRenderingPrefs. +// +typedef enum MFVideoAspectRatioMode { + // No aspect ratio correction - fill window + MFVideoARMode_None = 0x00000000, + // Indicates that the picture aspect ratio should be preserved. That is, if the + // video is 640 by 480 pixels (4:3), and the video destination region is a rectangle + // 800 by 700, then the video should be letterboxed and displayed as 800 by 600 + // (retain 4:3). + MFVideoARMode_PreservePicture = 0x00000001, + // Indicates that the pixel aspect ratio should be preserved. This setting comes into + // play when the video display is physically of a certain aspect ratio, but is set + // to a resolution that is not the same aspect ratio, thus making the pixels non-square. + // I.e. a monitor whose native resolution is 1600 by 1200 (4:3) is set to 1280 by 1024 + // (5:4). This flag is only valid when passed with MFVideoARMode_PreservePicture. + MFVideoARMode_PreservePixel = 0x00000002, + // Indicates that a horizontal non-linear stretch should be applied when the aspect + // ratio of the destination rectangle does not match the aspect ratio of the source + // rectangle. The non-linear stretch algorithm acts by preserving the aspect ratio in + // the middle of the picture (relative to the left and right) and stretching (or + // shrinking) progressively more towards the left and right. This mode is useful when + // viewing 4:3 content full screen on a 16:9 aspect ratio display and would be used + // instead of pillar-boxing. It can also be used to view 16:9 content on a 4:3 display + // to replace the letterboxing. Note that this mode may cause performance degradation. + MFVideoARMode_NonLinearStretch = 0x00000004, + MFVideoARMode_Mask = 0x00000007 +} MFVideoAspectRatioMode; + +//============================================================================= +// Description: +// +// The rendering preferences used by the video presenter object. +// +typedef enum MFVideoRenderPrefs { + // Do not paint color keys (default off) + MFVideoRenderPrefs_DoNotRenderBorder = 0x00000001, + // Do not clip to monitor that has largest amount of video (default off) + MFVideoRenderPrefs_DoNotClipToDevice = 0x00000002, + MFVideoRenderPrefs_AllowOutputThrottling = 0x00000004, + MFVideoRenderPrefs_ForceOutputThrottling = 0x00000008, + MFVideoRenderPrefs_ForceBatching = 0x00000010, + MFVideoRenderPrefs_AllowBatching = 0x00000020, + MFVideoRenderPrefs_ForceScaling = 0x00000040, + MFVideoRenderPrefs_AllowScaling = 0x00000080, + MFVideoRenderPrefs_DoNotRepaintOnStop = 0x00000100, + MFVideoRenderPrefs_Mask = 0x000001ff, +} MFVideoRenderPrefs; + +//============================================================================= +// Description: +// +// A Normalized relative rectangle where the coordinates exist in the rate [0,1]. +// +// Remarks: +// +// When the rectangle refers to a video stream, the following restrictions apply +// o left <= right. +// o top <= bottom. +// +cpp_quote("#ifndef _MFVideoNormalizedRect_") +cpp_quote("#define _MFVideoNormalizedRect_") +typedef struct MFVideoNormalizedRect +{ + float left; + float top; + float right; + float bottom; +} MFVideoNormalizedRect; +cpp_quote("#endif") + +//============================================================================= +// Description: +// +// The IMFVideoDisplayControl interface supports window-based rendering. +// +// If a video renderer supports this functionality it is accessible to the +// application via the IMFGetService interface from the renderer object +// using service GUID MR_VIDEO_RENDER_SERVICE. +// +// Custom Video Presenter objects may optionally support this interface. +// +[ + object, + uuid(a490b1e4-ab84-4d31-a1b2-181e03b1077a), + helpstring("IMFVideoDisplayControl Interface") +] +interface IMFVideoDisplayControl : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the un-stretched video size and aspect ratio of the video. + // + // Parameters: + // + // pszVideo - Receives the size of the native video rectangle. Optional, unless pszARVideo is NULL. + // pszARVideo - Receives the aspect ratio size of the native video rectangle. Optional, unless pszVideo is NULL. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - Both pointers passed were NULL. + // + // Remarks: + // + // If the video renderer has not had one of its streams opened and + // media type set, this method will succeed but all parameters will be + // set to zero. + // + HRESULT GetNativeVideoSize( + [in, out, unique] SIZE* pszVideo, + [in, out, unique] SIZE* pszARVideo + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the minimum and maximum video sizes that the VIDEO RENDERER can + // display without incurring significant performance or image quality degradation. + // + // Parameters: + // + // pszMin - Receives the minimum ideal size. Optional, unless pszMax is NULL. + // pszMax - Receives the maximum ideal size. Optional, unless pszMax is NULL. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - Both pointers passed were NULL. + // + // Remarks: + // + // None. + // + HRESULT GetIdealVideoSize( + [in, out, unique] SIZE* pszMin, + [in, out, unique] SIZE* pszMax + ); + + //------------------------------------------------------------------------- + // Description: + // + // Sets the source rectangle and destination region for the video. + // + // Parameters: + // + // pnrcSource - Specifies the source zoom rectangle as a normalized rectangle. + // This means that the coordinates exist as float values in the range {0, 1}. + // To zoom to 100 on the middle content, a rectangle of {.25, .25, .75, .75} + // would be specified. A src rectangle with zero height or width is invalid; + // it would be akin to a divide by zero, since nothing cannot be stretched. + // Optional, unless prcDest is NULL. + // prgnDest - Specifies the destination rectangle. + // Optional, unless pnrcSource is NULL. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT SetVideoPosition( + [in, unique] const MFVideoNormalizedRect* pnrcSource, + [in, unique] const LPRECT prcDest + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current source rectangle and destination region used to display + // the video. + // + // Parameters: + // + // pnrcSource - Receives the current source rectangle. This is expressed as a + // normalized rectangle using float values in the range {0, 1}. If a rectangle + // of {.25, .25, .75, .75} is retrieved, then the middle content has been + // zoomed to 200. + // prcDest - Receives the current destination rectangle. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // Need to add size_is(*pdwSizeofRgnData) attribute to prgnDest, + // but since that represents array size, need to change prgnDest + // to be BYTE* first. + // + HRESULT GetVideoPosition( + [out] MFVideoNormalizedRect* pnrcSource, + [out] LPRECT prcDest + ); + + //------------------------------------------------------------------------- + // Description: + // + // Specifies how the video renderer will preserve the aspect ratio of the source video. + // + // Parameters: + // + // AspectRatioMode - The aspect ratio mode in which the video should presented. + // This is an OR combination of MFVideoAspectRatioMode. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // + // Remarks: + // + // None. + // + HRESULT SetAspectRatioMode( + [in] DWORD dwAspectRatioMode + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current mode in which video is being displayed in a window. + // + // Parameters: + // + // lpAspectRatioMode - Receives the aspect ratio mode. This is an OR + // combination of MFVideoAspectRatioMode. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetAspectRatioMode( + [out] DWORD* pdwAspectRatioMode + ); + + //------------------------------------------------------------------------- + // Description: + // + // Specifies the container window that video should be clipped to. + // + // Parameters: + // + // hwndVideo - The window to which the video should be clipped. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // + // Remarks: + // + // None. + // + HRESULT SetVideoWindow( + [in] HWND hwndVideo + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the container window that video is being clipped to. + // + // Parameters: + // + // phwndVideo - Receives the HWND value to which the video is being clipped. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetVideoWindow( + [out] HWND* phwndVideo + ); + + //------------------------------------------------------------------------- + // Description: + // + // Repaints the current video frame. Should be called when the application + // receives a WM_PAINT message. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT RepaintVideo(); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves a copy of the current image being displayed by the video renderer. + // + // Parameters: + // + // pBih - Receives the description of the bitmap. biSize must be set + // to sizeof(BITMAPINFOHEADER). + // pDib - Receives the current image. Allocated by the callee. + // pcbDib - Receives the size of the the image in pDib. + // pTimeStamp - Receives the timestamp of the current frame. + // + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // The image is returned in the form of packed Windows DIB. The caller is + // responsible for free the returned memory by calling CoTaskMemFree. + // + // GetCurrentImage can be called at any time, but excessive use of this + // function will degrade video playback performed. + // + HRESULT GetCurrentImage( + [in, out] BITMAPINFOHEADER* pBih, + [out, size_is(, *pcbDib)] BYTE** pDib, + [out] DWORD* pcbDib, + [in, out, unique] LONGLONG* pTimeStamp + ); + + //------------------------------------------------------------------------- + // Description: + // + // Sets the border color to be used by the video renderer. + // + // Parameters: + // + // Clr - The color to be set. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // + // Remarks: + // + // The border color is color used to fill any area of the + // the destination rectangle that does not contain video. + // It is typically used in two instances: + // 1) When the video straddles two monitors and + // 2) When the EVR is trying to maintain the aspect + // ratio of the movies by letter boxing the video + // to fit within the specified destination rectangle. + // See also SetAspectRatioMode. + // + HRESULT SetBorderColor( + [in] COLORREF Clr + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current border color used by the video renderer. + // + // Parameters: + // + // pClr - Receives the current border color. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetBorderColor( + [out] COLORREF* pClr + ); + + //------------------------------------------------------------------------- + // Description: + // + // Sets various application preferences related to video rendering. + // + // Parameters: + // + // dwRenderFlags - A bitwise OR of MFVideoRenderPrefs values specifying the + // rendering preferences. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_INVALIDARG - An invalid set of preferences were supplied. + // + // Remarks: + // + // None. + // + HRESULT SetRenderingPrefs( + [in] DWORD dwRenderFlags // a combination of MFVideoRenderPrefs + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current set of rendering preferences being used by + // the video renderer. + // + // Parameters: + // + // pdwRenderFlags - receives a DWORD representing a bitwise OR of + // MFVideoRenderprefs values indicating the current rendering preferences. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetRenderingPrefs( + [out] DWORD* pdwRenderFlags + ); + + //------------------------------------------------------------------------- + // Description: + // + // Sets or unsets the renderer from its fullscreen rendering mode. For the + // D3D9 renderer, this is D3D exclusive mode. + // + // Parameters: + // + // fFullscreen - TRUE if the renderer should display to the entire screen. + // FALSE otherwise. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // + // Remarks: + // + // None. + // + HRESULT SetFullscreen( + [in] BOOL fFullscreen + ); + + //------------------------------------------------------------------------- + // Description: + // + // Indicates whether or not the renderer is currently in full screen mode. + // + // Parameters: + // + // pfFullscreen - TRUE if the renderer is displaying to the entire screen. + // FALSE otherwise. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetFullscreen( + [out] BOOL* pfFullscreen + ); +} + +//============================================================================= +// Description: +// +// The different message types that can be passed to the video presenter via +// IMFVideoPresenter::ProcessMessage. +// +typedef enum MFVP_MESSAGE_TYPE { + // Called by the video renderer when a flush request is received on the + // reference video stream. In response, the presenter should clear its + // queue of samples waiting to be presented. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_FLUSH = 0x00000000, + // Indicates to the presenter that the current output media type on the + // mixer has changed. In response, the presenter may now wish to renegotiate + // the media type of the video mixer. + // Return Values: + // S_OK - successful completion + // MF_E_INVALIDMEDIATYPE - The presenter and mixer could not agree on + // a media type. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_INVALIDATEMEDIATYPE = 0x00000001, + // Indicates that a sample has been delivered to the video mixer object, + // and there may now be a sample now available on the mixer's output. In + // response, the presenter may want to draw frames out of the mixer's + // output. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_PROCESSINPUTNOTIFY = 0x00000002, + // Called when streaming is about to begin. In + // response, the presenter should allocate any resources necessary to begin + // streaming. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_BEGINSTREAMING = 0x00000003, + // Called when streaming has completed. In + // response, the presenter should release any resources that were + // previously allocated for streaming. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_ENDSTREAMING = 0x00000004, + // Indicates that the end of this segment has been reached. + // When the last frame has been rendered, EC_COMPLETE should be sent + // on the IMediaEvent interface retrieved from the renderer + // during IMFTopologyServiceLookupClient::InitServicePointers method. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_ENDOFSTREAM = 0x00000005, + // The presenter should step the number frames indicated by the lower DWORD + // of ulParam. + // The first n-1 frames should be skipped and only the nth frame should be + // shown. Note that this message should only be received while in the pause + // state or while in the started state when the rate is 0. + // Otherwise, MF_E_INVALIDREQUEST should be returned. + // When the nth frame has been shown EC_STEP_COMPLETE + // should be sent on the IMediaEvent interface. + // Additionally, if stepping is being done while the rate is set to 0 + // (a.k.a. "scrubbing"), the frame should be displayed immediately when + // it is received, and EC_SCRUB_TIME should be sent right away after + // sending EC_STEP_COMPLETE. + MFVP_MESSAGE_STEP = 0x00000006, + // The currently queued step operation should be cancelled. The presenter + // should remain in the pause state following the cancellation. + // ulParam is unused and should be set to zero. + MFVP_MESSAGE_CANCELSTEP = 0x00000007, + +} MFVP_MESSAGE_TYPE; + +//============================================================================= +// Description: +// +// The IMFVideoPresenter interface allows for direct control over the video +// frames, in that it receives video samples as soon as they are available +// from upstream. The video presenter must therefore take care of the timing +// of the samples and synchronize with the render clock. +// +// Custom Video Presenter objects must support this interface. +// +[ + object, + uuid(29AFF080-182A-4a5d-AF3B-448F3A6346CB), + helpstring("IMFVideoPresenter Interface"), + local +] +interface IMFVideoPresenter : IMFClockStateSink +{ + //------------------------------------------------------------------------- + // Description: + // + // Indicates to the presenter that a certain action needs to be performed, + // or signals that something has occured. + // + // Parameters: + // + // eMessage - Indicates the action to be performed or the condition that + // has occured. + // ulParam - Allows for additional information to be passed to the caller. + // See the definition of eMessage for more information. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // + // Remarks: + // + // None. + // + HRESULT ProcessMessage( + MFVP_MESSAGE_TYPE eMessage, + ULONG_PTR ulParam + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current media type that has been last negotiated by a + // successful call to InvalidateMediaType. + // + // Parameters: + // + // ppMediaType - Receives the currently set media type. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetCurrentMediaType( + [out, annotation("_Outptr_")] IMFVideoMediaType** ppMediaType + ); +} + +//============================================================================= +// Description: +// +// This interface may be optionally supported by buffers passed back to a +// D3D mixer. It allows the presenter more control over which frames the video +// mixer gives back the presenter. +// +// It is retrieved by calling QueryInterface on the IMFSample object. +// +[ + object, + uuid(56C294D0-753E-4260-8D61-A3D8820B1D54), + helpstring("IMFDesiredSample Interface"), + local +] +interface IMFDesiredSample : IUnknown +{ + + //------------------------------------------------------------------------- + // Description: + // + // Called by the Mixer to get the time and duration of sample that the + // presenter wishes. + // + // Parameters: + // + // phnsSampleTime - Receives the desired sample time which should be mixed. + // For example, if the sample time is the same as the last sample time, + // the same sample will be retrieved. To retrieve the next sample, use + // the actual sample time plus the actual sample duration. + // phnsSampleDuration - Receives the sample duration that should be mixed. + // + // Return values: + // + // S_OK - Successful completion. + // E_POINTER - An invalid pointer was passed. + // MF_E_NOT_AVAILABLE - There is no timestamp set. + // + // Remarks: + // + // None. + // + HRESULT GetDesiredSampleTimeAndDuration( + [out, annotation("_Out_")] LONGLONG *phnsSampleTime, + [out, annotation("_Out_")] LONGLONG *phnsSampleDuration + ); + + //------------------------------------------------------------------------- + // Description: + // + // Called by the Presenter to set the time and duration of sample which it + // desires from the mixer. + // + // Parameters: + // + // hnsSampleTime - The time of the sample that is wished from the mixer. + // hnsSampleDuration - The duration of the sample that is wished from the + // mixer. + // + // Return values: + // + // S_OK - Successful completion. + // + // Remarks: + // + // This value should be set prior to passing the buffer to the mixer for + // a Mix operation. The mixer sets the actual start and duration times on + // the IMFSample before handing it back. + // + void SetDesiredSampleTimeAndDuration( + [in] LONGLONG hnsSampleTime, + [in] LONGLONG hnsSampleDuration + ); + + //------------------------------------------------------------------------- + // Description: + // + // Clears the timestamps previously set by a call to + // SetDesiredSampleTimeAndDuration, thus resulting in any subsequent calls + // to GetDesiredSampleTimeAndDuration failing with error code + // MF_E_NOT_AVAILABLE. + // + void Clear(); +}; + +//============================================================================= +// Description: +// +// The IMFVideoMixerControl interface supports mixing of separate video streams. +// If a video renderer supports this functionality it is accessed via the +// IMFGetService interface from the renderer object, using service GUID +// MR_VIDEO_MIXER_SERVICE. +// +[ + object, + uuid(A5C6C53F-C202-4aa5-9695-175BA8C508A5), + helpstring("IMFVideoMixerControl Interface") +] +interface IMFVideoMixerControl : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Sets this video stream's position in the Z-order. + // + // Parameters: + // + // dwStreamID - The stream ID of the stream to set. + // dwZ - The z-order value. 0 indicates the bottom of the z-order and must + // be the reference stream. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_INVALIDSTREAMNUMBER - an invalid stream ID was supplied. + // MF_E_INVALIDREQUEST - 0 was supplied as the Z-order for a stream other + // then the reference stream, or a value other than 0 was supplied + // for the reference stream. + // E_INVALIDARG - a z-order value greater than was supplied. + // + // Remarks: + // + // Z-order of the reference stream is always 0 and cannot be set otherwise. + // + HRESULT SetStreamZOrder( + [in] DWORD dwStreamID, + [in] DWORD dwZ + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves this video stream's position in the Z-order. + // + // Parameters: + // + // dwStreamID - The stream ID of the stream to get. + // pdwZ - Receives the z-order value. 0 indicates the bottom of the z-order + // will always be the value of the reference stream. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_INVALIDSTREAMNUMBER - an invalid stream ID was supplied. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetStreamZOrder( + [in] DWORD dwStreamID, + [out] DWORD* pdwZ + ); + + //------------------------------------------------------------------------- + // Description: + // + // Sets the position of this stream within the composition rectangle. + // + // Parameters: + // + // dwStreamID - The stream ID of the stream to set. + // pnrcOutput - The bounding rectangle, in normalized coordinates. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_INVALIDSTREAMNUMBER - an invalid stream ID was supplied. + // E_INVALIDARG - the Normalized rectangle supplied had coordinates that + // were invalid. See MFVideoNormalizedRect for more information. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT SetStreamOutputRect( + [in] DWORD dwStreamID, + [in] const MFVideoNormalizedRect *pnrcOutput + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the position of this stream's video rectangle within the composition rectangle. + // + // Parameters: + // + // dwStreamID - The stream ID of the stream to get. + // pnrcOutput - Receives the bounding rectangle, in normalized coordinates. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_INVALIDSTREAMNUMBER - an invalid stream ID was supplied. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetStreamOutputRect( + [in] DWORD dwStreamID, + [out] MFVideoNormalizedRect *pnrcOutput + ); +}; + +//============================================================================= +// Description: +// +// The mixing preferences used by the video mixer object. +// +typedef enum _MFVideoMixPrefs { + MFVideoMixPrefs_ForceHalfInterlace = 0x00000001, + MFVideoMixPrefs_AllowDropToHalfInterlace = 0x00000002, + MFVideoMixPrefs_AllowDropToBob = 0x00000004, + MFVideoMixPrefs_ForceBob = 0x00000008, + MFVideoMixPrefs_EnableRotation = 0x00000010, + MFVideoMixPrefs_Mask = 0x0000001f, +} MFVideoMixPrefs; + +//============================================================================= +// Description: +// +// The IMFVideoMixerControl2 interface supports mixing of separate video streams. +// If a video renderer supports this functionality it is accessed via the +// IMFGetService interface from the renderer object, using service GUID +// MR_VIDEO_MIXER_SERVICE. +// +[ + object, + uuid(8459616d-966e-4930-b658-54fa7e5a16d3), + helpstring("IMFVideoMixerControl2 Interface") +] +interface IMFVideoMixerControl2 : IMFVideoMixerControl +{ + //------------------------------------------------------------------------- + // Description: + // + // Sets various application preferences related to video mixing. + // + // Parameters: + // + // dwMixFlags - A bitwise OR of MFVideoMixPrefs values specifying the + // rendering preferences. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video mixer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_INVALIDARG - An invalid set of preferences were supplied. + // + // Remarks: + // + // None. + // + HRESULT SetMixingPrefs( + [in] DWORD dwMixFlags // a combination of MFVideoMixPrefs + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current set of mixing preferences being used by + // the video mixer. + // + // Parameters: + // + // pdwMixFlags - receives a DWORD representing a bitwise OR of + // MFVideoMixingprefs values indicating the current mixing preferences. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video mixer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetMixingPrefs( + [out] DWORD* pdwMixFlags + ); +}; + +//============================================================================= +// Description: +// +// The IMFVideoRenderer interface supports a single method, which allows an +// application to replace the video presenter and mixer objects with ones of +// its own creation. +// +[ + object, + uuid(DFDFD197-A9CA-43d8-B341-6AF3503792CD), + helpstring("IMFVideoRenderer Interface"), + local +] +interface IMFVideoRenderer : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Replaces the video presenter and mixer objects with ones specified by the + // application. + // + // Parameters: + // + // pVideoMixer - The new video mixer object. Can be NULL. + // + // pVideoPresenter - The new video presenter object. Can be NULL. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_SHUTDOWN - The video renderer has been Shutdown and will no longer + // respond to methods calls. It must be released. + // + // Remarks: + // + // If the video renderer is in the protected media path(PMP), then the mixer + // and presenter objects must be certified safe components and pass any trust + // authority verification that is being enforced. Otherwise, this method will fail. + // + // It is legal to supply NULL as the parameter for both arguments. + // + HRESULT InitializeRenderer( + [in, unique, annotation("_In_opt_")] IMFTransform* pVideoMixer, + [in, unique, annotation("_In_opt_")] IMFVideoPresenter* pVideoPresenter + ); +} + +//============================================================================= +// Description: +// +// The IEVRFilterConfig interface exists for configuration of the DShow EVR +// filter. It allows for setting the stream count. +// +[ + object, + uuid(83E91E85-82C1-4ea7-801D-85DC50B75086), + helpstring("IEVRFilterConfig Interface"), + local +] +interface IEVRFilterConfig : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Configures the video renderer filter with the desired number of streams. + // + // Parameters: + // + // dwMaxStreams - The number of pins. + // + // Return values: + // + // S_OK - Successful completion. + // VFW_E_WRONG_STATE - The Pin count has already been set or the EVR is + // still connected. + // E_INVALIDARG - There must always be a minimum of one pin. Specifying 0 + // will result in this error code. + // + // Remarks: + // + // Pins are created in the disabled state. + // + HRESULT SetNumberOfStreams( + [in] DWORD dwMaxStreams + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current number of pins that exist on the video renderer. + // There is always at least one pin. + // + // Parameters: + // + // pdwMaxStreams - Receives the number of pins on the filter. + // + // Return values: + // + // S_OK - Successful completion. + // E_POINTER - pdwMaxStreams is NULL. + // + // Remarks: + // + // None. + // + HRESULT GetNumberOfStreams( + [out, annotation("_Out_")] DWORD* pdwMaxStreams + ); +} + +//============================================================================= +// Description: +// +// The configuration preferences used by the filter. +// +typedef enum _EVRFilterConfig_Prefs { + EVRFilterConfigPrefs_EnableQoS = 0x00000001, + EVRFilterConfigPrefs_Mask = 0x00000001, +} EVRFilterConfigPrefs; + +//============================================================================= +// Description: +// +// The IEVRFilterConfigEx interface controls the filter behavior +// +[ + object, + uuid(aea36028-796d-454f-beee-b48071e24304), + helpstring("IEVRFilterConfigEx Interface") +] +interface IEVRFilterConfigEx : IEVRFilterConfig +{ + //------------------------------------------------------------------------- + // Description: + // + // Sets various application filter preferences. + // + // Parameters: + // + // dwConfigFlags - A bitwise OR of EVRFilterConfigPrefs values specifying the + // filter preferences. + // + // Return values: + // + // S_OK - Successful completion. + // E_INVALIDARG - An invalid set of preferences were supplied. + // + // Remarks: + // + // None. + // + HRESULT SetConfigPrefs( + [in] DWORD dwConfigFlags // a combination of EVRFilterConfigPrefs + ); + + //------------------------------------------------------------------------- + // Description: + // + // Retrieves the current set of Config preferences being used by + // the EVR filter. + // + // Parameters: + // + // pdwConfigFlags - receives a DWORD representing a bitwise OR of + // EVRFilterConfigPrefs values indicating the current Config preferences. + // + // Return values: + // + // S_OK - Successful completion. + // E_POINTER - An invalid pointer was passed. + // + // Remarks: + // + // None. + // + HRESULT GetConfigPrefs( + [out] DWORD* pdwConfigFlags + ); +}; + + +/////////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////// + +typedef enum _MF_SERVICE_LOOKUP_TYPE +{ + MF_SERVICE_LOOKUP_UPSTREAM, + MF_SERVICE_LOOKUP_UPSTREAM_DIRECT, + MF_SERVICE_LOOKUP_DOWNSTREAM, + MF_SERVICE_LOOKUP_DOWNSTREAM_DIRECT, + MF_SERVICE_LOOKUP_ALL, // lookup service on any components of the graph + MF_SERVICE_LOOKUP_GLOBAL, // lookup global objects +} MF_SERVICE_LOOKUP_TYPE; + +//============================================================================= +// Description: +// +// Component can use IMFTopologyServiceLookup interface to lookup object in topology. +// Pipeline will call IMFTopologyServiceLookupClient::InitServicePointers some time after component is created +// Component should only use IMFTopologyServiceLookup in the context of IMFTopologyServiceLookupClient::InitServicePointers call +// After call is complete IMFTopologyServiceLookup interface will return an error for any call +// +[ + object, + uuid(fa993889-4383-415a-a930-dd472a8cf6f7), + helpstring("IMFTopologyServiceLookup Interface"), + local +] +interface IMFTopologyServiceLookup : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Called by a client to retrieve external interfaces. + // + // Parameters: + // + // Type - Identifies the scope of the search. + // + // dwIndex - Optional index to identify component input or output. Ignored for _ALL or _GLOBAL type . + // + // guidService - Identifies the service to lookup. + // + // riid - IID of the interface on the service. + // + // ppvObjects - Contains array of size == *pnObject to fill in . + // + // pnObjects - At input time, contains the maximum number of elements in ppvObjects array. + // + // Return values: + // + // S_OK - Successful completion. + // MF_E_UNSUPPORTED_SERVICE - The service specified by guidService is not supported. + // MF_E_NOTACCEPTING - The method was called outside the context of an IMFTopologyServiceLookupClient::InitServicePointers method call. + // E_POINTER - pnObjects or ppvObjects was NULL. + // E_INVALIDARG - *pnObjects was zero. + // + // Remarks: + // + // Method may only be called within the context of an + // IMFTopologyServiceLookupClient::InitServicePointers method call. + // + HRESULT LookupService( + [in] MF_SERVICE_LOOKUP_TYPE Type, + [in] DWORD dwIndex, + [in] REFGUID guidService, + [in] REFIID riid, + [out, iid_is(riid), annotation("_Out_writes_to_(1,*pnObjects)")] LPVOID* ppvObjects, + [in, out, annotation("_Inout_")] DWORD * pnObjects + ); +} + + +//============================================================================= +// Description: +// +// Component can implement IMFTopologyServiceLookupClient if it wants to lookup services on other components in the pipeline +// +[ + local, + object, + uuid(fa99388a-4383-415a-a930-dd472a8cf6f7) +] +interface IMFTopologyServiceLookupClient : IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // Called by the EVR during initialization of the component. + // Component can lookup services using pLookup object + // + // Parameters: + // + // pLookup - The interface to be used to discover objects. + // + // Return values: + // + // S_OK - Successful completion. + // + // Remarks: + // + // The IMFTopologyServiceLookup pointer should not be addref'ed or cached + // by the callee. It can not be used outside the context of this method + // call and will fail if an attempt is made. + // + HRESULT InitServicePointers( + [in, annotation("_In_")] IMFTopologyServiceLookup * pLookup + ); + + //------------------------------------------------------------------------- + // Description: + // + // Called by the pipeline during deinitialization of the component. + // Component should release all services acquired during InitServicePointers call + // + HRESULT ReleaseServicePointers( + ); +} + + +//============================================================================= +// Description: +// +// EVR plug-ins (mixer, presenter) are expected to implement IEVRTrustedVideoPlugin - QI-able interface +// to enable working in the Protected Video Path. Video OTA uses them to communicate with +// policy objects from ITA. +// +// Abscence of this interface on the plug-in is interpreted as a negative answer to both predicates +// for the purposes of EVR-OTA communication +// + +[ + object, + uuid(83A4CE40-7710-494b-A893-A472049AF630), + helpstring("IEVRTrustedVideoPlugin Interface"), + local +] +interface IEVRTrustedVideoPlugin: IUnknown +{ + //------------------------------------------------------------------------- + // Description: + // + // This predicate is a simple mechanism for a plug-in to report presence of transient/conditional "video vulnerabilities" + // known to a plug-in on EVR's device change. Returning FALSE here will result in indication to a Policy Object from ITA + // of an additional presence of "unknown software "connector" as an output. Policy Object may take this into consideration + // when defining the protection settings. + // + // The method is called every time on every EVR plug-in after EVR's OTA is informed by EVR about new rendering "device" + // + // The example of such "transient" vulnerability is a windowed (non-fullscreen DX) mode for the EVR presenter in Vista + // ("GDI hole") that is vulnerable to a screen scraping. Whenever the presenter finds itself in a windowed mode it should + // return FALSE. Once "GDI hole" is fixed this may be reflected in this plug-in's implementation of this method. + + // The vulnerabilities are expected to be "transient" as a plug-in that is *always* cannot be trusted with premium video probably + // shouldn't be certified to be loaded in PMP at all. It is responsibility of the plug-in to verify during this call all applicable transient + // conditions for known video vulnerabilities. + + // + // Parameters: + // + // pYes - To return TRUE if plug-in is in trusted video mode, FALSE otherwise + // + // Return values: + // + // S_OK - Successful completion. Any failure is treated as if the method returned FALSE. + // + // Remarks: + // + HRESULT IsInTrustedVideoMode ( + [out] BOOL *pYes + ); + + + + //------------------------------------------------------------------------- + // Description: + // + // Constriction (limiting the effective resolution of the image to a specified number of pixels) + // is a protection mechanism offered by EVR via OTA to a content policy owner. It can be + // implemented either by a mixer or a presenter plug-in (or both) with preference given to a + // mixer. If no mixer is available or a mixer indicates that it cannot support constriction then + // the presenter will be asked if it implements constriction. + // This predicate currently is called immediately after every SetDevice in EVR. + // + // Parameters: + // + // pYes - To return TRUE if plug-in can constrict, FALSE otherwise + // + // Return values: + // + // S_OK - Successful completion. Any failure is treated as if the method returned FALSE. + // + // Remarks: + // + // Care should be taken that no public interface exposed by plug-ins can lessen bandwidth + // restriction imposed by private IEVRTrustedVideo::SetConstriction. If constriction cannot be performed + // in a trusted manner (regardless of the answer on IsInTrustedVideoMode) this capability should + // not be reported. + // + // + HRESULT CanConstrict ( + [out] BOOL *pYes + ); + + + + //------------------------------------------------------------------------- + // Description: + // + // Once an EVR plug-in reports that it CanConstrict video it may be called at any time + // to SetContsriction with the argument establishing limit on the total number of "source" pixels + // in the full output image in "kilopixels" (1000 pixels). (The actual number of pixels at destination can be + // different due to stretch scaling, etc) + // Two argument values are reserved: DWORD(0) and DWORD(0xFFFFFFFF). The former is meant + // to "disable" video (0 "source" pixels, preferably "black video" + // Refer to compliance rules for the definition of "disable". It may be possible to treat "ultra-constriction" + // (<1Kpix) as "disable".) The latter is used to indicate the end of any policy-imposed constriction + // requirements that might be in effect before. + // + // Parameters: + // + // dwKPix - Amount of allowed source pixels in the image in KPixels, or one the two reserved value (see description) + // + // Return values: + // + // S_OK - Successful completion. Any failure here is teated as Policy Enforcemet Failure and is reported to + // to MIG's policy engine as such. + // + // Remarks: + // + // Care should be taken that no public interface exposed by plug-ins can lessen bandwidth + // restriction imposed by private IEVRTrustedVideo::SetConstriction. If constriction cannot be performed + // in a trusted manner (regardless of the answer on IsInTrustedVideoMode) this capability should + // not be reported. + // + // + HRESULT SetConstriction( + DWORD dwKPix + ); + + + //------------------------------------------------------------------------- + // Description: + // + // Some plug-ins (presenters) may implement some form of image exports + // like vidctrl GetCurrentImage(). This OTA callback sets permission to do that. + // + // By default the plug-in is assumed to start with ImageExport functionality enabled + // (if implemented) + // + // Parameters: + // + // BOOL bDisable - TRUE/FALSE. TRUE disables all subsequent image export requests, until set to FALSE. + // + // Return values: + // + // Should always S_OK. Failure will be reported as a policy enforcement error. + // + // Remarks: + // + // A plug-in is expected to return MF_E_LICENSE_INCORRECT_RIGHTS + // from an export methods when disabled. + // + HRESULT DisableImageExport( + BOOL bDisable + ); + +}; + + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// +cpp_quote( "#ifndef MFEVRDLL" ) +cpp_quote( "#define MFEVRDLL 0" ) +cpp_quote( "#endif" ) + +cpp_quote( "#if MFEVRDLL" ) +cpp_quote( "#define EVRPUBLIC(func) STDAPI _##func" ) +cpp_quote( "#else" ) +cpp_quote( "#define EVRPUBLIC(func) STDAPI func" ) +cpp_quote( "#endif" ) + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// + +cpp_quote( "EVRPUBLIC(MFCreateVideoPresenter)(" ) +cpp_quote( " _In_opt_ IUnknown * pOwner," ) +cpp_quote( " REFIID riidDevice," ) +cpp_quote( " REFIID riid," ) +cpp_quote( " _Outptr_result_maybenull_ void ** ppVideoPresenter" ) +cpp_quote( " );" ) + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// + +cpp_quote( "EVRPUBLIC(MFCreateVideoMixer)(" ) +cpp_quote( " _In_opt_ IUnknown * pOwner," ) +cpp_quote( " REFIID riidDevice," ) +cpp_quote( " REFIID riid," ) +cpp_quote( " _Outptr_ void ** ppv" ) +cpp_quote( " );" ) + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// + +cpp_quote( "EVRPUBLIC(MFCreateVideoMixerAndPresenter)(" ) +cpp_quote( " _In_opt_ IUnknown * pMixerOwner,") +cpp_quote( " _In_opt_ IUnknown * pPresenterOwner,") +cpp_quote( " REFIID riidMixer,") +cpp_quote( " _Outptr_ void ** ppvVideoMixer, ") +cpp_quote( " REFIID riidPresenter,") +cpp_quote( " _Outptr_ void ** ppvVideoPresenter") +cpp_quote( " );" ) + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// + +cpp_quote( "EVRPUBLIC(MFCreateVideoRenderer)(" ) +cpp_quote( " REFIID riidRenderer,") +cpp_quote( " _Outptr_result_maybenull_ void ** ppVideoRenderer" ) +cpp_quote( " );" ) + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// + +cpp_quote( "EVRPUBLIC(MFCreateVideoSampleFromSurface)(" ) +cpp_quote( " _In_ IUnknown* pUnkSurface," ) +cpp_quote( " _Out_ IMFSample** ppSample" ) +cpp_quote( " );" ) + +////////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////////// + +cpp_quote( "EVRPUBLIC(MFCreateVideoSampleAllocator)(" ) +cpp_quote( " _In_ REFIID riid," ) +cpp_quote( " _Outptr_ void** ppSampleAllocator" ) +cpp_quote( " );" ) + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr9.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr9.h new file mode 100644 index 0000000000000000000000000000000000000000..52e7088484c5d19d0a0dd5c67b4559f58993915d --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/evr9.h @@ -0,0 +1,592 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __evr9_h__ +#define __evr9_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IEVRVideoStreamControl_FWD_DEFINED__ +#define __IEVRVideoStreamControl_FWD_DEFINED__ +typedef interface IEVRVideoStreamControl IEVRVideoStreamControl; + +#endif /* __IEVRVideoStreamControl_FWD_DEFINED__ */ + + +#ifndef __IMFVideoProcessor_FWD_DEFINED__ +#define __IMFVideoProcessor_FWD_DEFINED__ +typedef interface IMFVideoProcessor IMFVideoProcessor; + +#endif /* __IMFVideoProcessor_FWD_DEFINED__ */ + + +#ifndef __IMFVideoMixerBitmap_FWD_DEFINED__ +#define __IMFVideoMixerBitmap_FWD_DEFINED__ +typedef interface IMFVideoMixerBitmap IMFVideoMixerBitmap; + +#endif /* __IMFVideoMixerBitmap_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "unknwn.h" +#include "mfobjects.h" +#include "mftransform.h" +#include "evr.h" +#include "dxva2api.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_evr9_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + +extern RPC_IF_HANDLE __MIDL_itf_evr9_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr9_0000_0000_v0_0_s_ifspec; + +#ifndef __IEVRVideoStreamControl_INTERFACE_DEFINED__ +#define __IEVRVideoStreamControl_INTERFACE_DEFINED__ + +/* interface IEVRVideoStreamControl */ +/* [unique][helpstring][uuid][local][object] */ + + +EXTERN_C const IID IID_IEVRVideoStreamControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("d0cfe38b-93e7-4772-8957-0400c49a4485") + IEVRVideoStreamControl : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE SetStreamActiveState( + /* [in] */ BOOL fActive) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStreamActiveState( + /* [annotation][out] */ + _Out_ BOOL *lpfActive) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IEVRVideoStreamControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IEVRVideoStreamControl * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IEVRVideoStreamControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IEVRVideoStreamControl * This); + + DECLSPEC_XFGVIRT(IEVRVideoStreamControl, SetStreamActiveState) + HRESULT ( STDMETHODCALLTYPE *SetStreamActiveState )( + IEVRVideoStreamControl * This, + /* [in] */ BOOL fActive); + + DECLSPEC_XFGVIRT(IEVRVideoStreamControl, GetStreamActiveState) + HRESULT ( STDMETHODCALLTYPE *GetStreamActiveState )( + IEVRVideoStreamControl * This, + /* [annotation][out] */ + _Out_ BOOL *lpfActive); + + END_INTERFACE + } IEVRVideoStreamControlVtbl; + + interface IEVRVideoStreamControl + { + CONST_VTBL struct IEVRVideoStreamControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IEVRVideoStreamControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IEVRVideoStreamControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IEVRVideoStreamControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IEVRVideoStreamControl_SetStreamActiveState(This,fActive) \ + ( (This)->lpVtbl -> SetStreamActiveState(This,fActive) ) + +#define IEVRVideoStreamControl_GetStreamActiveState(This,lpfActive) \ + ( (This)->lpVtbl -> GetStreamActiveState(This,lpfActive) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IEVRVideoStreamControl_INTERFACE_DEFINED__ */ + + +#ifndef __IMFVideoProcessor_INTERFACE_DEFINED__ +#define __IMFVideoProcessor_INTERFACE_DEFINED__ + +/* interface IMFVideoProcessor */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoProcessor; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6AB0000C-FECE-4d1f-A2AC-A9573530656E") + IMFVideoProcessor : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetAvailableVideoProcessorModes( + /* [out][in] */ __RPC__inout UINT *lpdwNumProcessingModes, + /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*lpdwNumProcessingModes) GUID **ppVideoProcessingModes) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps( + /* [in] */ __RPC__in LPGUID lpVideoProcessorMode, + /* [out] */ __RPC__out DXVA2_VideoProcessorCaps *lpVideoProcessorCaps) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorMode( + /* [out] */ __RPC__out LPGUID lpMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetVideoProcessorMode( + /* [in] */ __RPC__in LPGUID lpMode) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAmpRange( + DWORD dwProperty, + /* [out] */ __RPC__out DXVA2_ValueRange *pPropRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProcAmpValues( + DWORD dwFlags, + /* [out] */ __RPC__out DXVA2_ProcAmpValues *Values) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetProcAmpValues( + DWORD dwFlags, + /* [in] */ __RPC__in DXVA2_ProcAmpValues *pValues) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilteringRange( + DWORD dwProperty, + /* [out] */ __RPC__out DXVA2_ValueRange *pPropRange) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetFilteringValue( + DWORD dwProperty, + /* [out] */ __RPC__out DXVA2_Fixed32 *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFilteringValue( + DWORD dwProperty, + /* [in] */ __RPC__in DXVA2_Fixed32 *pValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetBackgroundColor( + /* [out] */ __RPC__out COLORREF *lpClrBkg) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetBackgroundColor( + COLORREF ClrBkg) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoProcessorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IMFVideoProcessor * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IMFVideoProcessor * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IMFVideoProcessor * This); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetAvailableVideoProcessorModes) + HRESULT ( STDMETHODCALLTYPE *GetAvailableVideoProcessorModes )( + __RPC__in IMFVideoProcessor * This, + /* [out][in] */ __RPC__inout UINT *lpdwNumProcessingModes, + /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*lpdwNumProcessingModes) GUID **ppVideoProcessingModes); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetVideoProcessorCaps) + HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorCaps )( + __RPC__in IMFVideoProcessor * This, + /* [in] */ __RPC__in LPGUID lpVideoProcessorMode, + /* [out] */ __RPC__out DXVA2_VideoProcessorCaps *lpVideoProcessorCaps); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetVideoProcessorMode) + HRESULT ( STDMETHODCALLTYPE *GetVideoProcessorMode )( + __RPC__in IMFVideoProcessor * This, + /* [out] */ __RPC__out LPGUID lpMode); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, SetVideoProcessorMode) + HRESULT ( STDMETHODCALLTYPE *SetVideoProcessorMode )( + __RPC__in IMFVideoProcessor * This, + /* [in] */ __RPC__in LPGUID lpMode); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetProcAmpRange) + HRESULT ( STDMETHODCALLTYPE *GetProcAmpRange )( + __RPC__in IMFVideoProcessor * This, + DWORD dwProperty, + /* [out] */ __RPC__out DXVA2_ValueRange *pPropRange); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetProcAmpValues) + HRESULT ( STDMETHODCALLTYPE *GetProcAmpValues )( + __RPC__in IMFVideoProcessor * This, + DWORD dwFlags, + /* [out] */ __RPC__out DXVA2_ProcAmpValues *Values); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, SetProcAmpValues) + HRESULT ( STDMETHODCALLTYPE *SetProcAmpValues )( + __RPC__in IMFVideoProcessor * This, + DWORD dwFlags, + /* [in] */ __RPC__in DXVA2_ProcAmpValues *pValues); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetFilteringRange) + HRESULT ( STDMETHODCALLTYPE *GetFilteringRange )( + __RPC__in IMFVideoProcessor * This, + DWORD dwProperty, + /* [out] */ __RPC__out DXVA2_ValueRange *pPropRange); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetFilteringValue) + HRESULT ( STDMETHODCALLTYPE *GetFilteringValue )( + __RPC__in IMFVideoProcessor * This, + DWORD dwProperty, + /* [out] */ __RPC__out DXVA2_Fixed32 *pValue); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, SetFilteringValue) + HRESULT ( STDMETHODCALLTYPE *SetFilteringValue )( + __RPC__in IMFVideoProcessor * This, + DWORD dwProperty, + /* [in] */ __RPC__in DXVA2_Fixed32 *pValue); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, GetBackgroundColor) + HRESULT ( STDMETHODCALLTYPE *GetBackgroundColor )( + __RPC__in IMFVideoProcessor * This, + /* [out] */ __RPC__out COLORREF *lpClrBkg); + + DECLSPEC_XFGVIRT(IMFVideoProcessor, SetBackgroundColor) + HRESULT ( STDMETHODCALLTYPE *SetBackgroundColor )( + __RPC__in IMFVideoProcessor * This, + COLORREF ClrBkg); + + END_INTERFACE + } IMFVideoProcessorVtbl; + + interface IMFVideoProcessor + { + CONST_VTBL struct IMFVideoProcessorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoProcessor_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoProcessor_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoProcessor_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoProcessor_GetAvailableVideoProcessorModes(This,lpdwNumProcessingModes,ppVideoProcessingModes) \ + ( (This)->lpVtbl -> GetAvailableVideoProcessorModes(This,lpdwNumProcessingModes,ppVideoProcessingModes) ) + +#define IMFVideoProcessor_GetVideoProcessorCaps(This,lpVideoProcessorMode,lpVideoProcessorCaps) \ + ( (This)->lpVtbl -> GetVideoProcessorCaps(This,lpVideoProcessorMode,lpVideoProcessorCaps) ) + +#define IMFVideoProcessor_GetVideoProcessorMode(This,lpMode) \ + ( (This)->lpVtbl -> GetVideoProcessorMode(This,lpMode) ) + +#define IMFVideoProcessor_SetVideoProcessorMode(This,lpMode) \ + ( (This)->lpVtbl -> SetVideoProcessorMode(This,lpMode) ) + +#define IMFVideoProcessor_GetProcAmpRange(This,dwProperty,pPropRange) \ + ( (This)->lpVtbl -> GetProcAmpRange(This,dwProperty,pPropRange) ) + +#define IMFVideoProcessor_GetProcAmpValues(This,dwFlags,Values) \ + ( (This)->lpVtbl -> GetProcAmpValues(This,dwFlags,Values) ) + +#define IMFVideoProcessor_SetProcAmpValues(This,dwFlags,pValues) \ + ( (This)->lpVtbl -> SetProcAmpValues(This,dwFlags,pValues) ) + +#define IMFVideoProcessor_GetFilteringRange(This,dwProperty,pPropRange) \ + ( (This)->lpVtbl -> GetFilteringRange(This,dwProperty,pPropRange) ) + +#define IMFVideoProcessor_GetFilteringValue(This,dwProperty,pValue) \ + ( (This)->lpVtbl -> GetFilteringValue(This,dwProperty,pValue) ) + +#define IMFVideoProcessor_SetFilteringValue(This,dwProperty,pValue) \ + ( (This)->lpVtbl -> SetFilteringValue(This,dwProperty,pValue) ) + +#define IMFVideoProcessor_GetBackgroundColor(This,lpClrBkg) \ + ( (This)->lpVtbl -> GetBackgroundColor(This,lpClrBkg) ) + +#define IMFVideoProcessor_SetBackgroundColor(This,ClrBkg) \ + ( (This)->lpVtbl -> SetBackgroundColor(This,ClrBkg) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoProcessor_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr9_0000_0002 */ +/* [local] */ + +typedef struct MFVideoAlphaBitmapParams + { + DWORD dwFlags; + COLORREF clrSrcKey; + RECT rcSrc; + MFVideoNormalizedRect nrcDest; + FLOAT fAlpha; + DWORD dwFilterMode; + } MFVideoAlphaBitmapParams; + +typedef struct MFVideoAlphaBitmap + { + BOOL GetBitmapFromDC; + union + { + HDC hdc; + IDirect3DSurface9 *pDDS; + } bitmap; + MFVideoAlphaBitmapParams params; + } MFVideoAlphaBitmap; + +typedef /* [public] */ +enum __MIDL___MIDL_itf_evr9_0000_0002_0002 + { + MFVideoAlphaBitmap_EntireDDS = 0x1, + MFVideoAlphaBitmap_SrcColorKey = 0x2, + MFVideoAlphaBitmap_SrcRect = 0x4, + MFVideoAlphaBitmap_DestRect = 0x8, + MFVideoAlphaBitmap_FilterMode = 0x10, + MFVideoAlphaBitmap_Alpha = 0x20, + MFVideoAlphaBitmap_BitMask = 0x3f + } MFVideoAlphaBitmapFlags; + + + +extern RPC_IF_HANDLE __MIDL_itf_evr9_0000_0002_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr9_0000_0002_v0_0_s_ifspec; + +#ifndef __IMFVideoMixerBitmap_INTERFACE_DEFINED__ +#define __IMFVideoMixerBitmap_INTERFACE_DEFINED__ + +/* interface IMFVideoMixerBitmap */ +/* [local][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IMFVideoMixerBitmap; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("814C7B20-0FDB-4eec-AF8F-F957C8F69EDC") + IMFVideoMixerBitmap : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE SetAlphaBitmap( + /* [in] */ const MFVideoAlphaBitmap *pBmpParms) = 0; + + virtual HRESULT STDMETHODCALLTYPE ClearAlphaBitmap( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE UpdateAlphaBitmapParameters( + /* [in] */ const MFVideoAlphaBitmapParams *pBmpParms) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetAlphaBitmapParameters( + /* [annotation][out] */ + _Out_ MFVideoAlphaBitmapParams *pBmpParms) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IMFVideoMixerBitmapVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IMFVideoMixerBitmap * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IMFVideoMixerBitmap * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IMFVideoMixerBitmap * This); + + DECLSPEC_XFGVIRT(IMFVideoMixerBitmap, SetAlphaBitmap) + HRESULT ( STDMETHODCALLTYPE *SetAlphaBitmap )( + IMFVideoMixerBitmap * This, + /* [in] */ const MFVideoAlphaBitmap *pBmpParms); + + DECLSPEC_XFGVIRT(IMFVideoMixerBitmap, ClearAlphaBitmap) + HRESULT ( STDMETHODCALLTYPE *ClearAlphaBitmap )( + IMFVideoMixerBitmap * This); + + DECLSPEC_XFGVIRT(IMFVideoMixerBitmap, UpdateAlphaBitmapParameters) + HRESULT ( STDMETHODCALLTYPE *UpdateAlphaBitmapParameters )( + IMFVideoMixerBitmap * This, + /* [in] */ const MFVideoAlphaBitmapParams *pBmpParms); + + DECLSPEC_XFGVIRT(IMFVideoMixerBitmap, GetAlphaBitmapParameters) + HRESULT ( STDMETHODCALLTYPE *GetAlphaBitmapParameters )( + IMFVideoMixerBitmap * This, + /* [annotation][out] */ + _Out_ MFVideoAlphaBitmapParams *pBmpParms); + + END_INTERFACE + } IMFVideoMixerBitmapVtbl; + + interface IMFVideoMixerBitmap + { + CONST_VTBL struct IMFVideoMixerBitmapVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IMFVideoMixerBitmap_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IMFVideoMixerBitmap_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IMFVideoMixerBitmap_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IMFVideoMixerBitmap_SetAlphaBitmap(This,pBmpParms) \ + ( (This)->lpVtbl -> SetAlphaBitmap(This,pBmpParms) ) + +#define IMFVideoMixerBitmap_ClearAlphaBitmap(This) \ + ( (This)->lpVtbl -> ClearAlphaBitmap(This) ) + +#define IMFVideoMixerBitmap_UpdateAlphaBitmapParameters(This,pBmpParms) \ + ( (This)->lpVtbl -> UpdateAlphaBitmapParameters(This,pBmpParms) ) + +#define IMFVideoMixerBitmap_GetAlphaBitmapParameters(This,pBmpParms) \ + ( (This)->lpVtbl -> GetAlphaBitmapParameters(This,pBmpParms) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IMFVideoMixerBitmap_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_evr9_0000_0003 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_evr9_0000_0003_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_evr9_0000_0003_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/expandedresources.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/expandedresources.h new file mode 100644 index 0000000000000000000000000000000000000000..2aeb8ea3dace1c3914ebaa87c726879bb9b360e0 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/expandedresources.h @@ -0,0 +1,57 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + +// +// API Set Contract: +// +// api-ms-win-gaming-expandedresources-l1-1-* +// +// Abstract: +// +// This header file provides API function signatures for expanded resources / GameMode apps. +// + +#ifdef MSC_VER +#pragma once +#endif + +#ifndef _APISET_EXPANDEDRESOURCES_ +#define _APISET_EXPANDEDRESOURCES_ + +#include +#include +#ifdef _CONTRACT_GEN +#include +#include +#include +#include +#endif + +#if defined(__cplusplus) +extern "C" { +#endif + +HRESULT +WINAPI +HasExpandedResources( + _Out_ BOOL* hasExpandedResources + ); + +HRESULT +WINAPI +GetExpandedResourceExclusiveCpuCount( + _Out_ ULONG* exclusiveCpuCount + ); + +HRESULT +WINAPI +ReleaseExclusiveCpuSets( + ); + +#if defined(__cplusplus) +} // end extern "C" +#endif // defined(__cplusplus) + +#endif // _APISET_EXPANDEDRESOURCES_ + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fci.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fci.h new file mode 100644 index 0000000000000000000000000000000000000000..fcc34ce87e62e3bc2c786d2d720292e830c99383 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fci.h @@ -0,0 +1,483 @@ +/*** fci_int.h - File Compression Interface definitions + * + * Copyright (C) Microsoft Corporation 1993-1994 + * All Rights Reserved. + * + * Author: + * Chuck Strouss + * + * History: + * 09-Jan-1994 chuckst Contents moved to bfol.h, this file is a + * placeholder for the new 'higher-level' fci + * 14-Feb-1994 bens Cleaned up some comments. + * 09-Mar-1994 bens Added error codes (moved from buildcab.h); + * Added RESERVE control + * 17-Mar-1994 bens Specify structure packing explicitly + * 21-Mar-1994 bens Cleaned up names + * 22-Mar-1994 bens Documented error cods + * 29-Mar-1994 bens Add FCIFlushFolder, renamed FCIFlushCabinet + * 18-Apr-1994 bens Changed CDECL to DIAMONDAPI + * 18-May-1994 bens Add ccab.fFailOnIncompressible field for + * Chicago M6 hack. + * 11-Nov-2005 kinshu SAL annotation + */ + +#include + +#ifndef INCLUDED_FCI +#define INCLUDED_FCI 1 + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +#include +typedef _Null_terminated_ char* LPSTR; +#include + +#ifdef __cplusplus +extern "C" { /* Assume C declarations for C++ */ +#endif /* __cplusplus */ + +//** Specify structure packing explicitly for clients of FCI + +#ifndef _WIN64 +#include +#endif + + +/*** FCIERROR - Error codes returned in erf.erfOper field + * + */ +typedef enum { +FCIERR_NONE, // No error + +FCIERR_OPEN_SRC, // Failure opening file to be stored in cabinet + // erf.erfTyp has C run-time *errno* value + +FCIERR_READ_SRC, // Failure reading file to be stored in cabinet + // erf.erfTyp has C run-time *errno* value + +FCIERR_ALLOC_FAIL, // Out of memory in FCI + +FCIERR_TEMP_FILE, // Could not create a temporary file + // erf.erfTyp has C run-time *errno* value + +FCIERR_BAD_COMPR_TYPE, // Unknown compression type + +FCIERR_CAB_FILE, // Could not create cabinet file + // erf.erfTyp has C run-time *errno* value + +FCIERR_USER_ABORT, // Client requested abort + +FCIERR_MCI_FAIL, // Failure compressing data + +FCIERR_CAB_FORMAT_LIMIT // Data-size or file-count exceeded CAB format limits + // i.e. Total-bytes (uncompressed) in a CAB-folder exceeded 0x7FFF8000 (~ 2GB) + // or, CAB size (compressed) exceeded 0x7FFFFFFF + // or, File-count in CAB exceeded 0xFFFF + +} FCIERROR; + + +/* + * FAT file attribute flag used by FCI/FDI to indicate that + * the filename in the CAB is a UTF string + */ +#ifndef _A_NAME_IS_UTF +#define _A_NAME_IS_UTF 0x80 +#endif + +/* + * FAT file attribute flag used by FCI/FDI to indicate that + * the file should be executed after extraction + */ +#ifndef _A_EXEC +#define _A_EXEC 0x40 +#endif + + +/*** HFCI - Handle to an FCI Context + * + */ +typedef void * HFCI; + + +/*** CCAB - Current Cabinet + * + * This structure is used for passing in the cabinet parameters to FCI, + * and is passed back on certain FCI callbacks to provide cabinet + * information to the client. + */ +typedef struct { +// longs first + ULONG cb; // size available for cabinet on this media + ULONG cbFolderThresh; // Thresshold for forcing a new Folder + +// then ints + UINT cbReserveCFHeader; // Space to reserve in CFHEADER + UINT cbReserveCFFolder; // Space to reserve in CFFOLDER + UINT cbReserveCFData; // Space to reserve in CFDATA + int iCab; // sequential numbers for cabinets + int iDisk; // Disk number +#ifndef REMOVE_CHICAGO_M6_HACK + int fFailOnIncompressible; // TRUE => Fail if a block is incompressible +#endif + +// then shorts + USHORT setID; // Cabinet set ID + +// then chars + char szDisk[CB_MAX_DISK_NAME]; // current disk name + char szCab[CB_MAX_CABINET_NAME]; // current cabinet name + char szCabPath[CB_MAX_CAB_PATH]; // path for creating cabinet +} CCAB; /* ccab */ +typedef CCAB *PCCAB; /* pccab */ + + +/*** FNALLOC - Memory Allocation + * FNFREE - Memory Free + * + * These are modeled after the C run-time routines malloc() and free() + * (16-bit clients please note -- the size is a ULONG, so you may need + * to write a wrapper routine for halloc!). FDI expects error + * handling to be identical to these C run-time routines. + * + * As long as you faithfully copy the semantics of malloc() and free(), + * you can supply any functions you like! + * + * WARNING: You should never assume anything about the sequence of + * PFNALLOC and PFNFREE calls -- incremental releases of + * Diamond/FDI may have radically different numbers of + * PFNALLOC calls and allocation sizes! + */ +//** Memory functions for FCI +typedef void HUGE * (FAR DIAMONDAPI *PFNFCIALLOC)(ULONG cb); /* pfna */ +#define FNFCIALLOC(fn) void HUGE * FAR DIAMONDAPI fn(ULONG cb) + +typedef void (FAR DIAMONDAPI *PFNFCIFREE)(void HUGE *memory); /* pfnf */ +#define FNFCIFREE(fn) void FAR DIAMONDAPI fn(void HUGE *memory) + + +//** File I/O functions for FCI +typedef INT_PTR (FAR DIAMONDAPI *PFNFCIOPEN) (_In_ LPSTR pszFile, int oflag, int pmode, int FAR *err, void FAR *pv); +typedef UINT (FAR DIAMONDAPI *PFNFCIREAD) (INT_PTR hf, void FAR *memory, UINT cb, int FAR *err, void FAR *pv); +typedef UINT (FAR DIAMONDAPI *PFNFCIWRITE)(INT_PTR hf, void FAR *memory, UINT cb, int FAR *err, void FAR *pv); +typedef int (FAR DIAMONDAPI *PFNFCICLOSE)(INT_PTR hf, int FAR *err, void FAR *pv); +typedef long (FAR DIAMONDAPI *PFNFCISEEK) (INT_PTR hf, long dist, int seektype, int FAR *err, void FAR *pv); +typedef int (FAR DIAMONDAPI *PFNFCIDELETE) (_In_ LPSTR pszFile, int FAR *err, void FAR *pv); + +#define FNFCIOPEN(fn) INT_PTR FAR DIAMONDAPI fn(_In_ LPSTR pszFile, int oflag, int pmode, int FAR *err, void FAR *pv) +#define FNFCIREAD(fn) UINT FAR DIAMONDAPI fn(INT_PTR hf, void FAR *memory, UINT cb, int FAR *err, void FAR *pv) +#define FNFCIWRITE(fn) UINT FAR DIAMONDAPI fn(INT_PTR hf, void FAR *memory, UINT cb, int FAR *err, void FAR *pv) +#define FNFCICLOSE(fn) int FAR DIAMONDAPI fn(INT_PTR hf, int FAR *err, void FAR *pv) +#define FNFCISEEK(fn) long FAR DIAMONDAPI fn(INT_PTR hf, long dist, int seektype, int FAR *err, void FAR *pv) +#define FNFCIDELETE(fn) int FAR DIAMONDAPI fn(_In_ LPSTR pszFile, int FAR *err, void FAR *pv) + + +/*** FNFCIGETNEXTCABINET - Callback used to request new cabinet info + * + * Entry: + * pccab - Points to copy of old ccab structure to modify + * cbPrevCab - Estimate of size of previous cabinet + * pv - Has the caller's context pointer + * + * Exit-Success: + * returns TRUE; + * + * Exit-Failure: + * returns FALSE; + */ +typedef BOOL (DIAMONDAPI *PFNFCIGETNEXTCABINET)(PCCAB pccab, + ULONG cbPrevCab, + void FAR *pv); /* pfnfcignc */ + +#define FNFCIGETNEXTCABINET(fn) BOOL DIAMONDAPI fn(PCCAB pccab, \ + ULONG cbPrevCab, \ + void FAR *pv) + + +/*** FNFCIFILEPLACED - Notify FCI client that file was placed + * + * Entry: + * pccab - cabinet structure to fill in, with copy of previous one + * pszFile - name of file, from cabinet + * cbFile - length of file + * fContinuation - true if this is a later segment of a continued file + * pv - the context of the client + * + * Exit-Success: + * return value anything but -1 + * + * Exit-Failure: + * return value -1 means to abort + */ +typedef int (DIAMONDAPI *PFNFCIFILEPLACED)(PCCAB pccab, + _In_ LPSTR pszFile, + long cbFile, + BOOL fContinuation, + void FAR *pv); /* pfnfcifp */ + +#define FNFCIFILEPLACED(fn) int DIAMONDAPI fn(PCCAB pccab, \ + _In_ LPSTR pszFile, \ + long cbFile, \ + BOOL fContinuation, \ + void FAR *pv) + + +/*** FNCDIGETOPENINFO - Open source file, get date/time/attribs + * + * Entry: + * pszName -- complete path to filename + * pdate -- location to return FAT-style date code + * ptime -- location to return FAT-style time code + * pattribs -- location to return FAT-style attributes + * pv -- client's context + * + * Exit-Success: + * Return value is file handle of open file to read + * + * Exit-Failure: + * Return value is -1 + */ +typedef INT_PTR (DIAMONDAPI *PFNFCIGETOPENINFO)(_In_ LPSTR pszName, + USHORT *pdate, + USHORT *ptime, + USHORT *pattribs, + int FAR *err, + void FAR *pv); /* pfnfcigoi */ + +#define FNFCIGETOPENINFO(fn) INT_PTR DIAMONDAPI fn(_In_ LPSTR pszName, \ + USHORT *pdate, \ + USHORT *ptime, \ + USHORT *pattribs, \ + int FAR *err, \ + void FAR *pv) + +/*** FNFCISTATUS - Status/Cabinet Size callback + * + * Entry: + * typeStatus == statusFile if compressing a block into a folder + * cb1 = Size of compressed block + * cb2 = Size of uncompressed block + * + * typeStatus == statusFolder if adding a folder to a cabinet + * cb1 = Amount of folder copied to cabinet so far + * cb2 = Total size of folder + * + * typeStatus == statusCabinet if writing out a complete cabinet + * cb1 = Estimated cabinet size that was previously + * passed to fnfciGetNextCabinet(). + * cb2 = Actual cabinet size + * NOTE: Return value is desired client size for cabinet + * file. FCI updates the maximum cabinet size + * remaining using this value. This allows a client + * to generate multiple cabinets per disk, and have + * FCI limit the size correctly -- the client can do + * cluster size rounding on the cabinet size! + * The client should either return cb2, or round cb2 + * up to some larger value and return that. + * Exit-Success: + * Returns anything other than -1; + * NOTE: See statusCabinet for special return values! + * + * Exit-Failure: + * Returns -1 to signal that FCI should abort; + */ + +#define statusFile 0 // Add File to Folder callback +#define statusFolder 1 // Add Folder to Cabinet callback +#define statusCabinet 2 // Write out a completed cabinet callback + +typedef long (DIAMONDAPI *PFNFCISTATUS)(UINT typeStatus, + ULONG cb1, + ULONG cb2, + void FAR *pv); /* pfnfcis */ + +#define FNFCISTATUS(fn) long DIAMONDAPI fn(UINT typeStatus, \ + ULONG cb1, \ + ULONG cb2, \ + void FAR *pv) + + +/*** FNFCIGETTEMPFILE - Callback, requests temporary file name + * + * Entry: + * pszTempName - Buffer to receive complete tempfile name + * cbTempName - Size of pszTempName buffer + * + * Exit-Success: + * return TRUE + * + * Exit-Failure: + * return FALSE; could not create tempfile, or buffer too small + * + * Note: + * It is conceivable that this function may return a filename + * that will already exist by the time it is opened. For this + * reason, the caller should make several attempts to create + * temporary files before giving up. + */ +typedef BOOL (DIAMONDAPI *PFNFCIGETTEMPFILE)(_Out_writes_bytes_(cbTempName) char *pszTempName, + _In_range_(<=, 260) int cbTempName, + void FAR *pv); /* pfnfcigtf */ + +#define FNFCIGETTEMPFILE(fn) BOOL DIAMONDAPI fn(_Out_writes_bytes_(cbTempName) char *pszTempName, \ + _In_range_(<=, 260) int cbTempName, \ + void FAR *pv) + + +/*** FCICreate -- create an FCI context (an open CAB, an open FOL) + * + * Entry: + * perf - structure where we return error codes + * pfnfcifp - callback to inform caller of eventual dest of files + * pfna - memory allocation function callback + * pfnf - memory free function callback + * pfnfcigtf - temp file name generator callback + * pccab - pointer to cabinet/disk name & size structure + * + * Notes: + * (1) The alloc/free callbacks must remain valid throughout + * the life of the context, up to and including the call to + * FCIDestroy. + * (2) The perf pointer is stored in the compression context (HCI), + * and any errors from subsequent FCI calls are stored in the + * erf that was passed in on *this* call. + * + * Exit-Success: + * Returns non-NULL handle to an FCI context. + * + * Exit-Failure: + * Returns NULL, perf filled in. + */ +HFCI DIAMONDAPI FCICreate(_In_ PERF perf, + __callback PFNFCIFILEPLACED pfnfcifp, + __callback PFNFCIALLOC pfna, + __callback PFNFCIFREE pfnf, + __callback PFNFCIOPEN pfnopen, + __callback PFNFCIREAD pfnread, + __callback PFNFCIWRITE pfnwrite, + __callback PFNFCICLOSE pfnclose, + __callback PFNFCISEEK pfnseek, + __callback PFNFCIDELETE pfndelete, + __callback PFNFCIGETTEMPFILE pfnfcigtf, + _In_ PCCAB pccab, + _In_opt_ void FAR *pv + ); + + +/*** FCIAddFile - Add a disk file to a folder/cabinet + * + * Entry: + * hfci - FCI context handle + * pszSourceFile - Name of file to add to folder + * pszFileName - Name to store into folder/cabinet + * fExecute - Flag indicating execute on extract + * pfn_progress - Progress callback + * pfnfcignc - GetNextCabinet callback + * pfnfcis - Status callback + * pfnfcigoi - OpenInfo callback + * typeCompress - Type of compression to use for this file + * pv - pointer to caller's internal context + * + * Exit-Success: + * returns TRUE + * + * Exit-Failure: + * returns FALSE, error filled in + * + * This is the main function used to add file(s) to a cabinet + * or series of cabinets. If the current file causes the current + * folder/cabinet to overflow the disk image currently being built, + * the cabinet will be terminated, and a new cabinet/disk name will + * be prompted for via a callback. The pending folder will be trimmed + * of the data which has already been generated in the finished cabinet. + */ +BOOL DIAMONDAPI FCIAddFile(_In_ HFCI hfci, + _In_ LPSTR pszSourceFile, + _In_ LPSTR pszFileName, + BOOL fExecute, + __callback PFNFCIGETNEXTCABINET pfnfcignc, + __callback PFNFCISTATUS pfnfcis, + __callback PFNFCIGETOPENINFO pfnfcigoi, + TCOMP typeCompress + ); + + +/*** FCIFlushCabinet - Complete the current cabinet under construction + * + * This will cause the current cabinet (assuming it is not empty) to + * be gathered together and written to disk. + * + * Entry: + * hfci - FCI context + * fGetNextCab - TRUE => Call GetNextCab to get continuation info; + * FALSE => Don't call GetNextCab unless this cabinet + * overflows. + * pfnfcignc - callback function to get continuation cabinets + * pfnfcis - callback function for progress reporting + * pv - caller's internal context for callbacks + * + * Exit-Success: + * return code TRUE + * + * Exit-Failure: + * return code FALSE, error structure filled in + */ +BOOL DIAMONDAPI FCIFlushCabinet(_In_ HFCI hfci, + BOOL fGetNextCab, + __callback PFNFCIGETNEXTCABINET pfnfcignc, + __callback PFNFCISTATUS pfnfcis + ); + + +/*** FCIFlushFolder - Complete the current folder under construction + * + * This will force the termination of the current folder, which may or + * may not cause one or more cabinet files to be completed. + * + * Entry: + * hfci - FCI context + * GetNextCab - callback function to get continuation cabinets + * pfnProgress - callback function for progress reporting + * pv - caller's internal context for callbacks + * + * Exit-Success: + * return code TRUE + * + * Exit-Failure: + * return code FALSE, error structure filled in + */ +BOOL DIAMONDAPI FCIFlushFolder(_In_ HFCI hfci, + __callback PFNFCIGETNEXTCABINET pfnfcignc, + __callback PFNFCISTATUS pfnfcis + ); + + +/*** FCIDestroy - Destroy a FCI context and delete temp files + * + * Entry: + * hfci - FCI context + * + * Exit-Success: + * return code TRUE + * + * Exit-Failure: + * return code FALSE, error structure filled in + */ +BOOL DIAMONDAPI FCIDestroy (_In_ HFCI hfci); + +//** Revert to default structure packing + +#ifndef _WIN64 +#include +#endif + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#endif // !INCLUDED_FCI diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fdi.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fdi.h new file mode 100644 index 0000000000000000000000000000000000000000..271b4b9622e7d926d799bf4492993274a75d12b6 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fdi.h @@ -0,0 +1,1082 @@ +/*** fdi_int.h - Diamond File Decompression Interface definitions + * + * Copyright (C) Microsoft Corporation 1993-1997 + * All Rights Reserved. + * + * Author: + * Chuck Strouss, Benjamin W. Slivka + * + * History: + * 30-Nov-1993 chuckst Created + * 21-Dec-1993 bens Updated with comments from 12/21/93 design review + * 09-Mar-1994 bens Add new error code + * 17-Mar-1994 bens Specify structure packing explicitly + * 21-Mar-1994 bens Spruce up comments + * 25-Mar-1994 bens Add fdintCABINET_INFO notification + * 31-Mar-1994 bens Clarify handling of open files when errors occur + * 01-Apr-1994 bens Add FDIIsCabinet() function. + * 07-Apr-1994 bens Add Decryption interfaces; remove fdintPROGRESS + * 11-Apr-1994 bens Add more guidance on how to respond to FDI errors. + * 13-Apr-1994 bens Add date & time & attribs to fdintCOPY_FILE + * 18-Apr-1994 bens Changed CDECL to DIAMONDAPI + * 05-May-1994 bens Clarified error handling (billhu/alanr/migueldc) + * 11-May-1994 bens Added setId/iCabinet to fdintNEXT_CABINET + * 07-Jul-1994 bens Support Quantum virtual file -- PLEASE note the + * comments about PFNOPEN/PFNCLOSE changes, and + * about reserving memory, if necessary, before + * calling FDICreate()! + * 19-Aug-1994 bens Add cpuType parameter to FDICreate(). + * 03-Apr-1995 jeffwe Added chaining indicators to FDICABINETINFO + * 22-Nov-1996 msliger Backed out fdintNEXT_FOLDER, added iFolder to + * FDINOTIFICATION for fdintCOPY_FILE calls. + * 20-Feb-1997 msliger Added fdintENUMERATE message. + * 11-Nov-2005 kinshu SAL annotation + * + * + * ATTENTION: + * This is the only documentation on the Diamond File Decompression + * Interface (FDI). Please read it carefully, as there are some subtle + * points in FDI that are carefully explained below. + * + * Concepts: + * A *cabinet* file contains one or more *folders*. A folder contains + * one or more (pieces of) *files*. A folder is by definition a + * decompression unit, i.e., to extract a file from a folder, all of + * the data from the start of the folder up through and including the + * desired file must be read and decompressed. + * + * A folder can span one (or more) cabinet boundaries, and by implication + * a file can also span one (or more) cabinet boundaries. Indeed, more + * than one file can span a cabinet boundary, since Diamond concatenates + * files together into a single data stream before compressing (actually, + * at most one file will span any one cabinet boundary, but Diamond does + * not know which file this is, since the mapping from uncompressed bytes + * to compressed bytes is pretty obscure. Also, since Diamond compresses + * in blocks of 32K (at present), any files with data in a 32K block that + * spans a cabinet boundary require Diamond to read both cabinet files + * to get the two halves of the compressed block). + * + * Overview: + * The File Decompression Interface is used to simplify the reading of + * Diamond cabinet files. A setup program will proceed in a manner very + * similar to the pseudo code below. An FDI context is created, the + * setup program calls FDICopy() for each cabinet to be processed. For + * each file in the cabinet, FDICopy() calls a notification callback + * routine, asking the setup program if the file should be copied. + * This call-back approach is great because it allows the cabinet file + * to be read and decompressed in an optimal manner, and also makes FDI + * independent of the run-time environment -- FDI makes *no* C run-time + * calls whatsoever. All memory allocation and file I/O functions are + * passed into FDI by the client. + * + * main(...) + * { + * // Read INF file to construct list of desired files. + * // Ideally, these would be sorted in the same order as the + * // files appear in the cabinets, so that you can just walk + * // down the list in response to fdintCOPY_FILE notifications. + * + * // Construct list of required cabinets. + * + * hfdi = FDICreate(...); // Create FDI context + * For (cabinet in List of Cabinets) { + * FDICopy(hfdi,cabinet,fdiNotify,...); // Process each cabinet + * } + * FDIDestroy(hfdi); + * ... + * } + * + * // Notification callback function + * fdiNotify(fdint,...) + * { + * If (User Aborted) // Permit cancellation + * if (fdint == fdintCLOSE_FILE_INFO) + * close open file + * return -1; + * switch (fdint) { + * case fdintCOPY_FILE: // File to copy, maybe + * // Check file against list of desired files + * if want to copy file + * open destination file and return handle + * else + * return NULL; // Skip file + * case fdintCLOSE_FILE_INFO: + * close file + * set date, time, and attributes + * + * case fdintNEXT_CABINET: + * if not an error callback + * Tell FDI to use suggested directory name + * else + * Tell user what the problem was, and prompt + * for a new disk and/or path. + * if user aborts + * Tell FDI to abort + * else + * return to FDI to try another cabinet + * //NOTE: Be sure to see the (sample) code in EXTRACT.C + * // for an example of how to do this! + * default: + * return 0; // more messages may be defined + * ... + * } + * + * Error Handling Suggestions: + * Since you the client have passed in *all* of the functions that + * FDI uses to interact with the "outside" world, you are in prime + * position to understand and deal with errors. + * + * The general philosophy of FDI is to pass all errors back up to + * the client. FDI returns fairly generic error codes in the case + * where one of the callback functions (PFNOPEN, PFNREAD, etc.) fail, + * since it assumes that the callback function will save enough + * information in a static/global so that when FDICopy() returns + * fail, the client can examine this information and report enough + * detail about the problem that the user can take corrective action. + * + * For very specific errors (CORRUPT_CABINET, for example), FDI returns + * very specific error codes. + * + * THE BEST POLICY IS FOR YOUR CALLBACK ROUTINES TO AVOID RETURNING + * ERRORS TO FDI! + * + * Examples: + * (1) If the disk is getting full, instead of returning an error + * from your PFNWRITE function, you should -- inside your + * PFNWRITE function -- put up a dialog telling the user to free + * some disk space. + * (2) When you get the fdintNEXT_CABINET notification, you should + * verify that the cabinet you return is the correct one (call + * FDIIsCabinet(), and make sure the setID matches the one for + * the current cabinet specified in the fdintCABINET_INFO, and + * that the disk number is one greater. + * + * NOTE: FDI will continue to call fdintNEXT_CABINET until it + * gets the cabinet it wants, or until you return -1 + * to abort the FDICopy() call. + * + * The documentation below on the FDI error codes provides explicit + * guidance on how to avoid each error. + * + * If you find you must return a failure to FDI from one of your + * callback functions, then FDICopy() frees all resources it allocated + * and closes all files. If you can figure out how to overcome the + * problem, you can call FDICopy() again on the last cabinet, and + * skip any files that you already copied. But, note that FDI does + * *not* maintain any state between FDICopy() calls, other than possibly + * memory allocated for the decompressor. + * + * See FDIERROR for details on FDI error codes and recommended actions. + * + * + * Progress Indicator Suggestions: + * As above, all of the file I/O functions are supplied by you. So, + * updating a progress indicator is very simple. You keep track of + * the target files handles you have opened, along with the uncompressed + * size of the target file. When you see writes to the handle of a + * target file, you use the write count to update your status! + * Since this method is available, there is no separate callback from + * FDI just for progess indication. + */ + +#include + +#include + +#ifndef INCLUDED_FDI +#define INCLUDED_FDI 1 + +#include +typedef _Null_terminated_ char* LPSTR; + +#ifdef __cplusplus +extern "C" { /* Assume C declarations for C++ */ +#endif /* __cplusplus */ + +//** Specify structure packing explicitly for clients of FDI + +#ifndef _WIN64 +#include +#endif + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +/*** FDIERROR - Error codes returned in erf.erfOper field + * + * In general, FDI will only fail if one of the passed in memory or + * file I/O functions fails. Other errors are pretty unlikely, and are + * caused by corrupted cabinet files, passing in a file which is not a + * cabinet file, or cabinet files out of order. + * + * Description: Summary of error. + * Cause: List of possible causes of this error. + * Response: How client might respond to this error, or avoid it in + * the first place. + */ +typedef enum { + FDIERROR_NONE, + // Description: No error + // Cause: Function was successfull. + // Response: Keep going! + + FDIERROR_CABINET_NOT_FOUND, + // Description: Cabinet not found + // Cause: Bad file name or path passed to FDICopy(), or returned + // to fdintNEXT_CABINET. + // Response: To prevent this error, validate the existence of the + // the cabinet *before* passing the path to FDI. + + FDIERROR_NOT_A_CABINET, + // Description: Cabinet file does not have the correct format + // Cause: File passed to to FDICopy(), or returned to + // fdintNEXT_CABINET, is too small to be a cabinet file, + // or does not have the cabinet signature in its first + // four bytes. + // Response: To prevent this error, call FDIIsCabinet() to check a + // cabinet before calling FDICopy() or returning the + // cabinet path to fdintNEXT_CABINET. + + FDIERROR_UNKNOWN_CABINET_VERSION, + // Description: Cabinet file has an unknown version number. + // Cause: File passed to to FDICopy(), or returned to + // fdintNEXT_CABINET, has what looks like a cabinet file + // header, but the version of the cabinet file format + // is not one understood by this version of FDI. The + // erf.erfType field is filled in with the version number + // found in the cabinet file. + // Response: To prevent this error, call FDIIsCabinet() to check a + // cabinet before calling FDICopy() or returning the + // cabinet path to fdintNEXT_CABINET. + + FDIERROR_CORRUPT_CABINET, + // Description: Cabinet file is corrupt + // Cause: FDI returns this error any time it finds a problem + // with the logical format of a cabinet file, and any + // time one of the passed-in file I/O calls fails when + // operating on a cabinet (PFNOPEN, PFNSEEK, PFNREAD, + // or PFNCLOSE). The client can distinguish these two + // cases based upon whether the last file I/O call + // failed or not. + // Response: Assuming this is not a real corruption problem in + // a cabinet file, the file I/O functions could attempt + // to do retries on failure (for example, if there is a + // temporary network connection problem). If this does + // not work, and the file I/O call has to fail, then the + // FDI client will have to clean up and call the + // FDICopy() function again. + + FDIERROR_ALLOC_FAIL, + // Description: Could not allocate enough memory + // Cause: FDI tried to allocate memory with the PFNALLOC + // function, but it failed. + // Response: If possible, PFNALLOC should take whatever steps + // are possible to allocate the memory requested. If + // memory is not immediately available, it might post a + // dialog asking the user to free memory, for example. + // Note that the bulk of FDI's memory allocations are + // made at FDICreate() time and when the first cabinet + // file is opened during FDICopy(). + + FDIERROR_BAD_COMPR_TYPE, + // Description: Unknown compression type in a cabinet folder + // Cause: [Should never happen.] A folder in a cabinet has an + // unknown compression type. This is probably caused by + // a mismatch between the version of Diamond used to + // create the cabinet and the FDI. LIB used to read the + // cabinet. + // Response: Abort. + + FDIERROR_MDI_FAIL, + // Description: Failure decompressing data from a cabinet file + // Cause: The decompressor found an error in the data coming + // from the file cabinet. The cabinet file was corrupted. + // [11-Apr-1994 bens When checksuming is turned on, this + // error should never occur.] + // Response: Probably should abort; only other choice is to cleanup + // and call FDICopy() again, and hope there was some + // intermittent data error that will not reoccur. + + FDIERROR_TARGET_FILE, + // Description: Failure writing to target file + // Cause: FDI returns this error any time it gets an error back + // from one of the passed-in file I/O calls fails when + // writing to a file being extracted from a cabinet. + // Response: To avoid or minimize this error, the file I/O functions + // could attempt to avoid failing. A common cause might + // be disk full -- in this case, the PFNWRITE function + // could have a check for free space, and put up a dialog + // asking the user to free some disk space. + + FDIERROR_RESERVE_MISMATCH, + // Description: Cabinets in a set do not have the same RESERVE sizes + // Cause: [Should never happen]. FDI requires that the sizes of + // the per-cabinet, per-folder, and per-data block + // RESERVE sections be consistent across all the cabinet + // in a set. Diamond will only generate cabinet sets + // with these properties. + // Response: Abort. + + FDIERROR_WRONG_CABINET, + // Description: Cabinet returned on fdintNEXT_CABINET is incorrect + // Cause: NOTE: THIS ERROR IS NEVER RETURNED BY FDICopy()! + // Rather, FDICopy() keeps calling the fdintNEXT_CABINET + // callback until either the correct cabinet is specified, + // or you return ABORT. + // When FDICopy() is extracting a file that crosses a + // cabinet boundary, it calls fdintNEXT_CABINET to ask + // for the path to the next cabinet. Not being very + // trusting, FDI then checks to make sure that the + // correct continuation cabinet was supplied! It does + // this by checking the "setID" and "iCabinet" fields + // in the cabinet. When DIAMOND.EXE creates a set of + // cabinets, it constructs the "setID" using the sum + // of the bytes of all the destination file names in + // the cabinet set. FDI makes sure that the 16-bit + // setID of the continuation cabinet matches the + // cabinet file just processed. FDI then checks that + // the cabinet number (iCabinet) is one more than the + // cabinet number for the cabinet just processed. + // Response: You need code in your fdintNEXT_CABINET (see below) + // handler to do retries if you get recalled with this + // error. See the sample code (EXTRACT.C) to see how + // this should be handled. + + FDIERROR_USER_ABORT, + // Description: FDI aborted. + // Cause: An FDI callback returned -1 (usually). + // Response: Up to client. + + FDIERROR_EOF, + // Description: Unexpected end of file. + // Cause: This error may be returned instead of + // FDIERROR_CORRUPT_CABINET if PFNREAD returned 0. + // Response: See FDIERROR_CORRUPT_CABINET above. + +} FDIERROR; + + +/* + * FAT file attribute flag used by FCI/FDI to indicate that + * the filename in the CAB is a UTF string + */ +#ifndef _A_NAME_IS_UTF +#define _A_NAME_IS_UTF 0x80 +#endif + +/* + * FAT file attribute flag used by FCI/FDI to indicate that + * the file should be executed after extraction + */ +#ifndef _A_EXEC +#define _A_EXEC 0x40 +#endif + + +/*** HFDI - Handle to an FDI context + * + * FDICreate() creates this, and it must be passed to all other FDI + * functions. + */ +typedef void FAR *HFDI; /* hfdi */ + + +/*** FDICABINETINFO - Information about a cabinet + * + */ +typedef struct { + long cbCabinet; // Total length of cabinet file + USHORT cFolders; // Count of folders in cabinet + USHORT cFiles; // Count of files in cabinet + USHORT setID; // Cabinet set ID + USHORT iCabinet; // Cabinet number in set (0 based) + BOOL fReserve; // TRUE => RESERVE present in cabinet + BOOL hasprev; // TRUE => Cabinet is chained prev + BOOL hasnext; // TRUE => Cabinet is chained next +} FDICABINETINFO; /* fdici */ +typedef FDICABINETINFO FAR *PFDICABINETINFO; /* pfdici */ + + +/*** FDIDECRYPTTYPE - PFNFDIDECRYPT command types + * + */ +typedef enum { + fdidtNEW_CABINET, // New cabinet + fdidtNEW_FOLDER, // New folder + fdidtDECRYPT, // Decrypt a data block +} FDIDECRYPTTYPE; /* fdidt */ + + +/*** FDIDECRYPT - Data for PFNFDIDECRYPT function + * + */ +typedef struct { + FDIDECRYPTTYPE fdidt; // Command type (selects union below) + void FAR *pvUser; // Decryption context + union { + struct { // fdidtNEW_CABINET + void FAR *pHeaderReserve; // RESERVE section from CFHEADER + USHORT cbHeaderReserve; // Size of pHeaderReserve + USHORT setID; // Cabinet set ID + int iCabinet; // Cabinet number in set (0 based) + } cabinet; + + struct { // fdidtNEW_FOLDER + void FAR *pFolderReserve; // RESERVE section from CFFOLDER + USHORT cbFolderReserve; // Size of pFolderReserve + USHORT iFolder; // Folder number in cabinet (0 based) + } folder; + + struct { // fdidtDECRYPT + void FAR *pDataReserve; // RESERVE section from CFDATA + USHORT cbDataReserve; // Size of pDataReserve + void FAR *pbData; // Data buffer + USHORT cbData; // Size of data buffer + BOOL fSplit; // TRUE if this is a split data block + USHORT cbPartial; // 0 if this is not a split block, or + // the first piece of a split block; + // Greater than 0 if this is the + // second piece of a split block. + } decrypt; + }; +} FDIDECRYPT; /* fdid */ +typedef FDIDECRYPT FAR *PFDIDECRYPT; /* pfdid */ + + +/*** FNALLOC - Memory Allocation + * FNFREE - Memory Free + * + * These are modeled after the C run-time routines malloc() and free() + * (16-bit clients please note -- the size is a ULONG, so you may need + * to write a wrapper routine for halloc!). FDI expects error + * handling to be identical to these C run-time routines. + * + * As long as you faithfully copy the semantics of malloc() and free(), + * you can supply any functions you like! + * + * WARNING: You should never assume anything about the sequence of + * PFNALLOC and PFNFREE calls -- incremental releases of + * Diamond/FDI may have radically different numbers of + * PFNALLOC calls and allocation sizes! + */ +//** Memory functions for FDI +typedef void HUGE * (FAR DIAMONDAPI *PFNALLOC)(ULONG cb); /* pfna */ +#define FNALLOC(fn) void HUGE * FAR DIAMONDAPI fn(ULONG cb) + +typedef void (FAR DIAMONDAPI *PFNFREE)(_In_opt_ void HUGE *pv); /* pfnf */ +#define FNFREE(fn) void FAR DIAMONDAPI fn(_In_opt_ void HUGE *pv) + + +//** File I/O functions for FDI +typedef INT_PTR (FAR DIAMONDAPI *PFNOPEN) (_In_ LPSTR pszFile, int oflag, int pmode); +typedef UINT (FAR DIAMONDAPI *PFNREAD) (_In_ INT_PTR hf, _Out_writes_bytes_(cb) void FAR *pv, UINT cb); +typedef UINT (FAR DIAMONDAPI *PFNWRITE)(_In_ INT_PTR hf, _In_reads_bytes_(cb) void FAR *pv, UINT cb); +typedef int (FAR DIAMONDAPI *PFNCLOSE)(_In_ INT_PTR hf); +typedef long (FAR DIAMONDAPI *PFNSEEK) (_In_ INT_PTR hf, long dist, int seektype); + +#define FNOPEN(fn) INT_PTR FAR DIAMONDAPI fn(_In_ LPSTR pszFile, int oflag, int pmode) +#define FNREAD(fn) UINT FAR DIAMONDAPI fn(_In_ INT_PTR hf, _Out_writes_bytes_(cb) void FAR *pv, UINT cb) +#define FNWRITE(fn) UINT FAR DIAMONDAPI fn(_In_ INT_PTR hf, _In_reads_bytes_(cb) void FAR *pv, UINT cb) +#define FNCLOSE(fn) int FAR DIAMONDAPI fn(_In_ INT_PTR hf) +#define FNSEEK(fn) long FAR DIAMONDAPI fn(_In_ INT_PTR hf, long dist, int seektype) + + + +/*** PFNFDIDECRYPT - FDI Decryption callback + * + * If this function is passed on the FDICopy() call, then FDI calls it + * at various times to update the decryption state and to decrypt FCDATA + * blocks. + * + * Common Entry Conditions: + * pfdid->fdidt - Command type + * pfdid->pvUser - pvUser value from FDICopy() call + * + * fdidtNEW_CABINET: //** Notification of a new cabinet + * Entry: + * pfdid->cabinet. + * pHeaderReserve - RESERVE section from CFHEADER + * cbHeaderReserve - Size of pHeaderReserve + * setID - Cabinet set ID + * iCabinet - Cabinet number in set (0 based) + * Exit-Success: + * returns anything but -1; + * Exit-Failure: + * returns -1; FDICopy() is aborted. + * Notes: + * (1) This call allows the decryption code to pick out any information + * from the cabinet header reserved area (placed there by DIACRYPT) + * needed to perform decryption. If there is no such information, + * this call would presumably be ignored. + * (2) This call is made very soon after fdintCABINET_INFO. + * + * fdidtNEW_FOLDER: //** Notification of a new folder + * Entry: + * pfdid->folder. + * pFolderReserve - RESERVE section from CFFOLDER + * cbFolderReserve - Size of pFolderReserve + * iFolder - Folder number in cabinet (0 based) + * Exit-Success: + * returns anything but -1; + * Exit-Failure: + * returns -1; FDICopy() is aborted. + * Notes: + * This call allows the decryption code to pick out any information + * from the folder reserved area (placed there by DIACRYPT) needed + * to perform decryption. If there is no such information, this + * call would presumably be ignored. + * + * fdidtDECRYPT: //** Decrypt a data buffer + * Entry: + * pfdid->folder. + * pDataReserve - RESERVE section for this CFDATA block + * cbDataReserve - Size of pDataReserve + * pbData - Data buffer + * cbData - Size of data buffer + * fSplit - TRUE if this is a split data block + * cbPartial - 0 if this is not a split block, or the first + * piece of a split block; Greater than 0 if + * this is the second piece of a split block. + * Exit-Success: + * returns TRUE; + * Exit-Failure: + * returns FALSE; error during decrypt + * returns -1; FDICopy() is aborted. + * Notes: + * Diamond will split CFDATA blocks across cabinet boundaries if + * necessary. To provide maximum flexibility, FDI will call the + * fdidtDECRYPT function twice on such split blocks, once when + * the first portion is read, and again when the second portion + * is read. And, of course, most data blocks will not be split. + * So, there are three cases: + * + * 1) fSplit == FALSE + * You have the entire data block, so decrypt it. + * + * 2) fSplit == TRUE, cbPartial == 0 + * This is the first portion of a split data block, so cbData + * is the size of this portion. You can either choose to decrypt + * this piece, or ignore this call and decrypt the full CFDATA + * block on the next (second) fdidtDECRYPT call. + * + * 3) fSplit == TRUE, cbPartial > 0 + * This is the second portion of a split data block (indeed, + * cbPartial will have the same value as cbData did on the + * immediately preceeding fdidtDECRYPT call!). If you decrypted + * the first portion on the first call, then you can decrypt the + * second portion now. If you ignored the first call, then you + * can decrypt the entire buffer. + * NOTE: pbData points to the second portion of the split data + * block in this case, *not* the entire data block. If + * you want to wait until the second piece to decrypt the + * *entire* block, pbData-cbPartial is the address of the + * start of the whole block, and cbData+cbPartial is its + * size. + */ +typedef int (FAR DIAMONDAPI *PFNFDIDECRYPT)(PFDIDECRYPT pfdid); /* pfnfdid */ +#define FNFDIDECRYPT(fn) int FAR DIAMONDAPI fn(PFDIDECRYPT pfdid) + + +/*** FDINOTIFICATION - Notification structure for PFNFDINOTIFY + * + * See the FDINOTIFICATIONTYPE definition for information on usage and + * meaning of these fields. + */ +typedef struct { +// long fields + long cb; + char FAR *psz1; + char FAR *psz2; + char FAR *psz3; // Points to a 256 character buffer + void FAR *pv; // Value for client + +// int fields + INT_PTR hf; + +// short fields + USHORT date; + USHORT time; + USHORT attribs; + + USHORT setID; // Cabinet set ID + USHORT iCabinet; // Cabinet number (0-based) + USHORT iFolder; // Folder number (0-based) + + FDIERROR fdie; +} FDINOTIFICATION, FAR *PFDINOTIFICATION; /* fdin, pfdin */ + + +/*** FDINOTIFICATIONTYPE - FDICopy notification types + * + * The notification function for FDICopy can be called with the following + * values for the fdint parameter. In all cases, the pfdin->pv field is + * filled in with the value of the pvUser argument passed in to FDICopy(). + * + * A typical sequence of calls will be something like this: + * fdintCABINET_INFO // Info about the cabinet + * fdintENUMERATE // Starting enumeration + * fdintPARTIAL_FILE // Only if this is not the first cabinet, and + * // one or more files were continued from the + * // previous cabinet. + * ... + * fdintPARTIAL_FILE + * fdintCOPY_FILE // The first file that starts in this cabinet + * ... + * fdintCOPY_FILE // Now let's assume you want this file... + * // PFNWRITE called multiple times to write to this file. + * fdintCLOSE_FILE_INFO // File done, set date/time/attributes + * + * fdintCOPY_FILE // Now let's assume you want this file... + * // PFNWRITE called multiple times to write to this file. + * fdintNEXT_CABINET // File was continued to next cabinet! + * fdintCABINET_INFO // Info about the new cabinet + * // PFNWRITE called multiple times to write to this file. + * fdintCLOSE_FILE_INFO // File done, set date/time/attributes + * ... + * fdintENUMERATE // Ending enumeration + * + * fdintCABINET_INFO: + * Called exactly once for each cabinet opened by FDICopy(), including + * continuation cabinets opened due to file(s) spanning cabinet + * boundaries. Primarily intended to permit EXTRACT.EXE to + * automatically select the next cabinet in a cabinet sequence even if + * not copying files that span cabinet boundaries. + * Entry: + * pfdin->psz1 = name of next cabinet + * pfdin->psz2 = name of next disk + * pfdin->psz3 = cabinet path name + * pfdin->setID = cabinet set ID (a random 16-bit number) + * pfdin->iCabinet = Cabinet number within cabinet set (0-based) + * Exit-Success: + * Return anything but -1 + * Exit-Failure: + * Returns -1 => Abort FDICopy() call + * Notes: + * This call is made *every* time a new cabinet is examined by + * FDICopy(). So if "foo2.cab" is examined because a file is + * continued from "foo1.cab", and then you call FDICopy() again + * on "foo2.cab", you will get *two* fdintCABINET_INFO calls all + * told. + * + * fdintCOPY_FILE: + * Called for each file that *starts* in the current cabinet, giving + * the client the opportunity to request that the file be copied or + * skipped. + * Entry: + * pfdin->psz1 = file name in cabinet + * pfdin->cb = uncompressed size of file + * pfdin->date = file date + * pfdin->time = file time + * pfdin->attribs = file attributes + * pfdin->iFolder = file's folder index + * Exit-Success: + * Return non-zero file handle for destination file; FDI writes + * data to this file use the PFNWRITE function supplied to FDICreate, + * and then calls fdintCLOSE_FILE_INFO to close the file and set + * the date, time, and attributes. NOTE: This file handle returned + * must also be closeable by the PFNCLOSE function supplied to + * FDICreate, since if an error occurs while writing to this handle, + * FDI will use the PFNCLOSE function to close the file so that the + * client may delete it. + * Exit-Failure: + * Returns 0 => Skip file, do not copy + * Returns -1 => Abort FDICopy() call + * + * fdintCLOSE_FILE_INFO: + * Called after all of the data has been written to a target file. + * This function must close the file and set the file date, time, + * and attributes. + * Entry: + * pfdin->psz1 = file name in cabinet + * pfdin->hf = file handle + * pfdin->date = file date + * pfdin->time = file time + * pfdin->attribs = file attributes + * pfdin->iFolder = file's folder index + * pfdin->cb = Run After Extract (0 - don't run, 1 Run) + * Exit-Success: + * Returns TRUE + * Exit-Failure: + * Returns FALSE, or -1 to abort; + * + * IMPORTANT NOTE IMPORTANT: + * pfdin->cb is overloaded to no longer be the size of + * the file but to be a binary indicated run or not + * + * IMPORTANT NOTE: + * FDI assumes that the target file was closed, even if this + * callback returns failure. FDI will NOT attempt to use + * the PFNCLOSE function supplied on FDICreate() to close + * the file! + * + * fdintPARTIAL_FILE: + * Called for files at the front of the cabinet that are CONTINUED + * from a previous cabinet. This callback occurs only when FDICopy is + * started on second or subsequent cabinet in a series that has files + * continued from a previous cabinet. + * Entry: + * pfdin->psz1 = file name of file CONTINUED from a PREVIOUS cabinet + * pfdin->psz2 = name of cabinet where file starts + * pfdin->psz3 = name of disk where file starts + * Exit-Success: + * Return anything other than -1; enumeration continues + * Exit-Failure: + * Returns -1 => Abort FDICopy() call + * + * fdintENUMERATE: + * Called once after a call to FDICopy() starts scanning a CAB's + * CFFILE entries, and again when there are no more CFFILE entries. + * If CAB spanning occurs, an additional call will occur after the + * first spanned file is completed. If the pfdin->iFolder value is + * changed from zero, additional calls will occur next time it reaches + * zero. If iFolder is changed to zero, FDICopy will terminate, as if + * there were no more CFFILE entries. Primarily intended to allow an + * application with it's own file list to help FDI advance quickly to + * a CFFILE entry of interest. Can also be used to allow an + * application to determine the cb values for each file in the CAB. + * Entry: + * pfdin->cb = current CFFILE position + * pfdin->iFolder = number of files remaining + * pfdin->setID = current CAB's setID value + * Exit-Don't Care: + * Don't change anything. + * Return anything but -1. + * Exit-Forcing a skip: + * pfdin->cb = desired CFFILE position + * pfdin->iFolder = desired # of files remaining + * Return anything but -1. + * Exit-Stop: + * pfdin->iFolder = set to 0 + * Return anything but -1. + * Exit-Failure: + * Return -1 => Abort FDICopy call ("user aborted".) + * Notes: + * This call can be ignored by applications which want normal file + * searching. The application can adjust the supplied values to + * force FDICopy() to continue it's search at another location, or + * to force FDICopy() to terminate the search, by setting iFolder to 0. + * (FDICopy() will report no error when terminated this way.) + * FDI has no means to verify the supplied cb or iFolder values. + * Arbitrary values are likely to cause undesirable results. An + * application should cross-check pfdin->setID to be certain the + * external database is in sync with the CAB. Reverse-skips are OK + * (but may be inefficient) unless fdintNEXT_CABINET has been called. + * + * fdintNEXT_CABINET: + * This function is *only* called when fdintCOPY_FILE was told to copy + * a file in the current cabinet that is continued to a subsequent + * cabinet file. It is important that the cabinet path name (psz3) + * be validated before returning! This function should ensure that + * the cabinet exists and is readable before returning. So, this + * is the function that should, for example, issue a disk change + * prompt and make sure the cabinet file exists. + * + * When this function returns to FDI, FDI will check that the setID + * and iCabinet match the expected values for the next cabinet. + * If not, FDI will continue to call this function until the correct + * cabinet file is specified, or until this function returns -1 to + * abort the FDICopy() function. pfdin->fdie is set to + * FDIERROR_WRONG_CABINET to indicate this case. + * + * If you *haven't* ensured that the cabinet file is present and + * readable, or the cabinet file has been damaged, pfdin->fdie will + * receive other appropriate error codes: + * + * FDIERROR_CABINET_NOT_FOUND + * FDIERROR_NOT_A_CABINET + * FDIERROR_UNKNOWN_CABINET_VERSION + * FDIERROR_CORRUPT_CABINET + * FDIERROR_BAD_COMPR_TYPE + * FDIERROR_RESERVE_MISMATCH + * FDIERROR_WRONG_CABINET + * + * Entry: + * pfdin->psz1 = name of next cabinet where current file is continued + * pfdin->psz2 = name of next disk where current file is continued + * pfdin->psz3 = cabinet path name; FDI concatenates psz3 with psz1 + * to produce the fully-qualified path for the cabinet + * file. The 256-byte buffer pointed at by psz3 may + * be modified, but psz1 may not! + * pfdin->fdie = FDIERROR_WRONG_CABINET if the previous call to + * fdintNEXT_CABINET specified a cabinet file that + * did not match the setID/iCabinet that was expected. + * Exit-Success: + * Return anything but -1 + * Exit-Failure: + * Returns -1 => Abort FDICopy() call + * Notes: + * This call is almost always made when a target file is open and + * being written to, and the next cabinet is needed to get more + * data for the file. + */ +typedef enum { + fdintCABINET_INFO, // General information about cabinet + fdintPARTIAL_FILE, // First file in cabinet is continuation + fdintCOPY_FILE, // File to be copied + fdintCLOSE_FILE_INFO, // close the file, set relevant info + fdintNEXT_CABINET, // File continued to next cabinet + fdintENUMERATE, // Enumeration status +} FDINOTIFICATIONTYPE; /* fdint */ + +typedef INT_PTR (FAR DIAMONDAPI *PFNFDINOTIFY)(FDINOTIFICATIONTYPE fdint, + PFDINOTIFICATION pfdin); /* pfnfdin */ + +#define FNFDINOTIFY(fn) INT_PTR FAR DIAMONDAPI fn(FDINOTIFICATIONTYPE fdint, \ + PFDINOTIFICATION pfdin) + + +/*** PFNOPEN - File I/O callbacks for FDI + * PFNREAD + * PFNWRITE + * PFNCLOSE + * PFNSEEK + * + * These are modeled after the C run-time routines _open, _read, + * _write, _close, and _lseek. The values for the PFNOPEN oflag + * and pmode calls are those defined for _open. FDI expects error + * handling to be identical to these C run-time routines. + * + * As long as you faithfully copy these aspects, you can supply + * any functions you like! + * + * + * SPECIAL NOTE FOR QUANTUM DECOMPRESSION: + * When using Quantum compression, at compress time (with Diamond) + * you specify how much memory Quantum requires at *decompress* time + * to store the decompression history buffer. This can be as large + * as *2Mb*, and in an MS-DOS environment, for example, this much + * memory may not be available (certainly not under 640K!). To permit + * large CompressionMemory settings on any machine, the Quantum + * decompressor will attempt to create a "spill file" if there is not + * sufficient memory available. + * + * For PFNOPEN, a special pszFile parameter is passed to indicate that + * a temporary "spill file" is requested. The name passed is "*", and + * you should cast the pszFile parameter to an FDISPILLFILE pointer, + * and get the requested file size. You then need to create a file + * of the specified size with read/write access, save the file name and + * handle for later use by PFNCLOSE, and then return the handle. If + * you cannot create the file of the specified size, you should return + * an error (-1). This file should be placed on a fast local hard disk, + * to maximize the speed of decompression. + * + * For PFNCLOSE, you should check the handle to see if it the spill file + * created previously by PFNOPEN (FDI will create at most one spill file + * per FDICreate() call). If it is the spill file handle, you should + * close the handle and then delete the file, using the file name you + * saved when you created the spill file in PFNOPEN. + * + * WARNING: You should never assume you know what file is being + * opened at any one point in time! FDI will usually + * stick to opening cabinet files, but it is possible + * that in a future implementation it may open temporary + * files or open cabinet files in a different order. + * + * Notes for Memory Mapped File fans: + * You can write wrapper routines to allow FDI to work on memory + * mapped files. You'll have to create your own "handle" type so that + * you can store the base memory address of the file and the current + * seek position, and then you'll allocate and fill in one of these + * structures and return a pointer to it in response to the PFNOPEN + * call and the fdintCOPY_FILE call. Your PFNREAD and PFNWRITE + * functions will do memcopy(), and update the seek position in your + * "handle" structure. PFNSEEK will just change the seek position + * in your "handle" structure. + */ + +#ifndef _WIN64 +#pragma pack (1) +#endif + +/** FDISPILLFILE - Pass as pszFile on PFNOPEN to create spill file + * + * ach - A two byte string to signal to PFNOPEN that a spill file is + * requested. Value is '*','\0'. + * cbFile - Required spill file size, in bytes. + */ +typedef struct { + char ach[2]; // Set to { '*', '\0' } + long cbFile; // Required spill file size +} FDISPILLFILE; /* fdisf */ +typedef FDISPILLFILE *PFDISPILLFILE; /* pfdisf */ + +#ifndef _WIN64 +#pragma pack () +#endif + + +/*** cpuType values for FDICreate() + * + * WARNING: For 16-bit Windows applications, the CPU detection may not + * correctly detect 286 CPUs. Instead, use the following code: + * + * DWORD flags; + * int cpuType; + * + * flags = GetWinFlags(); + * if (flags & WF_CPU286) + * cpuType = cpu80286; + * else + * cpuType = cpu80386; + * + * hfdi = FDICreate(....,cpuType,...); + */ +#define cpuUNKNOWN (-1) /* FDI does detection */ +#define cpu80286 (0) /* '286 opcodes only */ +#define cpu80386 (1) /* '386 opcodes used */ + + +/*** FDICreate - Create an FDI context + * + * Entry: + * pfnalloc + * pfnfree + * pfnopen + * pfnread + * pfnwrite + * pfnclose + * pfnlseek + * cpuType - Select CPU type (auto-detect, 286, or 386+) + * WARNING: Don't use auto-detect from a 16-bit Windows + * application! Use GetWinFlags()! + * NOTE: For the 32-bit FDI.LIB, this parameter is ignored! + * perf + * + * Exit-Success: + * Returns non-NULL FDI context handle. + * + * Exit-Failure: + * Returns NULL; perf filled in with error code + * + * Special notes for Quantum Decompression: + * If you have used a high setting for CompressionMemory in creating + * the cabinet file(s), then FDI will attempt to allocate a lot of + * memory (as much as 2Mb, if you specified 21 for CompressionMemory). + * Therefore, if you plan to allocate additional memory *after* the + * FDICreate() call, you should reserve some memory *prior* to calling + * FDICreate(), and then free it up afterwards (or do all your allocation + * before calling FDICreate(). + */ +HFDI FAR DIAMONDAPI FDICreate(__callback PFNALLOC pfnalloc, + __callback PFNFREE pfnfree, + __callback PFNOPEN pfnopen, + __callback PFNREAD pfnread, + __callback PFNWRITE pfnwrite, + __callback PFNCLOSE pfnclose, + __callback PFNSEEK pfnseek, + int cpuType, + _Inout_ PERF perf); + + +/*** FDIIsCabinet - Determines if file is a cabinet, returns info if it is + * + * Entry: + * hfdi - Handle to FDI context (created by FDICreate()) + * hf - File handle suitable for PFNREAD/PFNSEEK, positioned + * at offset 0 in the file to test. + * pfdici - Buffer to receive info about cabinet if it is one. + * + * Exit-Success: + * Returns TRUE; file is a cabinet, pfdici filled in. + * + * Exit-Failure: + * Returns FALSE, file is not a cabinet; If an error occurred, + * perf (passed on FDICreate call!) filled in with error. + */ +BOOL FAR DIAMONDAPI FDIIsCabinet(_In_ HFDI hfdi, + _In_ INT_PTR hf, + _Out_opt_ PFDICABINETINFO pfdici); + + +/*** FDICopy - extracts files from a cabinet + * + * Entry: + * hfdi - handle to FDI context (created by FDICreate()) + * pszCabinet - main name of cabinet file + * pszCabPath - Path to cabinet file(s) + * flags - Flags to modify behavior + * pfnfdin - Notification function + * pfnfdid - Decryption function (pass NULL if not used) + * pvUser - User specified value to pass to notification function + * + * Exit-Success: + * Returns TRUE; + * + * Exit-Failure: + * Returns FALSE, perf (passed on FDICreate call!) filled in with + * error. + * + * Notes: + * (1) If FDICopy() fails while a target file is being written out, then + * FDI will use the PFNCLOSE function to close the file handle for that + * target file that was returned from the fdintCOPY_FILE notification. + * The client application is then free to delete the target file, since + * it will not be in a valid state (since there was an error while + * writing it out). + */ +BOOL FAR DIAMONDAPI FDICopy(_In_ HFDI hfdi, + _In_ LPSTR pszCabinet, + _In_ LPSTR pszCabPath, + int flags, + __callback PFNFDINOTIFY pfnfdin, + __callback PFNFDIDECRYPT pfnfdid, + _In_opt_ void FAR *pvUser); + + +/*** FDIDestroy - Destroy an FDI context + * + * Entry: + * hfdi - handle to FDI context (created by FDICreate()) + * + * Exit-Success: + * Returns TRUE; + * + * Exit-Failure: + * Returns FALSE; + */ +BOOL FAR DIAMONDAPI FDIDestroy(_In_ HFDI hfdi); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +/*** FDITruncateCabinet - truncate a cabinet, starting at folder # + * + * Entry: + * hfdi - handle to FDI context (created by FDICreate()) + * pszCabinet - full pathname of cabinet file + * iFolderToDelete - first folder # to delete + * + * Exit-Success: + * Returns TRUE; + * + * Exit-Failure: + * Returns FALSE; + * + * Most likely failure is unable to open cabinet for writing. + * + * NOTE: This function relies on additional feature in the + * supplied PFNWRITE function, that a write of 0 bytes + * will truncate the file at the current position. + */ + +BOOL FAR DIAMONDAPI FDITruncateCabinet(_In_ HFDI hfdi, + _In_ LPSTR pszCabinetName, + USHORT iFolderToDelete); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +//** Revert to default structure packing +#ifndef _WIN64 +#include +#endif + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + +#endif //!INCLUDED_FDI diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fdi_fci_types.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fdi_fci_types.h new file mode 100644 index 0000000000000000000000000000000000000000..3758bb88fc494a8c1f72e9633165a42bcdc442b0 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fdi_fci_types.h @@ -0,0 +1,173 @@ +/*** types.h - Common defines for FCI/FDI stuff -- goes into FCI/FDI.H + * + * Copyright (C) Microsoft Corporation + * All Rights Reserved. + * + */ + +#ifndef INCLUDED_TYPES_FCI_FDI +#define INCLUDED_TYPES_FCI_FDI 1 + +#include + +#ifdef __cplusplus +extern "C" { /* Assume C declarations for C++ */ +#endif /* __cplusplus */ + +//** Define away for 32-bit build +#ifndef HUGE +#define HUGE +#endif + +#ifndef FAR +#define FAR +#endif + + +#ifndef DIAMONDAPI +#define DIAMONDAPI __cdecl +#endif + + +//** Specify structure packing explicitly for clients of FDI + +#ifndef _WIN64 +#include +#endif + + +//** Don't redefine types defined in Win16 WINDOWS.H (_INC_WINDOWS) +// or Win32 WINDOWS.H (_WINDOWS_) +// +#if !defined(_INC_WINDOWS) && !defined(_WINDOWS_) +typedef int BOOL; /* f */ +typedef unsigned char BYTE; /* b */ +typedef unsigned int UINT; /* ui */ +typedef unsigned short USHORT; /* us */ +typedef unsigned long ULONG; /* ul */ +#endif // _INC_WINDOWS + +typedef unsigned long CHECKSUM; /* csum */ + +typedef unsigned long UOFF; /* uoff - uncompressed offset */ +typedef unsigned long COFF; /* coff - cabinet file offset */ + + +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + +#ifndef NULL +#define NULL 0 +#endif + + +/*** ERF - Error structure + * + * This structure returns error information from FCI/FDI. The caller should + * not modify this structure. + */ +typedef struct { + int erfOper; // FCI/FDI error code -- see FDIERROR_XXX + // and FCIERR_XXX equates for details. + + int erfType; // Optional error value filled in by FCI/FDI. + // For FCI, this is usually the C run-time + // *errno* value. + + BOOL fError; // TRUE => error present +} ERF; /* erf */ +typedef ERF FAR *PERF; /* perf */ + +#ifdef _DEBUG +// don't hide statics from map during debugging +#define STATIC +#else // !DEBUG +#define STATIC static +#endif // !DEBUG + +#define CB_MAX_CHUNK 32768U +#define CB_MAX_DISK 0x7fffffffL +#define CB_MAX_FILENAME 256 +#define CB_MAX_CABINET_NAME 256 +#define CB_MAX_CAB_PATH 256 +#define CB_MAX_DISK_NAME 256 + +/*** tcompXXX - Diamond compression types + * + * These are passed to FCIAddFile(), and are also stored in the CFFOLDER + * structures in cabinet files. + * + * NOTE: We reserve bits for the TYPE, QUANTUM_LEVEL, and QUANTUM_MEM + * to provide room for future expansion. Since this value is stored + * in the CFDATA records in the cabinet file, we don't want to + * have to change the format for existing compression configurations + * if we add new ones in the future. This will allows us to read + * old cabinet files in the future. + */ + +typedef unsigned short TCOMP; /* tcomp */ + +#define tcompMASK_TYPE 0x000F // Mask for compression type +#define tcompTYPE_NONE 0x0000 // No compression +#define tcompTYPE_MSZIP 0x0001 // MSZIP +#define tcompTYPE_QUANTUM 0x0002 // Quantum +#define tcompTYPE_LZX 0x0003 // LZX +#define tcompBAD 0x000F // Unspecified compression type + +#define tcompMASK_LZX_WINDOW 0x1F00 // Mask for LZX Compression Memory +#define tcompLZX_WINDOW_LO 0x0F00 // Lowest LZX Memory (15) +#define tcompLZX_WINDOW_HI 0x1500 // Highest LZX Memory (21) +#define tcompSHIFT_LZX_WINDOW 8 // Amount to shift over to get int + +#define tcompMASK_QUANTUM_LEVEL 0x00F0 // Mask for Quantum Compression Level +#define tcompQUANTUM_LEVEL_LO 0x0010 // Lowest Quantum Level (1) +#define tcompQUANTUM_LEVEL_HI 0x0070 // Highest Quantum Level (7) +#define tcompSHIFT_QUANTUM_LEVEL 4 // Amount to shift over to get int + +#define tcompMASK_QUANTUM_MEM 0x1F00 // Mask for Quantum Compression Memory +#define tcompQUANTUM_MEM_LO 0x0A00 // Lowest Quantum Memory (10) +#define tcompQUANTUM_MEM_HI 0x1500 // Highest Quantum Memory (21) +#define tcompSHIFT_QUANTUM_MEM 8 // Amount to shift over to get int + +#define tcompMASK_RESERVED 0xE000 // Reserved bits (high 3 bits) + + + +#define CompressionTypeFromTCOMP(tc) \ + ((tc) & tcompMASK_TYPE) + +#define CompressionLevelFromTCOMP(tc) \ + (((tc) & tcompMASK_QUANTUM_LEVEL) >> tcompSHIFT_QUANTUM_LEVEL) + +#define CompressionMemoryFromTCOMP(tc) \ + (((tc) & tcompMASK_QUANTUM_MEM) >> tcompSHIFT_QUANTUM_MEM) + +#define TCOMPfromTypeLevelMemory(t,l,m) \ + (((m) << tcompSHIFT_QUANTUM_MEM ) | \ + ((l) << tcompSHIFT_QUANTUM_LEVEL) | \ + ( t )) + +#define LZXCompressionWindowFromTCOMP(tc) \ + (((tc) & tcompMASK_LZX_WINDOW) >> tcompSHIFT_LZX_WINDOW) + +#define TCOMPfromLZXWindow(w) \ + (((w) << tcompSHIFT_LZX_WINDOW ) | \ + ( tcompTYPE_LZX )) + + +//** Revert to default structure packing + +#ifndef _WIN64 +#include +#endif + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif // !INCLUDED_TYPES_FCI_FDI diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/featurestagingapi.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/featurestagingapi.h new file mode 100644 index 0000000000000000000000000000000000000000..5f1d43dcff2dbc504ef6fe36cfb02a3de7cba120 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/featurestagingapi.h @@ -0,0 +1,109 @@ +/********************************************************************************* +* * +* featurestagingapi.h -- ApiSet Contract for api-ms-win-core-featurestaging-l1 * +* * +* Copyright (c) Microsoft Corporation. All rights reserved. * +* * +**********************************************************************************/ + +#ifndef _APISET_WIL_FEATURESTAGING_ +#define _APISET_WIL_FEATURESTAGING_ + +#include +#include +#ifdef _CONTRACT_GEN +#include +#include +#include +#include +#endif + +typedef enum FEATURE_CHANGE_TIME +{ + FEATURE_CHANGE_TIME_READ = 0, + FEATURE_CHANGE_TIME_MODULE_RELOAD = 1, + FEATURE_CHANGE_TIME_SESSION = 2, + FEATURE_CHANGE_TIME_REBOOT = 3 +} FEATURE_CHANGE_TIME; + +typedef enum FEATURE_ENABLED_STATE +{ + FEATURE_ENABLED_STATE_DEFAULT = 0, + FEATURE_ENABLED_STATE_DISABLED = 1, + FEATURE_ENABLED_STATE_ENABLED = 2 +} FEATURE_ENABLED_STATE; + +typedef struct FEATURE_ERROR +{ + HRESULT hr; + UINT16 lineNumber; + PCSTR file; + PCSTR process; + PCSTR module; + UINT32 callerReturnAddressOffset; + PCSTR callerModule; + PCSTR message; + UINT16 originLineNumber; + PCSTR originFile; + PCSTR originModule; + UINT32 originCallerReturnAddressOffset; + PCSTR originCallerModule; + PCSTR originName; +} FEATURE_ERROR; + +DECLARE_HANDLE(FEATURE_STATE_CHANGE_SUBSCRIPTION); +typedef void WINAPI FEATURE_STATE_CHANGE_CALLBACK(_In_opt_ void* context); +typedef FEATURE_STATE_CHANGE_CALLBACK *PFEATURE_STATE_CHANGE_CALLBACK; + +EXTERN_C + +FEATURE_ENABLED_STATE +GetFeatureEnabledState( + UINT32 featureId, + FEATURE_CHANGE_TIME changeTime + ); + +EXTERN_C + +void +RecordFeatureUsage( + UINT32 featureId, + UINT32 kind, + UINT32 addend, + _In_ PCSTR originName + ); + +EXTERN_C + +void +RecordFeatureError( + UINT32 featureId, + _In_ const FEATURE_ERROR* error + ); + +EXTERN_C + +void +SubscribeFeatureStateChangeNotification( + _Outptr_ FEATURE_STATE_CHANGE_SUBSCRIPTION* subscription, + _In_ PFEATURE_STATE_CHANGE_CALLBACK callback, + _In_opt_ void* context + ); + +EXTERN_C + +void +UnsubscribeFeatureStateChangeNotification( + _In_ _Post_invalid_ FEATURE_STATE_CHANGE_SUBSCRIPTION subscription + ); + +EXTERN_C + +UINT32 +GetFeatureVariant( + UINT32 featureId, + FEATURE_CHANGE_TIME changeTime, + _Out_ UINT32* payloadId, + _Out_ BOOL* hasNotification + ); +#endif // _APISET_WIL_FEATURESTAGING_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fibersapi.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fibersapi.h new file mode 100644 index 0000000000000000000000000000000000000000..0383dfc960c42708032455766e0c7088bcd26cac --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fibersapi.h @@ -0,0 +1,105 @@ +/******************************************************************************** +* * +* fibersapi.h - ApiSet Contract for api-ms-win-core-fibers-l1 * +* * +* Copyright (c) Microsoft Corporation. All rights reserved. * +* * +********************************************************************************/ + +#ifdef _MSC_VER +#pragma once +#endif // _MSC_VER + +#ifndef _FIBERS_H_ +#define _FIBERS_H_ + +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +#if (_WIN32_WINNT >= 0x0600) + +#ifndef FLS_OUT_OF_INDEXES +#define FLS_OUT_OF_INDEXES ((DWORD)0xFFFFFFFF) +#endif + +WINBASEAPI +DWORD +WINAPI +FlsAlloc( + _In_opt_ PFLS_CALLBACK_FUNCTION lpCallback + ); + +WINBASEAPI +PVOID +WINAPI +FlsGetValue( + _In_ DWORD dwFlsIndex + ); + +WINBASEAPI +BOOL +WINAPI +FlsSetValue( + _In_ DWORD dwFlsIndex, + _In_opt_ PVOID lpFlsData + ); + +WINBASEAPI +BOOL +WINAPI +FlsFree( + _In_ DWORD dwFlsIndex + ); + +#endif // (_WIN32_WINNT >= 0x0600) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +#if (_WIN32_WINNT >= 0x0600) + +WINBASEAPI +BOOL +WINAPI +IsThreadAFiber( + VOID + ); + +#endif // (_WIN32_WINNT >= 0x0600) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +#if (_WIN32_WINNT >= _WIN32_WINNT_WIN10) + +WINBASEAPI +PVOID +WINAPI +FlsGetValue2( + _In_ DWORD dwTlsIndex + ); + +#endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN10) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#ifdef __cplusplus +} +#endif + +#endif // _FIBERS_H_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fileapi.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fileapi.h new file mode 100644 index 0000000000000000000000000000000000000000..540fb2facb70250a58959581065441be4fd722bc --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fileapi.h @@ -0,0 +1,1500 @@ +/******************************************************************************** +* * +* FileApi.h -- ApiSet Contract for api-ms-win-core-file-l1 * +* * +* Copyright (c) Microsoft Corporation. All rights reserved. * +* * +********************************************************************************/ + +#ifdef _MSC_VER +#pragma once +#endif // _MSC_VER + +#ifndef _APISETFILE_ +#define _APISETFILE_ + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +// +// Constants +// +#define CREATE_NEW 1 +#define CREATE_ALWAYS 2 +#define OPEN_EXISTING 3 +#define OPEN_ALWAYS 4 +#define TRUNCATE_EXISTING 5 + +#define INVALID_FILE_SIZE ((DWORD)0xFFFFFFFF) +#define INVALID_SET_FILE_POINTER ((DWORD)-1) +#define INVALID_FILE_ATTRIBUTES ((DWORD)-1) + +WINBASEAPI +LONG +WINAPI +CompareFileTime( + _In_ CONST FILETIME* lpFileTime1, + _In_ CONST FILETIME* lpFileTime2 + ); + +WINBASEAPI +BOOL +WINAPI +CreateDirectoryA( + _In_ LPCSTR lpPathName, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes + ); + +WINBASEAPI +BOOL +WINAPI +CreateDirectoryW( + _In_ LPCWSTR lpPathName, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes + ); +#ifdef UNICODE +#define CreateDirectory CreateDirectoryW +#else +#define CreateDirectory CreateDirectoryA +#endif // !UNICODE + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +HANDLE +WINAPI +CreateFileA( + _In_ LPCSTR lpFileName, + _In_ DWORD dwDesiredAccess, + _In_ DWORD dwShareMode, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, + _In_ DWORD dwCreationDisposition, + _In_ DWORD dwFlagsAndAttributes, + _In_opt_ HANDLE hTemplateFile + ); + +WINBASEAPI +HANDLE +WINAPI +CreateFileW( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwDesiredAccess, + _In_ DWORD dwShareMode, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, + _In_ DWORD dwCreationDisposition, + _In_ DWORD dwFlagsAndAttributes, + _In_opt_ HANDLE hTemplateFile + ); +#ifdef UNICODE +#define CreateFile CreateFileW +#else +#define CreateFile CreateFileA +#endif // !UNICODE + +#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +BOOL +WINAPI +DefineDosDeviceW( + _In_ DWORD dwFlags, + _In_ LPCWSTR lpDeviceName, + _In_opt_ LPCWSTR lpTargetPath + ); + +#ifdef UNICODE +#define DefineDosDevice DefineDosDeviceW +#endif + +#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +DeleteFileA( + _In_ LPCSTR lpFileName + ); + +WINBASEAPI +BOOL +WINAPI +DeleteFileW( + _In_ LPCWSTR lpFileName + ); +#ifdef UNICODE +#define DeleteFile DeleteFileW +#else +#define DeleteFile DeleteFileA +#endif // !UNICODE + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +BOOL +WINAPI +DeleteVolumeMountPointW( + _In_ LPCWSTR lpszVolumeMountPoint + ); + +#ifdef UNICODE +#define DeleteVolumeMountPoint DeleteVolumeMountPointW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +FileTimeToLocalFileTime( + _In_ CONST FILETIME* lpFileTime, + _Out_ LPFILETIME lpLocalFileTime + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +FindClose( + _Inout_ HANDLE hFindFile + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +BOOL +WINAPI +FindCloseChangeNotification( + _In_ HANDLE hChangeHandle + ); + +WINBASEAPI +HANDLE +WINAPI +FindFirstChangeNotificationA( + _In_ LPCSTR lpPathName, + _In_ BOOL bWatchSubtree, + _In_ DWORD dwNotifyFilter + ); + +WINBASEAPI +HANDLE +WINAPI +FindFirstChangeNotificationW( + _In_ LPCWSTR lpPathName, + _In_ BOOL bWatchSubtree, + _In_ DWORD dwNotifyFilter + ); +#ifdef UNICODE +#define FindFirstChangeNotification FindFirstChangeNotificationW +#else +#define FindFirstChangeNotification FindFirstChangeNotificationA +#endif // !UNICODE + +#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +HANDLE +WINAPI +FindFirstFileA( + _In_ LPCSTR lpFileName, + _Out_ LPWIN32_FIND_DATAA lpFindFileData + ); + +WINBASEAPI +HANDLE +WINAPI +FindFirstFileW( + _In_ LPCWSTR lpFileName, + _Out_ LPWIN32_FIND_DATAW lpFindFileData + ); +#ifdef UNICODE +#define FindFirstFile FindFirstFileW +#else +#define FindFirstFile FindFirstFileA +#endif // !UNICODE + +#if (_WIN32_WINNT >= 0x0400) + +WINBASEAPI +HANDLE +WINAPI +FindFirstFileExA( + _In_ LPCSTR lpFileName, + _In_ FINDEX_INFO_LEVELS fInfoLevelId, + _Out_writes_bytes_(sizeof(WIN32_FIND_DATAA)) LPVOID lpFindFileData, + _In_ FINDEX_SEARCH_OPS fSearchOp, + _Reserved_ LPVOID lpSearchFilter, + _In_ DWORD dwAdditionalFlags + ); + +WINBASEAPI +HANDLE +WINAPI +FindFirstFileExW( + _In_ LPCWSTR lpFileName, + _In_ FINDEX_INFO_LEVELS fInfoLevelId, + _Out_writes_bytes_(sizeof(WIN32_FIND_DATAW)) LPVOID lpFindFileData, + _In_ FINDEX_SEARCH_OPS fSearchOp, + _Reserved_ LPVOID lpSearchFilter, + _In_ DWORD dwAdditionalFlags + ); +#ifdef UNICODE +#define FindFirstFileEx FindFirstFileExW +#else +#define FindFirstFileEx FindFirstFileExA +#endif // !UNICODE + +#endif /* _WIN32_WINNT >= 0x0400 */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +HANDLE +WINAPI +FindFirstVolumeW( + _Out_writes_(cchBufferLength) LPWSTR lpszVolumeName, + _In_ DWORD cchBufferLength + ); + +#ifdef UNICODE +#define FindFirstVolume FindFirstVolumeW +#endif // !UNICODE + +WINBASEAPI +BOOL +WINAPI +FindNextChangeNotification( + _In_ HANDLE hChangeHandle + ); + +#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +FindNextFileA( + _In_ HANDLE hFindFile, + _Out_ LPWIN32_FIND_DATAA lpFindFileData + ); + +WINBASEAPI +BOOL +WINAPI +FindNextFileW( + _In_ HANDLE hFindFile, + _Out_ LPWIN32_FIND_DATAW lpFindFileData + ); +#ifdef UNICODE +#define FindNextFile FindNextFileW +#else +#define FindNextFile FindNextFileA +#endif // !UNICODE + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +BOOL +WINAPI +FindNextVolumeW( + _Inout_ HANDLE hFindVolume, + _Out_writes_(cchBufferLength) LPWSTR lpszVolumeName, + _In_ DWORD cchBufferLength + ); + +#ifdef UNICODE +#define FindNextVolume FindNextVolumeW +#endif + +WINBASEAPI +BOOL +WINAPI +FindVolumeClose( + _In_ HANDLE hFindVolume + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +FlushFileBuffers( + _In_ HANDLE hFile + ); + +WINBASEAPI +BOOL +WINAPI +GetDiskFreeSpaceA( + _In_opt_ LPCSTR lpRootPathName, + _Out_opt_ LPDWORD lpSectorsPerCluster, + _Out_opt_ LPDWORD lpBytesPerSector, + _Out_opt_ LPDWORD lpNumberOfFreeClusters, + _Out_opt_ LPDWORD lpTotalNumberOfClusters + ); + +WINBASEAPI +BOOL +WINAPI +GetDiskFreeSpaceW( + _In_opt_ LPCWSTR lpRootPathName, + _Out_opt_ LPDWORD lpSectorsPerCluster, + _Out_opt_ LPDWORD lpBytesPerSector, + _Out_opt_ LPDWORD lpNumberOfFreeClusters, + _Out_opt_ LPDWORD lpTotalNumberOfClusters + ); +#ifdef UNICODE +#define GetDiskFreeSpace GetDiskFreeSpaceW +#else +#define GetDiskFreeSpace GetDiskFreeSpaceA +#endif // !UNICODE + +WINBASEAPI +BOOL +WINAPI +GetDiskFreeSpaceExA( + _In_opt_ LPCSTR lpDirectoryName, + _Out_opt_ PULARGE_INTEGER lpFreeBytesAvailableToCaller, + _Out_opt_ PULARGE_INTEGER lpTotalNumberOfBytes, + _Out_opt_ PULARGE_INTEGER lpTotalNumberOfFreeBytes + ); + +WINBASEAPI +BOOL +WINAPI +GetDiskFreeSpaceExW( + _In_opt_ LPCWSTR lpDirectoryName, + _Out_opt_ PULARGE_INTEGER lpFreeBytesAvailableToCaller, + _Out_opt_ PULARGE_INTEGER lpTotalNumberOfBytes, + _Out_opt_ PULARGE_INTEGER lpTotalNumberOfFreeBytes + ); +#ifdef UNICODE +#define GetDiskFreeSpaceEx GetDiskFreeSpaceExW +#else +#define GetDiskFreeSpaceEx GetDiskFreeSpaceExA +#endif // !UNICODE + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +// +// The structure definition must be same as the one +// (FILE_FS_FULL_SIZE_INFORMATION_EX) defined in ntioapi_x.w +// + +typedef struct DISK_SPACE_INFORMATION { + + // + // AllocationUnits are actually file system clusters. + // AllocationUnits * SectorsPerAllocationUnit * BytesPerSector + // will get you the sizes in bytes. + // + + // + // The Actual*AllocationUnits are volume sizes without considering Quota + // setting. + // ActualPoolUnavailableAllocationUnits is the unavailable space for the + // volume due to insufficient free pool space (PoolAvailableAllocationUnits). + // Be aware AllocationUnits are mesured in clusters, see comments at the beginning. + // + // ActualTotalAllocationUnits = ActualAvailableAllocationUnits + + // ActualPoolUnavailableAllocationUnits + + // UsedAllocationUnits + + // TotalReservedAllocationUnits + // + + ULONGLONG ActualTotalAllocationUnits; + ULONGLONG ActualAvailableAllocationUnits; + ULONGLONG ActualPoolUnavailableAllocationUnits; + + // + // The Caller*AllocationUnits are limited by Quota setting. + // CallerPoolUnavailableAllocationUnits is the unavailable space for the + // volume due to insufficient free pool space (PoolAvailableAllocationUnits). + // Be aware AllocationUnits are mesured in clusters, see comments at the beginning. + // + // CallerTotalAllocationUnits = CallerAvailableAllocationUnits + + // CallerPoolUnavailableAllocationUnits + + // UsedAllocationUnits + + // TotalReservedAllocationUnits + // + + ULONGLONG CallerTotalAllocationUnits; + ULONGLONG CallerAvailableAllocationUnits; + ULONGLONG CallerPoolUnavailableAllocationUnits; + + // + // The used space (in clusters) of the volume. + // + + ULONGLONG UsedAllocationUnits; + + // + // Total reserved space (in clusters). + // + + ULONGLONG TotalReservedAllocationUnits; + + // + // A special type of reserved space (in clusters) for per-volume storage + // reserve and this is included in the above TotalReservedAllocationUnits. + // + + ULONGLONG VolumeStorageReserveAllocationUnits; + + // + // This refers to the space (in clusters) that has been committed by + // storage pool but has not been allocated by file system. + // + // s1 = (ActualTotalAllocationUnits - UsedAllocationUnits - TotalReservedAllocationUnits) + // s2 = (AvailableCommittedAllocationUnits + PoolAvailableAllocationUnits) + // ActualAvailableAllocationUnits = min( s1, s2 ) + // + // When s1 >= s2, ActualPoolUnavailableAllocationUnits = 0 + // When s1 < s2, ActualPoolUnavailableAllocationUnits = s2 - s1. + // + + ULONGLONG AvailableCommittedAllocationUnits; + + // + // Available space (in clusters) in corresponding storage pool. If the volume + // is not a spaces volume, the PoolAvailableAllocationUnits is set to zero. + // + + ULONGLONG PoolAvailableAllocationUnits; + + DWORD SectorsPerAllocationUnit; + DWORD BytesPerSector; + +} DISK_SPACE_INFORMATION; + +WINBASEAPI +HRESULT +WINAPI +GetDiskSpaceInformationA( + _In_opt_ LPCSTR rootPath, + _Out_ DISK_SPACE_INFORMATION* diskSpaceInfo + ); + +WINBASEAPI +HRESULT +WINAPI +GetDiskSpaceInformationW( + _In_opt_ LPCWSTR rootPath, + _Out_ DISK_SPACE_INFORMATION* diskSpaceInfo + ); +#ifdef UNICODE +#define GetDiskSpaceInformation GetDiskSpaceInformationW +#else +#define GetDiskSpaceInformation GetDiskSpaceInformationA +#endif // !UNICODE + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +UINT +WINAPI +GetDriveTypeA( + _In_opt_ LPCSTR lpRootPathName + ); + +WINBASEAPI +UINT +WINAPI +GetDriveTypeW( + _In_opt_ LPCWSTR lpRootPathName + ); +#ifdef UNICODE +#define GetDriveType GetDriveTypeW +#else +#define GetDriveType GetDriveTypeA +#endif // !UNICODE + +typedef struct _WIN32_FILE_ATTRIBUTE_DATA { + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; +} WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; + +WINBASEAPI +DWORD +WINAPI +GetFileAttributesA( + _In_ LPCSTR lpFileName + ); + +WINBASEAPI +DWORD +WINAPI +GetFileAttributesW( + _In_ LPCWSTR lpFileName + ); +#ifdef UNICODE +#define GetFileAttributes GetFileAttributesW +#else +#define GetFileAttributes GetFileAttributesA +#endif // !UNICODE + +WINBASEAPI +BOOL +WINAPI +GetFileAttributesExA( + _In_ LPCSTR lpFileName, + _In_ GET_FILEEX_INFO_LEVELS fInfoLevelId, + _Out_writes_bytes_(sizeof(WIN32_FILE_ATTRIBUTE_DATA)) LPVOID lpFileInformation + ); + +WINBASEAPI +BOOL +WINAPI +GetFileAttributesExW( + _In_ LPCWSTR lpFileName, + _In_ GET_FILEEX_INFO_LEVELS fInfoLevelId, + _Out_writes_bytes_(sizeof(WIN32_FILE_ATTRIBUTE_DATA)) LPVOID lpFileInformation + ); +#ifdef UNICODE +#define GetFileAttributesEx GetFileAttributesExW +#else +#define GetFileAttributesEx GetFileAttributesExA +#endif // !UNICODE + +typedef struct _BY_HANDLE_FILE_INFORMATION { + DWORD dwFileAttributes; + FILETIME ftCreationTime; + FILETIME ftLastAccessTime; + FILETIME ftLastWriteTime; + DWORD dwVolumeSerialNumber; + DWORD nFileSizeHigh; + DWORD nFileSizeLow; + DWORD nNumberOfLinks; + DWORD nFileIndexHigh; + DWORD nFileIndexLow; +} BY_HANDLE_FILE_INFORMATION, *PBY_HANDLE_FILE_INFORMATION, *LPBY_HANDLE_FILE_INFORMATION; + +WINBASEAPI +BOOL +WINAPI +GetFileInformationByHandle( + _In_ HANDLE hFile, + _Out_ LPBY_HANDLE_FILE_INFORMATION lpFileInformation + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +DWORD +WINAPI +GetFileSize( + _In_ HANDLE hFile, + _Out_opt_ LPDWORD lpFileSizeHigh + ); + +#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) +#pragma endregion + +#pragma region Application Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +GetFileSizeEx( + _In_ HANDLE hFile, + _Out_ PLARGE_INTEGER lpFileSize + ); + +WINBASEAPI +DWORD +WINAPI +GetFileType( + _In_ HANDLE hFile + ); + +#if (_WIN32_WINNT >= 0x0600) + +WINBASEAPI +DWORD +WINAPI +GetFinalPathNameByHandleA( + _In_ HANDLE hFile, + _Out_writes_(cchFilePath) LPSTR lpszFilePath, + _In_ DWORD cchFilePath, + _In_ DWORD dwFlags + ); + +WINBASEAPI +DWORD +WINAPI +GetFinalPathNameByHandleW( + _In_ HANDLE hFile, + _Out_writes_(cchFilePath) LPWSTR lpszFilePath, + _In_ DWORD cchFilePath, + _In_ DWORD dwFlags + ); +#ifdef UNICODE +#define GetFinalPathNameByHandle GetFinalPathNameByHandleW +#else +#define GetFinalPathNameByHandle GetFinalPathNameByHandleA +#endif // !UNICODE + +#endif // (_WIN32_WINNT >= 0x0600) + +WINBASEAPI +BOOL +WINAPI +GetFileTime( + _In_ HANDLE hFile, + _Out_opt_ LPFILETIME lpCreationTime, + _Out_opt_ LPFILETIME lpLastAccessTime, + _Out_opt_ LPFILETIME lpLastWriteTime + ); + +WINBASEAPI +_Success_(return != 0 && return < nBufferLength) +DWORD +WINAPI +GetFullPathNameW( + _In_ LPCWSTR lpFileName, + _In_ DWORD nBufferLength, + _Out_writes_to_opt_(nBufferLength,return + 1) LPWSTR lpBuffer, + _Outptr_opt_ LPWSTR* lpFilePart + ); + +#ifdef UNICODE +#define GetFullPathName GetFullPathNameW +#endif + +WINBASEAPI +_Success_(return != 0 && return < nBufferLength) +DWORD +WINAPI +GetFullPathNameA( + _In_ LPCSTR lpFileName, + _In_ DWORD nBufferLength, + _Out_writes_to_opt_(nBufferLength,return + 1) LPSTR lpBuffer, + _Outptr_opt_ LPSTR* lpFilePart + ); + +#ifndef UNICODE +#define GetFullPathName GetFullPathNameA +#endif + +WINBASEAPI +DWORD +WINAPI +GetLogicalDrives( + VOID + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +DWORD +WINAPI +GetLogicalDriveStringsW( + _In_ DWORD nBufferLength, + _Out_writes_to_opt_(nBufferLength,return + 1) LPWSTR lpBuffer + ); + +#ifdef UNICODE +#define GetLogicalDriveStrings GetLogicalDriveStringsW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +_Success_(return != 0 && return < cchBuffer) +DWORD +WINAPI +GetLongPathNameA( + _In_ LPCSTR lpszShortPath, + _Out_writes_to_opt_(cchBuffer,return + 1) LPSTR lpszLongPath, + _In_ DWORD cchBuffer + ); + +#ifndef UNICODE +#define GetLongPathName GetLongPathNameA +#endif + +WINBASEAPI +_Success_(return != 0 && return < cchBuffer) +DWORD +WINAPI +GetLongPathNameW( + _In_ LPCWSTR lpszShortPath, + _Out_writes_to_opt_(cchBuffer,return + 1) LPWSTR lpszLongPath, + _In_ DWORD cchBuffer + ); + +#ifdef UNICODE +#define GetLongPathName GetLongPathNameW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +#if (NTDDI_VERSION >= NTDDI_WIN10_FE) + +WINBASEAPI +BOOL +WINAPI +AreShortNamesEnabled( + _In_ HANDLE Handle, + _Out_ BOOL* Enabled + ); + +#endif // (NTDDI_VERSION >= NTDDI_WIN10_FE) + +WINBASEAPI +_Success_(return != 0 && return < cchBuffer) +DWORD +WINAPI +GetShortPathNameW( + _In_ LPCWSTR lpszLongPath, + _Out_writes_to_opt_(cchBuffer,return + 1) LPWSTR lpszShortPath, + _In_ DWORD cchBuffer + ); + +#ifdef UNICODE +#define GetShortPathName GetShortPathNameW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +UINT +WINAPI +GetTempFileNameW( + _In_ LPCWSTR lpPathName, + _In_ LPCWSTR lpPrefixString, + _In_ UINT uUnique, + _Out_writes_(MAX_PATH) LPWSTR lpTempFileName + ); + +#ifdef UNICODE +#define GetTempFileName GetTempFileNameW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +#if (_WIN32_WINNT >= 0x0600) + +WINBASEAPI +BOOL +WINAPI +GetVolumeInformationByHandleW( + _In_ HANDLE hFile, + _Out_writes_opt_(nVolumeNameSize) LPWSTR lpVolumeNameBuffer, + _In_ DWORD nVolumeNameSize, + _Out_opt_ LPDWORD lpVolumeSerialNumber, + _Out_opt_ LPDWORD lpMaximumComponentLength, + _Out_opt_ LPDWORD lpFileSystemFlags, + _Out_writes_opt_(nFileSystemNameSize) LPWSTR lpFileSystemNameBuffer, + _In_ DWORD nFileSystemNameSize + ); + +#endif /* _WIN32_WINNT >= 0x0600 */ + +WINBASEAPI +BOOL +WINAPI +GetVolumeInformationW( + _In_opt_ LPCWSTR lpRootPathName, + _Out_writes_opt_(nVolumeNameSize) LPWSTR lpVolumeNameBuffer, + _In_ DWORD nVolumeNameSize, + _Out_opt_ LPDWORD lpVolumeSerialNumber, + _Out_opt_ LPDWORD lpMaximumComponentLength, + _Out_opt_ LPDWORD lpFileSystemFlags, + _Out_writes_opt_(nFileSystemNameSize) LPWSTR lpFileSystemNameBuffer, + _In_ DWORD nFileSystemNameSize + ); + +#ifdef UNICODE +#define GetVolumeInformation GetVolumeInformationW +#endif + +WINBASEAPI +BOOL +WINAPI +GetVolumePathNameW( + _In_ LPCWSTR lpszFileName, + _Out_writes_(cchBufferLength) LPWSTR lpszVolumePathName, + _In_ DWORD cchBufferLength + ); + +#ifdef UNICODE +#define GetVolumePathName GetVolumePathNameW +#endif + +WINBASEAPI +BOOL +WINAPI +LocalFileTimeToFileTime( + _In_ CONST FILETIME* lpLocalFileTime, + _Out_ LPFILETIME lpFileTime + ); + +WINBASEAPI +BOOL +WINAPI +LockFile( + _In_ HANDLE hFile, + _In_ DWORD dwFileOffsetLow, + _In_ DWORD dwFileOffsetHigh, + _In_ DWORD nNumberOfBytesToLockLow, + _In_ DWORD nNumberOfBytesToLockHigh + ); + +WINBASEAPI +BOOL +WINAPI +LockFileEx( + _In_ HANDLE hFile, + _In_ DWORD dwFlags, + _Reserved_ DWORD dwReserved, + _In_ DWORD nNumberOfBytesToLockLow, + _In_ DWORD nNumberOfBytesToLockHigh, + _Inout_ LPOVERLAPPED lpOverlapped + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +DWORD +WINAPI +QueryDosDeviceW( + _In_opt_ LPCWSTR lpDeviceName, + _Out_writes_to_opt_(ucchMax,return) LPWSTR lpTargetPath, + _In_ DWORD ucchMax + ); + +#ifdef UNICODE +#define QueryDosDevice QueryDosDeviceW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +_Must_inspect_result_ +BOOL +WINAPI +ReadFile( + _In_ HANDLE hFile, + _Out_writes_bytes_to_opt_(nNumberOfBytesToRead, *lpNumberOfBytesRead) __out_data_source(FILE) LPVOID lpBuffer, + _In_ DWORD nNumberOfBytesToRead, + _Out_opt_ LPDWORD lpNumberOfBytesRead, + _Inout_opt_ LPOVERLAPPED lpOverlapped + ); + +WINBASEAPI +_Must_inspect_result_ +BOOL +WINAPI +ReadFileEx( + _In_ HANDLE hFile, + _Out_writes_bytes_opt_(nNumberOfBytesToRead) __out_data_source(FILE) LPVOID lpBuffer, + _In_ DWORD nNumberOfBytesToRead, + _Inout_ LPOVERLAPPED lpOverlapped, + _In_ LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine + ); + +WINBASEAPI +_Must_inspect_result_ +BOOL +WINAPI +ReadFileScatter( + _In_ HANDLE hFile, + _In_ FILE_SEGMENT_ELEMENT aSegmentArray[], + _In_ DWORD nNumberOfBytesToRead, + _Reserved_ LPDWORD lpReserved, + _Inout_ LPOVERLAPPED lpOverlapped + ); + +WINBASEAPI +BOOL +WINAPI +RemoveDirectoryA( + _In_ LPCSTR lpPathName + ); + +WINBASEAPI +BOOL +WINAPI +RemoveDirectoryW( + _In_ LPCWSTR lpPathName + ); +#ifdef UNICODE +#define RemoveDirectory RemoveDirectoryW +#else +#define RemoveDirectory RemoveDirectoryA +#endif // !UNICODE + +WINBASEAPI +BOOL +WINAPI +SetEndOfFile( + _In_ HANDLE hFile + ); + +WINBASEAPI +BOOL +WINAPI +SetFileAttributesA( + _In_ LPCSTR lpFileName, + _In_ DWORD dwFileAttributes + ); + +WINBASEAPI +BOOL +WINAPI +SetFileAttributesW( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwFileAttributes + ); +#ifdef UNICODE +#define SetFileAttributes SetFileAttributesW +#else +#define SetFileAttributes SetFileAttributesA +#endif // !UNICODE + +#if (_WIN32_WINNT >= 0x0600) + +WINBASEAPI +BOOL +WINAPI +SetFileInformationByHandle( + _In_ HANDLE hFile, + _In_ FILE_INFO_BY_HANDLE_CLASS FileInformationClass, + _In_reads_bytes_(dwBufferSize) LPVOID lpFileInformation, + _In_ DWORD dwBufferSize + ); + +#endif + +WINBASEAPI +DWORD +WINAPI +SetFilePointer( + _In_ HANDLE hFile, + _In_ LONG lDistanceToMove, + _Inout_opt_ PLONG lpDistanceToMoveHigh, + _In_ DWORD dwMoveMethod + ); + +WINBASEAPI +BOOL +WINAPI +SetFilePointerEx( + _In_ HANDLE hFile, + _In_ LARGE_INTEGER liDistanceToMove, + _Out_opt_ PLARGE_INTEGER lpNewFilePointer, + _In_ DWORD dwMoveMethod + ); + +WINBASEAPI +BOOL +WINAPI +SetFileTime( + _In_ HANDLE hFile, + _In_opt_ CONST FILETIME* lpCreationTime, + _In_opt_ CONST FILETIME* lpLastAccessTime, + _In_opt_ CONST FILETIME* lpLastWriteTime + ); + +#if _WIN32_WINNT >= 0x0501 + +WINBASEAPI +BOOL +WINAPI +SetFileValidData( + _In_ HANDLE hFile, + _In_ LONGLONG ValidDataLength + ); + +#endif // (_WIN32_WINNT >= 0x0501) + +WINBASEAPI +BOOL +WINAPI +UnlockFile( + _In_ HANDLE hFile, + _In_ DWORD dwFileOffsetLow, + _In_ DWORD dwFileOffsetHigh, + _In_ DWORD nNumberOfBytesToUnlockLow, + _In_ DWORD nNumberOfBytesToUnlockHigh + ); + +WINBASEAPI +BOOL +WINAPI +UnlockFileEx( + _In_ HANDLE hFile, + _Reserved_ DWORD dwReserved, + _In_ DWORD nNumberOfBytesToUnlockLow, + _In_ DWORD nNumberOfBytesToUnlockHigh, + _Inout_ LPOVERLAPPED lpOverlapped + ); + +WINBASEAPI +BOOL +WINAPI +WriteFile( + _In_ HANDLE hFile, + _In_reads_bytes_opt_(nNumberOfBytesToWrite) LPCVOID lpBuffer, + _In_ DWORD nNumberOfBytesToWrite, + _Out_opt_ LPDWORD lpNumberOfBytesWritten, + _Inout_opt_ LPOVERLAPPED lpOverlapped + ); + +WINBASEAPI +BOOL +WINAPI +WriteFileEx( + _In_ HANDLE hFile, + _In_reads_bytes_opt_(nNumberOfBytesToWrite) LPCVOID lpBuffer, + _In_ DWORD nNumberOfBytesToWrite, + _Inout_ LPOVERLAPPED lpOverlapped, + _In_ LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine + ); + +WINBASEAPI +BOOL +WINAPI +WriteFileGather( + _In_ HANDLE hFile, + _In_ FILE_SEGMENT_ELEMENT aSegmentArray[], + _In_ DWORD nNumberOfBytesToWrite, + _Reserved_ LPDWORD lpReserved, + _Inout_ LPOVERLAPPED lpOverlapped + ); + +WINBASEAPI +DWORD +WINAPI +GetTempPathW( + _In_ DWORD nBufferLength, + _Out_writes_to_opt_(nBufferLength,return + 1) LPWSTR lpBuffer + ); + +#ifdef UNICODE +#define GetTempPath GetTempPathW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +BOOL +WINAPI +GetVolumeNameForVolumeMountPointW( + _In_ LPCWSTR lpszVolumeMountPoint, + _Out_writes_(cchBufferLength) LPWSTR lpszVolumeName, + _In_ DWORD cchBufferLength + ); + +#ifdef UNICODE +#define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointW +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +#if (_WIN32_WINNT >= 0x0501) + +WINBASEAPI +BOOL +WINAPI +GetVolumePathNamesForVolumeNameW( + _In_ LPCWSTR lpszVolumeName, + _Out_writes_to_opt_(cchBufferLength,*lpcchReturnLength) _Post_ _NullNull_terminated_ LPWCH lpszVolumePathNames, + _In_ DWORD cchBufferLength, + _Out_ PDWORD lpcchReturnLength + ); + +#ifdef UNICODE +#define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameW +#endif + +#endif // _WIN32_WINNT >= 0x0501 + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +#if (_WIN32_WINNT >= 0x0602) + +typedef struct _CREATEFILE2_EXTENDED_PARAMETERS { + DWORD dwSize; + DWORD dwFileAttributes; + DWORD dwFileFlags; + DWORD dwSecurityQosFlags; + LPSECURITY_ATTRIBUTES lpSecurityAttributes; + HANDLE hTemplateFile; +} CREATEFILE2_EXTENDED_PARAMETERS, *PCREATEFILE2_EXTENDED_PARAMETERS, *LPCREATEFILE2_EXTENDED_PARAMETERS; + +WINBASEAPI +HANDLE +WINAPI +CreateFile2( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwDesiredAccess, + _In_ DWORD dwShareMode, + _In_ DWORD dwCreationDisposition, + _In_opt_ LPCREATEFILE2_EXTENDED_PARAMETERS pCreateExParams + ); + +#endif // _WIN32_WINNT >= 0x0602 + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +#if (_WIN32_WINNT >= 0x0600) + +WINBASEAPI +BOOL +WINAPI +SetFileIoOverlappedRange( + _In_ HANDLE FileHandle, + _In_ PUCHAR OverlappedRangeStart, + _In_ ULONG Length + ); + +#endif // _WIN32_WINNT >= 0x0600 + +#if _WIN32_WINNT >= 0x0501 + +WINBASEAPI +DWORD +WINAPI +GetCompressedFileSizeA( + _In_ LPCSTR lpFileName, + _Out_opt_ LPDWORD lpFileSizeHigh + ); + +WINBASEAPI +DWORD +WINAPI +GetCompressedFileSizeW( + _In_ LPCWSTR lpFileName, + _Out_opt_ LPDWORD lpFileSizeHigh + ); +#ifdef UNICODE +#define GetCompressedFileSize GetCompressedFileSizeW +#else +#define GetCompressedFileSize GetCompressedFileSizeA +#endif // !UNICODE + +#endif // _WIN32_WINNT >= 0x0501 + +#if (_WIN32_WINNT >= 0x0501) + +typedef enum _STREAM_INFO_LEVELS { + + FindStreamInfoStandard, + FindStreamInfoMaxInfoLevel + +} STREAM_INFO_LEVELS; + +typedef struct _WIN32_FIND_STREAM_DATA { + + LARGE_INTEGER StreamSize; + WCHAR cStreamName[ MAX_PATH + 36 ]; + +} WIN32_FIND_STREAM_DATA, *PWIN32_FIND_STREAM_DATA; + +WINBASEAPI +HANDLE +WINAPI +FindFirstStreamW( + _In_ LPCWSTR lpFileName, + _In_ STREAM_INFO_LEVELS InfoLevel, + _Out_writes_bytes_(sizeof(WIN32_FIND_STREAM_DATA)) LPVOID lpFindStreamData, + _Reserved_ DWORD dwFlags + ); + +WINBASEAPI +BOOL +APIENTRY +FindNextStreamW( + _In_ HANDLE hFindStream, + _Out_writes_bytes_(sizeof(WIN32_FIND_STREAM_DATA)) LPVOID lpFindStreamData + ); + +#endif // (_WIN32_WINNT >= 0x0501) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +AreFileApisANSI( + VOID + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +DWORD +WINAPI +GetTempPathA( + _In_ DWORD nBufferLength, + _Out_writes_to_opt_(nBufferLength,return + 1) LPSTR lpBuffer + ); + +#ifndef UNICODE +#define GetTempPath GetTempPathA +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +#if _WIN32_WINNT >= 0x0600 + +WINBASEAPI +HANDLE +WINAPI +FindFirstFileNameW( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwFlags, + _Inout_ LPDWORD StringLength, + _Out_writes_(*StringLength) PWSTR LinkName + ); + +WINBASEAPI +BOOL +APIENTRY +FindNextFileNameW( + _In_ HANDLE hFindStream, + _Inout_ LPDWORD StringLength, + _Out_writes_(*StringLength) PWSTR LinkName + ); + +#endif // (_WIN32_WINNT >= 0x0600) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +WINBASEAPI +BOOL +WINAPI +GetVolumeInformationA( + _In_opt_ LPCSTR lpRootPathName, + _Out_writes_opt_(nVolumeNameSize) LPSTR lpVolumeNameBuffer, + _In_ DWORD nVolumeNameSize, + _Out_opt_ LPDWORD lpVolumeSerialNumber, + _Out_opt_ LPDWORD lpMaximumComponentLength, + _Out_opt_ LPDWORD lpFileSystemFlags, + _Out_writes_opt_(nFileSystemNameSize) LPSTR lpFileSystemNameBuffer, + _In_ DWORD nFileSystemNameSize + ); + +#ifndef UNICODE +#define GetVolumeInformation GetVolumeInformationA +#endif + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#pragma region Application Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +UINT +WINAPI +GetTempFileNameA( + _In_ LPCSTR lpPathName, + _In_ LPCSTR lpPrefixString, + _In_ UINT uUnique, + _Out_writes_(MAX_PATH) LPSTR lpTempFileName + ); + +#ifndef UNICODE +#define GetTempFileName GetTempFileNameA +#endif +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +WINBASEAPI +VOID +WINAPI +SetFileApisToOEM( + VOID + ); + +WINBASEAPI +VOID +WINAPI +SetFileApisToANSI( + VOID + ); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#pragma region Application Family or OneCore Family or Games Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) + +#if (NTDDI_VERSION >= NTDDI_WIN10_FE) + +WINBASEAPI +_Success_(return > 0 && return < BufferLength) +DWORD +WINAPI +GetTempPath2W( + _In_ DWORD BufferLength, + _Out_writes_to_opt_(BufferLength,return + 1) LPWSTR Buffer + ); + +#ifdef UNICODE +#define GetTempPath2 GetTempPath2W +#endif + +WINBASEAPI +_Success_(return > 0 && return < BufferLength) +DWORD +WINAPI +GetTempPath2A( + _In_ DWORD BufferLength, + _Out_writes_to_opt_(BufferLength,return + 1) LPSTR Buffer + ); + +#ifndef UNICODE +#define GetTempPath2 GetTempPath2A +#endif + +#endif // (NTDDI_VERSION >= NTDDI_WIN10_FE) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES) */ +#pragma endregion + +#ifdef __cplusplus +} +#endif + +#endif // _APISETFILE_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fileapifromapp.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fileapifromapp.h new file mode 100644 index 0000000000000000000000000000000000000000..fe836cf1d195e33125452e87109799ed2bdf3a0c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fileapifromapp.h @@ -0,0 +1,186 @@ +/********************************************************************************* +* * +* fileapifromapp.h - ApiSet Contract for api-ms-win-core-file-fromapp-l1 * +* * +* Copyright (c) Microsoft Corporation. All rights reserved. * +* * +*********************************************************************************/ + +#ifndef _FILEAPIFROMAPP_H_ +#define _FILEAPIFROMAPP_H_ + +#ifdef _MSC_VER +#pragma once +#endif // _MSC_VER + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#pragma region Application Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) +#if ((_WIN32_WINNT >= _WIN32_WINNT_WIN10) && (NTDDI_VERSION >= NTDDI_WIN10_RS3)) + +WINSTORAGEAPI +BOOL +WINAPI +CopyFileFromAppW( + _In_ LPCWSTR lpExistingFileName, + _In_ LPCWSTR lpNewFileName, + _In_ BOOL bFailIfExists + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +CreateDirectoryFromAppW( + _In_ LPCWSTR lpPathName, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +HANDLE +WINAPI +CreateFileFromAppW( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwDesiredAccess, + _In_ DWORD dwShareMode, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, + _In_ DWORD dwCreationDisposition, + _In_ DWORD dwFlagsAndAttributes, + _In_opt_ HANDLE hTemplateFile + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +HANDLE +WINAPI +CreateFile2FromAppW( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwDesiredAccess, + _In_ DWORD dwShareMode, + _In_ DWORD dwCreationDisposition, + _In_opt_ LPCREATEFILE2_EXTENDED_PARAMETERS pCreateExParams + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +DeleteFileFromAppW( + _In_ LPCWSTR lpFileName + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +HANDLE +WINAPI +FindFirstFileExFromAppW( + _In_ LPCWSTR lpFileName, + _In_ FINDEX_INFO_LEVELS fInfoLevelId, + _Out_writes_bytes_(sizeof(WIN32_FIND_DATAW)) LPVOID lpFindFileData, + _In_ FINDEX_SEARCH_OPS fSearchOp, + _Reserved_ LPVOID lpSearchFilter, + _In_ DWORD dwAdditionalFlags + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +GetFileAttributesExFromAppW( + _In_ LPCWSTR lpFileName, + _In_ GET_FILEEX_INFO_LEVELS fInfoLevelId, + _Out_writes_bytes_(sizeof(WIN32_FILE_ATTRIBUTE_DATA)) LPVOID lpFileInformation + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +MoveFileFromAppW( + _In_ LPCWSTR lpExistingFileName, + _In_ LPCWSTR lpNewFileName + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +RemoveDirectoryFromAppW( + _In_ LPCWSTR lpPathName + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +ReplaceFileFromAppW( + _In_ LPCWSTR lpReplacedFileName, + _In_ LPCWSTR lpReplacementFileName, + _In_opt_ LPCWSTR lpBackupFileName, + _In_ DWORD dwReplaceFlags, + _Reserved_ LPVOID lpExclude, + _Reserved_ LPVOID lpReserved + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +WINSTORAGEAPI +BOOL +WINAPI +SetFileAttributesFromAppW( + _In_ LPCWSTR lpFileName, + _In_ DWORD dwFileAttributes + ) +#if defined(__cplusplus) && _MSC_VER >= 1900 +noexcept +#endif +; + +#endif // Version check +#endif/* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ +#pragma endregion + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif // _FILEAPIFROMAPP_H_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filtereg.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filtereg.h new file mode 100644 index 0000000000000000000000000000000000000000..b2a8c6260ff4bde3b3adf1328f04155860adf6f5 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filtereg.h @@ -0,0 +1,400 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __filtereg_h__ +#define __filtereg_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __ILoadFilter_FWD_DEFINED__ +#define __ILoadFilter_FWD_DEFINED__ +typedef interface ILoadFilter ILoadFilter; + +#endif /* __ILoadFilter_FWD_DEFINED__ */ + + +#ifndef __ILoadFilterWithPrivateComActivation_FWD_DEFINED__ +#define __ILoadFilterWithPrivateComActivation_FWD_DEFINED__ +typedef interface ILoadFilterWithPrivateComActivation ILoadFilterWithPrivateComActivation; + +#endif /* __ILoadFilterWithPrivateComActivation_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" +#include "filter.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_filtereg_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +EXTERN_C const CLSID CLSID_FilterRegistration; + + +extern RPC_IF_HANDLE __MIDL_itf_filtereg_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_filtereg_0000_0000_v0_0_s_ifspec; + +#ifndef __ILoadFilter_INTERFACE_DEFINED__ +#define __ILoadFilter_INTERFACE_DEFINED__ + +/* interface ILoadFilter */ +/* [unique][helpstring][uuid][object] */ + +typedef struct _FILTERED_DATA_SOURCES + { + const WCHAR *pwcsExtension; + const WCHAR *pwcsMime; + const CLSID *pClsid; + const WCHAR *pwcsOverride; + } FILTERED_DATA_SOURCES; + + +EXTERN_C const IID IID_ILoadFilter; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("c7310722-ac80-11d1-8df3-00c04fb6ef4f") + ILoadFilter : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE LoadIFilter( + /* [unique][in] */ __RPC__in_opt LPCWSTR pwcsPath, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *pFilteredSources, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadIFilterFromStorage( + /* [in] */ __RPC__in_opt IStorage *pStg, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [unique][in] */ __RPC__in_opt LPCWSTR pwcsOverride, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt) = 0; + + virtual HRESULT STDMETHODCALLTYPE LoadIFilterFromStream( + /* [in] */ __RPC__in_opt IStream *pStm, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *pFilteredSources, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt) = 0; + + }; + + +#else /* C style interface */ + + typedef struct ILoadFilterVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in ILoadFilter * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in ILoadFilter * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in ILoadFilter * This); + + DECLSPEC_XFGVIRT(ILoadFilter, LoadIFilter) + HRESULT ( STDMETHODCALLTYPE *LoadIFilter )( + __RPC__in ILoadFilter * This, + /* [unique][in] */ __RPC__in_opt LPCWSTR pwcsPath, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *pFilteredSources, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt); + + DECLSPEC_XFGVIRT(ILoadFilter, LoadIFilterFromStorage) + HRESULT ( STDMETHODCALLTYPE *LoadIFilterFromStorage )( + __RPC__in ILoadFilter * This, + /* [in] */ __RPC__in_opt IStorage *pStg, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [unique][in] */ __RPC__in_opt LPCWSTR pwcsOverride, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt); + + DECLSPEC_XFGVIRT(ILoadFilter, LoadIFilterFromStream) + HRESULT ( STDMETHODCALLTYPE *LoadIFilterFromStream )( + __RPC__in ILoadFilter * This, + /* [in] */ __RPC__in_opt IStream *pStm, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *pFilteredSources, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt); + + END_INTERFACE + } ILoadFilterVtbl; + + interface ILoadFilter + { + CONST_VTBL struct ILoadFilterVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define ILoadFilter_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define ILoadFilter_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define ILoadFilter_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define ILoadFilter_LoadIFilter(This,pwcsPath,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) \ + ( (This)->lpVtbl -> LoadIFilter(This,pwcsPath,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) ) + +#define ILoadFilter_LoadIFilterFromStorage(This,pStg,pUnkOuter,pwcsOverride,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) \ + ( (This)->lpVtbl -> LoadIFilterFromStorage(This,pStg,pUnkOuter,pwcsOverride,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) ) + +#define ILoadFilter_LoadIFilterFromStream(This,pStm,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) \ + ( (This)->lpVtbl -> LoadIFilterFromStream(This,pStm,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __ILoadFilter_INTERFACE_DEFINED__ */ + + +#ifndef __ILoadFilterWithPrivateComActivation_INTERFACE_DEFINED__ +#define __ILoadFilterWithPrivateComActivation_INTERFACE_DEFINED__ + +/* interface ILoadFilterWithPrivateComActivation */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_ILoadFilterWithPrivateComActivation; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("40BDBD34-780B-48D3-9BB6-12EBD4AD2E75") + ILoadFilterWithPrivateComActivation : public ILoadFilter + { + public: + virtual HRESULT STDMETHODCALLTYPE LoadIFilterWithPrivateComActivation( + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *filteredSources, + /* [in] */ BOOL useDefault, + /* [out] */ __RPC__out CLSID *filterClsid, + /* [out] */ __RPC__out BOOL *isFilterPrivateComActivated, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **filterObj) = 0; + + }; + + +#else /* C style interface */ + + typedef struct ILoadFilterWithPrivateComActivationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in ILoadFilterWithPrivateComActivation * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in ILoadFilterWithPrivateComActivation * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in ILoadFilterWithPrivateComActivation * This); + + DECLSPEC_XFGVIRT(ILoadFilter, LoadIFilter) + HRESULT ( STDMETHODCALLTYPE *LoadIFilter )( + __RPC__in ILoadFilterWithPrivateComActivation * This, + /* [unique][in] */ __RPC__in_opt LPCWSTR pwcsPath, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *pFilteredSources, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt); + + DECLSPEC_XFGVIRT(ILoadFilter, LoadIFilterFromStorage) + HRESULT ( STDMETHODCALLTYPE *LoadIFilterFromStorage )( + __RPC__in ILoadFilterWithPrivateComActivation * This, + /* [in] */ __RPC__in_opt IStorage *pStg, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [unique][in] */ __RPC__in_opt LPCWSTR pwcsOverride, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt); + + DECLSPEC_XFGVIRT(ILoadFilter, LoadIFilterFromStream) + HRESULT ( STDMETHODCALLTYPE *LoadIFilterFromStream )( + __RPC__in ILoadFilterWithPrivateComActivation * This, + /* [in] */ __RPC__in_opt IStream *pStm, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *pFilteredSources, + /* [unique][in] */ __RPC__in_opt IUnknown *pUnkOuter, + /* [in] */ BOOL fUseDefault, + /* [unique][out][in] */ __RPC__inout_opt CLSID *pFilterClsid, + /* [unique][out][in] */ __RPC__inout_opt int *SearchDecSize, + /* [length_is][length_is][size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_part_opt(( *SearchDecSize + 1 ) , ( *SearchDecSize + 1 ) ) WCHAR **pwcsSearchDesc, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **ppIFilt); + + DECLSPEC_XFGVIRT(ILoadFilterWithPrivateComActivation, LoadIFilterWithPrivateComActivation) + HRESULT ( STDMETHODCALLTYPE *LoadIFilterWithPrivateComActivation )( + __RPC__in ILoadFilterWithPrivateComActivation * This, + /* [unique][in] */ __RPC__in_opt FILTERED_DATA_SOURCES *filteredSources, + /* [in] */ BOOL useDefault, + /* [out] */ __RPC__out CLSID *filterClsid, + /* [out] */ __RPC__out BOOL *isFilterPrivateComActivated, + /* [unique][out][in] */ __RPC__deref_opt_inout_opt IFilter **filterObj); + + END_INTERFACE + } ILoadFilterWithPrivateComActivationVtbl; + + interface ILoadFilterWithPrivateComActivation + { + CONST_VTBL struct ILoadFilterWithPrivateComActivationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define ILoadFilterWithPrivateComActivation_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define ILoadFilterWithPrivateComActivation_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define ILoadFilterWithPrivateComActivation_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define ILoadFilterWithPrivateComActivation_LoadIFilter(This,pwcsPath,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) \ + ( (This)->lpVtbl -> LoadIFilter(This,pwcsPath,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) ) + +#define ILoadFilterWithPrivateComActivation_LoadIFilterFromStorage(This,pStg,pUnkOuter,pwcsOverride,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) \ + ( (This)->lpVtbl -> LoadIFilterFromStorage(This,pStg,pUnkOuter,pwcsOverride,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) ) + +#define ILoadFilterWithPrivateComActivation_LoadIFilterFromStream(This,pStm,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) \ + ( (This)->lpVtbl -> LoadIFilterFromStream(This,pStm,pFilteredSources,pUnkOuter,fUseDefault,pFilterClsid,SearchDecSize,pwcsSearchDesc,ppIFilt) ) + + +#define ILoadFilterWithPrivateComActivation_LoadIFilterWithPrivateComActivation(This,filteredSources,useDefault,filterClsid,isFilterPrivateComActivated,filterObj) \ + ( (This)->lpVtbl -> LoadIFilterWithPrivateComActivation(This,filteredSources,useDefault,filterClsid,isFilterPrivateComActivated,filterObj) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __ILoadFilterWithPrivateComActivation_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_filtereg_0000_0002 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_filtereg_0000_0002_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_filtereg_0000_0002_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filtereg.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filtereg.idl new file mode 100644 index 0000000000000000000000000000000000000000..e4303cbb67859f213cecbcc5b530bf6b839aa0e1 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filtereg.idl @@ -0,0 +1,94 @@ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1999-2000. +// +// File: filtereg.idl +// +// Contents: Filter registration interface +// +// History: Jun-30-1999 cobir Created +// Jul-09-2000 cobir Added IFilterControl +// +//-------------------------------------------------------------------------- + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; +import "ocidl.idl"; +import "filter.idl"; + + +// 9E175B8D-F52A-11D8-B9A5-505054503030 +cpp_quote("EXTERN_C const CLSID CLSID_FilterRegistration;") + +[ + object, + uuid(c7310722-ac80-11d1-8df3-00c04fb6ef4f), + helpstring("ILoadFilter Interface"), + pointer_default(unique) +] +interface ILoadFilter : IUnknown +{ + typedef struct _FILTERED_DATA_SOURCES + { + WCHAR const * pwcsExtension; // file extension + WCHAR const * pwcsMime; // mime type string + CLSID const * pClsid; + WCHAR const * pwcsOverride; + + } FILTERED_DATA_SOURCES; + + + HRESULT LoadIFilter( [in, unique] LPCWSTR pwcsPath, + [in, unique] FILTERED_DATA_SOURCES * pFilteredSources, + [in, unique] IUnknown * pUnkOuter, + [in] BOOL fUseDefault, // use default filter when no filter is found + [in, out, unique] CLSID * pFilterClsid, + [in, out, unique] int * SearchDecSize, + [in, out, unique, size_is(, *SearchDecSize + 1), length_is(, *SearchDecSize + 1)] WCHAR ** pwcsSearchDesc, + [in, out, unique] IFilter ** ppIFilt ); + + + + HRESULT LoadIFilterFromStorage( [in] IStorage * pStg, + [in, unique] IUnknown * pUnkOuter, + [in, unique] LPCWSTR pwcsOverride, + [in] BOOL fUseDefault, + [in, out, unique] CLSID * pFilterClsid, + [in, out, unique] int * SearchDecSize, + [in, out, unique, size_is(, *SearchDecSize + 1), length_is(, *SearchDecSize + 1)] WCHAR ** pwcsSearchDesc, + [in, out, unique] IFilter ** ppIFilt ); + + + HRESULT LoadIFilterFromStream( [in] IStream * pStm, + [in, unique] FILTERED_DATA_SOURCES *pFilteredSources, + [in, unique] IUnknown * pUnkOuter, + [in] BOOL fUseDefault, + [in, out, unique] CLSID * pFilterClsid, + [in, out, unique] int * SearchDecSize, + [in, out, unique, size_is(, *SearchDecSize + 1), length_is(, *SearchDecSize + 1)] WCHAR ** pwcsSearchDesc, + [in, out, unique] IFilter ** ppIFilt ); +}; + +[ + object, + uuid(40BDBD34-780B-48D3-9BB6-12EBD4AD2E75), + helpstring("ILoadFilterWithPrivateComActivation Interface"), + pointer_default(unique) +] +interface ILoadFilterWithPrivateComActivation : ILoadFilter +{ + HRESULT LoadIFilterWithPrivateComActivation( + [in, unique] FILTERED_DATA_SOURCES * filteredSources, + [in] BOOL useDefault, // use default filter when no filter is found + [out] CLSID * filterClsid, + [out] BOOL *isFilterPrivateComActivated, + [in, out, unique] IFilter ** filterObj); +}; + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filterpipeline.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filterpipeline.h new file mode 100644 index 0000000000000000000000000000000000000000..884cf3a372f74f43f115f06418fe58226f3265f6 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filterpipeline.h @@ -0,0 +1,3390 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __filterpipeline_h__ +#define __filterpipeline_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IPrintReadStream_FWD_DEFINED__ +#define __IPrintReadStream_FWD_DEFINED__ +typedef interface IPrintReadStream IPrintReadStream; + +#endif /* __IPrintReadStream_FWD_DEFINED__ */ + + +#ifndef __IPrintWriteStream_FWD_DEFINED__ +#define __IPrintWriteStream_FWD_DEFINED__ +typedef interface IPrintWriteStream IPrintWriteStream; + +#endif /* __IPrintWriteStream_FWD_DEFINED__ */ + + +#ifndef __IPrintWriteStreamFlush_FWD_DEFINED__ +#define __IPrintWriteStreamFlush_FWD_DEFINED__ +typedef interface IPrintWriteStreamFlush IPrintWriteStreamFlush; + +#endif /* __IPrintWriteStreamFlush_FWD_DEFINED__ */ + + +#ifndef __IInterFilterCommunicator_FWD_DEFINED__ +#define __IInterFilterCommunicator_FWD_DEFINED__ +typedef interface IInterFilterCommunicator IInterFilterCommunicator; + +#endif /* __IInterFilterCommunicator_FWD_DEFINED__ */ + + +#ifndef __IPrintPipelineManagerControl_FWD_DEFINED__ +#define __IPrintPipelineManagerControl_FWD_DEFINED__ +typedef interface IPrintPipelineManagerControl IPrintPipelineManagerControl; + +#endif /* __IPrintPipelineManagerControl_FWD_DEFINED__ */ + + +#ifndef __IPrintPipelinePropertyBag_FWD_DEFINED__ +#define __IPrintPipelinePropertyBag_FWD_DEFINED__ +typedef interface IPrintPipelinePropertyBag IPrintPipelinePropertyBag; + +#endif /* __IPrintPipelinePropertyBag_FWD_DEFINED__ */ + + +#ifndef __IPrintPipelineProgressReport_FWD_DEFINED__ +#define __IPrintPipelineProgressReport_FWD_DEFINED__ +typedef interface IPrintPipelineProgressReport IPrintPipelineProgressReport; + +#endif /* __IPrintPipelineProgressReport_FWD_DEFINED__ */ + + +#ifndef __IPrintClassObjectFactory_FWD_DEFINED__ +#define __IPrintClassObjectFactory_FWD_DEFINED__ +typedef interface IPrintClassObjectFactory IPrintClassObjectFactory; + +#endif /* __IPrintClassObjectFactory_FWD_DEFINED__ */ + + +#ifndef __IPrintPipelineFilter_FWD_DEFINED__ +#define __IPrintPipelineFilter_FWD_DEFINED__ +typedef interface IPrintPipelineFilter IPrintPipelineFilter; + +#endif /* __IPrintPipelineFilter_FWD_DEFINED__ */ + + +#ifndef __IXpsDocumentProvider_FWD_DEFINED__ +#define __IXpsDocumentProvider_FWD_DEFINED__ +typedef interface IXpsDocumentProvider IXpsDocumentProvider; + +#endif /* __IXpsDocumentProvider_FWD_DEFINED__ */ + + +#ifndef __IXpsDocumentConsumer_FWD_DEFINED__ +#define __IXpsDocumentConsumer_FWD_DEFINED__ +typedef interface IXpsDocumentConsumer IXpsDocumentConsumer; + +#endif /* __IXpsDocumentConsumer_FWD_DEFINED__ */ + + +#ifndef __IXpsDocument_FWD_DEFINED__ +#define __IXpsDocument_FWD_DEFINED__ +typedef interface IXpsDocument IXpsDocument; + +#endif /* __IXpsDocument_FWD_DEFINED__ */ + + +#ifndef __IFixedDocumentSequence_FWD_DEFINED__ +#define __IFixedDocumentSequence_FWD_DEFINED__ +typedef interface IFixedDocumentSequence IFixedDocumentSequence; + +#endif /* __IFixedDocumentSequence_FWD_DEFINED__ */ + + +#ifndef __IFixedDocument_FWD_DEFINED__ +#define __IFixedDocument_FWD_DEFINED__ +typedef interface IFixedDocument IFixedDocument; + +#endif /* __IFixedDocument_FWD_DEFINED__ */ + + +#ifndef __IPartBase_FWD_DEFINED__ +#define __IPartBase_FWD_DEFINED__ +typedef interface IPartBase IPartBase; + +#endif /* __IPartBase_FWD_DEFINED__ */ + + +#ifndef __IFixedPage_FWD_DEFINED__ +#define __IFixedPage_FWD_DEFINED__ +typedef interface IFixedPage IFixedPage; + +#endif /* __IFixedPage_FWD_DEFINED__ */ + + +#ifndef __IPartImage_FWD_DEFINED__ +#define __IPartImage_FWD_DEFINED__ +typedef interface IPartImage IPartImage; + +#endif /* __IPartImage_FWD_DEFINED__ */ + + +#ifndef __IPartFont_FWD_DEFINED__ +#define __IPartFont_FWD_DEFINED__ +typedef interface IPartFont IPartFont; + +#endif /* __IPartFont_FWD_DEFINED__ */ + + +#ifndef __IPartFont2_FWD_DEFINED__ +#define __IPartFont2_FWD_DEFINED__ +typedef interface IPartFont2 IPartFont2; + +#endif /* __IPartFont2_FWD_DEFINED__ */ + + +#ifndef __IPartThumbnail_FWD_DEFINED__ +#define __IPartThumbnail_FWD_DEFINED__ +typedef interface IPartThumbnail IPartThumbnail; + +#endif /* __IPartThumbnail_FWD_DEFINED__ */ + + +#ifndef __IPartPrintTicket_FWD_DEFINED__ +#define __IPartPrintTicket_FWD_DEFINED__ +typedef interface IPartPrintTicket IPartPrintTicket; + +#endif /* __IPartPrintTicket_FWD_DEFINED__ */ + + +#ifndef __IPartColorProfile_FWD_DEFINED__ +#define __IPartColorProfile_FWD_DEFINED__ +typedef interface IPartColorProfile IPartColorProfile; + +#endif /* __IPartColorProfile_FWD_DEFINED__ */ + + +#ifndef __IPartResourceDictionary_FWD_DEFINED__ +#define __IPartResourceDictionary_FWD_DEFINED__ +typedef interface IPartResourceDictionary IPartResourceDictionary; + +#endif /* __IPartResourceDictionary_FWD_DEFINED__ */ + + +#ifndef __IXpsPartIterator_FWD_DEFINED__ +#define __IXpsPartIterator_FWD_DEFINED__ +typedef interface IXpsPartIterator IXpsPartIterator; + +#endif /* __IXpsPartIterator_FWD_DEFINED__ */ + + +#ifndef __IPrintReadStreamFactory_FWD_DEFINED__ +#define __IPrintReadStreamFactory_FWD_DEFINED__ +typedef interface IPrintReadStreamFactory IPrintReadStreamFactory; + +#endif /* __IPrintReadStreamFactory_FWD_DEFINED__ */ + + +#ifndef __IPartDiscardControl_FWD_DEFINED__ +#define __IPartDiscardControl_FWD_DEFINED__ +typedef interface IPartDiscardControl IPartDiscardControl; + +#endif /* __IPartDiscardControl_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "imgerror.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_filterpipeline_0000_0000 */ +/* [local] */ + +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (c) Microsoft Corporation. All rights reserved. +// +//-------------------------------------------------------------------------- +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#define E_ELEMENT_NOT_FOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND) +#define XPS_FP_PRINTER_NAME L"PrinterName" +#define XPS_FP_PROGRESS_REPORT L"ProgressReport" +#define XPS_FP_PRINTER_HANDLE L"PrinterHandle" +#define XPS_FP_USER_PRINT_TICKET L"PerUserPrintTicket" +#define XPS_FP_USER_TOKEN L"UserSecurityToken" +#define XPS_FP_JOB_ID L"PrintJobId" +#define XPS_FP_PRINT_CLASS_FACTORY L"PrintClassFactory" +#define XPS_FP_OUTPUT_FILE L"PrintOutputFileName" +#define XPS_FP_MS_CONTENT_TYPE L"DriverMultiContentType" +#define XPS_FP_MS_CONTENT_TYPE_XPS L"XPS" +#define XPS_FP_MS_CONTENT_TYPE_OPENXPS L"OpenXPS" +#define XPS_FP_DRIVER_PROPERTY_BAG L"DriverPropertyBag" +#define XPS_FP_QUEUE_PROPERTY_BAG L"QueuePropertyBag" +#define XPS_FP_MERGED_DATAFILE_PATH L"MergedDataFilePath" +#define XPS_FP_RESOURCE_DLL_PATHS L"ResourceDLLPaths" +#define XPS_FP_JOB_LEVEL_PRINTTICKET L"JobPrintTicket" +#define XPS_FP_PRINTDEVICECAPABILITIES L"PrintDeviceCapabilities" +#define XPS_FP_FAX_JOB_PROPERTIES L"JobFaxProperties" + + + + + + + + + + + + + + + + + + + + + + +typedef /* [public][public][public] */ +enum __MIDL___MIDL_itf_filterpipeline_0000_0000_0001 + { + Compression_NotCompressed = 0, + Compression_Normal = ( Compression_NotCompressed + 1 ) , + Compression_Small = ( Compression_Normal + 1 ) , + Compression_Fast = ( Compression_Small + 1 ) + } EXpsCompressionOptions; + +typedef /* [public][public][public] */ +enum __MIDL___MIDL_itf_filterpipeline_0000_0000_0002 + { + Font_Normal = 0, + Font_Obfusticate = ( Font_Normal + 1 ) + } EXpsFontOptions; + +typedef /* [public][public] */ +enum __MIDL___MIDL_itf_filterpipeline_0000_0000_0003 + { + XpsJob_DocumentSequenceAdded = 0, + XpsJob_FixedDocumentAdded = ( XpsJob_DocumentSequenceAdded + 1 ) , + XpsJob_FixedPageAdded = ( XpsJob_FixedDocumentAdded + 1 ) + } EXpsJobConsumption; + +typedef /* [public][public] */ +enum __MIDL___MIDL_itf_filterpipeline_0000_0000_0004 + { + Xps_Restricted_Font_Installable = 0, + Xps_Restricted_Font_NoEmbedding = 0x2, + Xps_Restricted_Font_PreviewPrint = 0x4, + Xps_Restricted_Font_Editable = 0x8 + } EXpsFontRestriction; + +// +// XPSDrv driver can specify filter service provider module using the +// or element in the filter pipeline configuration XML file. +// The service provider module must export the following DrvPopulateFilterServices function, which +// is called by the XPSDrv filter pipeline manager to allow the service provider to instantiate +// filter service objects in the filter pipeline property bag specified by the pPropertyBag parameter. +// +HRESULT +WINAPI +DrvPopulateFilterServices( + _In_ IPrintPipelinePropertyBag *pPropertyBag + ); + + +extern RPC_IF_HANDLE __MIDL_itf_filterpipeline_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_filterpipeline_0000_0000_v0_0_s_ifspec; + +#ifndef __IPrintReadStream_INTERFACE_DEFINED__ +#define __IPrintReadStream_INTERFACE_DEFINED__ + +/* interface IPrintReadStream */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintReadStream; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4d47a67c-66cc-4430-850e-daf466fe5bc4") + IPrintReadStream : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Seek( + /* [annotation][in] */ + _In_ LONGLONG dlibMove, + /* [annotation][in] */ + _In_ DWORD dwOrigin, + /* [annotation][out] */ + _Out_opt_ ULONGLONG *plibNewPosition) = 0; + + virtual HRESULT STDMETHODCALLTYPE ReadBytes( + /* [annotation][length_is][size_is][out] */ + _Out_writes_bytes_to_(cbRequested, *pcbRead) void *pvBuffer, + /* [annotation][in] */ + _In_ ULONG cbRequested, + /* [annotation][out] */ + _Out_ ULONG *pcbRead, + /* [annotation][out] */ + _Out_ BOOL *pbEndOfFile) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintReadStreamVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintReadStream * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintReadStream * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintReadStream * This); + + DECLSPEC_XFGVIRT(IPrintReadStream, Seek) + HRESULT ( STDMETHODCALLTYPE *Seek )( + IPrintReadStream * This, + /* [annotation][in] */ + _In_ LONGLONG dlibMove, + /* [annotation][in] */ + _In_ DWORD dwOrigin, + /* [annotation][out] */ + _Out_opt_ ULONGLONG *plibNewPosition); + + DECLSPEC_XFGVIRT(IPrintReadStream, ReadBytes) + HRESULT ( STDMETHODCALLTYPE *ReadBytes )( + IPrintReadStream * This, + /* [annotation][length_is][size_is][out] */ + _Out_writes_bytes_to_(cbRequested, *pcbRead) void *pvBuffer, + /* [annotation][in] */ + _In_ ULONG cbRequested, + /* [annotation][out] */ + _Out_ ULONG *pcbRead, + /* [annotation][out] */ + _Out_ BOOL *pbEndOfFile); + + END_INTERFACE + } IPrintReadStreamVtbl; + + interface IPrintReadStream + { + CONST_VTBL struct IPrintReadStreamVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintReadStream_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintReadStream_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintReadStream_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintReadStream_Seek(This,dlibMove,dwOrigin,plibNewPosition) \ + ( (This)->lpVtbl -> Seek(This,dlibMove,dwOrigin,plibNewPosition) ) + +#define IPrintReadStream_ReadBytes(This,pvBuffer,cbRequested,pcbRead,pbEndOfFile) \ + ( (This)->lpVtbl -> ReadBytes(This,pvBuffer,cbRequested,pcbRead,pbEndOfFile) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintReadStream_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintWriteStream_INTERFACE_DEFINED__ +#define __IPrintWriteStream_INTERFACE_DEFINED__ + +/* interface IPrintWriteStream */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintWriteStream; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("65bb7f1b-371e-4571-8ac7-912f510c1a38") + IPrintWriteStream : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE WriteBytes( + /* [annotation][size_is][in] */ + _In_reads_bytes_(cbBuffer) const void *pvBuffer, + /* [annotation][in] */ + _In_ ULONG cbBuffer, + /* [annotation][out] */ + _Out_ ULONG *pcbWritten) = 0; + + virtual void STDMETHODCALLTYPE Close( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintWriteStreamVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintWriteStream * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintWriteStream * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintWriteStream * This); + + DECLSPEC_XFGVIRT(IPrintWriteStream, WriteBytes) + HRESULT ( STDMETHODCALLTYPE *WriteBytes )( + IPrintWriteStream * This, + /* [annotation][size_is][in] */ + _In_reads_bytes_(cbBuffer) const void *pvBuffer, + /* [annotation][in] */ + _In_ ULONG cbBuffer, + /* [annotation][out] */ + _Out_ ULONG *pcbWritten); + + DECLSPEC_XFGVIRT(IPrintWriteStream, Close) + void ( STDMETHODCALLTYPE *Close )( + IPrintWriteStream * This); + + END_INTERFACE + } IPrintWriteStreamVtbl; + + interface IPrintWriteStream + { + CONST_VTBL struct IPrintWriteStreamVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintWriteStream_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintWriteStream_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintWriteStream_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintWriteStream_WriteBytes(This,pvBuffer,cbBuffer,pcbWritten) \ + ( (This)->lpVtbl -> WriteBytes(This,pvBuffer,cbBuffer,pcbWritten) ) + +#define IPrintWriteStream_Close(This) \ + ( (This)->lpVtbl -> Close(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintWriteStream_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintWriteStreamFlush_INTERFACE_DEFINED__ +#define __IPrintWriteStreamFlush_INTERFACE_DEFINED__ + +/* interface IPrintWriteStreamFlush */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintWriteStreamFlush; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("07d11ff8-1753-4873-b749-6cdaf068e4c3") + IPrintWriteStreamFlush : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE FlushData( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintWriteStreamFlushVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintWriteStreamFlush * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintWriteStreamFlush * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintWriteStreamFlush * This); + + DECLSPEC_XFGVIRT(IPrintWriteStreamFlush, FlushData) + HRESULT ( STDMETHODCALLTYPE *FlushData )( + IPrintWriteStreamFlush * This); + + END_INTERFACE + } IPrintWriteStreamFlushVtbl; + + interface IPrintWriteStreamFlush + { + CONST_VTBL struct IPrintWriteStreamFlushVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintWriteStreamFlush_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintWriteStreamFlush_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintWriteStreamFlush_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintWriteStreamFlush_FlushData(This) \ + ( (This)->lpVtbl -> FlushData(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintWriteStreamFlush_INTERFACE_DEFINED__ */ + + +#ifndef __IInterFilterCommunicator_INTERFACE_DEFINED__ +#define __IInterFilterCommunicator_INTERFACE_DEFINED__ + +/* interface IInterFilterCommunicator */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IInterFilterCommunicator; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4daf1e69-81fd-462d-940f-8cd3ddf56fca") + IInterFilterCommunicator : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE RequestReader( + /* [annotation][out] */ + _Out_ void **ppIReader) = 0; + + virtual HRESULT STDMETHODCALLTYPE RequestWriter( + /* [annotation][out] */ + _Out_ void **ppIWriter) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IInterFilterCommunicatorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IInterFilterCommunicator * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IInterFilterCommunicator * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IInterFilterCommunicator * This); + + DECLSPEC_XFGVIRT(IInterFilterCommunicator, RequestReader) + HRESULT ( STDMETHODCALLTYPE *RequestReader )( + IInterFilterCommunicator * This, + /* [annotation][out] */ + _Out_ void **ppIReader); + + DECLSPEC_XFGVIRT(IInterFilterCommunicator, RequestWriter) + HRESULT ( STDMETHODCALLTYPE *RequestWriter )( + IInterFilterCommunicator * This, + /* [annotation][out] */ + _Out_ void **ppIWriter); + + END_INTERFACE + } IInterFilterCommunicatorVtbl; + + interface IInterFilterCommunicator + { + CONST_VTBL struct IInterFilterCommunicatorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IInterFilterCommunicator_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IInterFilterCommunicator_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IInterFilterCommunicator_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IInterFilterCommunicator_RequestReader(This,ppIReader) \ + ( (This)->lpVtbl -> RequestReader(This,ppIReader) ) + +#define IInterFilterCommunicator_RequestWriter(This,ppIWriter) \ + ( (This)->lpVtbl -> RequestWriter(This,ppIWriter) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IInterFilterCommunicator_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintPipelineManagerControl_INTERFACE_DEFINED__ +#define __IPrintPipelineManagerControl_INTERFACE_DEFINED__ + +/* interface IPrintPipelineManagerControl */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintPipelineManagerControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("aa3e4910-5889-4681-91ef-823ad4ed4e44") + IPrintPipelineManagerControl : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE RequestShutdown( + /* [annotation][in] */ + _In_ HRESULT hrReason, + /* [annotation][in] */ + _In_ IImgErrorInfo *pReason) = 0; + + virtual HRESULT STDMETHODCALLTYPE FilterFinished( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintPipelineManagerControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintPipelineManagerControl * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintPipelineManagerControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintPipelineManagerControl * This); + + DECLSPEC_XFGVIRT(IPrintPipelineManagerControl, RequestShutdown) + HRESULT ( STDMETHODCALLTYPE *RequestShutdown )( + IPrintPipelineManagerControl * This, + /* [annotation][in] */ + _In_ HRESULT hrReason, + /* [annotation][in] */ + _In_ IImgErrorInfo *pReason); + + DECLSPEC_XFGVIRT(IPrintPipelineManagerControl, FilterFinished) + HRESULT ( STDMETHODCALLTYPE *FilterFinished )( + IPrintPipelineManagerControl * This); + + END_INTERFACE + } IPrintPipelineManagerControlVtbl; + + interface IPrintPipelineManagerControl + { + CONST_VTBL struct IPrintPipelineManagerControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintPipelineManagerControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintPipelineManagerControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintPipelineManagerControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintPipelineManagerControl_RequestShutdown(This,hrReason,pReason) \ + ( (This)->lpVtbl -> RequestShutdown(This,hrReason,pReason) ) + +#define IPrintPipelineManagerControl_FilterFinished(This) \ + ( (This)->lpVtbl -> FilterFinished(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintPipelineManagerControl_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintPipelinePropertyBag_INTERFACE_DEFINED__ +#define __IPrintPipelinePropertyBag_INTERFACE_DEFINED__ + +/* interface IPrintPipelinePropertyBag */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintPipelinePropertyBag; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8b8c99dc-7892-4a95-8a04-57422e9fbb47") + IPrintPipelinePropertyBag : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE AddProperty( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszName, + /* [annotation][in] */ + _In_ const VARIANT *pVar) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProperty( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszName, + /* [annotation][out] */ + _Out_ VARIANT *pVar) = 0; + + virtual BOOL STDMETHODCALLTYPE DeleteProperty( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintPipelinePropertyBagVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintPipelinePropertyBag * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintPipelinePropertyBag * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintPipelinePropertyBag * This); + + DECLSPEC_XFGVIRT(IPrintPipelinePropertyBag, AddProperty) + HRESULT ( STDMETHODCALLTYPE *AddProperty )( + IPrintPipelinePropertyBag * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszName, + /* [annotation][in] */ + _In_ const VARIANT *pVar); + + DECLSPEC_XFGVIRT(IPrintPipelinePropertyBag, GetProperty) + HRESULT ( STDMETHODCALLTYPE *GetProperty )( + IPrintPipelinePropertyBag * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszName, + /* [annotation][out] */ + _Out_ VARIANT *pVar); + + DECLSPEC_XFGVIRT(IPrintPipelinePropertyBag, DeleteProperty) + BOOL ( STDMETHODCALLTYPE *DeleteProperty )( + IPrintPipelinePropertyBag * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszName); + + END_INTERFACE + } IPrintPipelinePropertyBagVtbl; + + interface IPrintPipelinePropertyBag + { + CONST_VTBL struct IPrintPipelinePropertyBagVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintPipelinePropertyBag_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintPipelinePropertyBag_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintPipelinePropertyBag_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintPipelinePropertyBag_AddProperty(This,pszName,pVar) \ + ( (This)->lpVtbl -> AddProperty(This,pszName,pVar) ) + +#define IPrintPipelinePropertyBag_GetProperty(This,pszName,pVar) \ + ( (This)->lpVtbl -> GetProperty(This,pszName,pVar) ) + +#define IPrintPipelinePropertyBag_DeleteProperty(This,pszName) \ + ( (This)->lpVtbl -> DeleteProperty(This,pszName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintPipelinePropertyBag_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintPipelineProgressReport_INTERFACE_DEFINED__ +#define __IPrintPipelineProgressReport_INTERFACE_DEFINED__ + +/* interface IPrintPipelineProgressReport */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintPipelineProgressReport; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("edc12c7c-ed40-4ea5-96a6-5e4397497a61") + IPrintPipelineProgressReport : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE ReportProgress( + /* [annotation][in] */ + _In_ EXpsJobConsumption update) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintPipelineProgressReportVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintPipelineProgressReport * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintPipelineProgressReport * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintPipelineProgressReport * This); + + DECLSPEC_XFGVIRT(IPrintPipelineProgressReport, ReportProgress) + HRESULT ( STDMETHODCALLTYPE *ReportProgress )( + IPrintPipelineProgressReport * This, + /* [annotation][in] */ + _In_ EXpsJobConsumption update); + + END_INTERFACE + } IPrintPipelineProgressReportVtbl; + + interface IPrintPipelineProgressReport + { + CONST_VTBL struct IPrintPipelineProgressReportVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintPipelineProgressReport_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintPipelineProgressReport_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintPipelineProgressReport_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintPipelineProgressReport_ReportProgress(This,update) \ + ( (This)->lpVtbl -> ReportProgress(This,update) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintPipelineProgressReport_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintClassObjectFactory_INTERFACE_DEFINED__ +#define __IPrintClassObjectFactory_INTERFACE_DEFINED__ + +/* interface IPrintClassObjectFactory */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintClassObjectFactory; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("9af593dd-9b02-48a8-9bad-69ace423f88b") + IPrintClassObjectFactory : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetPrintClassObject( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszPrinterName, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][iid_is][out] */ + _Outptr_ void **ppNewObject) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintClassObjectFactoryVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintClassObjectFactory * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintClassObjectFactory * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintClassObjectFactory * This); + + DECLSPEC_XFGVIRT(IPrintClassObjectFactory, GetPrintClassObject) + HRESULT ( STDMETHODCALLTYPE *GetPrintClassObject )( + IPrintClassObjectFactory * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pszPrinterName, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][iid_is][out] */ + _Outptr_ void **ppNewObject); + + END_INTERFACE + } IPrintClassObjectFactoryVtbl; + + interface IPrintClassObjectFactory + { + CONST_VTBL struct IPrintClassObjectFactoryVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintClassObjectFactory_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintClassObjectFactory_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintClassObjectFactory_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintClassObjectFactory_GetPrintClassObject(This,pszPrinterName,riid,ppNewObject) \ + ( (This)->lpVtbl -> GetPrintClassObject(This,pszPrinterName,riid,ppNewObject) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintClassObjectFactory_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintPipelineFilter_INTERFACE_DEFINED__ +#define __IPrintPipelineFilter_INTERFACE_DEFINED__ + +/* interface IPrintPipelineFilter */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintPipelineFilter; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("cdb62fc0-8bed-434e-86fb-a2cae55f19ea") + IPrintPipelineFilter : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE InitializeFilter( + /* [annotation][in] */ + _In_ IInterFilterCommunicator *pINegotiation, + /* [annotation][in] */ + _In_ IPrintPipelinePropertyBag *pIPropertyBag, + /* [annotation][in] */ + _In_ IPrintPipelineManagerControl *pIPipelineControl) = 0; + + virtual HRESULT STDMETHODCALLTYPE ShutdownOperation( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE StartOperation( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintPipelineFilterVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintPipelineFilter * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintPipelineFilter * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintPipelineFilter * This); + + DECLSPEC_XFGVIRT(IPrintPipelineFilter, InitializeFilter) + HRESULT ( STDMETHODCALLTYPE *InitializeFilter )( + IPrintPipelineFilter * This, + /* [annotation][in] */ + _In_ IInterFilterCommunicator *pINegotiation, + /* [annotation][in] */ + _In_ IPrintPipelinePropertyBag *pIPropertyBag, + /* [annotation][in] */ + _In_ IPrintPipelineManagerControl *pIPipelineControl); + + DECLSPEC_XFGVIRT(IPrintPipelineFilter, ShutdownOperation) + HRESULT ( STDMETHODCALLTYPE *ShutdownOperation )( + IPrintPipelineFilter * This); + + DECLSPEC_XFGVIRT(IPrintPipelineFilter, StartOperation) + HRESULT ( STDMETHODCALLTYPE *StartOperation )( + IPrintPipelineFilter * This); + + END_INTERFACE + } IPrintPipelineFilterVtbl; + + interface IPrintPipelineFilter + { + CONST_VTBL struct IPrintPipelineFilterVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintPipelineFilter_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintPipelineFilter_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintPipelineFilter_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintPipelineFilter_InitializeFilter(This,pINegotiation,pIPropertyBag,pIPipelineControl) \ + ( (This)->lpVtbl -> InitializeFilter(This,pINegotiation,pIPropertyBag,pIPipelineControl) ) + +#define IPrintPipelineFilter_ShutdownOperation(This) \ + ( (This)->lpVtbl -> ShutdownOperation(This) ) + +#define IPrintPipelineFilter_StartOperation(This) \ + ( (This)->lpVtbl -> StartOperation(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintPipelineFilter_INTERFACE_DEFINED__ */ + + +#ifndef __IXpsDocumentProvider_INTERFACE_DEFINED__ +#define __IXpsDocumentProvider_INTERFACE_DEFINED__ + +/* interface IXpsDocumentProvider */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IXpsDocumentProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("b8cf8530-5562-47c4-ab67-b1f69ecf961e") + IXpsDocumentProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetXpsPart( + /* [annotation][out] */ + _Outptr_ IUnknown **ppIXpsPart) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IXpsDocumentProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IXpsDocumentProvider * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IXpsDocumentProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IXpsDocumentProvider * This); + + DECLSPEC_XFGVIRT(IXpsDocumentProvider, GetXpsPart) + HRESULT ( STDMETHODCALLTYPE *GetXpsPart )( + IXpsDocumentProvider * This, + /* [annotation][out] */ + _Outptr_ IUnknown **ppIXpsPart); + + END_INTERFACE + } IXpsDocumentProviderVtbl; + + interface IXpsDocumentProvider + { + CONST_VTBL struct IXpsDocumentProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IXpsDocumentProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IXpsDocumentProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IXpsDocumentProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IXpsDocumentProvider_GetXpsPart(This,ppIXpsPart) \ + ( (This)->lpVtbl -> GetXpsPart(This,ppIXpsPart) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IXpsDocumentProvider_INTERFACE_DEFINED__ */ + + +#ifndef __IXpsDocumentConsumer_INTERFACE_DEFINED__ +#define __IXpsDocumentConsumer_INTERFACE_DEFINED__ + +/* interface IXpsDocumentConsumer */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IXpsDocumentConsumer; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4368d8a2-4181-4a9f-b295-3d9a38bb9ba0") + IXpsDocumentConsumer : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE SendXpsUnknown( + /* [annotation][in] */ + _In_ IUnknown *pUnknown) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendXpsDocument( + /* [annotation][in] */ + _In_ IXpsDocument *pIXpsDocument) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendFixedDocumentSequence( + /* [annotation][in] */ + _In_ IFixedDocumentSequence *pIFixedDocumentSequence) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendFixedDocument( + /* [annotation][in] */ + _In_ IFixedDocument *pIFixedDocument) = 0; + + virtual HRESULT STDMETHODCALLTYPE SendFixedPage( + /* [annotation][in] */ + _In_ IFixedPage *pIFixedPage) = 0; + + virtual HRESULT STDMETHODCALLTYPE CloseSender( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetNewEmptyPart( + /* [annotation][string][in] */ + _In_z_ const wchar_t *uri, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][iid_is][out] */ + _Outptr_ void **ppNewObject, + /* [annotation][out] */ + _Outptr_ IPrintWriteStream **ppWriteStream) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IXpsDocumentConsumerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IXpsDocumentConsumer * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IXpsDocumentConsumer * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IXpsDocumentConsumer * This); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, SendXpsUnknown) + HRESULT ( STDMETHODCALLTYPE *SendXpsUnknown )( + IXpsDocumentConsumer * This, + /* [annotation][in] */ + _In_ IUnknown *pUnknown); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, SendXpsDocument) + HRESULT ( STDMETHODCALLTYPE *SendXpsDocument )( + IXpsDocumentConsumer * This, + /* [annotation][in] */ + _In_ IXpsDocument *pIXpsDocument); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, SendFixedDocumentSequence) + HRESULT ( STDMETHODCALLTYPE *SendFixedDocumentSequence )( + IXpsDocumentConsumer * This, + /* [annotation][in] */ + _In_ IFixedDocumentSequence *pIFixedDocumentSequence); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, SendFixedDocument) + HRESULT ( STDMETHODCALLTYPE *SendFixedDocument )( + IXpsDocumentConsumer * This, + /* [annotation][in] */ + _In_ IFixedDocument *pIFixedDocument); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, SendFixedPage) + HRESULT ( STDMETHODCALLTYPE *SendFixedPage )( + IXpsDocumentConsumer * This, + /* [annotation][in] */ + _In_ IFixedPage *pIFixedPage); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, CloseSender) + HRESULT ( STDMETHODCALLTYPE *CloseSender )( + IXpsDocumentConsumer * This); + + DECLSPEC_XFGVIRT(IXpsDocumentConsumer, GetNewEmptyPart) + HRESULT ( STDMETHODCALLTYPE *GetNewEmptyPart )( + IXpsDocumentConsumer * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *uri, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][iid_is][out] */ + _Outptr_ void **ppNewObject, + /* [annotation][out] */ + _Outptr_ IPrintWriteStream **ppWriteStream); + + END_INTERFACE + } IXpsDocumentConsumerVtbl; + + interface IXpsDocumentConsumer + { + CONST_VTBL struct IXpsDocumentConsumerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IXpsDocumentConsumer_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IXpsDocumentConsumer_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IXpsDocumentConsumer_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IXpsDocumentConsumer_SendXpsUnknown(This,pUnknown) \ + ( (This)->lpVtbl -> SendXpsUnknown(This,pUnknown) ) + +#define IXpsDocumentConsumer_SendXpsDocument(This,pIXpsDocument) \ + ( (This)->lpVtbl -> SendXpsDocument(This,pIXpsDocument) ) + +#define IXpsDocumentConsumer_SendFixedDocumentSequence(This,pIFixedDocumentSequence) \ + ( (This)->lpVtbl -> SendFixedDocumentSequence(This,pIFixedDocumentSequence) ) + +#define IXpsDocumentConsumer_SendFixedDocument(This,pIFixedDocument) \ + ( (This)->lpVtbl -> SendFixedDocument(This,pIFixedDocument) ) + +#define IXpsDocumentConsumer_SendFixedPage(This,pIFixedPage) \ + ( (This)->lpVtbl -> SendFixedPage(This,pIFixedPage) ) + +#define IXpsDocumentConsumer_CloseSender(This) \ + ( (This)->lpVtbl -> CloseSender(This) ) + +#define IXpsDocumentConsumer_GetNewEmptyPart(This,uri,riid,ppNewObject,ppWriteStream) \ + ( (This)->lpVtbl -> GetNewEmptyPart(This,uri,riid,ppNewObject,ppWriteStream) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IXpsDocumentConsumer_INTERFACE_DEFINED__ */ + + +#ifndef __IXpsDocument_INTERFACE_DEFINED__ +#define __IXpsDocument_INTERFACE_DEFINED__ + +/* interface IXpsDocument */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IXpsDocument; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("e8d907db-62a9-4a95-abe7-e01763dd30f8") + IXpsDocument : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetThumbnail( + /* [annotation][out] */ + _Outptr_ IPartThumbnail **ppThumbnail) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThumbnail( + /* [annotation][in] */ + _In_ IPartThumbnail *pThumbnail) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IXpsDocumentVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IXpsDocument * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IXpsDocument * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IXpsDocument * This); + + DECLSPEC_XFGVIRT(IXpsDocument, GetThumbnail) + HRESULT ( STDMETHODCALLTYPE *GetThumbnail )( + IXpsDocument * This, + /* [annotation][out] */ + _Outptr_ IPartThumbnail **ppThumbnail); + + DECLSPEC_XFGVIRT(IXpsDocument, SetThumbnail) + HRESULT ( STDMETHODCALLTYPE *SetThumbnail )( + IXpsDocument * This, + /* [annotation][in] */ + _In_ IPartThumbnail *pThumbnail); + + END_INTERFACE + } IXpsDocumentVtbl; + + interface IXpsDocument + { + CONST_VTBL struct IXpsDocumentVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IXpsDocument_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IXpsDocument_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IXpsDocument_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IXpsDocument_GetThumbnail(This,ppThumbnail) \ + ( (This)->lpVtbl -> GetThumbnail(This,ppThumbnail) ) + +#define IXpsDocument_SetThumbnail(This,pThumbnail) \ + ( (This)->lpVtbl -> SetThumbnail(This,pThumbnail) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IXpsDocument_INTERFACE_DEFINED__ */ + + +#ifndef __IFixedDocumentSequence_INTERFACE_DEFINED__ +#define __IFixedDocumentSequence_INTERFACE_DEFINED__ + +/* interface IFixedDocumentSequence */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IFixedDocumentSequence; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8028d181-2c32-4249-8493-1bfb22045574") + IFixedDocumentSequence : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetUri( + /* [annotation][out] */ + _Out_ BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrintTicket( + /* [annotation][out] */ + _Outptr_ IPartPrintTicket **ppPrintTicket) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrintTicket( + /* [annotation][in] */ + _In_ IPartPrintTicket *pPrintTicket) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFixedDocumentSequenceVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IFixedDocumentSequence * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IFixedDocumentSequence * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IFixedDocumentSequence * This); + + DECLSPEC_XFGVIRT(IFixedDocumentSequence, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IFixedDocumentSequence * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IFixedDocumentSequence, GetPrintTicket) + HRESULT ( STDMETHODCALLTYPE *GetPrintTicket )( + IFixedDocumentSequence * This, + /* [annotation][out] */ + _Outptr_ IPartPrintTicket **ppPrintTicket); + + DECLSPEC_XFGVIRT(IFixedDocumentSequence, SetPrintTicket) + HRESULT ( STDMETHODCALLTYPE *SetPrintTicket )( + IFixedDocumentSequence * This, + /* [annotation][in] */ + _In_ IPartPrintTicket *pPrintTicket); + + END_INTERFACE + } IFixedDocumentSequenceVtbl; + + interface IFixedDocumentSequence + { + CONST_VTBL struct IFixedDocumentSequenceVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFixedDocumentSequence_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFixedDocumentSequence_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFixedDocumentSequence_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFixedDocumentSequence_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IFixedDocumentSequence_GetPrintTicket(This,ppPrintTicket) \ + ( (This)->lpVtbl -> GetPrintTicket(This,ppPrintTicket) ) + +#define IFixedDocumentSequence_SetPrintTicket(This,pPrintTicket) \ + ( (This)->lpVtbl -> SetPrintTicket(This,pPrintTicket) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFixedDocumentSequence_INTERFACE_DEFINED__ */ + + +#ifndef __IFixedDocument_INTERFACE_DEFINED__ +#define __IFixedDocument_INTERFACE_DEFINED__ + +/* interface IFixedDocument */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IFixedDocument; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f222ca9f-9968-4db9-81bd-abaebf15f93f") + IFixedDocument : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetUri( + /* [annotation][out] */ + _Out_ BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPrintTicket( + /* [annotation][out] */ + _Outptr_ IPartPrintTicket **ppPrintTicket) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrintTicket( + /* [annotation][in] */ + _In_ IPartPrintTicket *pPrintTicket) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFixedDocumentVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IFixedDocument * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IFixedDocument * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IFixedDocument * This); + + DECLSPEC_XFGVIRT(IFixedDocument, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IFixedDocument * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IFixedDocument, GetPrintTicket) + HRESULT ( STDMETHODCALLTYPE *GetPrintTicket )( + IFixedDocument * This, + /* [annotation][out] */ + _Outptr_ IPartPrintTicket **ppPrintTicket); + + DECLSPEC_XFGVIRT(IFixedDocument, SetPrintTicket) + HRESULT ( STDMETHODCALLTYPE *SetPrintTicket )( + IFixedDocument * This, + /* [annotation][in] */ + _In_ IPartPrintTicket *pPrintTicket); + + END_INTERFACE + } IFixedDocumentVtbl; + + interface IFixedDocument + { + CONST_VTBL struct IFixedDocumentVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFixedDocument_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFixedDocument_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFixedDocument_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFixedDocument_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IFixedDocument_GetPrintTicket(This,ppPrintTicket) \ + ( (This)->lpVtbl -> GetPrintTicket(This,ppPrintTicket) ) + +#define IFixedDocument_SetPrintTicket(This,pPrintTicket) \ + ( (This)->lpVtbl -> SetPrintTicket(This,pPrintTicket) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFixedDocument_INTERFACE_DEFINED__ */ + + +#ifndef __IPartBase_INTERFACE_DEFINED__ +#define __IPartBase_INTERFACE_DEFINED__ + +/* interface IPartBase */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartBase; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("36d51e28-369e-43ba-a666-9540c62c3f58") + IPartBase : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetUri( + /* [annotation][out] */ + _Out_ BSTR *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetStream( + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPartCompression( + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPartCompression( + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPartBaseVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartBase * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartBase * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartBase * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartBase * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartBase * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartBase * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartBase * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + END_INTERFACE + } IPartBaseVtbl; + + interface IPartBase + { + CONST_VTBL struct IPartBaseVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartBase_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartBase_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartBase_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartBase_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartBase_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartBase_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartBase_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartBase_INTERFACE_DEFINED__ */ + + +#ifndef __IFixedPage_INTERFACE_DEFINED__ +#define __IFixedPage_INTERFACE_DEFINED__ + +/* interface IFixedPage */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IFixedPage; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("3d9f6448-7e95-4cb5-94fb-0180c2883a57") + IFixedPage : public IPartBase + { + public: + virtual HRESULT STDMETHODCALLTYPE GetPrintTicket( + /* [annotation][out] */ + _Outptr_ IPartPrintTicket **ppPrintTicket) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetPagePart( + /* [annotation][string][in] */ + _In_z_ const wchar_t *uri, + /* [annotation][out] */ + _Outptr_ IUnknown **ppUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetWriteStream( + /* [annotation][out] */ + _Outptr_ IPrintWriteStream **ppWriteStream) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPrintTicket( + /* [annotation][in] */ + _In_ IPartPrintTicket *ppPrintTicket) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetPagePart( + /* [annotation][in] */ + _In_ IUnknown *pUnk) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteResource( + /* [annotation][string][in] */ + _In_z_ const wchar_t *uri) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetXpsPartIterator( + /* [annotation][out] */ + _Outptr_ IXpsPartIterator **pXpsPartIt) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFixedPageVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IFixedPage * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IFixedPage * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IFixedPage * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IFixedPage * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IFixedPage * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IFixedPage * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IFixedPage * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + DECLSPEC_XFGVIRT(IFixedPage, GetPrintTicket) + HRESULT ( STDMETHODCALLTYPE *GetPrintTicket )( + IFixedPage * This, + /* [annotation][out] */ + _Outptr_ IPartPrintTicket **ppPrintTicket); + + DECLSPEC_XFGVIRT(IFixedPage, GetPagePart) + HRESULT ( STDMETHODCALLTYPE *GetPagePart )( + IFixedPage * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *uri, + /* [annotation][out] */ + _Outptr_ IUnknown **ppUnk); + + DECLSPEC_XFGVIRT(IFixedPage, GetWriteStream) + HRESULT ( STDMETHODCALLTYPE *GetWriteStream )( + IFixedPage * This, + /* [annotation][out] */ + _Outptr_ IPrintWriteStream **ppWriteStream); + + DECLSPEC_XFGVIRT(IFixedPage, SetPrintTicket) + HRESULT ( STDMETHODCALLTYPE *SetPrintTicket )( + IFixedPage * This, + /* [annotation][in] */ + _In_ IPartPrintTicket *ppPrintTicket); + + DECLSPEC_XFGVIRT(IFixedPage, SetPagePart) + HRESULT ( STDMETHODCALLTYPE *SetPagePart )( + IFixedPage * This, + /* [annotation][in] */ + _In_ IUnknown *pUnk); + + DECLSPEC_XFGVIRT(IFixedPage, DeleteResource) + HRESULT ( STDMETHODCALLTYPE *DeleteResource )( + IFixedPage * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *uri); + + DECLSPEC_XFGVIRT(IFixedPage, GetXpsPartIterator) + HRESULT ( STDMETHODCALLTYPE *GetXpsPartIterator )( + IFixedPage * This, + /* [annotation][out] */ + _Outptr_ IXpsPartIterator **pXpsPartIt); + + END_INTERFACE + } IFixedPageVtbl; + + interface IFixedPage + { + CONST_VTBL struct IFixedPageVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFixedPage_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFixedPage_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFixedPage_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFixedPage_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IFixedPage_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IFixedPage_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IFixedPage_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#define IFixedPage_GetPrintTicket(This,ppPrintTicket) \ + ( (This)->lpVtbl -> GetPrintTicket(This,ppPrintTicket) ) + +#define IFixedPage_GetPagePart(This,uri,ppUnk) \ + ( (This)->lpVtbl -> GetPagePart(This,uri,ppUnk) ) + +#define IFixedPage_GetWriteStream(This,ppWriteStream) \ + ( (This)->lpVtbl -> GetWriteStream(This,ppWriteStream) ) + +#define IFixedPage_SetPrintTicket(This,ppPrintTicket) \ + ( (This)->lpVtbl -> SetPrintTicket(This,ppPrintTicket) ) + +#define IFixedPage_SetPagePart(This,pUnk) \ + ( (This)->lpVtbl -> SetPagePart(This,pUnk) ) + +#define IFixedPage_DeleteResource(This,uri) \ + ( (This)->lpVtbl -> DeleteResource(This,uri) ) + +#define IFixedPage_GetXpsPartIterator(This,pXpsPartIt) \ + ( (This)->lpVtbl -> GetXpsPartIterator(This,pXpsPartIt) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFixedPage_INTERFACE_DEFINED__ */ + + +#ifndef __IPartImage_INTERFACE_DEFINED__ +#define __IPartImage_INTERFACE_DEFINED__ + +/* interface IPartImage */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartImage; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("725f2e3c-401a-4705-9de0-fe6f1353b87f") + IPartImage : public IPartBase + { + public: + virtual HRESULT STDMETHODCALLTYPE GetImageProperties( + /* [annotation][out] */ + _Out_ BSTR *pContentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetImageContent( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPartImageVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartImage * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartImage * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartImage * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartImage * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartImage * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartImage * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartImage * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + DECLSPEC_XFGVIRT(IPartImage, GetImageProperties) + HRESULT ( STDMETHODCALLTYPE *GetImageProperties )( + IPartImage * This, + /* [annotation][out] */ + _Out_ BSTR *pContentType); + + DECLSPEC_XFGVIRT(IPartImage, SetImageContent) + HRESULT ( STDMETHODCALLTYPE *SetImageContent )( + IPartImage * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType); + + END_INTERFACE + } IPartImageVtbl; + + interface IPartImage + { + CONST_VTBL struct IPartImageVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartImage_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartImage_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartImage_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartImage_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartImage_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartImage_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartImage_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#define IPartImage_GetImageProperties(This,pContentType) \ + ( (This)->lpVtbl -> GetImageProperties(This,pContentType) ) + +#define IPartImage_SetImageContent(This,pContentType) \ + ( (This)->lpVtbl -> SetImageContent(This,pContentType) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartImage_INTERFACE_DEFINED__ */ + + +#ifndef __IPartFont_INTERFACE_DEFINED__ +#define __IPartFont_INTERFACE_DEFINED__ + +/* interface IPartFont */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartFont; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("e07fe0ab-1124-43d0-a865-e8ffb6a3ea82") + IPartFont : public IPartBase + { + public: + virtual HRESULT STDMETHODCALLTYPE GetFontProperties( + /* [annotation][out] */ + _Out_ BSTR *pContentType, + /* [annotation][out] */ + _Out_ EXpsFontOptions *pFontOptions) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontContent( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetFontOptions( + /* [annotation][in] */ + _In_ EXpsFontOptions options) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPartFontVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartFont * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartFont * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartFont * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartFont * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartFont * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartFont * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartFont * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + DECLSPEC_XFGVIRT(IPartFont, GetFontProperties) + HRESULT ( STDMETHODCALLTYPE *GetFontProperties )( + IPartFont * This, + /* [annotation][out] */ + _Out_ BSTR *pContentType, + /* [annotation][out] */ + _Out_ EXpsFontOptions *pFontOptions); + + DECLSPEC_XFGVIRT(IPartFont, SetFontContent) + HRESULT ( STDMETHODCALLTYPE *SetFontContent )( + IPartFont * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType); + + DECLSPEC_XFGVIRT(IPartFont, SetFontOptions) + HRESULT ( STDMETHODCALLTYPE *SetFontOptions )( + IPartFont * This, + /* [annotation][in] */ + _In_ EXpsFontOptions options); + + END_INTERFACE + } IPartFontVtbl; + + interface IPartFont + { + CONST_VTBL struct IPartFontVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartFont_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartFont_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartFont_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartFont_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartFont_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartFont_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartFont_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#define IPartFont_GetFontProperties(This,pContentType,pFontOptions) \ + ( (This)->lpVtbl -> GetFontProperties(This,pContentType,pFontOptions) ) + +#define IPartFont_SetFontContent(This,pContentType) \ + ( (This)->lpVtbl -> SetFontContent(This,pContentType) ) + +#define IPartFont_SetFontOptions(This,options) \ + ( (This)->lpVtbl -> SetFontOptions(This,options) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartFont_INTERFACE_DEFINED__ */ + + +#ifndef __IPartFont2_INTERFACE_DEFINED__ +#define __IPartFont2_INTERFACE_DEFINED__ + +/* interface IPartFont2 */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartFont2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("511e025f-d6cb-43be-bf65-63fe88515a39") + IPartFont2 : public IPartFont + { + public: + virtual HRESULT STDMETHODCALLTYPE GetFontRestriction( + /* [annotation][out] */ + _Out_ EXpsFontRestriction *pRestriction) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPartFont2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartFont2 * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartFont2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartFont2 * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartFont2 * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartFont2 * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartFont2 * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartFont2 * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + DECLSPEC_XFGVIRT(IPartFont, GetFontProperties) + HRESULT ( STDMETHODCALLTYPE *GetFontProperties )( + IPartFont2 * This, + /* [annotation][out] */ + _Out_ BSTR *pContentType, + /* [annotation][out] */ + _Out_ EXpsFontOptions *pFontOptions); + + DECLSPEC_XFGVIRT(IPartFont, SetFontContent) + HRESULT ( STDMETHODCALLTYPE *SetFontContent )( + IPartFont2 * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType); + + DECLSPEC_XFGVIRT(IPartFont, SetFontOptions) + HRESULT ( STDMETHODCALLTYPE *SetFontOptions )( + IPartFont2 * This, + /* [annotation][in] */ + _In_ EXpsFontOptions options); + + DECLSPEC_XFGVIRT(IPartFont2, GetFontRestriction) + HRESULT ( STDMETHODCALLTYPE *GetFontRestriction )( + IPartFont2 * This, + /* [annotation][out] */ + _Out_ EXpsFontRestriction *pRestriction); + + END_INTERFACE + } IPartFont2Vtbl; + + interface IPartFont2 + { + CONST_VTBL struct IPartFont2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartFont2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartFont2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartFont2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartFont2_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartFont2_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartFont2_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartFont2_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#define IPartFont2_GetFontProperties(This,pContentType,pFontOptions) \ + ( (This)->lpVtbl -> GetFontProperties(This,pContentType,pFontOptions) ) + +#define IPartFont2_SetFontContent(This,pContentType) \ + ( (This)->lpVtbl -> SetFontContent(This,pContentType) ) + +#define IPartFont2_SetFontOptions(This,options) \ + ( (This)->lpVtbl -> SetFontOptions(This,options) ) + + +#define IPartFont2_GetFontRestriction(This,pRestriction) \ + ( (This)->lpVtbl -> GetFontRestriction(This,pRestriction) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartFont2_INTERFACE_DEFINED__ */ + + +#ifndef __IPartThumbnail_INTERFACE_DEFINED__ +#define __IPartThumbnail_INTERFACE_DEFINED__ + +/* interface IPartThumbnail */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartThumbnail; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("027ed1c9-ba39-4cc5-aa55-7ec3a0de171a") + IPartThumbnail : public IPartBase + { + public: + virtual HRESULT STDMETHODCALLTYPE GetThumbnailProperties( + /* [annotation][out] */ + _Out_ BSTR *pContentType) = 0; + + virtual HRESULT STDMETHODCALLTYPE SetThumbnailContent( + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPartThumbnailVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartThumbnail * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartThumbnail * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartThumbnail * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartThumbnail * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartThumbnail * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartThumbnail * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartThumbnail * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + DECLSPEC_XFGVIRT(IPartThumbnail, GetThumbnailProperties) + HRESULT ( STDMETHODCALLTYPE *GetThumbnailProperties )( + IPartThumbnail * This, + /* [annotation][out] */ + _Out_ BSTR *pContentType); + + DECLSPEC_XFGVIRT(IPartThumbnail, SetThumbnailContent) + HRESULT ( STDMETHODCALLTYPE *SetThumbnailContent )( + IPartThumbnail * This, + /* [annotation][string][in] */ + _In_z_ const wchar_t *pContentType); + + END_INTERFACE + } IPartThumbnailVtbl; + + interface IPartThumbnail + { + CONST_VTBL struct IPartThumbnailVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartThumbnail_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartThumbnail_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartThumbnail_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartThumbnail_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartThumbnail_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartThumbnail_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartThumbnail_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#define IPartThumbnail_GetThumbnailProperties(This,pContentType) \ + ( (This)->lpVtbl -> GetThumbnailProperties(This,pContentType) ) + +#define IPartThumbnail_SetThumbnailContent(This,pContentType) \ + ( (This)->lpVtbl -> SetThumbnailContent(This,pContentType) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartThumbnail_INTERFACE_DEFINED__ */ + + +#ifndef __IPartPrintTicket_INTERFACE_DEFINED__ +#define __IPartPrintTicket_INTERFACE_DEFINED__ + +/* interface IPartPrintTicket */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartPrintTicket; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4a0f50f6-f9a2-41f0-99e7-5ae955be8e9e") + IPartPrintTicket : public IPartBase + { + public: + }; + + +#else /* C style interface */ + + typedef struct IPartPrintTicketVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartPrintTicket * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartPrintTicket * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartPrintTicket * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartPrintTicket * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartPrintTicket * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartPrintTicket * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartPrintTicket * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + END_INTERFACE + } IPartPrintTicketVtbl; + + interface IPartPrintTicket + { + CONST_VTBL struct IPartPrintTicketVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartPrintTicket_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartPrintTicket_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartPrintTicket_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartPrintTicket_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartPrintTicket_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartPrintTicket_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartPrintTicket_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartPrintTicket_INTERFACE_DEFINED__ */ + + +#ifndef __IPartColorProfile_INTERFACE_DEFINED__ +#define __IPartColorProfile_INTERFACE_DEFINED__ + +/* interface IPartColorProfile */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartColorProfile; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("63cca95b-7d18-4762-b15e-98658693d24a") + IPartColorProfile : public IPartBase + { + public: + }; + + +#else /* C style interface */ + + typedef struct IPartColorProfileVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartColorProfile * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartColorProfile * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartColorProfile * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartColorProfile * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartColorProfile * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartColorProfile * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartColorProfile * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + END_INTERFACE + } IPartColorProfileVtbl; + + interface IPartColorProfile + { + CONST_VTBL struct IPartColorProfileVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartColorProfile_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartColorProfile_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartColorProfile_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartColorProfile_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartColorProfile_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartColorProfile_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartColorProfile_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartColorProfile_INTERFACE_DEFINED__ */ + + +#ifndef __IPartResourceDictionary_INTERFACE_DEFINED__ +#define __IPartResourceDictionary_INTERFACE_DEFINED__ + +/* interface IPartResourceDictionary */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartResourceDictionary; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("16cfce6d-e744-4fb3-b474-f1d54f024a01") + IPartResourceDictionary : public IPartBase + { + public: + }; + + +#else /* C style interface */ + + typedef struct IPartResourceDictionaryVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartResourceDictionary * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartResourceDictionary * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartResourceDictionary * This); + + DECLSPEC_XFGVIRT(IPartBase, GetUri) + HRESULT ( STDMETHODCALLTYPE *GetUri )( + IPartResourceDictionary * This, + /* [annotation][out] */ + _Out_ BSTR *uri); + + DECLSPEC_XFGVIRT(IPartBase, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPartResourceDictionary * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + DECLSPEC_XFGVIRT(IPartBase, GetPartCompression) + HRESULT ( STDMETHODCALLTYPE *GetPartCompression )( + IPartResourceDictionary * This, + /* [annotation][out] */ + _Out_ EXpsCompressionOptions *pCompression); + + DECLSPEC_XFGVIRT(IPartBase, SetPartCompression) + HRESULT ( STDMETHODCALLTYPE *SetPartCompression )( + IPartResourceDictionary * This, + /* [annotation][in] */ + _In_ EXpsCompressionOptions compression); + + END_INTERFACE + } IPartResourceDictionaryVtbl; + + interface IPartResourceDictionary + { + CONST_VTBL struct IPartResourceDictionaryVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartResourceDictionary_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartResourceDictionary_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartResourceDictionary_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartResourceDictionary_GetUri(This,uri) \ + ( (This)->lpVtbl -> GetUri(This,uri) ) + +#define IPartResourceDictionary_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#define IPartResourceDictionary_GetPartCompression(This,pCompression) \ + ( (This)->lpVtbl -> GetPartCompression(This,pCompression) ) + +#define IPartResourceDictionary_SetPartCompression(This,compression) \ + ( (This)->lpVtbl -> SetPartCompression(This,compression) ) + + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartResourceDictionary_INTERFACE_DEFINED__ */ + + +#ifndef __IXpsPartIterator_INTERFACE_DEFINED__ +#define __IXpsPartIterator_INTERFACE_DEFINED__ + +/* interface IXpsPartIterator */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IXpsPartIterator; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0021d3cd-af6f-42ab-9999-14bc82a62d2e") + IXpsPartIterator : public IUnknown + { + public: + virtual void STDMETHODCALLTYPE Reset( void) = 0; + + virtual HRESULT STDMETHODCALLTYPE Current( + /* [annotation][out] */ + _Out_ BSTR *pUri, + /* [annotation][out] */ + _Outptr_ IUnknown **ppXpsPart) = 0; + + virtual BOOL STDMETHODCALLTYPE IsDone( void) = 0; + + virtual void STDMETHODCALLTYPE Next( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IXpsPartIteratorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IXpsPartIterator * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IXpsPartIterator * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IXpsPartIterator * This); + + DECLSPEC_XFGVIRT(IXpsPartIterator, Reset) + void ( STDMETHODCALLTYPE *Reset )( + IXpsPartIterator * This); + + DECLSPEC_XFGVIRT(IXpsPartIterator, Current) + HRESULT ( STDMETHODCALLTYPE *Current )( + IXpsPartIterator * This, + /* [annotation][out] */ + _Out_ BSTR *pUri, + /* [annotation][out] */ + _Outptr_ IUnknown **ppXpsPart); + + DECLSPEC_XFGVIRT(IXpsPartIterator, IsDone) + BOOL ( STDMETHODCALLTYPE *IsDone )( + IXpsPartIterator * This); + + DECLSPEC_XFGVIRT(IXpsPartIterator, Next) + void ( STDMETHODCALLTYPE *Next )( + IXpsPartIterator * This); + + END_INTERFACE + } IXpsPartIteratorVtbl; + + interface IXpsPartIterator + { + CONST_VTBL struct IXpsPartIteratorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IXpsPartIterator_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IXpsPartIterator_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IXpsPartIterator_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IXpsPartIterator_Reset(This) \ + ( (This)->lpVtbl -> Reset(This) ) + +#define IXpsPartIterator_Current(This,pUri,ppXpsPart) \ + ( (This)->lpVtbl -> Current(This,pUri,ppXpsPart) ) + +#define IXpsPartIterator_IsDone(This) \ + ( (This)->lpVtbl -> IsDone(This) ) + +#define IXpsPartIterator_Next(This) \ + ( (This)->lpVtbl -> Next(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IXpsPartIterator_INTERFACE_DEFINED__ */ + + +#ifndef __IPrintReadStreamFactory_INTERFACE_DEFINED__ +#define __IPrintReadStreamFactory_INTERFACE_DEFINED__ + +/* interface IPrintReadStreamFactory */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPrintReadStreamFactory; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("acb971e3-df8d-4fc2-bee6-0609d15f3cf9") + IPrintReadStreamFactory : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetStream( + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPrintReadStreamFactoryVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPrintReadStreamFactory * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPrintReadStreamFactory * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPrintReadStreamFactory * This); + + DECLSPEC_XFGVIRT(IPrintReadStreamFactory, GetStream) + HRESULT ( STDMETHODCALLTYPE *GetStream )( + IPrintReadStreamFactory * This, + /* [annotation][out] */ + _Outptr_ IPrintReadStream **ppStream); + + END_INTERFACE + } IPrintReadStreamFactoryVtbl; + + interface IPrintReadStreamFactory + { + CONST_VTBL struct IPrintReadStreamFactoryVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPrintReadStreamFactory_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPrintReadStreamFactory_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPrintReadStreamFactory_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPrintReadStreamFactory_GetStream(This,ppStream) \ + ( (This)->lpVtbl -> GetStream(This,ppStream) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPrintReadStreamFactory_INTERFACE_DEFINED__ */ + + +#ifndef __IPartDiscardControl_INTERFACE_DEFINED__ +#define __IPartDiscardControl_INTERFACE_DEFINED__ + +/* interface IPartDiscardControl */ +/* [ref][helpstring][local][uuid][object] */ + + +EXTERN_C const IID IID_IPartDiscardControl; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("cc350c00-095b-42a5-bf0f-c8780edadb3c") + IPartDiscardControl : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetDiscardProperties( + /* [annotation][out] */ + _Out_ BSTR *uriSentinelPage, + /* [annotation][out] */ + _Out_ BSTR *uriPartToDiscard) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPartDiscardControlVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + IPartDiscardControl * This, + /* [in] */ REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + IPartDiscardControl * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + IPartDiscardControl * This); + + DECLSPEC_XFGVIRT(IPartDiscardControl, GetDiscardProperties) + HRESULT ( STDMETHODCALLTYPE *GetDiscardProperties )( + IPartDiscardControl * This, + /* [annotation][out] */ + _Out_ BSTR *uriSentinelPage, + /* [annotation][out] */ + _Out_ BSTR *uriPartToDiscard); + + END_INTERFACE + } IPartDiscardControlVtbl; + + interface IPartDiscardControl + { + CONST_VTBL struct IPartDiscardControlVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPartDiscardControl_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPartDiscardControl_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPartDiscardControl_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPartDiscardControl_GetDiscardProperties(This,uriSentinelPage,uriPartToDiscard) \ + ( (This)->lpVtbl -> GetDiscardProperties(This,uriSentinelPage,uriPartToDiscard) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPartDiscardControl_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_filterpipeline_0000_0026 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_filterpipeline_0000_0026_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_filterpipeline_0000_0026_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filterpipelineutil.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filterpipelineutil.h new file mode 100644 index 0000000000000000000000000000000000000000..6e97b6a187521c7c0e2e4042a119def40d02aa9a --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/filterpipelineutil.h @@ -0,0 +1,303 @@ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (c) Microsoft Corporation. All rights reserved. +// +//-------------------------------------------------------------------------- + +#ifndef _PRINT_FILTER_UTIL_813b22ee_62f7_4200_ +#define _PRINT_FILTER_UTIL_813b22ee_62f7_4200_ + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + +#if defined(__cplusplus) + +// +// print filter pipeline +// +namespace pfp +{ + +// +// Helpful when you want to use a print read interface with XML SAX +// which needs an ISequentialStream +// +class PrintReadStreamToSeqStream : public ISequentialStream +{ +public: + + PrintReadStreamToSeqStream( + _In_ IPrintReadStream *pReadStream + ) : m_cRef(1), + m_pStream(pReadStream), + m_bEof(FALSE) + { + m_pStream->AddRef(); + } + + ~PrintReadStreamToSeqStream() + { + m_pStream->Release(); + } + + STDMETHODIMP_(ULONG) + AddRef( + VOID + ) + { + return InterlockedIncrement(&m_cRef); + } + + STDMETHODIMP_(ULONG) + Release( + VOID + ) + { + ULONG cRefCount = InterlockedDecrement(&m_cRef); + + if (cRefCount) + { + return cRefCount; + } + + delete this; + + return 0; + } + + STDMETHODIMP + QueryInterface( + _In_ REFIID riid, + _COM_Outptr_ VOID **ppv + ) + { + HRESULT hRes = E_POINTER; + + if (ppv) + { + hRes = E_NOINTERFACE; + + *ppv = NULL; + + if (riid == IID_ISequentialStream) + { + *ppv = static_cast(this); + } + else if (riid == IID_IUnknown) + { + *ppv = static_cast(this); + } + + if (*ppv) + { + AddRef(); + + hRes = S_OK; + } + } + + return hRes; + } + + STDMETHODIMP + Read( + _Out_writes_bytes_to_(cb, *pcbRead) void* pv, + _In_ ULONG cb, + _Out_opt_ ULONG *pcbRead + ) + { + if (pcbRead == NULL) + { + return E_INVALIDARG; + } + + *pcbRead = 0; + + HRESULT hr = S_OK; + + // + // ISequentialStream::Read is expected to block until any of the following occurs: + // - the requested number of bytes have been read + // - the end of the stream is reached + // - a failure occurs + // + // Since IPrintReadStream::ReadBytes is non-blocking, we must call ReadBytes until one of the + // conditions is met. + // + + while (SUCCEEDED(hr) && + !m_bEof && + *pcbRead < cb) + { + DWORD cbRead = 0; + BOOL bEof = FALSE; + + hr = m_pStream->ReadBytes(reinterpret_cast(reinterpret_cast(pv) + *pcbRead), cb - *pcbRead, &cbRead, &bEof); + + if (SUCCEEDED(hr)) + { + if (bEof) + { + m_bEof = TRUE; + } + + *pcbRead += cbRead; + } + } + + if (SUCCEEDED(hr) && + *pcbRead < cb) + { + // + // ISequentialStream::Read returns S_FALSE when the number of bytes returned is fewer than + // the number of bytes requested. (i.e. at the end of the stream) + // + + hr = S_FALSE; + } + + return hr; + } + + STDMETHODIMP + Write( + _In_reads_bytes_(cb) void const* pv, + _In_ ULONG cb, + _Out_opt_ ULONG *pcbWritten + ) + { + UNREFERENCED_PARAMETER(pv); + UNREFERENCED_PARAMETER(cb); + UNREFERENCED_PARAMETER(pcbWritten); + return E_NOTIMPL; + } + +private: + BOOL m_bEof; + LONG m_cRef; + IPrintReadStream *m_pStream; +}; + +// +// Helpful when you want to use a print write interface with XML SAX +// which needs an ISequentialStream +// +class PrintWriteStreamToSeqStream : public ISequentialStream +{ +public: + + PrintWriteStreamToSeqStream( + _In_ IPrintWriteStream *pWriteStream + ) : m_cRef(1), + m_pStream(pWriteStream) + { + m_pStream->AddRef(); + } + + ~PrintWriteStreamToSeqStream() + { + m_pStream->Close(); + + m_pStream->Release(); + } + + STDMETHODIMP_(ULONG) + AddRef( + VOID + ) + { + return InterlockedIncrement(&m_cRef); + } + + STDMETHODIMP_(ULONG) + Release( + VOID + ) + { + ULONG cRefCount = InterlockedDecrement(&m_cRef); + + if (cRefCount) + { + return cRefCount; + } + + delete this; + + return 0; + } + + STDMETHODIMP + QueryInterface( + _In_ REFIID riid, + _Out_ VOID **ppv + ) + { + HRESULT hRes = E_POINTER; + + if (ppv) + { + hRes = E_NOINTERFACE; + + *ppv = NULL; + + if (riid == IID_ISequentialStream) + { + *ppv = static_cast(this); + } + else if (riid == IID_IUnknown) + { + *ppv = static_cast(this); + } + + if (*ppv) + { + AddRef(); + + hRes = S_OK; + } + } + + return hRes; + } + + STDMETHODIMP + Read( + _Out_writes_bytes_(cb) void* pv, + _In_ ULONG cb, + _Out_ ULONG *pcbRead + ) + { + UNREFERENCED_PARAMETER(pv); + UNREFERENCED_PARAMETER(cb); + UNREFERENCED_PARAMETER(pcbRead); + return E_NOTIMPL; + } + + STDMETHODIMP + Write( + _In_reads_bytes_(cb) void const* pv, + _In_ ULONG cb, + _Out_ ULONG *pcbWritten + ) + { + return m_pStream->WriteBytes(pv, cb, pcbWritten); + } + +private: + + LONG m_cRef; + IPrintWriteStream *m_pStream; +}; + +}; // namespace pfp + +#endif // if defined(__cplusplus) + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif // #ifndef _PRINT_FILTER_UTIL_813b22ee-62f7-4200-9c85-73d139eaa579_ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltUser.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltUser.h new file mode 100644 index 0000000000000000000000000000000000000000..f555a8a442882ce628f62d1ebaa34608f7de5b62 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltUser.h @@ -0,0 +1,468 @@ +/*++ + +Copyright (c) 1989-2002 Microsoft Corporation + +Module Name: + + fltUser.h + +Abstract: + Header file which contains the structures, type definitions, + constants, global variables and function prototypes that are + visible to user mode applications that interact with filters. + +Environment: + + User mode + +--*/ +#ifndef __FLTUSER_H__ +#define __FLTUSER_H__ +#include + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + + +// +// IMPORTANT!!!!! +// +// This is how FltMgr was released (from oldest to newest) +// xpsp2, (srv03, w2ksp4+security rollup package(srp)), Vista, Win7, Win8 +// + +// +// The defines items that are part of the filter manager baseline +// + +#define FLT_MGR_BASELINE (((OSVER(NTDDI_VERSION) == NTDDI_WIN2K) && (SPVER(NTDDI_VERSION) >= SPVER(NTDDI_WIN2KSP4))) || \ + ((OSVER(NTDDI_VERSION) == NTDDI_WINXP) && (SPVER(NTDDI_VERSION) >= SPVER(NTDDI_WINXPSP2))) || \ + ((OSVER(NTDDI_VERSION) == NTDDI_WS03) && (SPVER(NTDDI_VERSION) >= SPVER(NTDDI_WS03SP1))) || \ + (NTDDI_VERSION >= NTDDI_VISTA)) + +// +// This defines items that were added after XPSP2 was released. This means +// they are in Srv03 SP1, W2K SP4+URP, and Longhorn and above. +// + +#define FLT_MGR_AFTER_XPSP2 (((OSVER(NTDDI_VERSION) == NTDDI_WIN2K) && (SPVER(NTDDI_VERSION) >= SPVER(NTDDI_WIN2KSP4))) || \ + ((OSVER(NTDDI_VERSION) == NTDDI_WINXP) && (SPVER(NTDDI_VERSION) > SPVER(NTDDI_WINXPSP2))) || \ + ((OSVER(NTDDI_VERSION) == NTDDI_WS03) && (SPVER(NTDDI_VERSION) >= SPVER(NTDDI_WS03SP1))) || \ + (NTDDI_VERSION >= NTDDI_VISTA)) + +// +// This defines items that only exist in longhorn or later +// + +#define FLT_MGR_LONGHORN (NTDDI_VERSION >= NTDDI_VISTA) + +// +// This defines items that only exist in Windows 7 or later +// + +#define FLT_MGR_WIN7 (NTDDI_VERSION >= NTDDI_WIN7) + +// +// This defines items that only exist in Windows 8 or later +// + +#define FLT_MGR_WIN8 (NTDDI_VERSION >= NTDDI_WIN8) + +// +// This defines items that only exist in Windows Blue or later +// + +#define FLT_MGR_WINBLUE (NTDDI_VERSION >= NTDDI_WINBLUE) + + +/////////////////////////////////////////////////////////////////////////////// +// +// Standard includes +// +/////////////////////////////////////////////////////////////////////////////// + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +// +// These are all of the baseline set of user-mode functions in FltMgr. +// + +#if FLT_MGR_BASELINE + +// +// Version-differential support for ASSERTs +// (NT_ASSERT on Vista and later, ASSERT otherwise) +// + +#if FLT_MGR_LONGHORN + +#define FLT_ASSERT(_e) NT_ASSERT(_e) +#define FLT_ASSERTMSG(_m, _e) NT_ASSERTMSG(_m, _e) + +#else + +#define FLT_ASSERT(_e) ASSERT(_e) +#define FLT_ASSERTMSG(_m, _e) ASSERTMSG(_m, _e) + +#endif + +// +// Functions for loading, unloading and monitoring Filters +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterLoad ( + _In_ LPCWSTR lpFilterName + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterUnload ( + _In_ LPCWSTR lpFilterName + ); + + +//**************************************************************************** +// +// Functions for creating and closing handles +// +//**************************************************************************** + +// +// Filter +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterCreate ( + _In_ LPCWSTR lpFilterName, + _Outptr_ HFILTER *hFilter + ); + +HRESULT +WINAPI +FilterClose( + _In_ HFILTER hFilter + ); + +// +// FilterInstance +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterInstanceCreate ( + _In_ LPCWSTR lpFilterName, + _In_ LPCWSTR lpVolumeName, + _In_opt_ LPCWSTR lpInstanceName, + _Outptr_ HFILTER_INSTANCE *hInstance + ); + +HRESULT +WINAPI +FilterInstanceClose( + _In_ HFILTER_INSTANCE hInstance + ); + + +//**************************************************************************** +// +// Functions for creating and deleting FilterInstances in the +// device stack. +// +//**************************************************************************** + +_Must_inspect_result_ +HRESULT +WINAPI +FilterAttach ( + _In_ LPCWSTR lpFilterName, + _In_ LPCWSTR lpVolumeName, + _In_opt_ LPCWSTR lpInstanceName , + _In_opt_ DWORD dwCreatedInstanceNameLength , + _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterAttachAtAltitude ( + _In_ LPCWSTR lpFilterName, + _In_ LPCWSTR lpVolumeName, + _In_ LPCWSTR lpAltitude, + _In_opt_ LPCWSTR lpInstanceName , + _In_opt_ DWORD dwCreatedInstanceNameLength , + _Out_writes_bytes_opt_(dwCreatedInstanceNameLength) LPWSTR lpCreatedInstanceName + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterDetach ( + _In_ LPCWSTR lpFilterName, + _In_ LPCWSTR lpVolumeName, + _In_opt_ LPCWSTR lpInstanceName + ); + + +//**************************************************************************** +// +// Functions for iterating through Filters and FilterInstances and +// getting information on a Filter or FilterInstance. +// +//**************************************************************************** + +// +// Functions for iterating through Filters +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterFindFirst ( + _In_ FILTER_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned, + _Out_ LPHANDLE lpFilterFind + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterFindNext ( + _In_ HANDLE hFilterFind, + _In_ FILTER_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterFindClose( + _In_ HANDLE hFilterFind + ); + + +_Must_inspect_result_ +HRESULT +WINAPI +FilterVolumeFindFirst ( + _In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned, + _Out_ PHANDLE lpVolumeFind + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterVolumeFindNext ( + _In_ HANDLE hVolumeFind, + _In_ FILTER_VOLUME_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + +HRESULT +WINAPI +FilterVolumeFindClose( + _In_ HANDLE hVolumeFind + ); + +// +// Functions for iterating through FilterInstances +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterInstanceFindFirst ( + _In_ LPCWSTR lpFilterName, + _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned, + _Out_ LPHANDLE lpFilterInstanceFind + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterInstanceFindNext ( + _In_ HANDLE hFilterInstanceFind, + _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterInstanceFindClose( + _In_ HANDLE hFilterInstanceFind + ); + + +// +// Functions for iterating through VolumeInstances +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterVolumeInstanceFindFirst ( + _In_ LPCWSTR lpVolumeName, + _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned, + _Out_ LPHANDLE lpVolumeInstanceFind + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterVolumeInstanceFindNext ( + _In_ HANDLE hVolumeInstanceFind, + _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + +HRESULT +WINAPI +FilterVolumeInstanceFindClose( + _In_ HANDLE hVolumeInstanceFind + ); + + +// +// Functions for getting information on Filters and FilterInstances +// + +_Must_inspect_result_ +HRESULT +WINAPI +FilterGetInformation ( + _In_ HFILTER hFilter, + _In_ FILTER_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterInstanceGetInformation ( + _In_ HFILTER_INSTANCE hInstance, + _In_ INSTANCE_INFORMATION_CLASS dwInformationClass, + _Out_writes_bytes_to_(dwBufferSize,*lpBytesReturned) LPVOID lpBuffer, + _In_ DWORD dwBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + + +//**************************************************************************** +// +// Functions for communicating with Filters and FilterInstances +// +//**************************************************************************** + +_Must_inspect_result_ +HRESULT +WINAPI +FilterConnectCommunicationPort ( + _In_ LPCWSTR lpPortName, + _In_ DWORD dwOptions, + _In_reads_bytes_opt_(wSizeOfContext) LPCVOID lpContext, + _In_ WORD wSizeOfContext, + _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, + _Outptr_ HANDLE *hPort + ); + +#if FLT_MGR_WINBLUE + +// +// FilterConnectCommunicationPort() dwOptions flags supported in Windows Blue +// and beyond. +// + +#define FLT_PORT_FLAG_SYNC_HANDLE 0x00000001 + +#endif + +_Must_inspect_result_ +HRESULT +WINAPI +FilterSendMessage ( + _In_ HANDLE hPort, + _In_reads_bytes_(dwInBufferSize) LPVOID lpInBuffer, + _In_ DWORD dwInBufferSize, + _Out_writes_bytes_to_opt_(dwOutBufferSize,*lpBytesReturned) LPVOID lpOutBuffer, + _In_ DWORD dwOutBufferSize, + _Out_ LPDWORD lpBytesReturned + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterGetMessage ( + _In_ HANDLE hPort, + _Out_writes_bytes_(dwMessageBufferSize) PFILTER_MESSAGE_HEADER lpMessageBuffer, + _In_ DWORD dwMessageBufferSize, + _Inout_opt_ LPOVERLAPPED lpOverlapped + ); + +_Must_inspect_result_ +HRESULT +WINAPI +FilterReplyMessage ( + _In_ HANDLE hPort, + _In_reads_bytes_(dwReplyBufferSize) PFILTER_REPLY_HEADER lpReplyBuffer, + _In_ DWORD dwReplyBufferSize + ); + +//**************************************************************************** +// +// Other support functions +// +//**************************************************************************** + +_Must_inspect_result_ +HRESULT +WINAPI +FilterGetDosName ( + _In_ LPCWSTR lpVolumeName, + _Out_writes_(dwDosNameBufferSize) LPWSTR lpDosName, + _In_ DWORD dwDosNameBufferSize + ); + +#endif // end the FLT_MGR_BASELINE + +#ifdef __cplusplus +} // Balance extern "C" above +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#endif /* __FLTUSER_H__ */ + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltWinError.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltWinError.h new file mode 100644 index 0000000000000000000000000000000000000000..400cb5d8cd6e415c0d57d6d95832fac7fac149c8 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltWinError.h @@ -0,0 +1,383 @@ +/*++ BUILD Version: 0005 // Increment this if a change has global effects + +Copyright (c) 1989-2002 Microsoft Corporation. All rights reserved. + +Module Name: + + fltWinError.h + +Abstract: + + Constant definitions for the HRESULTS values defined by the Filter Manager. + +Environment: + + User mode + +--*/ + +#ifndef _FLT_WINERROR_ +#define _FLT_WINERROR_ + +// +// For Windows version 6.00 and later, these error codes are defined in +// winerror.h. Only use these definitions if not already defined +// +#if NTDDI_VERSION < NTDDI_VISTA +#ifndef FACILITY_USERMODE_FILTER_MANAGER + +// +// HRESULT +// FILTER_HRESULT_FROM_FLT_NTSTATUS ( +// IN NTSTATUS FltNtStatus +// ) +// +// Macro Description: +// +// This macro does the translation from a Filter Manager defined NTSTATUS +// code to a Filter Manager Library HRESULT. The Filter Manager Library +// error code is built as follows: +// +// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 +// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 +// +-+-+-+-+-----------------------+-------------------------------+ +// |S|R|C|R| FltMgr Facility |(Code part of FltNtStatus) | +// | | | | | | bit-wise or'd with 0x0000 | +// +-+-+-+-+-----------------------+-------------------------------+ +// +// where +// +// S - Severity - 1 to indicate FAILURE +// +// R - reserved portion of the facility code, corresponds to NT's +// second severity bit. +// +// C - is the Customer code flag +// +// R - is a reserved bit +// +// Facility - FACILITY_USERMODE_FILTER_MANAGER +// +// Code - Code portion of the NTSTATUS +// +// Arguments: +// +// FltNtStatus - The NTSTATUS error code with the Filter Manager facility +// code to translate to an Filter Manager Library HRESULT. +// +// Return Value: +// +// The appropriate HRESULT. +// + +#define FILTER_HRESULT_FROM_FLT_NTSTATUS(x) (NT_ASSERT((x & 0xfff0000) == 0x001c0000),(HRESULT) (((x) & 0x8000FFFF) | (FACILITY_USERMODE_FILTER_MANAGER << 16))) + + +////////////////////////////////////////////////////////////////////// +// +// HRESULTs for Filter Manager defined NTSTATUS codes +// +////////////////////////////////////////////////////////////////////// + +// +// Values are 32 bit values laid out as follows: +// +// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 +// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 +// +---+-+-+-----------------------+-------------------------------+ +// |Sev|C|R| Facility | Code | +// +---+-+-+-----------------------+-------------------------------+ +// +// where +// +// Sev - is the severity code +// +// 00 - Success +// 01 - Informational +// 10 - Warning +// 11 - Error +// +// C - is the Customer code flag +// +// R - is a reserved bit +// +// Facility - is the facility code +// +// Code - is the facility's status code +// +// +// Define the facility codes +// +#define FACILITY_USERMODE_FILTER_MANAGER 0x1F + + +// +// Define the severity codes +// + + +// +// MessageId: ERROR_FLT_IO_COMPLETE +// +// MessageText: +// +// The IO was completed by a filter. +// +#define ERROR_FLT_IO_COMPLETE ((HRESULT)0x001F0001L) + +// +// MessageId: ERROR_FLT_NO_HANDLER_DEFINED +// +// MessageText: +// +// A handler was not defined by the filter for this operation. +// +#define ERROR_FLT_NO_HANDLER_DEFINED ((HRESULT)0x801F0001L) + +// +// MessageId: ERROR_FLT_CONTEXT_ALREADY_DEFINED +// +// MessageText: +// +// A context is already defined for this object. +// +#define ERROR_FLT_CONTEXT_ALREADY_DEFINED ((HRESULT)0x801F0002L) + +// +// MessageId: ERROR_FLT_INVALID_ASYNCHRONOUS_REQUEST +// +// MessageText: +// +// Asynchronous requests are not valid for this operation. +// +#define ERROR_FLT_INVALID_ASYNCHRONOUS_REQUEST ((HRESULT)0x801F0003L) + +// +// MessageId: ERROR_FLT_DISALLOW_FAST_IO +// +// MessageText: +// +// Disallow the Fast IO path for this operation. +// +#define ERROR_FLT_DISALLOW_FAST_IO ((HRESULT)0x801F0004L) + +// +// MessageId: ERROR_FLT_INVALID_NAME_REQUEST +// +// MessageText: +// +// An invalid name request was made. The name requested cannot be retrieved at this time. +// +#define ERROR_FLT_INVALID_NAME_REQUEST ((HRESULT)0x801F0005L) + +// +// MessageId: ERROR_FLT_NOT_SAFE_TO_POST_OPERATION +// +// MessageText: +// +// Posting this operation to a worker thread for further processing is not safe +// at this time because it could lead to a system deadlock. +// +#define ERROR_FLT_NOT_SAFE_TO_POST_OPERATION ((HRESULT)0x801F0006L) + +// +// MessageId: ERROR_FLT_NOT_INITIALIZED +// +// MessageText: +// +// The Filter Manager was not initialized when a filter tried to register. Make +// sure that the Filter Manager is getting loaded as a driver. +// +#define ERROR_FLT_NOT_INITIALIZED ((HRESULT)0x801F0007L) + +// +// MessageId: ERROR_FLT_FILTER_NOT_READY +// +// MessageText: +// +// The filter is not ready for attachment to volumes because it has not finished +// initializing (FltStartFiltering has not been called). +// +#define ERROR_FLT_FILTER_NOT_READY ((HRESULT)0x801F0008L) + +// +// MessageId: ERROR_FLT_POST_OPERATION_CLEANUP +// +// MessageText: +// +// The filter must cleanup any operation specific context at this time because +// it is being removed from the system before the operation is completed by +// the lower drivers. +// +#define ERROR_FLT_POST_OPERATION_CLEANUP ((HRESULT)0x801F0009L) + +// +// MessageId: ERROR_FLT_INTERNAL_ERROR +// +// MessageText: +// +// The Filter Manager had an internal error from which it cannot recover, +// therefore the operation has been failed. This is usually the result +// of a filter returning an invalid value from a pre-operation callback. +// +#define ERROR_FLT_INTERNAL_ERROR ((HRESULT)0x801F000AL) + +// +// MessageId: ERROR_FLT_DELETING_OBJECT +// +// MessageText: +// +// The object specified for this action is in the process of being +// deleted, therefore the action requested cannot be completed at +// this time. +// +#define ERROR_FLT_DELETING_OBJECT ((HRESULT)0x801F000BL) + +// +// MessageId: ERROR_FLT_MUST_BE_NONPAGED_POOL +// +// MessageText: +// +// Non-paged pool must be used for this type of context. +// +#define ERROR_FLT_MUST_BE_NONPAGED_POOL ((HRESULT)0x801F000CL) + +// +// MessageId: ERROR_FLT_DUPLICATE_ENTRY +// +// MessageText: +// +// A duplicate handler definition has been provided for an operation. +// +#define ERROR_FLT_DUPLICATE_ENTRY ((HRESULT)0x801F000DL) + +// +// MessageId: ERROR_FLT_CBDQ_DISABLED +// +// MessageText: +// +// The callback data queue has been disabled. +// +#define ERROR_FLT_CBDQ_DISABLED ((HRESULT)0x801F000EL) + +// +// MessageId: ERROR_FLT_DO_NOT_ATTACH +// +// MessageText: +// +// Do not attach the filter to the volume at this time. +// +#define ERROR_FLT_DO_NOT_ATTACH ((HRESULT)0x801F000FL) + +// +// MessageId: ERROR_FLT_DO_NOT_DETACH +// +// MessageText: +// +// Do not detach the filter from the volume at this time. +// +#define ERROR_FLT_DO_NOT_DETACH ((HRESULT)0x801F0010L) + +// +// MessageId: ERROR_FLT_INSTANCE_ALTITUDE_COLLISION +// +// MessageText: +// +// An instance already exists at this altitude on the volume specified. +// +#define ERROR_FLT_INSTANCE_ALTITUDE_COLLISION ((HRESULT)0x801F0011L) + +// +// MessageId: ERROR_FLT_INSTANCE_NAME_COLLISION +// +// MessageText: +// +// An instance already exists with this name on the volume specified. +// +#define ERROR_FLT_INSTANCE_NAME_COLLISION ((HRESULT)0x801F0012L) + +// +// MessageId: ERROR_FLT_FILTER_NOT_FOUND +// +// MessageText: +// +// The system could not find the filter specified. +// +#define ERROR_FLT_FILTER_NOT_FOUND ((HRESULT)0x801F0013L) + +// +// MessageId: ERROR_FLT_VOLUME_NOT_FOUND +// +// MessageText: +// +// The system could not find the volume specified. +// +#define ERROR_FLT_VOLUME_NOT_FOUND ((HRESULT)0x801F0014L) + +// +// MessageId: ERROR_FLT_INSTANCE_NOT_FOUND +// +// MessageText: +// +// The system could not find the instance specified. +// +#define ERROR_FLT_INSTANCE_NOT_FOUND ((HRESULT)0x801F0015L) + +// +// MessageId: ERROR_FLT_CONTEXT_ALLOCATION_NOT_FOUND +// +// MessageText: +// +// No registered context allocation definition was found for the given request. +// +#define ERROR_FLT_CONTEXT_ALLOCATION_NOT_FOUND ((HRESULT)0x801F0016L) + +// +// MessageId: ERROR_FLT_INVALID_CONTEXT_REGISTRATION +// +// MessageText: +// +// An invalid parameter was specified during context registration. +// +#define ERROR_FLT_INVALID_CONTEXT_REGISTRATION ((HRESULT)0x801F0017L) + +// +// MessageId: ERROR_FLT_NAME_CACHE_MISS +// +// MessageText: +// +// The name requested was not found in Filter Manager's name cache and could not be retrieved from the file system. +// +#define ERROR_FLT_NAME_CACHE_MISS ((HRESULT)0x801F0018L) + +// +// MessageId: ERROR_FLT_NO_DEVICE_OBJECT +// +// MessageText: +// +// The requested device object does not exist for the given volume. +// +#define ERROR_FLT_NO_DEVICE_OBJECT ((HRESULT)0x801F0019L) + +// +// MessageId: ERROR_FLT_VOLUME_ALREADY_MOUNTED +// +// MessageText: +// +// The specified volume is already mounted. +// +#define ERROR_FLT_VOLUME_ALREADY_MOUNTED ((HRESULT)0x801F001AL) + +// +// MessageId: ERROR_FLT_NO_WAITER_FOR_REPLY +// +// MessageText: +// +// No waiter is present for the filter's reply to this message. +// +#define ERROR_FLT_NO_WAITER_FOR_REPLY ((HRESULT)0x801F0020L) + +#endif // !FACILITY_USERMODE_FILTER_MANAGER +#endif //NTDDIVER < WIN_LH +#endif //_FLT_WINERROR_ + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltdefs.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltdefs.h new file mode 100644 index 0000000000000000000000000000000000000000..8c586851dcaf26a639506a395b192c58a9e0e63a --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fltdefs.h @@ -0,0 +1,418 @@ +/*++ + +Copyright (c) 1995-1999 Microsoft Corporation + +Module Name: + + fltdefs.h + +Abstract: + + Definitions for the WIN32 filter APIs + +Author: + + Arnold Miller (arnoldm) 24-Sept-1997 + +Revision History: + +--*/ + +#ifndef _FLTDEFS_H +#define _FLTDEFS_H + +#if _MSC_VER > 1000 +#pragma once +#endif + +#include + +#pragma region Desktop Family or OneCore Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) + +typedef PVOID FILTER_HANDLE, *PFILTER_HANDLE; +typedef PVOID INTERFACE_HANDLE, *PINTERFACE_HANDLE; + +#ifdef _M_CEE_PURE +#define PFEXPORT +#else +#define PFEXPORT __declspec(dllexport) +#endif + +#ifdef __cplusplus +#define EXTERNCDECL EXTERN_C +#else +#define EXTERNCDECL +#endif + +#define PFAPIENTRY EXTERNCDECL DWORD PFEXPORT WINAPI + +typedef enum _GlobalFilter +{ + GF_FRAGMENTS = 2, // check consistency of fragments + GF_STRONGHOST = 8, // check destination address of input frames + GF_FRAGCACHE = 9 // check fragments from cache +} GLOBAL_FILTER, *PGLOBAL_FILTER; + +typedef enum _PfForwardAction +{ + PF_ACTION_FORWARD = 0, + PF_ACTION_DROP +} PFFORWARD_ACTION, *PPFFORWARD_ACTION; + +typedef enum _PfAddresType +{ + PF_IPV4, + PF_IPV6 +} PFADDRESSTYPE, *PPFADDRESSTYPE; + +////////////////////////////////////////////////////////////////////////////// +// // +// The constants that should be used to set up the FILTER_INFO_STRUCTURE // +// // +////////////////////////////////////////////////////////////////////////////// + +#define FILTER_PROTO(ProtoId) MAKELONG(MAKEWORD((ProtoId),0x00),0x00000) + +#define FILTER_PROTO_ANY FILTER_PROTO(0x00) +#define FILTER_PROTO_ICMP FILTER_PROTO(0x01) +#define FILTER_PROTO_TCP FILTER_PROTO(0x06) +#define FILTER_PROTO_UDP FILTER_PROTO(0x11) + +#define FILTER_TCPUDP_PORT_ANY (WORD)0x0000 + +#define FILTER_ICMP_TYPE_ANY (BYTE)0xff +#define FILTER_ICMP_CODE_ANY (BYTE)0xff + +typedef struct _PF_FILTER_DESCRIPTOR +{ + DWORD dwFilterFlags; // see below + DWORD dwRule; // copied into the log when appropriate + PFADDRESSTYPE pfatType; + PBYTE SrcAddr; + PBYTE SrcMask; + PBYTE DstAddr; + PBYTE DstMask; + DWORD dwProtocol; + DWORD fLateBound; + WORD wSrcPort; + WORD wDstPort; + WORD wSrcPortHighRange; + WORD wDstPortHighRange; +}PF_FILTER_DESCRIPTOR, *PPF_FILTER_DESCRIPTOR; + + +////////////////////////////////////////////////////////////////////////////// +// // +// Structure for PfGetInterfaceStatistics // +// // +////////////////////////////////////////////////////////////////////////////// + +typedef struct _PF_FILTER_STATS +{ + DWORD dwNumPacketsFiltered; + PF_FILTER_DESCRIPTOR info; +}PF_FILTER_STATS, *PPF_FILTER_STATS; + +typedef struct _PF_INTERFACE_STATS +{ + PVOID pvDriverContext; + DWORD dwFlags; // none as yet (28-Sept-1997) + DWORD dwInDrops; + DWORD dwOutDrops; + PFFORWARD_ACTION eaInAction; + PFFORWARD_ACTION eaOutAction; + DWORD dwNumInFilters; + DWORD dwNumOutFilters; + DWORD dwFrag; + DWORD dwSpoof; + DWORD dwReserved1; + DWORD dwReserved2; + LARGE_INTEGER liSYN; + LARGE_INTEGER liTotalLogged; + DWORD dwLostLogEntries; + PF_FILTER_STATS FilterInfo[1]; +} PF_INTERFACE_STATS, *PPF_INTERFACE_STATS; + + +////////////////////////////////////////////////////////////////////////////// +// // +// The number of bytes starting at SrcAddr. If you add something to the // +// structure make sure this remains valid // +// // +////////////////////////////////////////////////////////////////////////////// + +#define FILTERSIZE \ + (sizeof(PF_FILTER_DESCRIPTOR) - \ + (DWORD)(&((PPF_FILTER_DESCRIPTOR)0)->SrcAddr)) + + +////////////////////////////////////////////////////////////////////////////// +// // +// Flags for PF_FILTER_DESCRIPTOR // +// // +////////////////////////////////////////////////////////////////////////////// + +// +// Disallows incoming SYN +// + +#define FD_FLAGS_NOSYN 0x1 + +// +// All legal flags +// + +#define FD_FLAGS_ALLFLAGS FD_FLAGS_NOSYN + + +////////////////////////////////////////////////////////////////////////////// +// // +// Late bound defs. Go in fLateBound in a PF_FILTER_DESCRIPTOR and // +// describe which other fields of the filter are affected by a // +// PfRebindFilters call. In general such filters are on WAN interfaces // +// where one or the other address may change as the connection is // +// reconnected. // +// The assumption is that such interfaces HAVE ONLY ONE ADDRESS. // +// // +////////////////////////////////////////////////////////////////////////////// + + +#define LB_SRC_ADDR_USE_SRCADDR_FLAG 0x00000001 +#define LB_SRC_ADDR_USE_DSTADDR_FLAG 0x00000002 +#define LB_DST_ADDR_USE_SRCADDR_FLAG 0x00000004 +#define LB_DST_ADDR_USE_DSTADDR_FLAG 0x00000008 +#define LB_SRC_MASK_LATE_FLAG 0x00000010 +#define LB_DST_MASK_LATE_FLAG 0x00000020 + +typedef struct _PF_LATEBIND_INFO +{ + PBYTE SrcAddr; + PBYTE DstAddr; + PBYTE Mask; +}PF_LATEBIND_INFO, *PPF_LATEBIND_INFO; + +////////////////////////////////////////////////////////////////////////////// +// // +// The format of a logged frame and defs for it. // +// // +////////////////////////////////////////////////////////////////////////////// + +typedef enum _PfFrameType +{ + PFFT_FILTER = 1, // a filter violation + PFFT_FRAG = 2, // bad fragment + PFFT_SPOOF = 3 // strong host failure +} PFFRAMETYPE, *PPFFRAMETYPE; + +typedef struct _pfLogFrame +{ + LARGE_INTEGER Timestamp; + PFFRAMETYPE pfeTypeOfFrame; + DWORD dwTotalSizeUsed; // used to find the next frame + DWORD dwFilterRule; // from the filter + WORD wSizeOfAdditionalData; + WORD wSizeOfIpHeader; + DWORD dwInterfaceName; // the name of the interface + DWORD dwIPIndex; + BYTE bPacketData[1]; // the frame. wsizeOfIpHeader + // and wsizeOfAdditionalData + // describe this +} PFLOGFRAME, *PPFLOGFRAME; + +////////////////////////////////////////////////////////////////////////////// +// // +// Error codes. These extend the WIN32 errors by having errors specific to // +// these APIs. Besides these errors, the APIs may return any of the WIN32 // +// errors. // +// // +////////////////////////////////////////////////////////////////////////////// + + +#define ERROR_BASE 23000 + +#define PFERROR_NO_PF_INTERFACE (ERROR_BASE + 0) // never returned. +#define PFERROR_NO_FILTERS_GIVEN (ERROR_BASE + 1) +#define PFERROR_BUFFER_TOO_SMALL (ERROR_BASE + 2) +#define ERROR_IPV6_NOT_IMPLEMENTED (ERROR_BASE + 3) + + +////////////////////////////////////////////////////////////////////////////// +// // +// The API prototypes // +// // +////////////////////////////////////////////////////////////////////////////// + +PFAPIENTRY +PfCreateInterface( + DWORD dwName, + PFFORWARD_ACTION inAction, + PFFORWARD_ACTION outAction, + BOOL bUseLog, + BOOL bMustBeUnique, + INTERFACE_HANDLE *ppInterface + ); + +PFAPIENTRY +PfDeleteInterface( + INTERFACE_HANDLE pInterface + ); + +PFAPIENTRY +PfAddFiltersToInterface( + INTERFACE_HANDLE ih, + DWORD cInFilters, + PPF_FILTER_DESCRIPTOR pfiltIn, + DWORD cOutFilters, + PPF_FILTER_DESCRIPTOR pfiltOut, + PFILTER_HANDLE pfHandle + ); + +PFAPIENTRY +PfRemoveFiltersFromInterface( + INTERFACE_HANDLE ih, + DWORD cInFilters, + PPF_FILTER_DESCRIPTOR pfiltIn, + DWORD cOutFilters, + PPF_FILTER_DESCRIPTOR pfiltOut + ); + +PFAPIENTRY +PfRemoveFilterHandles( + INTERFACE_HANDLE pInterface, + DWORD cFilters, + PFILTER_HANDLE pvHandles + ); + + +PFAPIENTRY +PfUnBindInterface( + INTERFACE_HANDLE pInterface + ); + +PFAPIENTRY +PfBindInterfaceToIndex( + INTERFACE_HANDLE pInterface, + DWORD dwIndex, + PFADDRESSTYPE pfatLinkType, + PBYTE LinkIPAddress + ); + +PFAPIENTRY +PfBindInterfaceToIPAddress( + INTERFACE_HANDLE pInterface, + PFADDRESSTYPE pfatType, + PBYTE IPAddress + ); + +PFAPIENTRY +PfRebindFilters( + INTERFACE_HANDLE pInterface, + PPF_LATEBIND_INFO pLateBindInfo + ); + +PFAPIENTRY +PfAddGlobalFilterToInterface( + INTERFACE_HANDLE pInterface, + GLOBAL_FILTER gfFilter + ); + +PFAPIENTRY +PfRemoveGlobalFilterFromInterface( + INTERFACE_HANDLE pInterface, + GLOBAL_FILTER gfFilter + ); + + +////////////////////////////////////////////////////////////////////////////// +// // +// Log APIs. Note that there is at most one log and it must be created // +// before any interface needing it is created. There is no way to set a // +// log onto an existing interface. The log can be applied to any or all of // +// the interfaces. // +// // +////////////////////////////////////////////////////////////////////////////// + +PFAPIENTRY +PfMakeLog( + HANDLE hEvent + ); + +// +// Provide a buffer, and notification parameters, and get back +// the old buffer and status. +// + +PFAPIENTRY +PfSetLogBuffer( + PBYTE pbBuffer, + DWORD dwSize, + DWORD dwThreshold, + DWORD dwEntries, + PDWORD pdwLoggedEntries, + PDWORD pdwLostEntries, + PDWORD pdwSizeUsed + ); + +// +// Doing this will disable the log on any of the interfaces. But if +// an interface was created with the log, the actual log will not be +// completely deleted until that interface is deleted. This is a small +// point, but it might explain a mystery or two. +// + +PFAPIENTRY +PfDeleteLog( + VOID + ); + + +////////////////////////////////////////////////////////////////////////////// +// // +// Get statistics. Note pdwBufferSize in an IN/OUT parameter. If // +// ERROR_INSUFFICIENT_BUFFER is returned, the common statistics are // +// available and the correct byte count is in *pdwBufferSize. If only the // +// interface statistics are needed, provide a buffer of size // +// PF_INTERFACE_STATS only. // +// If the filter descriptions are also needed, then supply a large buffer, // +// or use the returned count from the first call to allocate a buffer of // +// sufficient size. Note that for a shared interface, this second call may // +// fail with ERROR_INSUFFICIENT_BUFFER. This can happen if the other // +// sharers add filters in the interim. This should not happen for a UNIQUE // +// interface. // +// // +////////////////////////////////////////////////////////////////////////////// + + +PFAPIENTRY +PfGetInterfaceStatistics( + INTERFACE_HANDLE pInterface, + PPF_INTERFACE_STATS ppfStats, + PDWORD pdwBufferSize, + BOOL fResetCounters + ); + + +////////////////////////////////////////////////////////////////////////////// +// // +// Test a packet. // +// This call will evaluate the packet against the given interfaces // +// and return the filtering action. // +// // +////////////////////////////////////////////////////////////////////////////// + +PFAPIENTRY +PfTestPacket( + INTERFACE_HANDLE pInInterface OPTIONAL, + INTERFACE_HANDLE pOutInterface OPTIONAL, + DWORD cBytes, + PBYTE pbPacket, + PPFFORWARD_ACTION ppAction + ); + + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */ +#pragma endregion + +#endif diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fontsub.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fontsub.h new file mode 100644 index 0000000000000000000000000000000000000000..a58d255cbec58427867f90caf3bf64238ad9e704 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fontsub.h @@ -0,0 +1,186 @@ +/************************************************************************* +* * +* fontsub.h -- font subsetting services (fontsub.dll) * +* * +* (c) Microsoft Corporation. All Rights Reserved. * +* * +*************************************************************************/ + +#ifndef FONTSUB_DOT_H_DEFINED +#define FONTSUB_DOT_H_DEFINED +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef CONST +#define CONST const +#endif + +typedef void *(__cdecl *CFP_ALLOCPROC)(size_t); +typedef void *(__cdecl *CFP_REALLOCPROC)(void *, size_t); +typedef void (__cdecl *CFP_FREEPROC)(void *); + +unsigned long __cdecl CreateFontPackage( + CONST unsigned char * puchSrcBuffer, /* input TTF or TTC buffer */ + CONST unsigned long ulSrcBufferSize, /* size of input TTF or TTC buffer data */ + unsigned char ** ppuchFontPackageBuffer, /* output package buffer */ + unsigned long * pulFontPackageBufferSize, /* output package buffer size */ + unsigned long * pulBytesWritten, /* output package buffer data length */ + CONST unsigned short usFlag, /* subset, compress, or both, TTF or TTC, Chars or Glyphs */ + CONST unsigned short usTTCIndex, /* TTC Index, only used if TTC bit set */ + CONST unsigned short usSubsetFormat, /* Old Subset, Subset or Delta */ + CONST unsigned short usSubsetLanguage, /* Language in Name table to keep */ + CONST unsigned short usSubsetPlatform, /* if ListType is Character, Platform of cmap to use for glyph list */ + CONST unsigned short usSubsetEncoding, /* if ListType is Character, Encoding of cmap to use for glyph list */ + CONST unsigned short *pusSubsetKeepList, /* List of Characters or Glyphs to keep */ + CONST unsigned short usSubsetListCount, /* number of elements in list */ + CFP_ALLOCPROC lpfnAllocate, /* call back function to allocate temp buffers and output buffers */ + CFP_REALLOCPROC lpfnReAllocate, /* call back function to reallocate temp and output buffers */ + CFP_FREEPROC lpfnFree, /* call back function to free buffer allocated with lpfnAllocate and lpfnReAllocate */ + void * lpvReserved); + +/* for usSubsetFormat */ +#define TTFCFP_SUBSET 0 /* Straight Subset Font - Backward compatibility */ +#define TTFCFP_SUBSET1 1 /* Subset font with full TTO and Kern tables. For later merge */ +#define TTFCFP_DELTA 2 /* Delta font, for merge with a subset1 font */ + +/* for usSubsetPlatform ID values */ +#define TTFCFP_UNICODE_PLATFORMID 0 +#define TTFCFP_APPLE_PLATFORMID 1 +#define TTFCFP_ISO_PLATFORMID 2 +#define TTFCFP_MS_PLATFORMID 3 + +/* for usSubsetEncoding values */ +#define TTFCFP_STD_MAC_CHAR_SET 0 /* goes with TTFSUB_APPLE_PLATFORMID */ +#define TTFCFP_SYMBOL_CHAR_SET 0 /* goes with TTFSUB_MS_PLATFORMID */ +#define TTFCFP_UNICODE_CHAR_SET 1 /* goes with TTFSUB_MS_PLATFORMID */ +#define TTFCFP_DONT_CARE 0xFFFF + +/* for usSubsetLanguage values */ +#define TTFCFP_LANG_KEEP_ALL 0 + +/* for usFlags values */ +#define TTFCFP_FLAGS_SUBSET 0x0001 /* if bit off, don't subset */ +#define TTFCFP_FLAGS_COMPRESS 0x0002 /* if bit off, don't compress */ +#define TTFCFP_FLAGS_TTC 0x0004 /* if bit off, its a TTF */ +#define TTFCFP_FLAGS_GLYPHLIST 0x0008 /* if bit off, list is characters */ + +unsigned long __cdecl MergeFontPackage(CONST unsigned char * puchMergeFontBuffer, /* buffer containing font to merge with */ + CONST unsigned long ulMergeFontBufferSize, /* size of buffer containing font to merge with */ + CONST unsigned char * puchFontPackageBuffer, /* buffer containing a font package to merge with the MergeFontBuffer */ + CONST unsigned long ulFontPackageBufferSize, /* length of FontPakageBuffer */ + unsigned char **ppuchDestBuffer, /* output: pointer to output buffer containing a TTF to install */ + unsigned long *pulDestBufferSize, /* output: length of output buffer containing TTF to install */ + unsigned long *pulBytesWritten, /* output: number of bytes in buffer used for TTF */ + CONST unsigned short usMode, /* kind of action to perform, see #defines below */ + CFP_ALLOCPROC lpfnAllocate, /* call back function to allocate output and intermediate buffers */ + CFP_REALLOCPROC lpfnReAllocate, /* call back function to allocate or reallocate output and intermediate buffers */ + CFP_FREEPROC lpfnFree, /* call back function to free buffer allocated with lpfnReAllocate */ + void *lpvReserved); + +/* for usModes */ +#define TTFMFP_SUBSET 0 /* copy a Straight Subset Font package to Dest buffer */ +#define TTFMFP_SUBSET1 1 /* Expand a format 1 font into a format 3 font */ +#define TTFMFP_DELTA 2 /* Merge a format 2 with a format 3 font */ + +/* Error codes */ +#ifndef NO_ERROR +#define NO_ERROR 0 +#endif + +#ifndef ERR_GENERIC +#define ERR_GENERIC 1000 +#define ERR_READOUTOFBOUNDS 1001 /* trying to read from memory not allowed - data error? */ +#define ERR_WRITEOUTOFBOUNDS 1002 /* trying to write to memory not allowed - data error? */ +#define ERR_READCONTROL 1003 /* read control structure does not match data */ +#define ERR_WRITECONTROL 1004 /* write control structure does not match data */ +#define ERR_MEM 1005 /* error allocating memory */ +#define ERR_FORMAT 1006 /* input data format error */ + +#define ERR_WOULD_GROW 1007 /* action would cause data to grow. use original data */ +#define ERR_VERSION 1008 /* major dttf.version of the input data is greater than the version this program can read */ +#define ERR_NO_GLYPHS 1009 +#define ERR_INVALID_MERGE_FORMATS 1010 /* trying to merge fonts with the wrong dttf formats */ +#define ERR_INVALID_MERGE_CHECKSUMS 1011 /* trying to merge 2 fonts from different mother font */ +#define ERR_INVALID_MERGE_NUMGLYPHS 1012 /* trying to merge 2 fonts from different mother font */ +#define ERR_INVALID_DELTA_FORMAT 1013 /* trying to subset a format 1 or 2 font */ +#define ERR_NOT_TTC 1014 +#define ERR_INVALID_TTC_INDEX 1015 + +#define ERR_MISSING_CMAP 1030 +#define ERR_MISSING_GLYF 1031 +#define ERR_MISSING_HEAD 1032 +#define ERR_MISSING_HHEA 1033 +#define ERR_MISSING_HMTX 1034 +#define ERR_MISSING_LOCA 1035 +#define ERR_MISSING_MAXP 1036 +#define ERR_MISSING_NAME 1037 +#define ERR_MISSING_POST 1038 +#define ERR_MISSING_OS2 1039 +#define ERR_MISSING_VHEA 1040 +#define ERR_MISSING_VMTX 1041 +#define ERR_MISSING_HHEA_OR_VHEA 1042 +#define ERR_MISSING_HMTX_OR_VMTX 1043 +#define ERR_MISSING_EBDT 1044 + +#define ERR_INVALID_CMAP 1060 +#define ERR_INVALID_GLYF 1061 +#define ERR_INVALID_HEAD 1062 +#define ERR_INVALID_HHEA 1063 +#define ERR_INVALID_HMTX 1064 +#define ERR_INVALID_LOCA 1065 +#define ERR_INVALID_MAXP 1066 +#define ERR_INVALID_NAME 1067 +#define ERR_INVALID_POST 1068 +#define ERR_INVALID_OS2 1069 +#define ERR_INVALID_VHEA 1070 +#define ERR_INVALID_VMTX 1071 +#define ERR_INVALID_HHEA_OR_VHEA 1072 +#define ERR_INVALID_HMTX_OR_VMTX 1073 + +#define ERR_INVALID_TTO 1080 +#define ERR_INVALID_GSUB 1081 +#define ERR_INVALID_GPOS 1082 +#define ERR_INVALID_GDEF 1083 +#define ERR_INVALID_JSTF 1084 +#define ERR_INVALID_BASE 1085 +#define ERR_INVALID_EBLC 1086 +#define ERR_INVALID_LTSH 1087 +#define ERR_INVALID_VDMX 1088 +#define ERR_INVALID_HDMX 1089 + +#define ERR_PARAMETER0 1100 /* calling function argument 0 is invalid */ +#define ERR_PARAMETER1 1101 /* calling function argument 1 is invalid */ +#define ERR_PARAMETER2 1102 /* calling function argument 2 is invalid */ +#define ERR_PARAMETER3 1103 /* calling function argument 3 is invalid */ +#define ERR_PARAMETER4 1104 /* calling function argument 4 is invalid */ +#define ERR_PARAMETER5 1105 /* calling function argument 5 is invalid */ +#define ERR_PARAMETER6 1106 /* calling function argument 6 is invalid */ +#define ERR_PARAMETER7 1107 /* calling function argument 7 is invalid */ +#define ERR_PARAMETER8 1108 /* calling function argument 8 is invalid */ +#define ERR_PARAMETER9 1109 /* calling function argument 9 is invalid */ +#define ERR_PARAMETER10 1110 /* calling function argument 10 is invalid */ +#define ERR_PARAMETER11 1111 /* calling function argument 11 is invalid */ +#define ERR_PARAMETER12 1112 /* calling function argument 12 is invalid */ +#define ERR_PARAMETER13 1113 /* calling function argument 13 is invalid */ +#define ERR_PARAMETER14 1114 /* calling function argument 14 is invalid */ +#define ERR_PARAMETER15 1115 /* calling function argument 15 is invalid */ +#define ERR_PARAMETER16 1116 /* calling function argument 16 is invalid */ +#endif /* ERR_GENERIC */ + + +#ifdef __cplusplus +} +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + +#endif /* FONTSUB_DOT_H_DEFINED */ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrm.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrm.h new file mode 100644 index 0000000000000000000000000000000000000000..9822b7d45edff76cbc79e23d367f8cc0ed37d795 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrm.h @@ -0,0 +1,3627 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __fsrm_h__ +#define __fsrm_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFsrmObject_FWD_DEFINED__ +#define __IFsrmObject_FWD_DEFINED__ +typedef interface IFsrmObject IFsrmObject; + +#endif /* __IFsrmObject_FWD_DEFINED__ */ + + +#ifndef __IFsrmCollection_FWD_DEFINED__ +#define __IFsrmCollection_FWD_DEFINED__ +typedef interface IFsrmCollection IFsrmCollection; + +#endif /* __IFsrmCollection_FWD_DEFINED__ */ + + +#ifndef __IFsrmMutableCollection_FWD_DEFINED__ +#define __IFsrmMutableCollection_FWD_DEFINED__ +typedef interface IFsrmMutableCollection IFsrmMutableCollection; + +#endif /* __IFsrmMutableCollection_FWD_DEFINED__ */ + + +#ifndef __IFsrmCommittableCollection_FWD_DEFINED__ +#define __IFsrmCommittableCollection_FWD_DEFINED__ +typedef interface IFsrmCommittableCollection IFsrmCommittableCollection; + +#endif /* __IFsrmCommittableCollection_FWD_DEFINED__ */ + + +#ifndef __IFsrmAction_FWD_DEFINED__ +#define __IFsrmAction_FWD_DEFINED__ +typedef interface IFsrmAction IFsrmAction; + +#endif /* __IFsrmAction_FWD_DEFINED__ */ + + +#ifndef __IFsrmActionEmail_FWD_DEFINED__ +#define __IFsrmActionEmail_FWD_DEFINED__ +typedef interface IFsrmActionEmail IFsrmActionEmail; + +#endif /* __IFsrmActionEmail_FWD_DEFINED__ */ + + +#ifndef __IFsrmActionEmail2_FWD_DEFINED__ +#define __IFsrmActionEmail2_FWD_DEFINED__ +typedef interface IFsrmActionEmail2 IFsrmActionEmail2; + +#endif /* __IFsrmActionEmail2_FWD_DEFINED__ */ + + +#ifndef __IFsrmActionReport_FWD_DEFINED__ +#define __IFsrmActionReport_FWD_DEFINED__ +typedef interface IFsrmActionReport IFsrmActionReport; + +#endif /* __IFsrmActionReport_FWD_DEFINED__ */ + + +#ifndef __IFsrmActionEventLog_FWD_DEFINED__ +#define __IFsrmActionEventLog_FWD_DEFINED__ +typedef interface IFsrmActionEventLog IFsrmActionEventLog; + +#endif /* __IFsrmActionEventLog_FWD_DEFINED__ */ + + +#ifndef __IFsrmActionCommand_FWD_DEFINED__ +#define __IFsrmActionCommand_FWD_DEFINED__ +typedef interface IFsrmActionCommand IFsrmActionCommand; + +#endif /* __IFsrmActionCommand_FWD_DEFINED__ */ + + +#ifndef __IFsrmSetting_FWD_DEFINED__ +#define __IFsrmSetting_FWD_DEFINED__ +typedef interface IFsrmSetting IFsrmSetting; + +#endif /* __IFsrmSetting_FWD_DEFINED__ */ + + +#ifndef __IFsrmPathMapper_FWD_DEFINED__ +#define __IFsrmPathMapper_FWD_DEFINED__ +typedef interface IFsrmPathMapper IFsrmPathMapper; + +#endif /* __IFsrmPathMapper_FWD_DEFINED__ */ + + +#ifndef __IFsrmExportImport_FWD_DEFINED__ +#define __IFsrmExportImport_FWD_DEFINED__ +typedef interface IFsrmExportImport IFsrmExportImport; + +#endif /* __IFsrmExportImport_FWD_DEFINED__ */ + + +#ifndef __IFsrmDerivedObjectsResult_FWD_DEFINED__ +#define __IFsrmDerivedObjectsResult_FWD_DEFINED__ +typedef interface IFsrmDerivedObjectsResult IFsrmDerivedObjectsResult; + +#endif /* __IFsrmDerivedObjectsResult_FWD_DEFINED__ */ + + +#ifndef __IFsrmAccessDeniedRemediationClient_FWD_DEFINED__ +#define __IFsrmAccessDeniedRemediationClient_FWD_DEFINED__ +typedef interface IFsrmAccessDeniedRemediationClient IFsrmAccessDeniedRemediationClient; + +#endif /* __IFsrmAccessDeniedRemediationClient_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "fsrmenums.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrm_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + + + + + + + + + +#define FSRM_DISPID_FEATURE_MASK ( 0xf000000 ) + +#define FSRM_DISPID_INTERFACE_A_MASK ( 0xf00000 ) + +#define FSRM_DISPID_INTERFACE_B_MASK ( 0xf0000 ) + +#define FSRM_DISPID_INTERFACE_C_MASK ( 0xf000 ) + +#define FSRM_DISPID_INTERFACE_D_MASK ( 0xf00 ) + +#define FSRM_DISPID_INTERFACE_MASK ( ( ( ( FSRM_DISPID_INTERFACE_A_MASK | FSRM_DISPID_INTERFACE_B_MASK ) | FSRM_DISPID_INTERFACE_C_MASK ) | FSRM_DISPID_INTERFACE_D_MASK ) ) + +#define FSRM_DISPID_IS_PROPERTY ( 0x80 ) + +#define FSRM_DISPID_METHOD_NUM_MASK ( 0x7f ) + +#define FSRM_DISPID_METHOD_MASK ( ( FSRM_DISPID_IS_PROPERTY | FSRM_DISPID_METHOD_NUM_MASK ) ) + +#define FSRM_DISPID_FEATURE_GENERAL ( 0x1000000 ) + +#define FSRM_DISPID_FEATURE_QUOTA ( 0x2000000 ) + +#define FSRM_DISPID_FEATURE_FILESCREEN ( 0x3000000 ) + +#define FSRM_DISPID_FEATURE_REPORTS ( 0x4000000 ) + +#define FSRM_DISPID_FEATURE_CLASSIFICATION ( 0x5000000 ) + +#define FSRM_DISPID_FEATURE_PIPELINE ( 0x6000000 ) + +#define FSRM_DISPID_OBJECT ( ( FSRM_DISPID_FEATURE_GENERAL | 0x100000 ) ) + +#define FSRM_DISPID_COLLECTION ( ( FSRM_DISPID_FEATURE_GENERAL | 0x200000 ) ) + +#define FSRM_DISPID_COLLECTION_MUTABLE ( ( FSRM_DISPID_COLLECTION | 0x10000 ) ) + +#define FSRM_DISPID_COLLECTION_COMMITTABLE ( ( FSRM_DISPID_COLLECTION_MUTABLE | 0x1000 ) ) + +#define FSRM_DISPID_ACTION ( ( FSRM_DISPID_FEATURE_GENERAL | 0x300000 ) ) + +#define FSRM_DISPID_ACTION_EMAIL ( ( FSRM_DISPID_ACTION | 0x10000 ) ) + +#define FSRM_DISPID_ACTION_REPORT ( ( FSRM_DISPID_ACTION | 0x20000 ) ) + +#define FSRM_DISPID_ACTION_EVENTLOG ( ( FSRM_DISPID_ACTION | 0x30000 ) ) + +#define FSRM_DISPID_ACTION_COMMAND ( ( FSRM_DISPID_ACTION | 0x40000 ) ) + +#define FSRM_DISPID_ACTION_EMAIL2 ( ( FSRM_DISPID_ACTION | 0x50000 ) ) + +#define FSRM_DISPID_SETTING ( ( FSRM_DISPID_FEATURE_GENERAL | 0x400000 ) ) + +#define FSRM_DISPID_PATHMAPPER ( ( FSRM_DISPID_FEATURE_GENERAL | 0x500000 ) ) + +#define FSRM_DISPID_EXPORTIMPORT ( ( FSRM_DISPID_FEATURE_GENERAL | 0x600000 ) ) + +#define FSRM_DISPID_DERIVEDOBJECTSRESULT ( ( FSRM_DISPID_FEATURE_GENERAL | 0x700000 ) ) + +#define FSRM_DISPID_ADR ( ( FSRM_DISPID_FEATURE_GENERAL | 0x800000 ) ) + + + +extern RPC_IF_HANDLE __MIDL_itf_fsrm_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrm_0000_0000_v0_0_s_ifspec; + +#ifndef __IFsrmObject_INTERFACE_DEFINED__ +#define __IFsrmObject_INTERFACE_DEFINED__ + +/* interface IFsrmObject */ +/* [unique][helpstring][nonextensible][hidden][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmObject; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("22bcef93-4a3f-4183-89f9-2f8b8a628aee") + IFsrmObject : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *description) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( + /* [in] */ __RPC__in BSTR description) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Commit( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmObjectVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmObject * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmObject * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmObject * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmObject * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmObject * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmObject * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmObject * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmObject * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmObject * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmObject * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmObject * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmObject * This); + + END_INTERFACE + } IFsrmObjectVtbl; + + interface IFsrmObject + { + CONST_VTBL struct IFsrmObjectVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmObject_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmObject_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmObject_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmObject_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmObject_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmObject_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmObject_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmObject_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmObject_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmObject_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmCollection_INTERFACE_DEFINED__ +#define __IFsrmCollection_INTERFACE_DEFINED__ + +/* interface IFsrmCollection */ +/* [unique][helpstring][nonextensible][hidden][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmCollection; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8") + IFsrmCollection : public IDispatch + { + public: + virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum( + /* [retval][out] */ __RPC__deref_out_opt IUnknown **unknown) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item( + /* [in] */ long index, + /* [retval][out] */ __RPC__out VARIANT *item) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( + /* [retval][out] */ __RPC__out long *count) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State( + /* [retval][out] */ __RPC__out FsrmCollectionState *state) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitForCompletion( + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetById( + /* [in] */ FSRM_OBJECT_ID id, + /* [retval][out] */ __RPC__out VARIANT *entry) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmCollectionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmCollection * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmCollection * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmCollection * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmCollection * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmCollection * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmCollection, get__NewEnum) + /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFsrmCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **unknown); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_Item) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFsrmCollection * This, + /* [in] */ long index, + /* [retval][out] */ __RPC__out VARIANT *item); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_Count) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFsrmCollection * This, + /* [retval][out] */ __RPC__out long *count); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_State) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( + __RPC__in IFsrmCollection * This, + /* [retval][out] */ __RPC__out FsrmCollectionState *state); + + DECLSPEC_XFGVIRT(IFsrmCollection, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFsrmCollection * This); + + DECLSPEC_XFGVIRT(IFsrmCollection, WaitForCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )( + __RPC__in IFsrmCollection * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmCollection, GetById) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetById )( + __RPC__in IFsrmCollection * This, + /* [in] */ FSRM_OBJECT_ID id, + /* [retval][out] */ __RPC__out VARIANT *entry); + + END_INTERFACE + } IFsrmCollectionVtbl; + + interface IFsrmCollection + { + CONST_VTBL struct IFsrmCollectionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmCollection_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmCollection_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmCollection_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmCollection_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmCollection_get__NewEnum(This,unknown) \ + ( (This)->lpVtbl -> get__NewEnum(This,unknown) ) + +#define IFsrmCollection_get_Item(This,index,item) \ + ( (This)->lpVtbl -> get_Item(This,index,item) ) + +#define IFsrmCollection_get_Count(This,count) \ + ( (This)->lpVtbl -> get_Count(This,count) ) + +#define IFsrmCollection_get_State(This,state) \ + ( (This)->lpVtbl -> get_State(This,state) ) + +#define IFsrmCollection_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#define IFsrmCollection_WaitForCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForCompletion(This,waitSeconds,completed) ) + +#define IFsrmCollection_GetById(This,id,entry) \ + ( (This)->lpVtbl -> GetById(This,id,entry) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmCollection_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmMutableCollection_INTERFACE_DEFINED__ +#define __IFsrmMutableCollection_INTERFACE_DEFINED__ + +/* interface IFsrmMutableCollection */ +/* [unique][helpstring][nonextensible][hidden][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmMutableCollection; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("1bb617b8-3886-49dc-af82-a6c90fa35dda") + IFsrmMutableCollection : public IFsrmCollection + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( + /* [in] */ VARIANT item) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ long index) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveById( + /* [in] */ FSRM_OBJECT_ID id) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone( + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **collection) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmMutableCollectionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmMutableCollection * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmMutableCollection * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmMutableCollection * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmMutableCollection * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmCollection, get__NewEnum) + /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFsrmMutableCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **unknown); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_Item) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ long index, + /* [retval][out] */ __RPC__out VARIANT *item); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_Count) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFsrmMutableCollection * This, + /* [retval][out] */ __RPC__out long *count); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_State) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( + __RPC__in IFsrmMutableCollection * This, + /* [retval][out] */ __RPC__out FsrmCollectionState *state); + + DECLSPEC_XFGVIRT(IFsrmCollection, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFsrmMutableCollection * This); + + DECLSPEC_XFGVIRT(IFsrmCollection, WaitForCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmCollection, GetById) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetById )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ FSRM_OBJECT_ID id, + /* [retval][out] */ __RPC__out VARIANT *entry); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ VARIANT item); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ long index); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, RemoveById) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveById )( + __RPC__in IFsrmMutableCollection * This, + /* [in] */ FSRM_OBJECT_ID id); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, Clone) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )( + __RPC__in IFsrmMutableCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **collection); + + END_INTERFACE + } IFsrmMutableCollectionVtbl; + + interface IFsrmMutableCollection + { + CONST_VTBL struct IFsrmMutableCollectionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmMutableCollection_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmMutableCollection_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmMutableCollection_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmMutableCollection_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmMutableCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmMutableCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmMutableCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmMutableCollection_get__NewEnum(This,unknown) \ + ( (This)->lpVtbl -> get__NewEnum(This,unknown) ) + +#define IFsrmMutableCollection_get_Item(This,index,item) \ + ( (This)->lpVtbl -> get_Item(This,index,item) ) + +#define IFsrmMutableCollection_get_Count(This,count) \ + ( (This)->lpVtbl -> get_Count(This,count) ) + +#define IFsrmMutableCollection_get_State(This,state) \ + ( (This)->lpVtbl -> get_State(This,state) ) + +#define IFsrmMutableCollection_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#define IFsrmMutableCollection_WaitForCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForCompletion(This,waitSeconds,completed) ) + +#define IFsrmMutableCollection_GetById(This,id,entry) \ + ( (This)->lpVtbl -> GetById(This,id,entry) ) + + +#define IFsrmMutableCollection_Add(This,item) \ + ( (This)->lpVtbl -> Add(This,item) ) + +#define IFsrmMutableCollection_Remove(This,index) \ + ( (This)->lpVtbl -> Remove(This,index) ) + +#define IFsrmMutableCollection_RemoveById(This,id) \ + ( (This)->lpVtbl -> RemoveById(This,id) ) + +#define IFsrmMutableCollection_Clone(This,collection) \ + ( (This)->lpVtbl -> Clone(This,collection) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmMutableCollection_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmCommittableCollection_INTERFACE_DEFINED__ +#define __IFsrmCommittableCollection_INTERFACE_DEFINED__ + +/* interface IFsrmCommittableCollection */ +/* [unique][helpstring][nonextensible][hidden][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmCommittableCollection; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("96deb3b5-8b91-4a2a-9d93-80a35d8aa847") + IFsrmCommittableCollection : public IFsrmMutableCollection + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Commit( + /* [in] */ FsrmCommitOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **results) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmCommittableCollectionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmCommittableCollection * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmCommittableCollection * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmCommittableCollection * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmCommittableCollection * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmCollection, get__NewEnum) + /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( + __RPC__in IFsrmCommittableCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IUnknown **unknown); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_Item) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ long index, + /* [retval][out] */ __RPC__out VARIANT *item); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_Count) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( + __RPC__in IFsrmCommittableCollection * This, + /* [retval][out] */ __RPC__out long *count); + + DECLSPEC_XFGVIRT(IFsrmCollection, get_State) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )( + __RPC__in IFsrmCommittableCollection * This, + /* [retval][out] */ __RPC__out FsrmCollectionState *state); + + DECLSPEC_XFGVIRT(IFsrmCollection, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFsrmCommittableCollection * This); + + DECLSPEC_XFGVIRT(IFsrmCollection, WaitForCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmCollection, GetById) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetById )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ FSRM_OBJECT_ID id, + /* [retval][out] */ __RPC__out VARIANT *entry); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, Add) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ VARIANT item); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, Remove) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ long index); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, RemoveById) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveById )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ FSRM_OBJECT_ID id); + + DECLSPEC_XFGVIRT(IFsrmMutableCollection, Clone) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )( + __RPC__in IFsrmCommittableCollection * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **collection); + + DECLSPEC_XFGVIRT(IFsrmCommittableCollection, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmCommittableCollection * This, + /* [in] */ FsrmCommitOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **results); + + END_INTERFACE + } IFsrmCommittableCollectionVtbl; + + interface IFsrmCommittableCollection + { + CONST_VTBL struct IFsrmCommittableCollectionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmCommittableCollection_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmCommittableCollection_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmCommittableCollection_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmCommittableCollection_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmCommittableCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmCommittableCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmCommittableCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmCommittableCollection_get__NewEnum(This,unknown) \ + ( (This)->lpVtbl -> get__NewEnum(This,unknown) ) + +#define IFsrmCommittableCollection_get_Item(This,index,item) \ + ( (This)->lpVtbl -> get_Item(This,index,item) ) + +#define IFsrmCommittableCollection_get_Count(This,count) \ + ( (This)->lpVtbl -> get_Count(This,count) ) + +#define IFsrmCommittableCollection_get_State(This,state) \ + ( (This)->lpVtbl -> get_State(This,state) ) + +#define IFsrmCommittableCollection_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#define IFsrmCommittableCollection_WaitForCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForCompletion(This,waitSeconds,completed) ) + +#define IFsrmCommittableCollection_GetById(This,id,entry) \ + ( (This)->lpVtbl -> GetById(This,id,entry) ) + + +#define IFsrmCommittableCollection_Add(This,item) \ + ( (This)->lpVtbl -> Add(This,item) ) + +#define IFsrmCommittableCollection_Remove(This,index) \ + ( (This)->lpVtbl -> Remove(This,index) ) + +#define IFsrmCommittableCollection_RemoveById(This,id) \ + ( (This)->lpVtbl -> RemoveById(This,id) ) + +#define IFsrmCommittableCollection_Clone(This,collection) \ + ( (This)->lpVtbl -> Clone(This,collection) ) + + +#define IFsrmCommittableCollection_Commit(This,options,results) \ + ( (This)->lpVtbl -> Commit(This,options,results) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmCommittableCollection_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmAction_INTERFACE_DEFINED__ +#define __IFsrmAction_INTERFACE_DEFINED__ + +/* interface IFsrmAction */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmAction; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6cd6408a-ae60-463b-9ef1-e117534d69dc") + IFsrmAction : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Id( + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionType( + /* [retval][out] */ __RPC__out FsrmActionType *actionType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RunLimitInterval( + /* [retval][out] */ __RPC__out long *minutes) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RunLimitInterval( + /* [in] */ long minutes) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmActionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmAction * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmAction * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmAction * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmAction * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmAction * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmAction * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmAction * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAction, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmAction * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmAction, get_ActionType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionType )( + __RPC__in IFsrmAction * This, + /* [retval][out] */ __RPC__out FsrmActionType *actionType); + + DECLSPEC_XFGVIRT(IFsrmAction, get_RunLimitInterval) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunLimitInterval )( + __RPC__in IFsrmAction * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, put_RunLimitInterval) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RunLimitInterval )( + __RPC__in IFsrmAction * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmAction * This); + + END_INTERFACE + } IFsrmActionVtbl; + + interface IFsrmAction + { + CONST_VTBL struct IFsrmActionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmAction_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmAction_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmAction_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmAction_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmAction_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmAction_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmAction_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmAction_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmAction_get_ActionType(This,actionType) \ + ( (This)->lpVtbl -> get_ActionType(This,actionType) ) + +#define IFsrmAction_get_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> get_RunLimitInterval(This,minutes) ) + +#define IFsrmAction_put_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> put_RunLimitInterval(This,minutes) ) + +#define IFsrmAction_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmAction_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmActionEmail_INTERFACE_DEFINED__ +#define __IFsrmActionEmail_INTERFACE_DEFINED__ + +/* interface IFsrmActionEmail */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmActionEmail; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("d646567d-26ae-4caa-9f84-4e0aad207fca") + IFsrmActionEmail : public IFsrmAction + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailFrom( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailFrom) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailFrom( + /* [in] */ __RPC__in BSTR mailFrom) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailReplyTo( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailReplyTo) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailReplyTo( + /* [in] */ __RPC__in BSTR mailReplyTo) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailTo( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailTo( + /* [in] */ __RPC__in BSTR mailTo) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailCc( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailCc) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailCc( + /* [in] */ __RPC__in BSTR mailCc) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailBcc( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailBcc) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailBcc( + /* [in] */ __RPC__in BSTR mailBcc) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailSubject( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailSubject) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailSubject( + /* [in] */ __RPC__in BSTR mailSubject) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MessageText( + /* [retval][out] */ __RPC__deref_out_opt BSTR *messageText) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MessageText( + /* [in] */ __RPC__in BSTR messageText) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmActionEmailVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmActionEmail * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmActionEmail * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmActionEmail * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmActionEmail * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAction, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmAction, get_ActionType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionType )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__out FsrmActionType *actionType); + + DECLSPEC_XFGVIRT(IFsrmAction, get_RunLimitInterval) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunLimitInterval )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, put_RunLimitInterval) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RunLimitInterval )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmActionEmail * This); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailFrom) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailFrom )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailFrom); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailFrom) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailFrom )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR mailFrom); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailReplyTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailReplyTo )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailReplyTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailReplyTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailReplyTo )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR mailReplyTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailTo )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailTo )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailCc) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailCc )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailCc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailCc) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailCc )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR mailCc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailBcc) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailBcc )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailBcc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailBcc) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailBcc )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR mailBcc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailSubject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailSubject )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailSubject); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailSubject) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailSubject )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR mailSubject); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MessageText) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageText )( + __RPC__in IFsrmActionEmail * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *messageText); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MessageText) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageText )( + __RPC__in IFsrmActionEmail * This, + /* [in] */ __RPC__in BSTR messageText); + + END_INTERFACE + } IFsrmActionEmailVtbl; + + interface IFsrmActionEmail + { + CONST_VTBL struct IFsrmActionEmailVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmActionEmail_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmActionEmail_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmActionEmail_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmActionEmail_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmActionEmail_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmActionEmail_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmActionEmail_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmActionEmail_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmActionEmail_get_ActionType(This,actionType) \ + ( (This)->lpVtbl -> get_ActionType(This,actionType) ) + +#define IFsrmActionEmail_get_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> get_RunLimitInterval(This,minutes) ) + +#define IFsrmActionEmail_put_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> put_RunLimitInterval(This,minutes) ) + +#define IFsrmActionEmail_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFsrmActionEmail_get_MailFrom(This,mailFrom) \ + ( (This)->lpVtbl -> get_MailFrom(This,mailFrom) ) + +#define IFsrmActionEmail_put_MailFrom(This,mailFrom) \ + ( (This)->lpVtbl -> put_MailFrom(This,mailFrom) ) + +#define IFsrmActionEmail_get_MailReplyTo(This,mailReplyTo) \ + ( (This)->lpVtbl -> get_MailReplyTo(This,mailReplyTo) ) + +#define IFsrmActionEmail_put_MailReplyTo(This,mailReplyTo) \ + ( (This)->lpVtbl -> put_MailReplyTo(This,mailReplyTo) ) + +#define IFsrmActionEmail_get_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_MailTo(This,mailTo) ) + +#define IFsrmActionEmail_put_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_MailTo(This,mailTo) ) + +#define IFsrmActionEmail_get_MailCc(This,mailCc) \ + ( (This)->lpVtbl -> get_MailCc(This,mailCc) ) + +#define IFsrmActionEmail_put_MailCc(This,mailCc) \ + ( (This)->lpVtbl -> put_MailCc(This,mailCc) ) + +#define IFsrmActionEmail_get_MailBcc(This,mailBcc) \ + ( (This)->lpVtbl -> get_MailBcc(This,mailBcc) ) + +#define IFsrmActionEmail_put_MailBcc(This,mailBcc) \ + ( (This)->lpVtbl -> put_MailBcc(This,mailBcc) ) + +#define IFsrmActionEmail_get_MailSubject(This,mailSubject) \ + ( (This)->lpVtbl -> get_MailSubject(This,mailSubject) ) + +#define IFsrmActionEmail_put_MailSubject(This,mailSubject) \ + ( (This)->lpVtbl -> put_MailSubject(This,mailSubject) ) + +#define IFsrmActionEmail_get_MessageText(This,messageText) \ + ( (This)->lpVtbl -> get_MessageText(This,messageText) ) + +#define IFsrmActionEmail_put_MessageText(This,messageText) \ + ( (This)->lpVtbl -> put_MessageText(This,messageText) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmActionEmail_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmActionEmail2_INTERFACE_DEFINED__ +#define __IFsrmActionEmail2_INTERFACE_DEFINED__ + +/* interface IFsrmActionEmail2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmActionEmail2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8276702f-2532-4839-89bf-4872609a2ea4") + IFsrmActionEmail2 : public IFsrmActionEmail + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AttachmentFileListSize( + /* [retval][out] */ __RPC__out long *attachmentFileListSize) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AttachmentFileListSize( + /* [in] */ long attachmentFileListSize) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmActionEmail2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmActionEmail2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmActionEmail2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmActionEmail2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmActionEmail2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAction, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmAction, get_ActionType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionType )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__out FsrmActionType *actionType); + + DECLSPEC_XFGVIRT(IFsrmAction, get_RunLimitInterval) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunLimitInterval )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, put_RunLimitInterval) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RunLimitInterval )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmActionEmail2 * This); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailFrom) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailFrom )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailFrom); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailFrom) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailFrom )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR mailFrom); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailReplyTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailReplyTo )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailReplyTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailReplyTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailReplyTo )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR mailReplyTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailTo )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailTo )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailCc) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailCc )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailCc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailCc) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailCc )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR mailCc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailBcc) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailBcc )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailBcc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailBcc) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailBcc )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR mailBcc); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MailSubject) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailSubject )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailSubject); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MailSubject) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailSubject )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR mailSubject); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, get_MessageText) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageText )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *messageText); + + DECLSPEC_XFGVIRT(IFsrmActionEmail, put_MessageText) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageText )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ __RPC__in BSTR messageText); + + DECLSPEC_XFGVIRT(IFsrmActionEmail2, get_AttachmentFileListSize) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AttachmentFileListSize )( + __RPC__in IFsrmActionEmail2 * This, + /* [retval][out] */ __RPC__out long *attachmentFileListSize); + + DECLSPEC_XFGVIRT(IFsrmActionEmail2, put_AttachmentFileListSize) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AttachmentFileListSize )( + __RPC__in IFsrmActionEmail2 * This, + /* [in] */ long attachmentFileListSize); + + END_INTERFACE + } IFsrmActionEmail2Vtbl; + + interface IFsrmActionEmail2 + { + CONST_VTBL struct IFsrmActionEmail2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmActionEmail2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmActionEmail2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmActionEmail2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmActionEmail2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmActionEmail2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmActionEmail2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmActionEmail2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmActionEmail2_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmActionEmail2_get_ActionType(This,actionType) \ + ( (This)->lpVtbl -> get_ActionType(This,actionType) ) + +#define IFsrmActionEmail2_get_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> get_RunLimitInterval(This,minutes) ) + +#define IFsrmActionEmail2_put_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> put_RunLimitInterval(This,minutes) ) + +#define IFsrmActionEmail2_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFsrmActionEmail2_get_MailFrom(This,mailFrom) \ + ( (This)->lpVtbl -> get_MailFrom(This,mailFrom) ) + +#define IFsrmActionEmail2_put_MailFrom(This,mailFrom) \ + ( (This)->lpVtbl -> put_MailFrom(This,mailFrom) ) + +#define IFsrmActionEmail2_get_MailReplyTo(This,mailReplyTo) \ + ( (This)->lpVtbl -> get_MailReplyTo(This,mailReplyTo) ) + +#define IFsrmActionEmail2_put_MailReplyTo(This,mailReplyTo) \ + ( (This)->lpVtbl -> put_MailReplyTo(This,mailReplyTo) ) + +#define IFsrmActionEmail2_get_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_MailTo(This,mailTo) ) + +#define IFsrmActionEmail2_put_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_MailTo(This,mailTo) ) + +#define IFsrmActionEmail2_get_MailCc(This,mailCc) \ + ( (This)->lpVtbl -> get_MailCc(This,mailCc) ) + +#define IFsrmActionEmail2_put_MailCc(This,mailCc) \ + ( (This)->lpVtbl -> put_MailCc(This,mailCc) ) + +#define IFsrmActionEmail2_get_MailBcc(This,mailBcc) \ + ( (This)->lpVtbl -> get_MailBcc(This,mailBcc) ) + +#define IFsrmActionEmail2_put_MailBcc(This,mailBcc) \ + ( (This)->lpVtbl -> put_MailBcc(This,mailBcc) ) + +#define IFsrmActionEmail2_get_MailSubject(This,mailSubject) \ + ( (This)->lpVtbl -> get_MailSubject(This,mailSubject) ) + +#define IFsrmActionEmail2_put_MailSubject(This,mailSubject) \ + ( (This)->lpVtbl -> put_MailSubject(This,mailSubject) ) + +#define IFsrmActionEmail2_get_MessageText(This,messageText) \ + ( (This)->lpVtbl -> get_MessageText(This,messageText) ) + +#define IFsrmActionEmail2_put_MessageText(This,messageText) \ + ( (This)->lpVtbl -> put_MessageText(This,messageText) ) + + +#define IFsrmActionEmail2_get_AttachmentFileListSize(This,attachmentFileListSize) \ + ( (This)->lpVtbl -> get_AttachmentFileListSize(This,attachmentFileListSize) ) + +#define IFsrmActionEmail2_put_AttachmentFileListSize(This,attachmentFileListSize) \ + ( (This)->lpVtbl -> put_AttachmentFileListSize(This,attachmentFileListSize) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmActionEmail2_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmActionReport_INTERFACE_DEFINED__ +#define __IFsrmActionReport_INTERFACE_DEFINED__ + +/* interface IFsrmActionReport */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmActionReport; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("2dbe63c4-b340-48a0-a5b0-158e07fc567e") + IFsrmActionReport : public IFsrmAction + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReportTypes( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *reportTypes) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReportTypes( + /* [in] */ __RPC__in SAFEARRAY * reportTypes) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailTo( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailTo( + /* [in] */ __RPC__in BSTR mailTo) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmActionReportVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmActionReport * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmActionReport * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmActionReport * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmActionReport * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmActionReport * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmActionReport * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmActionReport * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAction, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmActionReport * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmAction, get_ActionType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionType )( + __RPC__in IFsrmActionReport * This, + /* [retval][out] */ __RPC__out FsrmActionType *actionType); + + DECLSPEC_XFGVIRT(IFsrmAction, get_RunLimitInterval) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunLimitInterval )( + __RPC__in IFsrmActionReport * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, put_RunLimitInterval) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RunLimitInterval )( + __RPC__in IFsrmActionReport * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmActionReport * This); + + DECLSPEC_XFGVIRT(IFsrmActionReport, get_ReportTypes) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReportTypes )( + __RPC__in IFsrmActionReport * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *reportTypes); + + DECLSPEC_XFGVIRT(IFsrmActionReport, put_ReportTypes) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReportTypes )( + __RPC__in IFsrmActionReport * This, + /* [in] */ __RPC__in SAFEARRAY * reportTypes); + + DECLSPEC_XFGVIRT(IFsrmActionReport, get_MailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailTo )( + __RPC__in IFsrmActionReport * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmActionReport, put_MailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailTo )( + __RPC__in IFsrmActionReport * This, + /* [in] */ __RPC__in BSTR mailTo); + + END_INTERFACE + } IFsrmActionReportVtbl; + + interface IFsrmActionReport + { + CONST_VTBL struct IFsrmActionReportVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmActionReport_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmActionReport_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmActionReport_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmActionReport_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmActionReport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmActionReport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmActionReport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmActionReport_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmActionReport_get_ActionType(This,actionType) \ + ( (This)->lpVtbl -> get_ActionType(This,actionType) ) + +#define IFsrmActionReport_get_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> get_RunLimitInterval(This,minutes) ) + +#define IFsrmActionReport_put_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> put_RunLimitInterval(This,minutes) ) + +#define IFsrmActionReport_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFsrmActionReport_get_ReportTypes(This,reportTypes) \ + ( (This)->lpVtbl -> get_ReportTypes(This,reportTypes) ) + +#define IFsrmActionReport_put_ReportTypes(This,reportTypes) \ + ( (This)->lpVtbl -> put_ReportTypes(This,reportTypes) ) + +#define IFsrmActionReport_get_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_MailTo(This,mailTo) ) + +#define IFsrmActionReport_put_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_MailTo(This,mailTo) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmActionReport_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmActionEventLog_INTERFACE_DEFINED__ +#define __IFsrmActionEventLog_INTERFACE_DEFINED__ + +/* interface IFsrmActionEventLog */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmActionEventLog; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4c8f96c3-5d94-4f37-a4f4-f56ab463546f") + IFsrmActionEventLog : public IFsrmAction + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventType( + /* [retval][out] */ __RPC__out FsrmEventType *eventType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventType( + /* [in] */ FsrmEventType eventType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MessageText( + /* [retval][out] */ __RPC__deref_out_opt BSTR *messageText) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MessageText( + /* [in] */ __RPC__in BSTR messageText) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmActionEventLogVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmActionEventLog * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmActionEventLog * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmActionEventLog * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmActionEventLog * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmActionEventLog * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmActionEventLog * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmActionEventLog * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAction, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmActionEventLog * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmAction, get_ActionType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionType )( + __RPC__in IFsrmActionEventLog * This, + /* [retval][out] */ __RPC__out FsrmActionType *actionType); + + DECLSPEC_XFGVIRT(IFsrmAction, get_RunLimitInterval) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunLimitInterval )( + __RPC__in IFsrmActionEventLog * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, put_RunLimitInterval) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RunLimitInterval )( + __RPC__in IFsrmActionEventLog * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmActionEventLog * This); + + DECLSPEC_XFGVIRT(IFsrmActionEventLog, get_EventType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventType )( + __RPC__in IFsrmActionEventLog * This, + /* [retval][out] */ __RPC__out FsrmEventType *eventType); + + DECLSPEC_XFGVIRT(IFsrmActionEventLog, put_EventType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventType )( + __RPC__in IFsrmActionEventLog * This, + /* [in] */ FsrmEventType eventType); + + DECLSPEC_XFGVIRT(IFsrmActionEventLog, get_MessageText) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageText )( + __RPC__in IFsrmActionEventLog * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *messageText); + + DECLSPEC_XFGVIRT(IFsrmActionEventLog, put_MessageText) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageText )( + __RPC__in IFsrmActionEventLog * This, + /* [in] */ __RPC__in BSTR messageText); + + END_INTERFACE + } IFsrmActionEventLogVtbl; + + interface IFsrmActionEventLog + { + CONST_VTBL struct IFsrmActionEventLogVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmActionEventLog_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmActionEventLog_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmActionEventLog_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmActionEventLog_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmActionEventLog_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmActionEventLog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmActionEventLog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmActionEventLog_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmActionEventLog_get_ActionType(This,actionType) \ + ( (This)->lpVtbl -> get_ActionType(This,actionType) ) + +#define IFsrmActionEventLog_get_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> get_RunLimitInterval(This,minutes) ) + +#define IFsrmActionEventLog_put_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> put_RunLimitInterval(This,minutes) ) + +#define IFsrmActionEventLog_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFsrmActionEventLog_get_EventType(This,eventType) \ + ( (This)->lpVtbl -> get_EventType(This,eventType) ) + +#define IFsrmActionEventLog_put_EventType(This,eventType) \ + ( (This)->lpVtbl -> put_EventType(This,eventType) ) + +#define IFsrmActionEventLog_get_MessageText(This,messageText) \ + ( (This)->lpVtbl -> get_MessageText(This,messageText) ) + +#define IFsrmActionEventLog_put_MessageText(This,messageText) \ + ( (This)->lpVtbl -> put_MessageText(This,messageText) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmActionEventLog_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmActionCommand_INTERFACE_DEFINED__ +#define __IFsrmActionCommand_INTERFACE_DEFINED__ + +/* interface IFsrmActionCommand */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmActionCommand; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("12937789-e247-4917-9c20-f3ee9c7ee783") + IFsrmActionCommand : public IFsrmAction + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExecutablePath( + /* [retval][out] */ __RPC__deref_out_opt BSTR *executablePath) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ExecutablePath( + /* [in] */ __RPC__in BSTR executablePath) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Arguments( + /* [retval][out] */ __RPC__deref_out_opt BSTR *arguments) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Arguments( + /* [in] */ __RPC__in BSTR arguments) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Account( + /* [retval][out] */ __RPC__out FsrmAccountType *account) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Account( + /* [in] */ FsrmAccountType account) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WorkingDirectory( + /* [retval][out] */ __RPC__deref_out_opt BSTR *workingDirectory) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_WorkingDirectory( + /* [in] */ __RPC__in BSTR workingDirectory) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MonitorCommand( + /* [retval][out] */ __RPC__out VARIANT_BOOL *monitorCommand) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MonitorCommand( + /* [in] */ VARIANT_BOOL monitorCommand) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_KillTimeOut( + /* [retval][out] */ __RPC__out long *minutes) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_KillTimeOut( + /* [in] */ long minutes) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LogResult( + /* [retval][out] */ __RPC__out VARIANT_BOOL *logResults) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LogResult( + /* [in] */ VARIANT_BOOL logResults) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmActionCommandVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmActionCommand * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmActionCommand * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmActionCommand * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmActionCommand * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAction, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmAction, get_ActionType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionType )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out FsrmActionType *actionType); + + DECLSPEC_XFGVIRT(IFsrmAction, get_RunLimitInterval) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunLimitInterval )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, put_RunLimitInterval) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RunLimitInterval )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmAction, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmActionCommand * This); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_ExecutablePath) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExecutablePath )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *executablePath); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_ExecutablePath) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ExecutablePath )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ __RPC__in BSTR executablePath); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_Arguments) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Arguments )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *arguments); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_Arguments) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Arguments )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ __RPC__in BSTR arguments); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_Account) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Account )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out FsrmAccountType *account); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_Account) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Account )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ FsrmAccountType account); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_WorkingDirectory) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WorkingDirectory )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *workingDirectory); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_WorkingDirectory) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_WorkingDirectory )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ __RPC__in BSTR workingDirectory); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_MonitorCommand) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MonitorCommand )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *monitorCommand); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_MonitorCommand) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MonitorCommand )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ VARIANT_BOOL monitorCommand); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_KillTimeOut) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_KillTimeOut )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out long *minutes); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_KillTimeOut) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_KillTimeOut )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ long minutes); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, get_LogResult) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LogResult )( + __RPC__in IFsrmActionCommand * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *logResults); + + DECLSPEC_XFGVIRT(IFsrmActionCommand, put_LogResult) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LogResult )( + __RPC__in IFsrmActionCommand * This, + /* [in] */ VARIANT_BOOL logResults); + + END_INTERFACE + } IFsrmActionCommandVtbl; + + interface IFsrmActionCommand + { + CONST_VTBL struct IFsrmActionCommandVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmActionCommand_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmActionCommand_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmActionCommand_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmActionCommand_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmActionCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmActionCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmActionCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmActionCommand_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmActionCommand_get_ActionType(This,actionType) \ + ( (This)->lpVtbl -> get_ActionType(This,actionType) ) + +#define IFsrmActionCommand_get_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> get_RunLimitInterval(This,minutes) ) + +#define IFsrmActionCommand_put_RunLimitInterval(This,minutes) \ + ( (This)->lpVtbl -> put_RunLimitInterval(This,minutes) ) + +#define IFsrmActionCommand_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFsrmActionCommand_get_ExecutablePath(This,executablePath) \ + ( (This)->lpVtbl -> get_ExecutablePath(This,executablePath) ) + +#define IFsrmActionCommand_put_ExecutablePath(This,executablePath) \ + ( (This)->lpVtbl -> put_ExecutablePath(This,executablePath) ) + +#define IFsrmActionCommand_get_Arguments(This,arguments) \ + ( (This)->lpVtbl -> get_Arguments(This,arguments) ) + +#define IFsrmActionCommand_put_Arguments(This,arguments) \ + ( (This)->lpVtbl -> put_Arguments(This,arguments) ) + +#define IFsrmActionCommand_get_Account(This,account) \ + ( (This)->lpVtbl -> get_Account(This,account) ) + +#define IFsrmActionCommand_put_Account(This,account) \ + ( (This)->lpVtbl -> put_Account(This,account) ) + +#define IFsrmActionCommand_get_WorkingDirectory(This,workingDirectory) \ + ( (This)->lpVtbl -> get_WorkingDirectory(This,workingDirectory) ) + +#define IFsrmActionCommand_put_WorkingDirectory(This,workingDirectory) \ + ( (This)->lpVtbl -> put_WorkingDirectory(This,workingDirectory) ) + +#define IFsrmActionCommand_get_MonitorCommand(This,monitorCommand) \ + ( (This)->lpVtbl -> get_MonitorCommand(This,monitorCommand) ) + +#define IFsrmActionCommand_put_MonitorCommand(This,monitorCommand) \ + ( (This)->lpVtbl -> put_MonitorCommand(This,monitorCommand) ) + +#define IFsrmActionCommand_get_KillTimeOut(This,minutes) \ + ( (This)->lpVtbl -> get_KillTimeOut(This,minutes) ) + +#define IFsrmActionCommand_put_KillTimeOut(This,minutes) \ + ( (This)->lpVtbl -> put_KillTimeOut(This,minutes) ) + +#define IFsrmActionCommand_get_LogResult(This,logResults) \ + ( (This)->lpVtbl -> get_LogResult(This,logResults) ) + +#define IFsrmActionCommand_put_LogResult(This,logResults) \ + ( (This)->lpVtbl -> put_LogResult(This,logResults) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmActionCommand_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmSetting_INTERFACE_DEFINED__ +#define __IFsrmSetting_INTERFACE_DEFINED__ + +/* interface IFsrmSetting */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmSetting; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f411d4fd-14be-4260-8c40-03b7c95e608a") + IFsrmSetting : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SmtpServer( + /* [retval][out] */ __RPC__deref_out_opt BSTR *smtpServer) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SmtpServer( + /* [in] */ __RPC__in BSTR smtpServer) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailFrom( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailFrom) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailFrom( + /* [in] */ __RPC__in BSTR mailFrom) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AdminEmail( + /* [retval][out] */ __RPC__deref_out_opt BSTR *adminEmail) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AdminEmail( + /* [in] */ __RPC__in BSTR adminEmail) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisableCommandLine( + /* [retval][out] */ __RPC__out VARIANT_BOOL *disableCommandLine) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DisableCommandLine( + /* [in] */ VARIANT_BOOL disableCommandLine) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnableScreeningAudit( + /* [retval][out] */ __RPC__out VARIANT_BOOL *enableScreeningAudit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EnableScreeningAudit( + /* [in] */ VARIANT_BOOL enableScreeningAudit) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EmailTest( + /* [in] */ __RPC__in BSTR mailTo) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetActionRunLimitInterval( + /* [in] */ FsrmActionType actionType, + /* [in] */ long delayTimeMinutes) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetActionRunLimitInterval( + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__out long *delayTimeMinutes) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmSettingVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmSetting * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmSetting * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmSetting * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmSetting * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmSetting * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmSetting * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmSetting * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmSetting, get_SmtpServer) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SmtpServer )( + __RPC__in IFsrmSetting * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *smtpServer); + + DECLSPEC_XFGVIRT(IFsrmSetting, put_SmtpServer) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SmtpServer )( + __RPC__in IFsrmSetting * This, + /* [in] */ __RPC__in BSTR smtpServer); + + DECLSPEC_XFGVIRT(IFsrmSetting, get_MailFrom) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailFrom )( + __RPC__in IFsrmSetting * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailFrom); + + DECLSPEC_XFGVIRT(IFsrmSetting, put_MailFrom) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailFrom )( + __RPC__in IFsrmSetting * This, + /* [in] */ __RPC__in BSTR mailFrom); + + DECLSPEC_XFGVIRT(IFsrmSetting, get_AdminEmail) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AdminEmail )( + __RPC__in IFsrmSetting * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *adminEmail); + + DECLSPEC_XFGVIRT(IFsrmSetting, put_AdminEmail) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AdminEmail )( + __RPC__in IFsrmSetting * This, + /* [in] */ __RPC__in BSTR adminEmail); + + DECLSPEC_XFGVIRT(IFsrmSetting, get_DisableCommandLine) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisableCommandLine )( + __RPC__in IFsrmSetting * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *disableCommandLine); + + DECLSPEC_XFGVIRT(IFsrmSetting, put_DisableCommandLine) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DisableCommandLine )( + __RPC__in IFsrmSetting * This, + /* [in] */ VARIANT_BOOL disableCommandLine); + + DECLSPEC_XFGVIRT(IFsrmSetting, get_EnableScreeningAudit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnableScreeningAudit )( + __RPC__in IFsrmSetting * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *enableScreeningAudit); + + DECLSPEC_XFGVIRT(IFsrmSetting, put_EnableScreeningAudit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EnableScreeningAudit )( + __RPC__in IFsrmSetting * This, + /* [in] */ VARIANT_BOOL enableScreeningAudit); + + DECLSPEC_XFGVIRT(IFsrmSetting, EmailTest) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EmailTest )( + __RPC__in IFsrmSetting * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmSetting, SetActionRunLimitInterval) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetActionRunLimitInterval )( + __RPC__in IFsrmSetting * This, + /* [in] */ FsrmActionType actionType, + /* [in] */ long delayTimeMinutes); + + DECLSPEC_XFGVIRT(IFsrmSetting, GetActionRunLimitInterval) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetActionRunLimitInterval )( + __RPC__in IFsrmSetting * This, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__out long *delayTimeMinutes); + + END_INTERFACE + } IFsrmSettingVtbl; + + interface IFsrmSetting + { + CONST_VTBL struct IFsrmSettingVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmSetting_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmSetting_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmSetting_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmSetting_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmSetting_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmSetting_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmSetting_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmSetting_get_SmtpServer(This,smtpServer) \ + ( (This)->lpVtbl -> get_SmtpServer(This,smtpServer) ) + +#define IFsrmSetting_put_SmtpServer(This,smtpServer) \ + ( (This)->lpVtbl -> put_SmtpServer(This,smtpServer) ) + +#define IFsrmSetting_get_MailFrom(This,mailFrom) \ + ( (This)->lpVtbl -> get_MailFrom(This,mailFrom) ) + +#define IFsrmSetting_put_MailFrom(This,mailFrom) \ + ( (This)->lpVtbl -> put_MailFrom(This,mailFrom) ) + +#define IFsrmSetting_get_AdminEmail(This,adminEmail) \ + ( (This)->lpVtbl -> get_AdminEmail(This,adminEmail) ) + +#define IFsrmSetting_put_AdminEmail(This,adminEmail) \ + ( (This)->lpVtbl -> put_AdminEmail(This,adminEmail) ) + +#define IFsrmSetting_get_DisableCommandLine(This,disableCommandLine) \ + ( (This)->lpVtbl -> get_DisableCommandLine(This,disableCommandLine) ) + +#define IFsrmSetting_put_DisableCommandLine(This,disableCommandLine) \ + ( (This)->lpVtbl -> put_DisableCommandLine(This,disableCommandLine) ) + +#define IFsrmSetting_get_EnableScreeningAudit(This,enableScreeningAudit) \ + ( (This)->lpVtbl -> get_EnableScreeningAudit(This,enableScreeningAudit) ) + +#define IFsrmSetting_put_EnableScreeningAudit(This,enableScreeningAudit) \ + ( (This)->lpVtbl -> put_EnableScreeningAudit(This,enableScreeningAudit) ) + +#define IFsrmSetting_EmailTest(This,mailTo) \ + ( (This)->lpVtbl -> EmailTest(This,mailTo) ) + +#define IFsrmSetting_SetActionRunLimitInterval(This,actionType,delayTimeMinutes) \ + ( (This)->lpVtbl -> SetActionRunLimitInterval(This,actionType,delayTimeMinutes) ) + +#define IFsrmSetting_GetActionRunLimitInterval(This,actionType,delayTimeMinutes) \ + ( (This)->lpVtbl -> GetActionRunLimitInterval(This,actionType,delayTimeMinutes) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmSetting_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPathMapper_INTERFACE_DEFINED__ +#define __IFsrmPathMapper_INTERFACE_DEFINED__ + +/* interface IFsrmPathMapper */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPathMapper; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6f4dbfff-6920-4821-a6c3-b7e94c1fd60c") + IFsrmPathMapper : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSharePathsForLocalPath( + /* [in] */ __RPC__in BSTR localPath, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *sharePaths) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPathMapperVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPathMapper * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPathMapper * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPathMapper * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPathMapper * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPathMapper * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPathMapper * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPathMapper * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPathMapper, GetSharePathsForLocalPath) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSharePathsForLocalPath )( + __RPC__in IFsrmPathMapper * This, + /* [in] */ __RPC__in BSTR localPath, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *sharePaths); + + END_INTERFACE + } IFsrmPathMapperVtbl; + + interface IFsrmPathMapper + { + CONST_VTBL struct IFsrmPathMapperVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPathMapper_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPathMapper_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPathMapper_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPathMapper_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPathMapper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPathMapper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPathMapper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPathMapper_GetSharePathsForLocalPath(This,localPath,sharePaths) \ + ( (This)->lpVtbl -> GetSharePathsForLocalPath(This,localPath,sharePaths) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPathMapper_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmExportImport_INTERFACE_DEFINED__ +#define __IFsrmExportImport_INTERFACE_DEFINED__ + +/* interface IFsrmExportImport */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmExportImport; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("efcb0ab1-16c4-4a79-812c-725614c3306b") + IFsrmExportImport : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportFileGroups( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesSafeArray = 0, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost = (BSTR)L"") = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportFileGroups( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileGroups) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportFileScreenTemplates( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray = 0, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost = (BSTR)L"") = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportFileScreenTemplates( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **templates) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportQuotaTemplates( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray = 0, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost = (BSTR)L"") = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportQuotaTemplates( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **templates) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmExportImportVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmExportImport * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmExportImport * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmExportImport * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmExportImport * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmExportImport * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmExportImport, ExportFileGroups) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportFileGroups )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost); + + DECLSPEC_XFGVIRT(IFsrmExportImport, ImportFileGroups) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportFileGroups )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileGroups); + + DECLSPEC_XFGVIRT(IFsrmExportImport, ExportFileScreenTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportFileScreenTemplates )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost); + + DECLSPEC_XFGVIRT(IFsrmExportImport, ImportFileScreenTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportFileScreenTemplates )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **templates); + + DECLSPEC_XFGVIRT(IFsrmExportImport, ExportQuotaTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportQuotaTemplates )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost); + + DECLSPEC_XFGVIRT(IFsrmExportImport, ImportQuotaTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportQuotaTemplates )( + __RPC__in IFsrmExportImport * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ __RPC__in VARIANT *templateNamesSafeArray, + /* [defaultvalue][in] */ __RPC__in BSTR remoteHost, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **templates); + + END_INTERFACE + } IFsrmExportImportVtbl; + + interface IFsrmExportImport + { + CONST_VTBL struct IFsrmExportImportVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmExportImport_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmExportImport_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmExportImport_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmExportImport_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmExportImport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmExportImport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmExportImport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmExportImport_ExportFileGroups(This,filePath,fileGroupNamesSafeArray,remoteHost) \ + ( (This)->lpVtbl -> ExportFileGroups(This,filePath,fileGroupNamesSafeArray,remoteHost) ) + +#define IFsrmExportImport_ImportFileGroups(This,filePath,fileGroupNamesSafeArray,remoteHost,fileGroups) \ + ( (This)->lpVtbl -> ImportFileGroups(This,filePath,fileGroupNamesSafeArray,remoteHost,fileGroups) ) + +#define IFsrmExportImport_ExportFileScreenTemplates(This,filePath,templateNamesSafeArray,remoteHost) \ + ( (This)->lpVtbl -> ExportFileScreenTemplates(This,filePath,templateNamesSafeArray,remoteHost) ) + +#define IFsrmExportImport_ImportFileScreenTemplates(This,filePath,templateNamesSafeArray,remoteHost,templates) \ + ( (This)->lpVtbl -> ImportFileScreenTemplates(This,filePath,templateNamesSafeArray,remoteHost,templates) ) + +#define IFsrmExportImport_ExportQuotaTemplates(This,filePath,templateNamesSafeArray,remoteHost) \ + ( (This)->lpVtbl -> ExportQuotaTemplates(This,filePath,templateNamesSafeArray,remoteHost) ) + +#define IFsrmExportImport_ImportQuotaTemplates(This,filePath,templateNamesSafeArray,remoteHost,templates) \ + ( (This)->lpVtbl -> ImportQuotaTemplates(This,filePath,templateNamesSafeArray,remoteHost,templates) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmExportImport_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmDerivedObjectsResult_INTERFACE_DEFINED__ +#define __IFsrmDerivedObjectsResult_INTERFACE_DEFINED__ + +/* interface IFsrmDerivedObjectsResult */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmDerivedObjectsResult; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("39322a2d-38ee-4d0d-8095-421a80849a82") + IFsrmDerivedObjectsResult : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DerivedObjects( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **derivedObjects) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Results( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **results) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmDerivedObjectsResultVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmDerivedObjectsResult * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmDerivedObjectsResult * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmDerivedObjectsResult * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmDerivedObjectsResult * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmDerivedObjectsResult * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmDerivedObjectsResult * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmDerivedObjectsResult * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmDerivedObjectsResult, get_DerivedObjects) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DerivedObjects )( + __RPC__in IFsrmDerivedObjectsResult * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **derivedObjects); + + DECLSPEC_XFGVIRT(IFsrmDerivedObjectsResult, get_Results) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Results )( + __RPC__in IFsrmDerivedObjectsResult * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **results); + + END_INTERFACE + } IFsrmDerivedObjectsResultVtbl; + + interface IFsrmDerivedObjectsResult + { + CONST_VTBL struct IFsrmDerivedObjectsResultVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmDerivedObjectsResult_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmDerivedObjectsResult_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmDerivedObjectsResult_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmDerivedObjectsResult_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmDerivedObjectsResult_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmDerivedObjectsResult_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmDerivedObjectsResult_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmDerivedObjectsResult_get_DerivedObjects(This,derivedObjects) \ + ( (This)->lpVtbl -> get_DerivedObjects(This,derivedObjects) ) + +#define IFsrmDerivedObjectsResult_get_Results(This,results) \ + ( (This)->lpVtbl -> get_Results(This,results) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmDerivedObjectsResult_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmAccessDeniedRemediationClient_INTERFACE_DEFINED__ +#define __IFsrmAccessDeniedRemediationClient_INTERFACE_DEFINED__ + +/* interface IFsrmAccessDeniedRemediationClient */ +/* [unique][helpstring][oleautomation][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmAccessDeniedRemediationClient; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("40002314-590B-45A5-8E1B-8C05DA527E52") + IFsrmAccessDeniedRemediationClient : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Show( + /* [in] */ ULONG_PTR parentWnd, + /* [in] */ __RPC__in BSTR accessPath, + /* [in] */ AdrClientErrorType errorType, + /* [in] */ long flags, + /* [defaultvalue][in] */ __RPC__in BSTR windowTitle, + /* [defaultvalue][in] */ __RPC__in BSTR windowMessage, + /* [retval][out] */ __RPC__out long *result) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmAccessDeniedRemediationClientVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmAccessDeniedRemediationClient * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmAccessDeniedRemediationClient * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmAccessDeniedRemediationClient * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmAccessDeniedRemediationClient * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmAccessDeniedRemediationClient * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmAccessDeniedRemediationClient * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmAccessDeniedRemediationClient * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmAccessDeniedRemediationClient, Show) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Show )( + __RPC__in IFsrmAccessDeniedRemediationClient * This, + /* [in] */ ULONG_PTR parentWnd, + /* [in] */ __RPC__in BSTR accessPath, + /* [in] */ AdrClientErrorType errorType, + /* [in] */ long flags, + /* [defaultvalue][in] */ __RPC__in BSTR windowTitle, + /* [defaultvalue][in] */ __RPC__in BSTR windowMessage, + /* [retval][out] */ __RPC__out long *result); + + END_INTERFACE + } IFsrmAccessDeniedRemediationClientVtbl; + + interface IFsrmAccessDeniedRemediationClient + { + CONST_VTBL struct IFsrmAccessDeniedRemediationClientVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmAccessDeniedRemediationClient_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmAccessDeniedRemediationClient_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmAccessDeniedRemediationClient_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmAccessDeniedRemediationClient_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmAccessDeniedRemediationClient_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmAccessDeniedRemediationClient_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmAccessDeniedRemediationClient_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmAccessDeniedRemediationClient_Show(This,parentWnd,accessPath,errorType,flags,windowTitle,windowMessage,result) \ + ( (This)->lpVtbl -> Show(This,parentWnd,accessPath,errorType,flags,windowTitle,windowMessage,result) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmAccessDeniedRemediationClient_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_fsrm_0000_0015 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrm_0000_0015_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrm_0000_0015_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrm.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrm.idl new file mode 100644 index 0000000000000000000000000000000000000000..0406d56ce77dbce37ed26061fe279de16e199e48 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrm.idl @@ -0,0 +1,690 @@ +////////////////////////////////////// +// Imports +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; + +import "fsrmenums.idl"; + + +////////////////////////////////////// +// Forward declarations +// + +interface IFsrmObject; + +interface IFsrmCollection; +interface IFsrmMutableCollection; +interface IFsrmCommittableCollection; + +interface IFsrmAction; +interface IFsrmActionEmail; +interface IFsrmActionReport; +interface IFsrmActionEventLog; +interface IFsrmActionCommand; + +interface IFsrmSetting; + +interface IFsrmPathMapper; + +interface IFsrmExportImport; + + +////////////////////////////////////// +// Dispatch IDs +// + +// +// Dispatch ID bit pattern: +// 3 2 1 0 +// 10987654321098765432109876543210 +// RRRRFFFFIIIIIIIIIIIIIIIIMMMMMMMM +// +// R = Reserved / Not Used (4 bits) +// F = Feature (4 bits) +// I = Interface (16 bits) +// M = Method (8 bits) +// +// Interface bits are divided into four 4-bit sections: +// 3 2 1 0 +// 10987654321098765432109876543210 +// AAAABBBBCCCCDDDD +// +// A = Base interface +// B = Derived interface of A +// C = Derived interface of B +// D = Derived interface of C +// +// If a derived interface is meant to extend a previous interface (e.g., +// IFsrmActionEmail2 from IFsrmActionEmail) rather than be a subtype of an +// interface, then its dispatch ID base may use the same section (B, C, or D) +// as that of the interface it is derived from. +// +// Method bits can indicate certain attributes of the method: +// 3 2 1 0 +// 10987654321098765432109876543210 +// PNNNNNNN +// +// P = Is method a property accessor? +// N = Method number +// + +// Bitmasks of FSRM-defined DISPID fields +const DISPID FSRM_DISPID_FEATURE_MASK = 0x0F000000; + +const DISPID FSRM_DISPID_INTERFACE_A_MASK = 0x00F00000; +const DISPID FSRM_DISPID_INTERFACE_B_MASK = 0x000F0000; +const DISPID FSRM_DISPID_INTERFACE_C_MASK = 0x0000F000; +const DISPID FSRM_DISPID_INTERFACE_D_MASK = 0x00000F00; +const DISPID FSRM_DISPID_INTERFACE_MASK = FSRM_DISPID_INTERFACE_A_MASK | + FSRM_DISPID_INTERFACE_B_MASK | + FSRM_DISPID_INTERFACE_C_MASK | + FSRM_DISPID_INTERFACE_D_MASK; + +const DISPID FSRM_DISPID_IS_PROPERTY = 0x00000080; +const DISPID FSRM_DISPID_METHOD_NUM_MASK = 0x0000007F; +const DISPID FSRM_DISPID_METHOD_MASK = FSRM_DISPID_IS_PROPERTY | + FSRM_DISPID_METHOD_NUM_MASK; + +#define FSRM_PROPERTY(x) x | FSRM_DISPID_IS_PROPERTY + +// Dispatch ID base of features +const DISPID FSRM_DISPID_FEATURE_GENERAL = 0x01000000; +const DISPID FSRM_DISPID_FEATURE_QUOTA = 0x02000000; +const DISPID FSRM_DISPID_FEATURE_FILESCREEN = 0x03000000; +const DISPID FSRM_DISPID_FEATURE_REPORTS = 0x04000000; +const DISPID FSRM_DISPID_FEATURE_CLASSIFICATION = 0x05000000; +const DISPID FSRM_DISPID_FEATURE_PIPELINE = 0x06000000; + +// Dispatch ID base of general interfaces +const DISPID FSRM_DISPID_OBJECT = FSRM_DISPID_FEATURE_GENERAL | 0x100000; + +const DISPID FSRM_DISPID_COLLECTION = FSRM_DISPID_FEATURE_GENERAL | 0x200000; +const DISPID FSRM_DISPID_COLLECTION_MUTABLE = FSRM_DISPID_COLLECTION | 0x010000; +const DISPID FSRM_DISPID_COLLECTION_COMMITTABLE = FSRM_DISPID_COLLECTION_MUTABLE | 0x001000; + +const DISPID FSRM_DISPID_ACTION = FSRM_DISPID_FEATURE_GENERAL | 0x300000; +const DISPID FSRM_DISPID_ACTION_EMAIL = FSRM_DISPID_ACTION | 0x010000; +const DISPID FSRM_DISPID_ACTION_REPORT = FSRM_DISPID_ACTION | 0x020000; +const DISPID FSRM_DISPID_ACTION_EVENTLOG = FSRM_DISPID_ACTION | 0x030000; +const DISPID FSRM_DISPID_ACTION_COMMAND = FSRM_DISPID_ACTION | 0x040000; +const DISPID FSRM_DISPID_ACTION_EMAIL2 = FSRM_DISPID_ACTION | 0x050000; + +const DISPID FSRM_DISPID_SETTING = FSRM_DISPID_FEATURE_GENERAL | 0x400000; + +const DISPID FSRM_DISPID_PATHMAPPER = FSRM_DISPID_FEATURE_GENERAL | 0x500000; + +const DISPID FSRM_DISPID_EXPORTIMPORT = FSRM_DISPID_FEATURE_GENERAL | 0x600000; + +const DISPID FSRM_DISPID_DERIVEDOBJECTSRESULT = FSRM_DISPID_FEATURE_GENERAL | 0x700000; + +const DISPID FSRM_DISPID_ADR = FSRM_DISPID_FEATURE_GENERAL | 0x800000; + + + +////////////////////////////////////// +// Interfaces +// + +[ + object, + uuid(22bcef93-4a3f-4183-89f9-2f8b8a628aee), + dual, + hidden, + nonextensible, + helpstring("IFsrmObject Interface"), + pointer_default(unique) +] +interface IFsrmObject : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_OBJECT | 0x01)), helpstring("This property is the globally unique identifier for the object")] + HRESULT Id([out, retval] FSRM_OBJECT_ID *id); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_OBJECT | 0x02)), helpstring("This property is the description of the object")] + HRESULT Description([out, retval] BSTR *description); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_OBJECT | 0x02)), helpstring("This property is the description of the object")] + HRESULT Description([in] BSTR description); + + + // Methods + + [id(FSRM_DISPID_OBJECT | 0x01), helpstring("This method is used to delete the object. Commit is required to finalize the delete.")] + HRESULT Delete(); + + [id(FSRM_DISPID_OBJECT | 0x02), helpstring("This method is used to commit the new, modified, or deleted object")] + HRESULT Commit(); + +}; + + +[ + object, + uuid(f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8), + dual, + hidden, + nonextensible, + helpstring("IFsrmCollection Interface"), + pointer_default(unique) +] +interface IFsrmCollection : IDispatch +{ + + // Properties + + [propget, id(DISPID_NEWENUM), helpstring("property _NewEnum"), restricted] + HRESULT _NewEnum([out, retval] IUnknown **unknown); + + + [propget, id(DISPID_VALUE), helpstring("This property is the accessor to collection entries by index")] + HRESULT Item( + [in] long index, + [out, retval] VARIANT *item); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_COLLECTION | 0x01)), helpstring("This property returns the number of entries in the collection. If the collection is still in the Fetching state, the returned value is the current count and can be expected to increase on a subsequent call.")] + HRESULT Count([out, retval] long *count); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_COLLECTION | 0x02)), helpstring("This property reveals the state of the collection; whether it is being retrieved, being committed, or complete (stable).")] + HRESULT State([out, retval] FsrmCollectionState *state); + + + // Methods + + [id(FSRM_DISPID_COLLECTION | 0x01), helpstring("This method will cause the current collection enumeration or commit operation, if any, to be cancelled.")] + HRESULT Cancel(); + + [id(FSRM_DISPID_COLLECTION | 0x02), helpstring("This method is used to wait for the specified period of time or until all objects in the collection are read and return whether or not the collection is complete")] + HRESULT WaitForCompletion( + [in] long waitSeconds, + [out, retval] VARIANT_BOOL *completed); + + [id(FSRM_DISPID_COLLECTION | 0x03), helpstring("This method returns from the collection the object at the entry at the specified index")] + HRESULT GetById( + [in] FSRM_OBJECT_ID id, + [out, retval] VARIANT *entry); + +}; + + +[ + object, + uuid(1bb617b8-3886-49dc-af82-a6c90fa35dda), + dual, + hidden, + nonextensible, + helpstring("IFsrmMutableCollection Interface"), + pointer_default(unique) +] +interface IFsrmMutableCollection : IFsrmCollection +{ + + // Methods + + [id(FSRM_DISPID_COLLECTION_MUTABLE | 0x01), helpstring("This method inserts into the collection")] + HRESULT Add([in] VARIANT item); + + [id(FSRM_DISPID_COLLECTION_MUTABLE | 0x02), helpstring("This method removes from the collection the entry at the specified index")] + HRESULT Remove([in] long index); + + [id(FSRM_DISPID_COLLECTION_MUTABLE | 0x03), helpstring("This method removes from the collection the entry with the specified ID")] + HRESULT RemoveById([in] FSRM_OBJECT_ID id); + + [id(FSRM_DISPID_COLLECTION_MUTABLE | 0x04), helpstring("This method creates a shallow copy of the collection. The method can be called only when the collection is in the Complete state.")] + HRESULT Clone([out, retval] IFsrmMutableCollection **collection); + +}; + + +[ + object, + uuid(96deb3b5-8b91-4a2a-9d93-80a35d8aa847), + dual, + hidden, + nonextensible, + helpstring("IFsrmCommittableCollection Interface"), + pointer_default(unique) +] +interface IFsrmCommittableCollection : IFsrmMutableCollection +{ + + // Methods + + [id(FSRM_DISPID_COLLECTION_COMMITTABLE | 0x01), helpstring("This method commits all the changes made to the object entries contained in the collection. All objects in the collection must be in a consistent state: all new, existing, or marked for deletion. The return value is a collection of HRESULT values.")] + HRESULT Commit( + [in] FsrmCommitOptions options, + [out, retval] IFsrmCollection **results); + +}; + + +[ + object, + uuid(6cd6408a-ae60-463b-9ef1-e117534d69dc), + dual, + helpstring("IFsrmAction Interface"), + pointer_default(unique) +] +interface IFsrmAction : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x01)), helpstring("This property returns a globally unique identifier for the object")] + HRESULT Id([out, retval] FSRM_OBJECT_ID *id); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x02)), helpstring("This property returns the type of the notification")] + HRESULT ActionType([out, retval] FsrmActionType *actionType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x03)), helpstring("property RunLimitInterval")] + HRESULT RunLimitInterval([out, retval] long *minutes); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x03)), helpstring("property RunLimitInterval")] + HRESULT RunLimitInterval([in] long minutes); + + + // Methods + + [id(FSRM_DISPID_ACTION | 0x01), helpstring("This method removes the action.")] + HRESULT Delete(); + +}; + + +[ + object, + uuid(d646567d-26ae-4caa-9f84-4e0aad207fca), + dual, + helpstring("IFsrmActionEmail Interface"), + pointer_default(unique) +] +interface IFsrmActionEmail : IFsrmAction +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x01)), helpstring("property MailFrom")] + HRESULT MailFrom([out, retval] BSTR *mailFrom); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x01)), helpstring("property MailFrom")] + HRESULT MailFrom([in] BSTR mailFrom); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x02)), helpstring("property MailReplyTo")] + HRESULT MailReplyTo([out, retval] BSTR *mailReplyTo); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x02)), helpstring("property MailReplyTo")] + HRESULT MailReplyTo([in] BSTR mailReplyTo); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x03)), helpstring("property MailTo")] + HRESULT MailTo([out, retval] BSTR *mailTo); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x03)), helpstring("property MailTo")] + HRESULT MailTo([in] BSTR mailTo); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x04)), helpstring("property MailCc")] + HRESULT MailCc([out, retval] BSTR *mailCc); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x04)), helpstring("property MailCc")] + HRESULT MailCc([in] BSTR mailCc); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x05)), helpstring("property MailBcc")] + HRESULT MailBcc([out, retval] BSTR *mailBcc); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x05)), helpstring("property MailBcc")] + HRESULT MailBcc([in] BSTR mailBcc); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x06)), helpstring("property MailSubject")] + HRESULT MailSubject([out, retval] BSTR *mailSubject); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x06)), helpstring("property MailSubject")] + HRESULT MailSubject([in] BSTR mailSubject); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x07)), helpstring("property MessageText")] + HRESULT MessageText([out, retval] BSTR *messageText); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x07)), helpstring("property MessageText")] + HRESULT MessageText([in] BSTR messageText); + +}; + + +[ + object, + uuid(8276702f-2532-4839-89bf-4872609a2ea4), + dual, + helpstring("IFsrmActionEmail2 Interface"), + pointer_default(unique) +] +interface IFsrmActionEmail2 : IFsrmActionEmail +{ + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL2 | 0x01)), helpstring("property AttachmentFileListSize")] + HRESULT AttachmentFileListSize([out, retval] long *attachmentFileListSize); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL2 | 0x01)), helpstring("property AttachmentFileListSize")] + HRESULT AttachmentFileListSize([in] long attachmentFileListSize); +}; + + +[ + object, + uuid(2dbe63c4-b340-48a0-a5b0-158e07fc567e), + dual, + helpstring("IFsrmActionReport Interface"), + pointer_default(unique) +] +interface IFsrmActionReport : IFsrmAction +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_REPORT | 0x01)), helpstring("property ReportType")] + HRESULT ReportTypes([out, retval] SAFEARRAY(VARIANT) *reportTypes); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_REPORT | 0x01)), helpstring("property ReportType ")] + HRESULT ReportTypes([in] SAFEARRAY(VARIANT) reportTypes); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_REPORT | 0x02)), helpstring("property MailTo")] + HRESULT MailTo([out, retval] BSTR *mailTo); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_REPORT | 0x02)), helpstring("property MailTo")] + HRESULT MailTo([in] BSTR mailTo); + +}; + + +[ + object, + uuid(4c8f96c3-5d94-4f37-a4f4-f56ab463546f), + dual, + helpstring("IFsrmActionEventLog Interface"), + pointer_default(unique) +] +interface IFsrmActionEventLog : IFsrmAction +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EVENTLOG | 0x01)), helpstring("property EventlogLevel")] + HRESULT EventType([out, retval] FsrmEventType *eventType); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EVENTLOG | 0x01)), helpstring("property EventlogLevel")] + HRESULT EventType([in] FsrmEventType eventType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EVENTLOG | 0x02)), helpstring("property MessageText")] + HRESULT MessageText([out, retval] BSTR *messageText); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EVENTLOG | 0x02)), helpstring("property MessageText")] + HRESULT MessageText([in] BSTR messageText); + +}; + + +[ + object, + uuid(12937789-e247-4917-9c20-f3ee9c7ee783), + dual, + helpstring("IFsrmActionCommand Interface"), + pointer_default(unique) +] +interface IFsrmActionCommand : IFsrmAction +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x01)), helpstring("property ExecutablePath")] + HRESULT ExecutablePath([out, retval] BSTR *executablePath); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x01)), helpstring("property ExecutablePath")] + HRESULT ExecutablePath([in] BSTR executablePath); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x02)), helpstring("property Arguments")] + HRESULT Arguments([out, retval] BSTR *arguments); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x02)), helpstring("property Arguments")] + HRESULT Arguments([in] BSTR arguments); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x03)), helpstring("property Account")] + HRESULT Account([out, retval] FsrmAccountType *account); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x03)), helpstring("property Account")] + HRESULT Account([in] FsrmAccountType account); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x04)), helpstring("property WorkingDirectory")] + HRESULT WorkingDirectory([out, retval] BSTR *workingDirectory); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x04)), helpstring("property WorkingDirectory")] + HRESULT WorkingDirectory([in] BSTR workingDirectory); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x05)), helpstring("property MonitorCommand")] + HRESULT MonitorCommand([out, retval] VARIANT_BOOL *monitorCommand); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x05)), helpstring("property MonitorCommand")] + HRESULT MonitorCommand([in] VARIANT_BOOL monitorCommand); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x06)), helpstring("property KillTimeOut")] + HRESULT KillTimeOut([out, retval] long *minutes); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x06)), helpstring("property KillTimeOut")] + HRESULT KillTimeOut([in] long minutes); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x07)), helpstring("property LogResult")] + HRESULT LogResult([out, retval] VARIANT_BOOL *logResults); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x07)), helpstring("property LogResult")] + HRESULT LogResult([in] VARIANT_BOOL logResults); + +}; + + +[ + object, + uuid(f411d4fd-14be-4260-8c40-03b7c95e608a), + dual, + helpstring("IFsrmSetting Interface"), + pointer_default(unique) +] +interface IFsrmSetting : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x01)), helpstring("This property is the name of the SMTP server")] + HRESULT SmtpServer([out,retval] BSTR *smtpServer); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x01)), helpstring("This property is the name of the SMTP server")] + HRESULT SmtpServer([in] BSTR smtpServer); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x02)), helpstring("This property is the default FROM field for e-mail")] + HRESULT MailFrom([out,retval] BSTR *mailFrom); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x02)), helpstring("This property is the default FROM field for e-mail")] + HRESULT MailFrom([in] BSTR mailFrom); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x03)), helpstring("This property is the default administrators e-mail recipient list")] + HRESULT AdminEmail([out,retval] BSTR *adminEmail); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x03)), helpstring("This property is the default administrators e-mail recipient list")] + HRESULT AdminEmail([in] BSTR adminEmail); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x04)), helpstring("property DisableCommandLine")] + HRESULT DisableCommandLine([out,retval] VARIANT_BOOL *disableCommandLine); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x04)), helpstring("property DisableCommandLine")] + HRESULT DisableCommandLine([in] VARIANT_BOOL disableCommandLine); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x05)), helpstring("property EnableScreeningAudit")] + HRESULT EnableScreeningAudit([out,retval] VARIANT_BOOL *enableScreeningAudit); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x05)), helpstring("property EnableScreeningAudit")] + HRESULT EnableScreeningAudit([in] VARIANT_BOOL enableScreeningAudit); + + + // Methods + + [id(FSRM_DISPID_SETTING | 0x01), helpstring("This method is used to test the email settings.")] + HRESULT EmailTest([in] BSTR mailTo); + + [id(FSRM_DISPID_SETTING | 0x02), helpstring("This method is to set the default throttling delay between quota and screening notifications of the same type.")] + HRESULT SetActionRunLimitInterval( + [in] FsrmActionType actionType, + [in] long delayTimeMinutes); + + [id(FSRM_DISPID_SETTING | 0x03), helpstring("This method is to get the default throttling delay between quota and screening notifications of the same type.")] + HRESULT GetActionRunLimitInterval( + [in] FsrmActionType actionType, + [out, retval] long *delayTimeMinutes); + +}; + + +[ + object, + uuid(6f4dbfff-6920-4821-a6c3-b7e94c1fd60c), + dual, + helpstring("IFsrmPathMapper Interface"), + pointer_default(unique) +] +interface IFsrmPathMapper : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_PATHMAPPER | 0x01), helpstring("This method is used to get an array of DFS and share paths pointing to a given local path")] + HRESULT GetSharePathsForLocalPath( + [in] BSTR localPath, + [out, retval] SAFEARRAY(VARIANT) *sharePaths); + +}; + + +[ + object, + uuid(efcb0ab1-16c4-4a79-812c-725614c3306b), + dual, + helpstring("IFsrmImportExport Interface"), + pointer_default(unique) +] +interface IFsrmExportImport : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_EXPORTIMPORT | 0x01), helpstring("This method is used to export file groups to a file.")] + HRESULT ExportFileGroups( + [in] BSTR filePath, + [in, defaultvalue(NULL)] VARIANT* fileGroupNamesSafeArray, + [in, defaultvalue(L"")] BSTR remoteHost); + + [id(FSRM_DISPID_EXPORTIMPORT | 0x02), helpstring("This method is used to import file groups from a file. The resulting collection, or individual objects contain therein, must be committed to finalize the import")] + HRESULT ImportFileGroups( + [in] BSTR filePath, + [in, defaultvalue(NULL)] VARIANT* fileGroupNamesSafeArray, + [in, defaultvalue(L"")] BSTR remoteHost, + [out, retval] IFsrmCommittableCollection **fileGroups); + + [id(FSRM_DISPID_EXPORTIMPORT | 0x03), helpstring("This method is used to export file screen templates to a file")] + HRESULT ExportFileScreenTemplates( + [in] BSTR filePath, + [in, defaultvalue(NULL)] VARIANT* templateNamesSafeArray, + [in, defaultvalue(L"")] BSTR remoteHost); + + [id(FSRM_DISPID_EXPORTIMPORT | 0x04), helpstring("This method is used to import file screen templates from a file. The resulting collection, or individual objects contain therein, must be committed to finalize the import")] + HRESULT ImportFileScreenTemplates( + [in] BSTR filePath, + [in, defaultvalue(NULL)] VARIANT* templateNamesSafeArray, + [in, defaultvalue(L"")] BSTR remoteHost, + [out, retval] IFsrmCommittableCollection **templates); + + [id(FSRM_DISPID_EXPORTIMPORT | 0x05), helpstring("This method is used to export quota templates to a file")] + HRESULT ExportQuotaTemplates( + [in] BSTR filePath, + [in, defaultvalue(NULL)] VARIANT* templateNamesSafeArray, + [in, defaultvalue(L"")] BSTR remoteHost); + + [id(FSRM_DISPID_EXPORTIMPORT | 0x06), helpstring("This method is used to import quota templates from a file. The resulting collection, or individual objects contain therein, must be committed to finalize the import")] + HRESULT ImportQuotaTemplates( + [in] BSTR filePath, + [in, defaultvalue(NULL)] VARIANT* templateNamesSafeArray, + [in, defaultvalue(L"")] BSTR remoteHost, + [out, retval] IFsrmCommittableCollection **templates); +}; + + +[ + object, + uuid(39322a2d-38ee-4d0d-8095-421a80849a82), + dual, + helpstring("IFsrmDerivedObjectsResult Interface"), + pointer_default(unique) +] +interface IFsrmDerivedObjectsResult : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_DERIVEDOBJECTSRESULT | 0x01)), helpstring("This read-only property is the collection of derived objects that were updated")] + HRESULT DerivedObjects([out, retval] IFsrmCollection **derivedObjects); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_DERIVEDOBJECTSRESULT | 0x02)), helpstring("This read-only property is the collection of results from committing the derived objects")] + HRESULT Results([out, retval] IFsrmCollection **results); + +}; + + +[ + object, + uuid(40002314-590B-45A5-8E1B-8C05DA527E52), + dual, + oleautomation, + helpstring("IFsrmAccessDeniedRemediationClient Interface"), + pointer_default(unique) +] +interface IFsrmAccessDeniedRemediationClient : IDispatch +{ + [id(FSRM_DISPID_ADR | 0x01), helpstring("Displays the Access Denied Remediation client UX")] + HRESULT Show( + [in] ULONG_PTR parentWnd, + [in] BSTR accessPath, + [in] AdrClientErrorType errorType, + [in] long flags, + [in,defaultvalue(L"")] BSTR windowTitle, + [in,defaultvalue(L"")] BSTR windowMessage, + [out,retval] long *result + ); +}; + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmenums.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmenums.h new file mode 100644 index 0000000000000000000000000000000000000000..f9e7170c3cfade83fd1299b8bf47eab6f52c74c0 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmenums.h @@ -0,0 +1,493 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + + +#ifndef __fsrmenums_h__ +#define __fsrmenums_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +/* header files for imported files */ +#include "oaidl.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrmenums_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +typedef GUID FSRM_OBJECT_ID; + +typedef +enum _FsrmQuotaFlags + { + FsrmQuotaFlags_Enforce = 0x100, + FsrmQuotaFlags_Disable = 0x200, + FsrmQuotaFlags_StatusIncomplete = 0x10000, + FsrmQuotaFlags_StatusRebuilding = 0x20000 + } FsrmQuotaFlags; + +typedef +enum _FsrmFileScreenFlags + { + FsrmFileScreenFlags_Enforce = 0x1 + } FsrmFileScreenFlags; + +typedef +enum _FsrmCollectionState + { + FsrmCollectionState_Fetching = 1, + FsrmCollectionState_Committing = 2, + FsrmCollectionState_Complete = 3, + FsrmCollectionState_Cancelled = 4 + } FsrmCollectionState; + +typedef +enum _FsrmEnumOptions + { + FsrmEnumOptions_None = 0, + FsrmEnumOptions_Asynchronous = 0x1, + FsrmEnumOptions_CheckRecycleBin = 0x2, + FsrmEnumOptions_IncludeClusterNodes = 0x4, + FsrmEnumOptions_IncludeDeprecatedObjects = 0x8 + } FsrmEnumOptions; + +typedef +enum _FsrmCommitOptions + { + FsrmCommitOptions_None = 0, + FsrmCommitOptions_Asynchronous = 0x1 + } FsrmCommitOptions; + +typedef +enum _FsrmTemplateApplyOptions + { + FsrmTemplateApplyOptions_ApplyToDerivedMatching = 1, + FsrmTemplateApplyOptions_ApplyToDerivedAll = 2 + } FsrmTemplateApplyOptions; + +typedef +enum _FsrmActionType + { + FsrmActionType_Unknown = 0, + FsrmActionType_EventLog = 1, + FsrmActionType_Email = 2, + FsrmActionType_Command = 3, + FsrmActionType_Report = 4 + } FsrmActionType; + +typedef +enum _FsrmEventType + { + FsrmEventType_Unknown = 0, + FsrmEventType_Information = 1, + FsrmEventType_Warning = 2, + FsrmEventType_Error = 3 + } FsrmEventType; + +typedef +enum _FsrmAccountType + { + FsrmAccountType_Unknown = 0, + FsrmAccountType_NetworkService = 1, + FsrmAccountType_LocalService = 2, + FsrmAccountType_LocalSystem = 3, + FsrmAccountType_InProc = 4, + FsrmAccountType_External = 5, + FsrmAccountType_Automatic = 500 + } FsrmAccountType; + +typedef +enum _FsrmReportType + { + FsrmReportType_Unknown = 0, + FsrmReportType_LargeFiles = 1, + FsrmReportType_FilesByType = 2, + FsrmReportType_LeastRecentlyAccessed = 3, + FsrmReportType_MostRecentlyAccessed = 4, + FsrmReportType_QuotaUsage = 5, + FsrmReportType_FilesByOwner = 6, + FsrmReportType_ExportReport = 7, + FsrmReportType_DuplicateFiles = 8, + FsrmReportType_FileScreenAudit = 9, + FsrmReportType_FilesByProperty = 10, + FsrmReportType_AutomaticClassification = 11, + FsrmReportType_Expiration = 12, + FsrmReportType_FoldersByProperty = 13 + } FsrmReportType; + +typedef +enum _FsrmReportFormat + { + FsrmReportFormat_Unknown = 0, + FsrmReportFormat_DHtml = 1, + FsrmReportFormat_Html = 2, + FsrmReportFormat_Txt = 3, + FsrmReportFormat_Csv = 4, + FsrmReportFormat_Xml = 5 + } FsrmReportFormat; + +typedef +enum _FsrmReportRunningStatus + { + FsrmReportRunningStatus_Unknown = 0, + FsrmReportRunningStatus_NotRunning = 1, + FsrmReportRunningStatus_Queued = 2, + FsrmReportRunningStatus_Running = 3 + } FsrmReportRunningStatus; + +typedef +enum _FsrmReportGenerationContext + { + FsrmReportGenerationContext_Undefined = 1, + FsrmReportGenerationContext_ScheduledReport = 2, + FsrmReportGenerationContext_InteractiveReport = 3, + FsrmReportGenerationContext_IncidentReport = 4 + } FsrmReportGenerationContext; + +typedef +enum _FsrmReportFilter + { + FsrmReportFilter_MinSize = 1, + FsrmReportFilter_MinAgeDays = 2, + FsrmReportFilter_MaxAgeDays = 3, + FsrmReportFilter_MinQuotaUsage = 4, + FsrmReportFilter_FileGroups = 5, + FsrmReportFilter_Owners = 6, + FsrmReportFilter_NamePattern = 7, + FsrmReportFilter_Property = 8 + } FsrmReportFilter; + +typedef +enum _FsrmReportLimit + { + FsrmReportLimit_MaxFiles = 1, + FsrmReportLimit_MaxFileGroups = 2, + FsrmReportLimit_MaxOwners = 3, + FsrmReportLimit_MaxFilesPerFileGroup = 4, + FsrmReportLimit_MaxFilesPerOwner = 5, + FsrmReportLimit_MaxFilesPerDuplGroup = 6, + FsrmReportLimit_MaxDuplicateGroups = 7, + FsrmReportLimit_MaxQuotas = 8, + FsrmReportLimit_MaxFileScreenEvents = 9, + FsrmReportLimit_MaxPropertyValues = 10, + FsrmReportLimit_MaxFilesPerPropertyValue = 11, + FsrmReportLimit_MaxFolders = 12 + } FsrmReportLimit; + +typedef +enum _FsrmPropertyDefinitionType + { + FsrmPropertyDefinitionType_Unknown = 0, + FsrmPropertyDefinitionType_OrderedList = 1, + FsrmPropertyDefinitionType_MultiChoiceList = 2, + FsrmPropertyDefinitionType_SingleChoiceList = 3, + FsrmPropertyDefinitionType_String = 4, + FsrmPropertyDefinitionType_MultiString = 5, + FsrmPropertyDefinitionType_Int = 6, + FsrmPropertyDefinitionType_Bool = 7, + FsrmPropertyDefinitionType_Date = 8 + } FsrmPropertyDefinitionType; + +typedef +enum _FsrmPropertyDefinitionFlags + { + FsrmPropertyDefinitionFlags_Global = 0x1, + FsrmPropertyDefinitionFlags_Deprecated = 0x2, + FsrmPropertyDefinitionFlags_Secure = 0x4 + } FsrmPropertyDefinitionFlags; + +typedef +enum _FsrmPropertyDefinitionAppliesTo + { + FsrmPropertyDefinitionAppliesTo_Files = 0x1, + FsrmPropertyDefinitionAppliesTo_Folders = 0x2 + } FsrmPropertyDefinitionAppliesTo; + +typedef +enum _FsrmRuleType + { + FsrmRuleType_Unknown = 0, + FsrmRuleType_Classification = 1, + FsrmRuleType_Generic = 2 + } FsrmRuleType; + +typedef +enum _FsrmRuleFlags + { + FsrmRuleFlags_Disabled = 0x100, + FsrmRuleFlags_ClearAutomaticallyClassifiedProperty = 0x400, + FsrmRuleFlags_ClearManuallyClassifiedProperty = 0x800, + FsrmRuleFlags_Invalid = 0x1000 + } FsrmRuleFlags; + +typedef +enum _FsrmClassificationLoggingFlags + { + FsrmClassificationLoggingFlags_None = 0, + FsrmClassificationLoggingFlags_ClassificationsInLogFile = 0x1, + FsrmClassificationLoggingFlags_ErrorsInLogFile = 0x2, + FsrmClassificationLoggingFlags_ClassificationsInSystemLog = 0x4, + FsrmClassificationLoggingFlags_ErrorsInSystemLog = 0x8 + } FsrmClassificationLoggingFlags; + +typedef +enum _FsrmExecutionOption + { + FsrmExecutionOption_Unknown = 0, + FsrmExecutionOption_EvaluateUnset = 1, + FsrmExecutionOption_ReEvaluate_ConsiderExistingValue = 2, + FsrmExecutionOption_ReEvaluate_IgnoreExistingValue = 3 + } FsrmExecutionOption; + +typedef +enum _FsrmStorageModuleCaps + { + FsrmStorageModuleCaps_Unknown = 0, + FsrmStorageModuleCaps_CanGet = 0x1, + FsrmStorageModuleCaps_CanSet = 0x2, + FsrmStorageModuleCaps_CanHandleDirectories = 0x4, + FsrmStorageModuleCaps_CanHandleFiles = 0x8 + } FsrmStorageModuleCaps; + +typedef +enum _FsrmStorageModuleType + { + FsrmStorageModuleType_Unknown = 0, + FsrmStorageModuleType_Cache = 1, + FsrmStorageModuleType_InFile = 2, + FsrmStorageModuleType_Database = 3, + FsrmStorageModuleType_System = 100 + } FsrmStorageModuleType; + +typedef +enum _FsrmPropertyBagFlags + { + FsrmPropertyBagFlags_UpdatedByClassifier = 0x1, + FsrmPropertyBagFlags_FailedLoadingProperties = 0x2, + FsrmPropertyBagFlags_FailedSavingProperties = 0x4, + FsrmPropertyBagFlags_FailedClassifyingProperties = 0x8 + } FsrmPropertyBagFlags; + +typedef +enum _FsrmPropertyBagField + { + FsrmPropertyBagField_AccessVolume = 0, + FsrmPropertyBagField_VolumeGuidName = 1 + } FsrmPropertyBagField; + +typedef +enum _FsrmPropertyFlags + { + FsrmPropertyFlags_None = 0, + FsrmPropertyFlags_Orphaned = 0x1, + FsrmPropertyFlags_RetrievedFromCache = 0x2, + FsrmPropertyFlags_RetrievedFromStorage = 0x4, + FsrmPropertyFlags_SetByClassifier = 0x8, + FsrmPropertyFlags_Deleted = 0x10, + FsrmPropertyFlags_Reclassified = 0x20, + FsrmPropertyFlags_AggregationFailed = 0x40, + FsrmPropertyFlags_Existing = 0x80, + FsrmPropertyFlags_FailedLoadingProperties = 0x100, + FsrmPropertyFlags_FailedClassifyingProperties = 0x200, + FsrmPropertyFlags_FailedSavingProperties = 0x400, + FsrmPropertyFlags_Secure = 0x800, + FsrmPropertyFlags_PolicyDerived = 0x1000, + FsrmPropertyFlags_Inherited = 0x2000, + FsrmPropertyFlags_Manual = 0x4000, + FsrmPropertyFlags_ExplicitValueDeleted = 0x8000, + FsrmPropertyFlags_PropertyDeletedFromClear = 0x10000, + FsrmPropertyFlags_PropertySourceMask = ( ( FsrmPropertyFlags_RetrievedFromCache | FsrmPropertyFlags_RetrievedFromStorage ) | FsrmPropertyFlags_SetByClassifier ) , + FsrmPropertyFlags_PersistentMask = ( FsrmPropertyFlags_PolicyDerived | FsrmPropertyFlags_Manual ) + } FsrmPropertyFlags; + +typedef +enum _FsrmPipelineModuleType + { + FsrmPipelineModuleType_Unknown = 0, + FsrmPipelineModuleType_Storage = 1, + FsrmPipelineModuleType_Classifier = 2 + } FsrmPipelineModuleType; + +typedef +enum _FsrmGetFilePropertyOptions + { + FsrmGetFilePropertyOptions_None = 0, + FsrmGetFilePropertyOptions_NoRuleEvaluation = 0x1, + FsrmGetFilePropertyOptions_Persistent = 0x2, + FsrmGetFilePropertyOptions_FailOnPersistErrors = 0x4, + FsrmGetFilePropertyOptions_SkipOrphaned = 0x8 + } FsrmGetFilePropertyOptions; + +typedef +enum _FsrmFileManagementType + { + FsrmFileManagementType_Unknown = 0, + FsrmFileManagementType_Expiration = 1, + FsrmFileManagementType_Custom = 2, + FsrmFileManagementType_Rms = 3 + } FsrmFileManagementType; + +typedef +enum _FsrmFileManagementLoggingFlags + { + FsrmFileManagementLoggingFlags_None = 0, + FsrmFileManagementLoggingFlags_Error = 0x1, + FsrmFileManagementLoggingFlags_Information = 0x2, + FsrmFileManagementLoggingFlags_Audit = 0x4 + } FsrmFileManagementLoggingFlags; + +typedef +enum _FsrmPropertyConditionType + { + FsrmPropertyConditionType_Unknown = 0, + FsrmPropertyConditionType_Equal = 1, + FsrmPropertyConditionType_NotEqual = 2, + FsrmPropertyConditionType_GreaterThan = 3, + FsrmPropertyConditionType_LessThan = 4, + FsrmPropertyConditionType_Contain = 5, + FsrmPropertyConditionType_Exist = 6, + FsrmPropertyConditionType_NotExist = 7, + FsrmPropertyConditionType_StartWith = 8, + FsrmPropertyConditionType_EndWith = 9, + FsrmPropertyConditionType_ContainedIn = 10, + FsrmPropertyConditionType_PrefixOf = 11, + FsrmPropertyConditionType_SuffixOf = 12, + FsrmPropertyConditionType_MatchesPattern = 13 + } FsrmPropertyConditionType; + +typedef +enum _FsrmFileStreamingMode + { + FsrmFileStreamingMode_Unknown = 0, + FsrmFileStreamingMode_Read = 0x1, + FsrmFileStreamingMode_Write = 0x2 + } FsrmFileStreamingMode; + +typedef +enum _FsrmFileStreamingInterfaceType + { + FsrmFileStreamingInterfaceType_Unknown = 0, + FsrmFileStreamingInterfaceType_ILockBytes = 0x1, + FsrmFileStreamingInterfaceType_IStream = 0x2 + } FsrmFileStreamingInterfaceType; + +typedef +enum _FsrmFileConditionType + { + FsrmFileConditionType_Unknown = 0, + FsrmFileConditionType_Property = 1 + } FsrmFileConditionType; + +typedef +enum _FsrmFileSystemPropertyId + { + FsrmFileSystemPropertyId_Undefined = 0, + FsrmFileSystemPropertyId_FileName = 1, + FsrmFileSystemPropertyId_DateCreated = 2, + FsrmFileSystemPropertyId_DateLastAccessed = 3, + FsrmFileSystemPropertyId_DateLastModified = 4, + FsrmFileSystemPropertyId_DateNow = 5 + } FsrmFileSystemPropertyId; + +typedef +enum _FsrmPropertyValueType + { + FsrmPropertyValueType_Undefined = 0, + FsrmPropertyValueType_Literal = 1, + FsrmPropertyValueType_DateOffset = 2 + } FsrmPropertyValueType; + +typedef +enum _AdrClientDisplayFlags + { + AdrClientDisplayFlags_AllowEmailRequests = 0x1, + AdrClientDisplayFlags_ShowDeviceTroubleshooting = 0x2 + } AdrClientDisplayFlags; + +typedef +enum _AdrEmailFlags + { + AdrEmailFlags_PutDataOwnerOnToLine = 0x1, + AdrEmailFlags_PutAdminOnToLine = 0x2, + AdrEmailFlags_IncludeDeviceClaims = 0x4, + AdrEmailFlags_IncludeUserInfo = 0x8, + AdrEmailFlags_GenerateEventLog = 0x10 + } AdrEmailFlags; + +typedef +enum _AdrClientErrorType + { + AdrClientErrorType_Unknown = 0, + AdrClientErrorType_AccessDenied = 1, + AdrClientErrorType_FileNotFound = 2 + } AdrClientErrorType; + +typedef +enum _AdrClientFlags + { + AdrClientFlags_None = 0, + AdrClientFlags_FailForLocalPaths = 0x1, + AdrClientFlags_FailIfNotSupportedByServer = 0x2, + AdrClientFlags_FailIfNotDomainJoined = 0x4 + } AdrClientFlags; + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmenums_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmenums_0000_0000_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmenums.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmenums.idl new file mode 100644 index 0000000000000000000000000000000000000000..43e530f0c9544ac7a9a8cfdf9612c5a2d02860ef --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmenums.idl @@ -0,0 +1,529 @@ +////////////////////////////////////// +// Imports +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; + + +////////////////////////////////////// +// Typedefs and enums +// + +// +// FSRM object ID +// +typedef GUID FSRM_OBJECT_ID; + + +// +// Quota flags +// + +typedef enum _FsrmQuotaFlags { + + // Persistent flags + FsrmQuotaFlags_Enforce = 0x00000100, + FsrmQuotaFlags_Disable = 0x00000200, + + // Quota status flags + FsrmQuotaFlags_StatusIncomplete = 0x00010000, + FsrmQuotaFlags_StatusRebuilding = 0x00020000 + +} FsrmQuotaFlags; + + +// +// File screen flags +// + +typedef enum _FsrmFileScreenFlags { + + // Persistent flags + FsrmFileScreenFlags_Enforce = 0x00000001 + +} FsrmFileScreenFlags; + + +// +// General Collection +// + +typedef enum _FsrmCollectionState { + + FsrmCollectionState_Fetching = 1, + FsrmCollectionState_Committing = 2, + FsrmCollectionState_Complete = 3, + FsrmCollectionState_Cancelled = 4 + +} FsrmCollectionState; + +typedef enum _FsrmEnumOptions { + + FsrmEnumOptions_None = 0x00000000, + FsrmEnumOptions_Asynchronous = 0x00000001, + FsrmEnumOptions_CheckRecycleBin = 0x00000002, + FsrmEnumOptions_IncludeClusterNodes = 0x00000004, + FsrmEnumOptions_IncludeDeprecatedObjects = 0x00000008 + +} FsrmEnumOptions; + +typedef enum _FsrmCommitOptions { + + FsrmCommitOptions_None = 0x00000000, + FsrmCommitOptions_Asynchronous = 0x00000001 + +} FsrmCommitOptions; + +typedef enum _FsrmTemplateApplyOptions { + + FsrmTemplateApplyOptions_ApplyToDerivedMatching = 1, + FsrmTemplateApplyOptions_ApplyToDerivedAll = 2 + +} FsrmTemplateApplyOptions; + + +// +// General Action +// + +typedef enum _FsrmActionType { + + FsrmActionType_Unknown = 0, + FsrmActionType_EventLog = 1, + FsrmActionType_Email = 2, + FsrmActionType_Command = 3, + FsrmActionType_Report = 4 + +} FsrmActionType; + + +// +// EventLog Action +// + +typedef enum _FsrmEventType { + + FsrmEventType_Unknown = 0, + FsrmEventType_Information = 1, + FsrmEventType_Warning = 2, + FsrmEventType_Error = 3 + +} FsrmEventType; + + +// +// Command Action +// + +typedef enum _FsrmAccountType { + + FsrmAccountType_Unknown = 0, + FsrmAccountType_NetworkService = 1, + FsrmAccountType_LocalService = 2, + FsrmAccountType_LocalSystem = 3, + FsrmAccountType_InProc = 4, + FsrmAccountType_External = 5, + FsrmAccountType_Automatic = 500 +} FsrmAccountType; + + +// +// Storage Reports +// + +typedef enum _FsrmReportType { + + FsrmReportType_Unknown = 0, + FsrmReportType_LargeFiles = 1, + FsrmReportType_FilesByType = 2, + FsrmReportType_LeastRecentlyAccessed = 3, + FsrmReportType_MostRecentlyAccessed = 4, + FsrmReportType_QuotaUsage = 5, + FsrmReportType_FilesByOwner = 6, + FsrmReportType_ExportReport = 7, + FsrmReportType_DuplicateFiles = 8, + FsrmReportType_FileScreenAudit = 9, + FsrmReportType_FilesByProperty = 10, + FsrmReportType_AutomaticClassification = 11, + FsrmReportType_Expiration = 12, + FsrmReportType_FoldersByProperty = 13 + +} FsrmReportType; + +typedef enum _FsrmReportFormat { + + FsrmReportFormat_Unknown = 0, + FsrmReportFormat_DHtml = 1, + FsrmReportFormat_Html = 2, + FsrmReportFormat_Txt = 3, + FsrmReportFormat_Csv = 4, + FsrmReportFormat_Xml = 5 + +} FsrmReportFormat; + +typedef enum _FsrmReportRunningStatus { + + FsrmReportRunningStatus_Unknown = 0, + FsrmReportRunningStatus_NotRunning = 1, + FsrmReportRunningStatus_Queued = 2, + FsrmReportRunningStatus_Running = 3 + +} FsrmReportRunningStatus; + +typedef enum _FsrmReportGenerationContext { + + FsrmReportGenerationContext_Undefined = 1, + FsrmReportGenerationContext_ScheduledReport = 2, + FsrmReportGenerationContext_InteractiveReport = 3, + FsrmReportGenerationContext_IncidentReport = 4 + +} FsrmReportGenerationContext; + +// +// Report filtering definitions +// ============================ +// +// Filter Name Description Valid Reports Valid Value Types +// -------------- ---------------------- -------------------------- ------------------------------------------ +// MinSize Minimum size Large Files uint64 or string representation +// +// MinAgeDays Minimum age in days Least Recently Accessed uint32 or string representation +// File Screen Audit +// +// MaxAgeDays Maximum age in days Most Recently Accessed uint32 or string representation +// +// MinQuotaUsage Minimum % quota usage Quota Usage uint32 or string representation +// +// FileGroups File group names Files by Type SAFEARRAY of strings (file group names) +// +// Owners Owners Files by Owner SAFEARRAY of strings (names or SIDs) +// File Screen Audit +// +// NamePattern File name pattern Large Files string (DOS file name pattern) +// Files by Type +// Least Recently Accessed +// Most Recently Accessed +// Files by Owner +// Export Report +// Duplicate Files +// + +typedef enum _FsrmReportFilter { + + FsrmReportFilter_MinSize = 1, + FsrmReportFilter_MinAgeDays = 2, + FsrmReportFilter_MaxAgeDays = 3, + FsrmReportFilter_MinQuotaUsage = 4, + FsrmReportFilter_FileGroups = 5, + FsrmReportFilter_Owners = 6, + FsrmReportFilter_NamePattern = 7, + FsrmReportFilter_Property = 8 + +} FsrmReportFilter; + +typedef enum _FsrmReportLimit { + + FsrmReportLimit_MaxFiles = 1, + FsrmReportLimit_MaxFileGroups = 2, + FsrmReportLimit_MaxOwners = 3, + FsrmReportLimit_MaxFilesPerFileGroup = 4, + FsrmReportLimit_MaxFilesPerOwner = 5, + FsrmReportLimit_MaxFilesPerDuplGroup = 6, + FsrmReportLimit_MaxDuplicateGroups = 7, + FsrmReportLimit_MaxQuotas = 8, + FsrmReportLimit_MaxFileScreenEvents = 9, + FsrmReportLimit_MaxPropertyValues = 10, + FsrmReportLimit_MaxFilesPerPropertyValue = 11, + FsrmReportLimit_MaxFolders = 12 + +} FsrmReportLimit; + + +// +// Pipeline +// + +typedef enum _FsrmPropertyDefinitionType { + + FsrmPropertyDefinitionType_Unknown = 0, + FsrmPropertyDefinitionType_OrderedList = 1, + FsrmPropertyDefinitionType_MultiChoiceList = 2, + FsrmPropertyDefinitionType_SingleChoiceList = 3, + FsrmPropertyDefinitionType_String = 4, + FsrmPropertyDefinitionType_MultiString = 5, + FsrmPropertyDefinitionType_Int = 6, + FsrmPropertyDefinitionType_Bool = 7, + FsrmPropertyDefinitionType_Date = 8 + +} FsrmPropertyDefinitionType; + +typedef enum _FsrmPropertyDefinitionFlags { + + FsrmPropertyDefinitionFlags_Global = 0x00000001, + FsrmPropertyDefinitionFlags_Deprecated = 0x00000002, + FsrmPropertyDefinitionFlags_Secure = 0x00000004, + +} FsrmPropertyDefinitionFlags; + +typedef enum _FsrmPropertyDefinitionAppliesTo { + + FsrmPropertyDefinitionAppliesTo_Files = 0x00000001, + FsrmPropertyDefinitionAppliesTo_Folders = 0x00000002, + +} FsrmPropertyDefinitionAppliesTo; + +typedef enum _FsrmRuleType { + + FsrmRuleType_Unknown = 0, + FsrmRuleType_Classification = 1, + FsrmRuleType_Generic = 2 + +} FsrmRuleType; + +typedef enum _FsrmRuleFlags { + + FsrmRuleFlags_Disabled = 0x00000100, + FsrmRuleFlags_ClearAutomaticallyClassifiedProperty = 0x00000400, + FsrmRuleFlags_ClearManuallyClassifiedProperty = 0x00000800, + FsrmRuleFlags_Invalid = 0x00001000 + +} FsrmRuleFlags; + +typedef enum _FsrmClassificationLoggingFlags { + + FsrmClassificationLoggingFlags_None = 0x00000000, + FsrmClassificationLoggingFlags_ClassificationsInLogFile = 0x00000001, + FsrmClassificationLoggingFlags_ErrorsInLogFile = 0x00000002, + FsrmClassificationLoggingFlags_ClassificationsInSystemLog = 0x00000004, + FsrmClassificationLoggingFlags_ErrorsInSystemLog = 0x00000008 + +} FsrmClassificationLoggingFlags; + +typedef enum _FsrmExecutionOption { + + FsrmExecutionOption_Unknown = 0, + FsrmExecutionOption_EvaluateUnset = 1, // Apply as a default value. + FsrmExecutionOption_ReEvaluate_ConsiderExistingValue = 2, // Apply value but consider default and existing values. + FsrmExecutionOption_ReEvaluate_IgnoreExistingValue = 3 // Apply value but ignore default and existing values. + +} FsrmExecutionOption; + +typedef enum _FsrmStorageModuleCaps { + + FsrmStorageModuleCaps_Unknown = 0x00000000, + FsrmStorageModuleCaps_CanGet = 0x00000001, + FsrmStorageModuleCaps_CanSet = 0x00000002, + FsrmStorageModuleCaps_CanHandleDirectories = 0x00000004, + FsrmStorageModuleCaps_CanHandleFiles = 0x00000008 + +} FsrmStorageModuleCaps; + +typedef enum _FsrmStorageModuleType { + + FsrmStorageModuleType_Unknown = 0, + FsrmStorageModuleType_Cache = 1, + FsrmStorageModuleType_InFile = 2, + FsrmStorageModuleType_Database = 3, + FsrmStorageModuleType_System = 100 +} FsrmStorageModuleType; + +typedef enum _FsrmPropertyBagFlags +{ + + FsrmPropertyBagFlags_UpdatedByClassifier = 0x00000001, // The properties in the property bag were updated by a classifier. + FsrmPropertyBagFlags_FailedLoadingProperties = 0x00000002, // The properties in the property bag may only be partially classified because a failure occurred while loading properties from storage. + FsrmPropertyBagFlags_FailedSavingProperties = 0x00000004, // The properties in the property bag failed to be saved by the storage module with the highest precedence. + FsrmPropertyBagFlags_FailedClassifyingProperties = 0x00000008, // The properties in the property bag may only be partially classified because a failure occurred while classifying properties. + +} FsrmPropertyBagFlags; + +typedef enum _FsrmPropertyBagField +{ + FsrmPropertyBagField_AccessVolume = 0, + FsrmPropertyBagField_VolumeGuidName = 1 +} FsrmPropertyBagField; + +typedef enum _FsrmPropertyFlags { + + FsrmPropertyFlags_None = 0x00000000, + FsrmPropertyFlags_Orphaned = 0x00000001, // The property does not have a corresponding definition in FSRM. + FsrmPropertyFlags_RetrievedFromCache = 0x00000002, // The property value came from the cache during this classification session. + FsrmPropertyFlags_RetrievedFromStorage = 0x00000004, // The property value came from a storage module (other than the cache) during this classification session. + FsrmPropertyFlags_SetByClassifier = 0x00000008, // The property value came from a classifier during this classification session. + FsrmPropertyFlags_Deleted = 0x00000010, // The property was deleted by a ClearFileProperty call. + FsrmPropertyFlags_Reclassified = 0x00000020, // The property value from storage was changed to a different value by a classifier. + FsrmPropertyFlags_AggregationFailed = 0x00000040, // There were values from multiple sources but they could not be aggregated together. + FsrmPropertyFlags_Existing = 0x00000080, // The property already exists in storage. + FsrmPropertyFlags_FailedLoadingProperties = 0x00000100, // The property may only be partially classified because a failure occurred while loading properties from storage. + FsrmPropertyFlags_FailedClassifyingProperties = 0x00000200, // The property may only be partially classified because a failure occurred while classifying properties. + FsrmPropertyFlags_FailedSavingProperties = 0x00000400, // The property failed to be saved by the storage module with the highest precendence. + FsrmPropertyFlags_Secure = 0x00000800, // The property is defined to be a secure property or came from secure storage. + FsrmPropertyFlags_PolicyDerived = 0x00001000, // The property value originally came from a classification policy. + FsrmPropertyFlags_Inherited = 0x00002000, // The property value was inherited from the property value of the file's parent folder. + FsrmPropertyFlags_Manual = 0x00004000, // The property value was set manually. + FsrmPropertyFlags_ExplicitValueDeleted = 0x00008000, // An explicit property value was deleted and replaced with an inherited value. + FsrmPropertyFlags_PropertyDeletedFromClear = 0x00010000, // The property has been deleted due to a rule marked with clear property. + + FsrmPropertyFlags_PropertySourceMask = FsrmPropertyFlags_RetrievedFromCache | + FsrmPropertyFlags_RetrievedFromStorage | + FsrmPropertyFlags_SetByClassifier, + + // These flags are persisted by the cache and secure storage modules + FsrmPropertyFlags_PersistentMask = FsrmPropertyFlags_PolicyDerived | + FsrmPropertyFlags_Manual, + +} FsrmPropertyFlags; + +typedef enum _FsrmPipelineModuleType { + + FsrmPipelineModuleType_Unknown = 0, + FsrmPipelineModuleType_Storage = 1, + FsrmPipelineModuleType_Classifier = 2, + +} FsrmPipelineModuleType; + +typedef enum _FsrmGetFilePropertyOptions { + + FsrmGetFilePropertyOptions_None = 0x00000000, + FsrmGetFilePropertyOptions_NoRuleEvaluation = 0x00000001, + FsrmGetFilePropertyOptions_Persistent = 0x00000002, + FsrmGetFilePropertyOptions_FailOnPersistErrors = 0x00000004, + FsrmGetFilePropertyOptions_SkipOrphaned = 0x00000008 + +} FsrmGetFilePropertyOptions; + +typedef enum _FsrmFileManagementType { + + FsrmFileManagementType_Unknown = 0, + FsrmFileManagementType_Expiration = 1, + FsrmFileManagementType_Custom = 2, + FsrmFileManagementType_Rms = 3 + +} FsrmFileManagementType; + +typedef enum _FsrmFileManagementLoggingFlags { + + FsrmFileManagementLoggingFlags_None = 0x00000000, + FsrmFileManagementLoggingFlags_Error = 0x00000001, + FsrmFileManagementLoggingFlags_Information = 0x00000002, + FsrmFileManagementLoggingFlags_Audit = 0x00000004 + +} FsrmFileManagementLoggingFlags; + +typedef enum _FsrmPropertyConditionType { + + FsrmPropertyConditionType_Unknown = 0, + FsrmPropertyConditionType_Equal = 1, + FsrmPropertyConditionType_NotEqual = 2, + FsrmPropertyConditionType_GreaterThan = 3, + FsrmPropertyConditionType_LessThan = 4, + FsrmPropertyConditionType_Contain = 5, + FsrmPropertyConditionType_Exist = 6, + FsrmPropertyConditionType_NotExist = 7, + FsrmPropertyConditionType_StartWith = 8, + FsrmPropertyConditionType_EndWith = 9, + FsrmPropertyConditionType_ContainedIn = 10, + FsrmPropertyConditionType_PrefixOf = 11, + FsrmPropertyConditionType_SuffixOf = 12, + FsrmPropertyConditionType_MatchesPattern = 13, + +} FsrmPropertyConditionType; + + +// +// Streaming interface constants +// + +typedef enum _FsrmFileStreamingMode +{ + FsrmFileStreamingMode_Unknown = 0x00000000, + FsrmFileStreamingMode_Read = 0x00000001, // Gets a streaming interface for reading file content + FsrmFileStreamingMode_Write = 0x00000002, // Gets a streaming interface for writing file content +} FsrmFileStreamingMode; + + +typedef enum _FsrmFileStreamingInterfaceType +{ + FsrmFileStreamingInterfaceType_Unknown = 0x00000000, // Gets an ILockBytes interface + FsrmFileStreamingInterfaceType_ILockBytes = 0x00000001, // Gets an ILockBytes interface + FsrmFileStreamingInterfaceType_IStream = 0x00000002, // Gets an IStream interface +} FsrmFileStreamingInterfaceType; + + +// +// File condition types (IFsrmFileCondition specializations) +// +typedef enum _FsrmFileConditionType +{ + FsrmFileConditionType_Unknown = 0, + FsrmFileConditionType_Property = 1, // File property condition (IFsrmFileConditionProperty) + +} FsrmFileConditionType; + +// +// File system property identifiers +// +typedef enum _FsrmFileSystemPropertyId +{ + FsrmFileSystemPropertyId_Undefined = 0, // property ID is not used (default) + FsrmFileSystemPropertyId_FileName = 1, // name of the file (including extension) + FsrmFileSystemPropertyId_DateCreated = 2, // file's creation time + FsrmFileSystemPropertyId_DateLastAccessed = 3, // file's last accessed time + FsrmFileSystemPropertyId_DateLastModified = 4, // file's last write time + FsrmFileSystemPropertyId_DateNow = 5, // current date and time + +} FsrmFileSystemPropertyId; + +// +// Property value formats +// +typedef enum _FsrmPropertyValueType +{ + FsrmPropertyValueType_Undefined = 0, + FsrmPropertyValueType_Literal = 1, // one or more literal values + FsrmPropertyValueType_DateOffset = 2, // date expression (date variable and offset) + +} FsrmPropertyValueType; + +// +// ADR Flags +// + +typedef enum _AdrClientDisplayFlags { + + AdrClientDisplayFlags_AllowEmailRequests = 0x00000001, + AdrClientDisplayFlags_ShowDeviceTroubleshooting = 0x00000002 + +} AdrClientDisplayFlags; + +typedef enum _AdrEmailFlags { + + AdrEmailFlags_PutDataOwnerOnToLine = 0x00000001, + AdrEmailFlags_PutAdminOnToLine = 0x00000002, + AdrEmailFlags_IncludeDeviceClaims = 0x00000004, + AdrEmailFlags_IncludeUserInfo = 0x00000008, + AdrEmailFlags_GenerateEventLog = 0x00000010 +} AdrEmailFlags; + +typedef enum _AdrClientErrorType { + AdrClientErrorType_Unknown = 0, + AdrClientErrorType_AccessDenied = 1, + AdrClientErrorType_FileNotFound = 2, +} AdrClientErrorType; + +typedef enum _AdrClientFlags { + AdrClientFlags_None = 0x00000000, + AdrClientFlags_FailForLocalPaths = 0x00000001, + AdrClientFlags_FailIfNotSupportedByServer = 0x00000002, + AdrClientFlags_FailIfNotDomainJoined = 0x00000004, +} AdrClientFlags; + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmerr.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmerr.h new file mode 100644 index 0000000000000000000000000000000000000000..bd11445f035d61fdaba0e13876db1fe87a73ed07 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmerr.h @@ -0,0 +1,1237 @@ +/*++ + +Copyright (c) Microsoft Corporation + + Constant definitions for common File Server Resource Management service + error messages. + +--*/ + +#pragma once + + +// +// HRESULT Success codes +// + +// +// Values are 32 bit values laid out as follows: +// +// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 +// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 +// +-+-+-+-+-+---------------------+-------------------------------+ +// |S|R|C|N|r| Facility | Code | +// +-+-+-+-+-+---------------------+-------------------------------+ +// +// where +// +// S - Severity - indicates success/fail +// +// 0 - Success +// 1 - Fail (COERROR) +// +// R - reserved portion of the facility code, corresponds to NT's +// second severity bit. +// +// C - reserved portion of the facility code, corresponds to NT's +// C field. +// +// N - reserved portion of the facility code. Used to indicate a +// mapped NT status value. +// +// r - reserved portion of the facility code. Reserved for internal +// use. Used to indicate HRESULT values that are not status +// values, but are instead message ids for display strings. +// +// Facility - is the facility code +// +// Code - is the facility's status code +// +// +// Define the facility codes +// + + +// +// Define the severity codes +// + + +// +// MessageId: FSRM_S_PARTIAL_BATCH +// +// MessageText: +// +// At least one failure occurred in a batch operation. +// +#define FSRM_S_PARTIAL_BATCH ((HRESULT)0x00045304L) + +// +// MessageId: FSRM_S_PARTIAL_CLASSIFICATION +// +// MessageText: +// +// The file may only have partial classification because a failure occurred while loading or classifying the file properties. +// +#define FSRM_S_PARTIAL_CLASSIFICATION ((HRESULT)0x00045305L) + +// +// MessageId: FSRM_S_CLASSIFICATION_SCAN_FAILURES +// +// MessageText: +// +// Classification failed on one or more volumes. Check the application event log for more information. +// +#define FSRM_S_CLASSIFICATION_SCAN_FAILURES ((HRESULT)0x00045306L) + + +// +// HRESULT Failure codes +// + +// +// MessageId: FSRM_E_NOT_FOUND +// +// MessageText: +// +// The requested object was not found. +// +#define FSRM_E_NOT_FOUND ((HRESULT)0x80045301L) + +// +// MessageId: FSRM_E_INVALID_SCHEDULER_ARGUMENT +// +// MessageText: +// +// One or more of the arguments supplied to the task scheduler are not valid. +// +#define FSRM_E_INVALID_SCHEDULER_ARGUMENT ((HRESULT)0x80045302L) + +// +// MessageId: FSRM_E_ALREADY_EXISTS +// +// MessageText: +// +// The specified object already exists. +// +#define FSRM_E_ALREADY_EXISTS ((HRESULT)0x80045303L) + +// +// MessageId: FSRM_E_PATH_NOT_FOUND +// +// MessageText: +// +// The specified path was not found. +// +#define FSRM_E_PATH_NOT_FOUND ((HRESULT)0x80045304L) + +// +// MessageId: FSRM_E_INVALID_USER +// +// MessageText: +// +// The specified user is invalid. +// +#define FSRM_E_INVALID_USER ((HRESULT)0x80045305L) + +// +// MessageId: FSRM_E_INVALID_PATH +// +// MessageText: +// +// The specified path is invalid. +// +#define FSRM_E_INVALID_PATH ((HRESULT)0x80045306L) + +// +// MessageId: FSRM_E_INVALID_LIMIT +// +// MessageText: +// +// The specified limit is invalid. +// +#define FSRM_E_INVALID_LIMIT ((HRESULT)0x80045307L) + +// +// MessageId: FSRM_E_INVALID_NAME +// +// MessageText: +// +// The specified name is invalid. +// +#define FSRM_E_INVALID_NAME ((HRESULT)0x80045308L) + +// +// MessageId: FSRM_E_FAIL_BATCH +// +// MessageText: +// +// All items in a batch operation failed. +// +#define FSRM_E_FAIL_BATCH ((HRESULT)0x80045309L) + +// +// MessageId: FSRM_E_INVALID_TEXT +// +// MessageText: +// +// The specified text is invalid. +// +#define FSRM_E_INVALID_TEXT ((HRESULT)0x8004530AL) + +// +// MessageId: FSRM_E_INVALID_IMPORT_VERSION +// +// MessageText: +// +// The version of the configuration file you are trying to import is not supported. You cannot import configuration files with database versions earlier than 2.0. +// +#define FSRM_E_INVALID_IMPORT_VERSION ((HRESULT)0x8004530BL) + +// +// MessageId: FSRM_E_OUT_OF_RANGE +// +// MessageText: +// +// The specified property is out of range. +// +#define FSRM_E_OUT_OF_RANGE ((HRESULT)0x8004530DL) + +// +// MessageId: FSRM_E_REQD_PARAM_MISSING +// +// MessageText: +// +// The specified required property is missing. +// +#define FSRM_E_REQD_PARAM_MISSING ((HRESULT)0x8004530EL) + +// +// MessageId: FSRM_E_INVALID_COMBINATION +// +// MessageText: +// +// The specified property combination is invalid. +// +#define FSRM_E_INVALID_COMBINATION ((HRESULT)0x8004530FL) + +// +// MessageId: FSRM_E_DUPLICATE_NAME +// +// MessageText: +// +// Duplicate names were detected for the same object. +// +#define FSRM_E_DUPLICATE_NAME ((HRESULT)0x80045310L) + +// +// MessageId: FSRM_E_NOT_SUPPORTED +// +// MessageText: +// +// The operation or the specified combination of parameters is not supported. +// +#define FSRM_E_NOT_SUPPORTED ((HRESULT)0x80045311L) + +// +// MessageId: FSRM_E_DRIVER_NOT_READY +// +// MessageText: +// +// A required filter driver is not installed, loaded or ready for service. +// +#define FSRM_E_DRIVER_NOT_READY ((HRESULT)0x80045313L) + +// +// MessageId: FSRM_E_INSUFFICIENT_DISK +// +// MessageText: +// +// There is insufficient disk space to perform the requested operation. +// +#define FSRM_E_INSUFFICIENT_DISK ((HRESULT)0x80045314L) + +// +// MessageId: FSRM_E_VOLUME_UNSUPPORTED +// +// MessageText: +// +// The specified volume is unsupported. +// +#define FSRM_E_VOLUME_UNSUPPORTED ((HRESULT)0x80045315L) + +// +// MessageId: FSRM_E_UNEXPECTED +// +// MessageText: +// +// The File Server Resource Manager service encountered an unexpected error. +// Check the application event log for more information. +// +#define FSRM_E_UNEXPECTED ((HRESULT)0x80045316L) + +// +// MessageId: FSRM_E_INSECURE_PATH +// +// MessageText: +// +// The specified path is insecure. +// +#define FSRM_E_INSECURE_PATH ((HRESULT)0x80045317L) + +// +// MessageId: FSRM_E_INVALID_SMTP_SERVER +// +// MessageText: +// +// The SMTP server is invalid. +// +#define FSRM_E_INVALID_SMTP_SERVER ((HRESULT)0x80045318L) + +// +// MessageId: FSRM_E_AUTO_QUOTA +// +// MessageText: +// +// Auto apply quota configuration for one or more folders failed. Check the application event log for more information. +// +#define FSRM_E_AUTO_QUOTA ((HRESULT)0x0004531BL) + +// +// MessageId: FSRM_E_EMAIL_NOT_SENT +// +// MessageText: +// +// The File Server Resource Manager service could not send email due to an error. +// Check the application event log for more information. +// +#define FSRM_E_EMAIL_NOT_SENT ((HRESULT)0x8004531CL) + +// +// MessageId: FSRM_E_INVALID_EMAIL_ADDRESS +// +// MessageText: +// +// The specified email address is invalid. +// +#define FSRM_E_INVALID_EMAIL_ADDRESS ((HRESULT)0x8004531EL) + +// +// MessageId: FSRM_E_FILE_SYSTEM_CORRUPT +// +// MessageText: +// +// The file system might be corrupted. Please run the CHKDSK utility. +// +#define FSRM_E_FILE_SYSTEM_CORRUPT ((HRESULT)0x8004531FL) + +// +// MessageId: FSRM_E_LONG_CMDLINE +// +// MessageText: +// +// The specified command-line executable path is longer than MAX_PATH. +// +#define FSRM_E_LONG_CMDLINE ((HRESULT)0x80045320L) + +// +// MessageId: FSRM_E_INVALID_FILEGROUP_DEFINITION +// +// MessageText: +// +// The specified file group definition is invalid. +// +#define FSRM_E_INVALID_FILEGROUP_DEFINITION ((HRESULT)0x80045321L) + +// +// MessageId: FSRM_E_INVALID_DATASCREEN_DEFINITION +// +// MessageText: +// +// The specified file screen is invalid. +// +#define FSRM_E_INVALID_DATASCREEN_DEFINITION ((HRESULT)0x80045324L) + +// +// MessageId: FSRM_E_INVALID_REPORT_FORMAT +// +// MessageText: +// +// The specified report format is invalid. +// +#define FSRM_E_INVALID_REPORT_FORMAT ((HRESULT)0x80045328L) + +// +// MessageId: FSRM_E_INVALID_REPORT_DESC +// +// MessageText: +// +// The specified report description is invalid. +// +#define FSRM_E_INVALID_REPORT_DESC ((HRESULT)0x80045329L) + +// +// MessageId: FSRM_E_INVALID_FILENAME +// +// MessageText: +// +// The specified file name is invalid. +// +#define FSRM_E_INVALID_FILENAME ((HRESULT)0x8004532AL) + +// +// MessageId: FSRM_E_SHADOW_COPY +// +// MessageText: +// +// A volume shadow copy could not be created or was unexpectedly deleted. +// +#define FSRM_E_SHADOW_COPY ((HRESULT)0x8004532CL) + +// +// MessageId: FSRM_E_XML_CORRUPTED +// +// MessageText: +// +// A File Server Resource Manager XML configuration file or import-export file is corrupted. +// +#define FSRM_E_XML_CORRUPTED ((HRESULT)0x8004532DL) + +// +// MessageId: FSRM_E_CLUSTER_NOT_RUNNING +// +// MessageText: +// +// File Server Resource Manager global configuration cannot be accessed since the cluster service is not running. +// +#define FSRM_E_CLUSTER_NOT_RUNNING ((HRESULT)0x8004532EL) + +// +// MessageId: FSRM_E_STORE_NOT_INSTALLED +// +// MessageText: +// +// File Server Resource Manager global configuration cannot be accessed since it is not installed yet. +// +#define FSRM_E_STORE_NOT_INSTALLED ((HRESULT)0x8004532FL) + +// +// MessageId: FSRM_E_NOT_CLUSTER_VOLUME +// +// MessageText: +// +// The volume does not reside on a cluster shared disk with an associated cluster resource. +// +#define FSRM_E_NOT_CLUSTER_VOLUME ((HRESULT)0x80045330L) + +// +// MessageId: FSRM_E_DIFFERENT_CLUSTER_GROUP +// +// MessageText: +// +// There are at least two paths which reside on different cluster shared disks which are not in the same cluster resource group. +// +#define FSRM_E_DIFFERENT_CLUSTER_GROUP ((HRESULT)0x80045331L) + +// +// MessageId: FSRM_E_REPORT_TYPE_ALREADY_EXISTS +// +// MessageText: +// +// A report of the specified type already exists in the report job. +// +#define FSRM_E_REPORT_TYPE_ALREADY_EXISTS ((HRESULT)0x80045332L) + +// +// MessageId: FSRM_E_REPORT_JOB_ALREADY_RUNNING +// +// MessageText: +// +// The report job is already running or queued for running. +// +#define FSRM_E_REPORT_JOB_ALREADY_RUNNING ((HRESULT)0x80045333L) + +// +// MessageId: FSRM_E_REPORT_GENERATION_ERR +// +// MessageText: +// +// An error occurred during report generation. +// +#define FSRM_E_REPORT_GENERATION_ERR ((HRESULT)0x80045334L) + +// +// MessageId: FSRM_E_REPORT_TASK_TRIGGER +// +// MessageText: +// +// The task contains zero or unsupported triggers. +// +#define FSRM_E_REPORT_TASK_TRIGGER ((HRESULT)0x80045335L) + +// +// MessageId: FSRM_E_LOADING_DISABLED_MODULE +// +// MessageText: +// +// A rule or policy attempted to load/use a disabled module. +// +#define FSRM_E_LOADING_DISABLED_MODULE ((HRESULT)0x80045336L) + +// +// MessageId: FSRM_E_CANNOT_AGGREGATE +// +// MessageText: +// +// File Server Resource Manager cannot aggregate the value for the specified file property. +// +#define FSRM_E_CANNOT_AGGREGATE ((HRESULT)0x80045337L) + +// +// MessageId: FSRM_E_MESSAGE_LIMIT_EXCEEDED +// +// MessageText: +// +// The limit of the number of messages that the current pipeline context can add to the property bag has been reached. +// +#define FSRM_E_MESSAGE_LIMIT_EXCEEDED ((HRESULT)0x80045338L) + +// +// MessageId: FSRM_E_OBJECT_IN_USE +// +// MessageText: +// +// The object is in use and cannot be deleted. +// +#define FSRM_E_OBJECT_IN_USE ((HRESULT)0x80045339L) + +// +// MessageId: FSRM_E_CANNOT_RENAME_PROPERTY +// +// MessageText: +// +// Cannot change the name of a property definition once it is set. +// +#define FSRM_E_CANNOT_RENAME_PROPERTY ((HRESULT)0x8004533AL) + +// +// MessageId: FSRM_E_CANNOT_CHANGE_PROPERTY_TYPE +// +// MessageText: +// +// Cannot change the type of a property definition once it is set. +// +#define FSRM_E_CANNOT_CHANGE_PROPERTY_TYPE ((HRESULT)0x8004533BL) + +// +// MessageId: FSRM_E_MAX_PROPERTY_DEFINITIONS +// +// MessageText: +// +// A new property definition cannot be created. The maximum number of property definitions, {0}, has been reached. +// +#define FSRM_E_MAX_PROPERTY_DEFINITIONS ((HRESULT)0x8004533CL) + +// +// MessageId: FSRM_E_CLASSIFICATION_ALREADY_RUNNING +// +// MessageText: +// +// A classification job is currently running. Only one classification job can be running at a time. +// +#define FSRM_E_CLASSIFICATION_ALREADY_RUNNING ((HRESULT)0x8004533DL) + +// +// MessageId: FSRM_E_CLASSIFICATION_NOT_RUNNING +// +// MessageText: +// +// Classification is not currently running. +// +#define FSRM_E_CLASSIFICATION_NOT_RUNNING ((HRESULT)0x8004533EL) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_RUNNING +// +// MessageText: +// +// The file management task is already running or queued for running. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_RUNNING ((HRESULT)0x8004533FL) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_EXPIRATION +// +// MessageText: +// +// Cannot expire a file while running a file management task. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_EXPIRATION ((HRESULT)0x80045340L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_CUSTOM +// +// MessageText: +// +// Cannot perform a custom action on a file while running a file management task. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_CUSTOM ((HRESULT)0x80045341L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_NOTIFICATION +// +// MessageText: +// +// Cannot send a notification for a file management task. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_NOTIFICATION ((HRESULT)0x80045342L) + +// +// MessageId: FSRM_E_FILE_OPEN_ERROR +// +// MessageText: +// +// File Server Resource Manager cannot open the file. +// +#define FSRM_E_FILE_OPEN_ERROR ((HRESULT)0x80045343L) + +// +// MessageId: FSRM_E_UNSECURE_LINK_TO_HOSTED_MODULE +// +// MessageText: +// +// File Server Resource Manager failed to perform a secure link with a hosted module process. +// +#define FSRM_E_UNSECURE_LINK_TO_HOSTED_MODULE ((HRESULT)0x80045344L) + +// +// MessageId: FSRM_E_CACHE_INVALID +// +// MessageText: +// +// The property cache for the file is invalid and could not be read. +// +#define FSRM_E_CACHE_INVALID ((HRESULT)0x80045345L) + +// +// MessageId: FSRM_E_CACHE_MODULE_ALREADY_EXISTS +// +// MessageText: +// +// A cache storage module already exists. +// +#define FSRM_E_CACHE_MODULE_ALREADY_EXISTS ((HRESULT)0x80045346L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_EXPIRATION_DIR_IN_SCOPE +// +// MessageText: +// +// The expiration directory cannot be within the file management scope. +// +#define FSRM_E_FILE_MANAGEMENT_EXPIRATION_DIR_IN_SCOPE ((HRESULT)0x80045347L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_EXISTS +// +// MessageText: +// +// A file management task of the specified name already exists. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_EXISTS ((HRESULT)0x80045348L) + +// +// MessageId: FSRM_E_PROPERTY_DELETED +// +// MessageText: +// +// The specified file property has been deleted. +// +#define FSRM_E_PROPERTY_DELETED ((HRESULT)0x80045349L) + +// +// MessageId: FSRM_E_LAST_ACCESS_UPDATE_DISABLED +// +// MessageText: +// +// The updating of last access times is disabled on this server. To create a report or file management task that uses the last access time the updating of last access time must be enabled. +// +#define FSRM_E_LAST_ACCESS_UPDATE_DISABLED ((HRESULT)0x80045350L) + +// +// MessageId: FSRM_E_NO_PROPERTY_VALUE +// +// MessageText: +// +// The specified file property should not be assigned a value. +// +#define FSRM_E_NO_PROPERTY_VALUE ((HRESULT)0x80045351L) + +// +// MessageId: FSRM_E_INPROC_MODULE_BLOCKED +// +// MessageText: +// +// An unknown module cannot be run inside the service process. +// +#define FSRM_E_INPROC_MODULE_BLOCKED ((HRESULT)0x80045352L) + +// +// MessageId: FSRM_E_ENUM_PROPERTIES_FAILED +// +// MessageText: +// +// File Server Resource Manager failed to enumerate file properties because a failure occurred while loading or classifying the file properties. +// +#define FSRM_E_ENUM_PROPERTIES_FAILED ((HRESULT)0x80045353L) + +// +// MessageId: FSRM_E_SET_PROPERTY_FAILED +// +// MessageText: +// +// File Server Resource Manager failed to set a file property to the file because a failure occurred while saving the file properties. +// +#define FSRM_E_SET_PROPERTY_FAILED ((HRESULT)0x80045354L) + +// +// MessageId: FSRM_E_CANNOT_STORE_PROPERTIES +// +// MessageText: +// +// Classification properties will not be stored because a failure occurred while loading or classifying the file properties. +// +#define FSRM_E_CANNOT_STORE_PROPERTIES ((HRESULT)0x80045355L) + +// +// MessageId: FSRM_E_CANNOT_ALLOW_REPARSE_POINT_TAG +// +// MessageText: +// +// Classification is not supported on the specified reparse point. File Server Resource Manager does not recognize the reparse point's identifier tag for the purposes of classification. +// +#define FSRM_E_CANNOT_ALLOW_REPARSE_POINT_TAG ((HRESULT)0x80045356L) + +// +// MessageId: FSRM_E_PARTIAL_CLASSIFICATION_PROPERTY_NOT_FOUND +// +// MessageText: +// +// The requested property was not found. The file may only have partial classification because a failure occurred while loading or classifying the file properties. +// +#define FSRM_E_PARTIAL_CLASSIFICATION_PROPERTY_NOT_FOUND ((HRESULT)0x80045357L) + +// +// MessageId: FSRM_E_TEXTREADER_NOT_INITIALIZED +// +// MessageText: +// +// The File Server Resource Manager text reader was not initialized. +// +#define FSRM_E_TEXTREADER_NOT_INITIALIZED ((HRESULT)0x80045358L) + +// +// MessageId: FSRM_E_TEXTREADER_IFILTER_NOT_FOUND +// +// MessageText: +// +// There is no IFilter registered for this extension. +// +#define FSRM_E_TEXTREADER_IFILTER_NOT_FOUND ((HRESULT)0x80045359L) + +// +// MessageId: FSRM_E_PERSIST_PROPERTIES_FAILED_ENCRYPTED +// +// MessageText: +// +// File Server Resource Manager failed to write the properties to the file because the file is either corrupt or protected by Rights Management Services. +// +#define FSRM_E_PERSIST_PROPERTIES_FAILED_ENCRYPTED ((HRESULT)0x8004535AL) + +// +// MessageId: FSRM_E_TEXTREADER_IFILTER_CLSID_MALFORMED +// +// MessageText: +// +// The IFilter for this extension is not registered correctly. +// +#define FSRM_E_TEXTREADER_IFILTER_CLSID_MALFORMED ((HRESULT)0x80045360L) + +// +// MessageId: FSRM_E_TEXTREADER_STREAM_ERROR +// +// MessageText: +// +// There was an error obtaining the file's streaming interface. +// +#define FSRM_E_TEXTREADER_STREAM_ERROR ((HRESULT)0x80045361L) + +// +// MessageId: FSRM_E_TEXTREADER_FILENAME_TOO_LONG +// +// MessageText: +// +// The file name's extension is too long. +// +#define FSRM_E_TEXTREADER_FILENAME_TOO_LONG ((HRESULT)0x80045362L) + +// +// MessageId: FSRM_E_INCOMPATIBLE_FORMAT +// +// MessageText: +// +// The module will not process the specified file because it is unable to determine a compatible file format. +// +#define FSRM_E_INCOMPATIBLE_FORMAT ((HRESULT)0x80045363L) + +// +// MessageId: FSRM_E_FILE_ENCRYPTED +// +// MessageText: +// +// File Server Resource Manager could not access the file because it is encrypted. +// +#define FSRM_E_FILE_ENCRYPTED ((HRESULT)0x80045364L) + +// +// MessageId: FSRM_E_PERSIST_PROPERTIES_FAILED +// +// MessageText: +// +// File Server Resource Manager failed to persist the properties to the file. +// +#define FSRM_E_PERSIST_PROPERTIES_FAILED ((HRESULT)0x80045365L) + +// +// MessageId: FSRM_E_VOLUME_OFFLINE +// +// MessageText: +// +// File Server Resource Manager failed to access the volume. It may be offline. +// +#define FSRM_E_VOLUME_OFFLINE ((HRESULT)0x80045366L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_ACTION_TIMEOUT +// +// MessageText: +// +// The file management action command timed out. +// +#define FSRM_E_FILE_MANAGEMENT_ACTION_TIMEOUT ((HRESULT)0x80045367L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_ACTION_GET_EXITCODE_FAILED +// +// MessageText: +// +// The file management action completed successfully, but the exit code cannot be obtained. +// +#define FSRM_E_FILE_MANAGEMENT_ACTION_GET_EXITCODE_FAILED ((HRESULT)0x80045368L) + +// +// MessageId: FSRM_E_MODULE_INVALID_PARAM +// +// MessageText: +// +// The module encountered an invalid parameter or a valid parameter with an invalid value or an expected module parameter is not found. Check the application event log for more information. +// +#define FSRM_E_MODULE_INVALID_PARAM ((HRESULT)0x80045369L) + +// +// MessageId: FSRM_E_MODULE_INITIALIZATION +// +// MessageText: +// +// The module initialization failed. Check the application event log for more information. +// +#define FSRM_E_MODULE_INITIALIZATION ((HRESULT)0x8004536AL) + +// +// MessageId: FSRM_E_MODULE_SESSION_INITIALIZATION +// +// MessageText: +// +// The module session initialization failed. Check the application event log for more information. +// +#define FSRM_E_MODULE_SESSION_INITIALIZATION ((HRESULT)0x8004536BL) + +// +// MessageId: FSRM_E_CLASSIFICATION_SCAN_FAIL +// +// MessageText: +// +// Classification failed on all volumes. Check the application event log for more information. +// +#define FSRM_E_CLASSIFICATION_SCAN_FAIL ((HRESULT)0x8004536CL) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_NOT_LEGACY_ACCESSIBLE +// +// MessageText: +// +// The file management task cannot be accessed because task conditions were modified by using WMI or Windows PowerShell interfaces. To access or edit the file management task, use the WMI or Windows PowerShell interfaces. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_NOT_LEGACY_ACCESSIBLE ((HRESULT)0x8004536DL) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_MAX_FILE_CONDITIONS +// +// MessageText: +// +// The file management task has reached its maximum number of conditions. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_MAX_FILE_CONDITIONS ((HRESULT)0x8004536EL) + +// +// MessageId: FSRM_E_CANNOT_USE_DEPRECATED_PROPERTY +// +// MessageText: +// +// This object uses a property definition that is deprecated. You must change it to use a non-deprecated property definition. +// +#define FSRM_E_CANNOT_USE_DEPRECATED_PROPERTY ((HRESULT)0x8004536FL) + +// +// MessageId: FSRM_E_SYNC_TASK_TIMEOUT +// +// MessageText: +// +// The property definition sync task timed out. +// +#define FSRM_E_SYNC_TASK_TIMEOUT ((HRESULT)0x80045370L) + +// +// MessageId: FSRM_E_CANNOT_USE_DELETED_PROPERTY +// +// MessageText: +// +// This object uses a property definition that doesn't exist. You must change it to use an existing property definition. +// +#define FSRM_E_CANNOT_USE_DELETED_PROPERTY ((HRESULT)0x80045371L) + +// +// MessageId: FSRM_E_INVALID_AD_CLAIM +// +// MessageText: +// +// File Server Resource Manager encountered an invalid resource claim in Active Directory. +// +#define FSRM_E_INVALID_AD_CLAIM ((HRESULT)0x80045372L) + +// +// MessageId: FSRM_E_CLASSIFICATION_CANCELED +// +// MessageText: +// +// The classification operation was canceled. +// +#define FSRM_E_CLASSIFICATION_CANCELED ((HRESULT)0x80045373L) + +// +// MessageId: FSRM_E_INVALID_FOLDER_PROPERTY_STORE +// +// MessageText: +// +// File Server Resource Manager encountered an invalid folder property store. +// +#define FSRM_E_INVALID_FOLDER_PROPERTY_STORE ((HRESULT)0x80045374L) + +// +// MessageId: FSRM_E_REBUILDING_FODLER_TYPE_INDEX +// +// MessageText: +// +// File Server Resource Manager is rebuilding the index of Folder Usage property values. +// +#define FSRM_E_REBUILDING_FODLER_TYPE_INDEX ((HRESULT)0x80045375L) + +// +// MessageId: FSRM_E_PROPERTY_MUST_APPLY_TO_FILES +// +// MessageText: +// +// The specified property definition doesn't apply to files. +// +#define FSRM_E_PROPERTY_MUST_APPLY_TO_FILES ((HRESULT)0x80045376L) + +// +// MessageId: FSRM_E_CLASSIFICATION_TIMEOUT +// +// MessageText: +// +// The classification request timed out. +// +#define FSRM_E_CLASSIFICATION_TIMEOUT ((HRESULT)0x80045377L) + +// +// MessageId: FSRM_E_CLASSIFICATION_PARTIAL_BATCH +// +// MessageText: +// +// Classification failed on one or more files in the batch operation. +// +#define FSRM_E_CLASSIFICATION_PARTIAL_BATCH ((HRESULT)0x80045378L) + +// +// MessageId: FSRM_E_CANNOT_DELETE_SYSTEM_PROPERTY +// +// MessageText: +// +// This property is a system property and cannot be deleted. +// +#define FSRM_E_CANNOT_DELETE_SYSTEM_PROPERTY ((HRESULT)0x80045379L) + +// +// MessageId: FSRM_E_FILE_IN_USE +// +// MessageText: +// +// The file is being used by another application and cannot be accessed at this time. +// +#define FSRM_E_FILE_IN_USE ((HRESULT)0x8004537AL) + +// +// MessageId: FSRM_E_ERROR_NOT_ENABLED +// +// MessageText: +// +// Access-denied assistance is not enabled for this error. +// +#define FSRM_E_ERROR_NOT_ENABLED ((HRESULT)0x8004537BL) + +// +// MessageId: FSRM_E_CANNOT_CREATE_TEMP_COPY +// +// MessageText: +// +// File Server Resource Manager could not create a temporary file copy. +// +#define FSRM_E_CANNOT_CREATE_TEMP_COPY ((HRESULT)0x8004537CL) + +// +// MessageId: FSRM_E_NO_EMAIL_ADDRESS +// +// MessageText: +// +// Access-denied assistance cannot send an email because an email address could not be found for the path specified, and sending email to the administrator is not enabled. +// +#define FSRM_E_NO_EMAIL_ADDRESS ((HRESULT)0x8004537DL) + +// +// MessageId: FSRM_E_ADR_MAX_EMAILS_SENT +// +// MessageText: +// +// The current user has sent the maximum number of requests for access-denied assistance. +// +#define FSRM_E_ADR_MAX_EMAILS_SENT ((HRESULT)0x8004537EL) + +// +// MessageId: FSRM_E_PATH_NOT_IN_NAMESPACE +// +// MessageText: +// +// The path is not included in a classification rule. +// +#define FSRM_E_PATH_NOT_IN_NAMESPACE ((HRESULT)0x8004537FL) + +// +// MessageId: FSRM_E_RMS_TEMPLATE_NOT_FOUND +// +// MessageText: +// +// The RMS template used to configure the file management task no longer exists. Please select another template. +// +#define FSRM_E_RMS_TEMPLATE_NOT_FOUND ((HRESULT)0x80045380L) + +// +// MessageId: FSRM_E_SECURE_PROPERTIES_NOT_SUPPORTED +// +// MessageText: +// +// The computer hosting the file or folder does not support setting secure properties. This can occur if the computer is running Windows Server 2008 R2, Windows 7, or earlier, or if the computer is not running Windows. +// +#define FSRM_E_SECURE_PROPERTIES_NOT_SUPPORTED ((HRESULT)0x80045381L) + +// +// MessageId: FSRM_E_RMS_NO_PROTECTORS_INSTALLED +// +// MessageText: +// +// File Server Resource Manager cannot run the file management task because no RMS protectors are installed. +// +#define FSRM_E_RMS_NO_PROTECTORS_INSTALLED ((HRESULT)0x80045382L) + +// +// MessageId: FSRM_E_RMS_NO_PROTECTOR_INSTALLED_FOR_FILE +// +// MessageText: +// +// File Server Resource Manager cannot protect the file because an RMS protector for the file type is not installed. +// +#define FSRM_E_RMS_NO_PROTECTOR_INSTALLED_FOR_FILE ((HRESULT)0x80045383L) + +// +// MessageId: FSRM_E_PROPERTY_MUST_APPLY_TO_FOLDERS +// +// MessageText: +// +// The specified property definition doesn't apply to folders. +// +#define FSRM_E_PROPERTY_MUST_APPLY_TO_FOLDERS ((HRESULT)0x80045384L) + +// +// MessageId: FSRM_E_PROPERTY_MUST_BE_SECURE +// +// MessageText: +// +// The specified property definition type is not secure. +// +#define FSRM_E_PROPERTY_MUST_BE_SECURE ((HRESULT)0x80045385L) + +// +// MessageId: FSRM_E_PROPERTY_MUST_BE_GLOBAL +// +// MessageText: +// +// The specified property definition type is not global. +// +#define FSRM_E_PROPERTY_MUST_BE_GLOBAL ((HRESULT)0x80045386L) + +// +// MessageId: FSRM_E_WMI_FAILURE +// +// MessageText: +// +// Unexpected failure from a WMI call. +// +#define FSRM_E_WMI_FAILURE ((HRESULT)0x80045387L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_RMS +// +// MessageText: +// +// Cannot protect a file while running a file management task. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_RMS ((HRESULT)0x80045388L) + +// +// MessageId: FSRM_E_SYNC_TASK_HAD_ERRORS +// +// MessageText: +// +// The property definition sync task encountered errors. +// Check the application event log for more information. +// +#define FSRM_E_SYNC_TASK_HAD_ERRORS ((HRESULT)0x80045389L) + +// +// MessageId: FSRM_E_ADR_SRV_NOT_SUPPORTED +// +// MessageText: +// +// The server does not provide access-denied assistance. +// +#define FSRM_E_ADR_SRV_NOT_SUPPORTED ((HRESULT)0x80045390L) + +// +// MessageId: FSRM_E_ADR_PATH_IS_LOCAL +// +// MessageText: +// +// Access-denied assistance cannot be provided for local paths. +// +#define FSRM_E_ADR_PATH_IS_LOCAL ((HRESULT)0x80045391L) + +// +// MessageId: FSRM_E_ADR_NOT_DOMAIN_JOINED +// +// MessageText: +// +// Access-denied assistance requires that the server be joined to a domain. +// +#define FSRM_E_ADR_NOT_DOMAIN_JOINED ((HRESULT)0x80045392L) + +// +// MessageId: FSRM_E_CANNOT_REMOVE_READONLY +// +// MessageText: +// +// File Server Resource Manager could not remove the read-only attribute from a file. +// +#define FSRM_E_CANNOT_REMOVE_READONLY ((HRESULT)0x80045393L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_INVALID_CONTINUOUS_CONFIG +// +// MessageText: +// +// A continuous file management job cannot have conditions based on the file's last accessed/modified or created times and cannot define any notifications. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_INVALID_CONTINUOUS_CONFIG ((HRESULT)0x80045394L) + +// +// MessageId: FSRM_E_LEGACY_SCHEDULE +// +// MessageText: +// +// The object contains a schedule that was created by using an earlier version of File Server Resource Manager and that is incompatible with the current version of Windows Server. Edit the schedule on this computer to update it. +// +#define FSRM_E_LEGACY_SCHEDULE ((HRESULT)0x80045395L) + +// +// MessageId: FSRM_E_CSC_PATH_NOT_SUPPORTED +// +// MessageText: +// +// This operation is not supported for paths on which Offline Files is enabled. +// +#define FSRM_E_CSC_PATH_NOT_SUPPORTED ((HRESULT)0x80045396L) + +// +// MessageId: FSRM_E_EXPIRATION_PATH_NOT_WRITEABLE +// +// MessageText: +// +// Cannot write to the specified expiration directory. Confirm that the permissions of the expiration directory grant Write permission to the computer account of the server performing the file expiration task. +// +#define FSRM_E_EXPIRATION_PATH_NOT_WRITEABLE ((HRESULT)0x80045397L) + +// +// MessageId: FSRM_E_EXPIRATION_PATH_TOO_LONG +// +// MessageText: +// +// The expiration path must be 150 characters or shorter. +// +#define FSRM_E_EXPIRATION_PATH_TOO_LONG ((HRESULT)0x80045398L) + +// +// MessageId: FSRM_E_EXPIRATION_VOLUME_NOT_NTFS +// +// MessageText: +// +// The expiration directory must be on a volume formatted with the NTFS file system. +// +#define FSRM_E_EXPIRATION_VOLUME_NOT_NTFS ((HRESULT)0x80045399L) + +// +// MessageId: FSRM_E_FILE_MANAGEMENT_JOB_DEPRECATED +// +// MessageText: +// +// This file management job is deprecated. Please check the configuration of the file management job and verify that it is up-to-date. +// +#define FSRM_E_FILE_MANAGEMENT_JOB_DEPRECATED ((HRESULT)0x8004539AL) + +// +// MessageId: FSRM_E_MODULE_TIMEOUT +// +// MessageText: +// +// A module was restarted due to excessive processing time of a file. Check the application event log for more information. +// +#define FSRM_E_MODULE_TIMEOUT ((HRESULT)0x8004539BL) + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmpipeline.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmpipeline.h new file mode 100644 index 0000000000000000000000000000000000000000..9c172f21e3daaefca52d9e9e50a7aedaafc2eb3b --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmpipeline.h @@ -0,0 +1,5265 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __fsrmpipeline_h__ +#define __fsrmpipeline_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFsrmPropertyDefinition_FWD_DEFINED__ +#define __IFsrmPropertyDefinition_FWD_DEFINED__ +typedef interface IFsrmPropertyDefinition IFsrmPropertyDefinition; + +#endif /* __IFsrmPropertyDefinition_FWD_DEFINED__ */ + + +#ifndef __IFsrmPropertyDefinition2_FWD_DEFINED__ +#define __IFsrmPropertyDefinition2_FWD_DEFINED__ +typedef interface IFsrmPropertyDefinition2 IFsrmPropertyDefinition2; + +#endif /* __IFsrmPropertyDefinition2_FWD_DEFINED__ */ + + +#ifndef __IFsrmPropertyDefinitionValue_FWD_DEFINED__ +#define __IFsrmPropertyDefinitionValue_FWD_DEFINED__ +typedef interface IFsrmPropertyDefinitionValue IFsrmPropertyDefinitionValue; + +#endif /* __IFsrmPropertyDefinitionValue_FWD_DEFINED__ */ + + +#ifndef __IFsrmProperty_FWD_DEFINED__ +#define __IFsrmProperty_FWD_DEFINED__ +typedef interface IFsrmProperty IFsrmProperty; + +#endif /* __IFsrmProperty_FWD_DEFINED__ */ + + +#ifndef __IFsrmRule_FWD_DEFINED__ +#define __IFsrmRule_FWD_DEFINED__ +typedef interface IFsrmRule IFsrmRule; + +#endif /* __IFsrmRule_FWD_DEFINED__ */ + + +#ifndef __IFsrmClassificationRule_FWD_DEFINED__ +#define __IFsrmClassificationRule_FWD_DEFINED__ +typedef interface IFsrmClassificationRule IFsrmClassificationRule; + +#endif /* __IFsrmClassificationRule_FWD_DEFINED__ */ + + +#ifndef __IFsrmPipelineModuleDefinition_FWD_DEFINED__ +#define __IFsrmPipelineModuleDefinition_FWD_DEFINED__ +typedef interface IFsrmPipelineModuleDefinition IFsrmPipelineModuleDefinition; + +#endif /* __IFsrmPipelineModuleDefinition_FWD_DEFINED__ */ + + +#ifndef __IFsrmClassifierModuleDefinition_FWD_DEFINED__ +#define __IFsrmClassifierModuleDefinition_FWD_DEFINED__ +typedef interface IFsrmClassifierModuleDefinition IFsrmClassifierModuleDefinition; + +#endif /* __IFsrmClassifierModuleDefinition_FWD_DEFINED__ */ + + +#ifndef __IFsrmStorageModuleDefinition_FWD_DEFINED__ +#define __IFsrmStorageModuleDefinition_FWD_DEFINED__ +typedef interface IFsrmStorageModuleDefinition IFsrmStorageModuleDefinition; + +#endif /* __IFsrmStorageModuleDefinition_FWD_DEFINED__ */ + + +#ifndef __IFsrmClassificationManager_FWD_DEFINED__ +#define __IFsrmClassificationManager_FWD_DEFINED__ +typedef interface IFsrmClassificationManager IFsrmClassificationManager; + +#endif /* __IFsrmClassificationManager_FWD_DEFINED__ */ + + +#ifndef __IFsrmClassificationManager2_FWD_DEFINED__ +#define __IFsrmClassificationManager2_FWD_DEFINED__ +typedef interface IFsrmClassificationManager2 IFsrmClassificationManager2; + +#endif /* __IFsrmClassificationManager2_FWD_DEFINED__ */ + + +#ifndef __IFsrmPropertyBag_FWD_DEFINED__ +#define __IFsrmPropertyBag_FWD_DEFINED__ +typedef interface IFsrmPropertyBag IFsrmPropertyBag; + +#endif /* __IFsrmPropertyBag_FWD_DEFINED__ */ + + +#ifndef __IFsrmPropertyBag2_FWD_DEFINED__ +#define __IFsrmPropertyBag2_FWD_DEFINED__ +typedef interface IFsrmPropertyBag2 IFsrmPropertyBag2; + +#endif /* __IFsrmPropertyBag2_FWD_DEFINED__ */ + + +#ifndef __IFsrmPipelineModuleImplementation_FWD_DEFINED__ +#define __IFsrmPipelineModuleImplementation_FWD_DEFINED__ +typedef interface IFsrmPipelineModuleImplementation IFsrmPipelineModuleImplementation; + +#endif /* __IFsrmPipelineModuleImplementation_FWD_DEFINED__ */ + + +#ifndef __IFsrmClassifierModuleImplementation_FWD_DEFINED__ +#define __IFsrmClassifierModuleImplementation_FWD_DEFINED__ +typedef interface IFsrmClassifierModuleImplementation IFsrmClassifierModuleImplementation; + +#endif /* __IFsrmClassifierModuleImplementation_FWD_DEFINED__ */ + + +#ifndef __IFsrmStorageModuleImplementation_FWD_DEFINED__ +#define __IFsrmStorageModuleImplementation_FWD_DEFINED__ +typedef interface IFsrmStorageModuleImplementation IFsrmStorageModuleImplementation; + +#endif /* __IFsrmStorageModuleImplementation_FWD_DEFINED__ */ + + +#ifndef __IFsrmPipelineModuleConnector_FWD_DEFINED__ +#define __IFsrmPipelineModuleConnector_FWD_DEFINED__ +typedef interface IFsrmPipelineModuleConnector IFsrmPipelineModuleConnector; + +#endif /* __IFsrmPipelineModuleConnector_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "fsrm.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrmpipeline_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + + + + + + + + + + + + + +#define FSRM_DISPID_PROPERTY_DEFINITION ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x100000 ) ) + +#define FSRM_DISPID_PROPERTY_DEFINITION2 ( ( FSRM_DISPID_PROPERTY_DEFINITION | 0x10000 ) ) + +#define FSRM_DISPID_PROPERTY ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x200000 ) ) + +#define FSRM_DISPID_RULE ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x300000 ) ) + +#define FSRM_DISPID_CLASSIFICATION_RULE ( ( FSRM_DISPID_RULE | 0x10000 ) ) + +#define FSRM_DISPID_EXPIRATION_RULE ( ( FSRM_DISPID_RULE | 0x20000 ) ) + +#define FSRM_DISPID_PIPELINE_MODULE_DEFINITION ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x400000 ) ) + +#define FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION ( ( FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x10000 ) ) + +#define FSRM_DISPID_STORAGE_MODULE_DEFINITION ( ( FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x20000 ) ) + +#define FSRM_DISPID_CLASSIFICATION_MANAGER ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x500000 ) ) + +#define FSRM_DISPID_CLASSIFICATION_MANAGER2 ( ( FSRM_DISPID_CLASSIFICATION_MANAGER | 0x10000 ) ) + +#define FSRM_DISPID_CLASSIFICATION_EVENTS ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x600000 ) ) + +#define FSRM_DISPID_PROPERTY_DEFINITION_VALUE ( ( FSRM_DISPID_FEATURE_CLASSIFICATION | 0x700000 ) ) + +#define FSRM_DISPID_PROPERTY_BAG ( ( FSRM_DISPID_FEATURE_PIPELINE | 0x100000 ) ) + +#define FSRM_DISPID_PROPERTY_BAG2 ( ( FSRM_DISPID_PROPERTY_BAG | 0x10000 ) ) + +#define FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION ( ( FSRM_DISPID_FEATURE_PIPELINE | 0x200000 ) ) + +#define FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION ( ( FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION | 0x10000 ) ) + +#define FSRM_DISPID_STORAGE_MODULE_IMPLEMENTATION ( ( FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION | 0x20000 ) ) + +#define FSRM_DISPID_PIPELINE_MODULE_CONNECTOR ( ( FSRM_DISPID_FEATURE_PIPELINE | 0x300000 ) ) + +#define FsrmMaxNumberPropertyDefinitions ( 100 ) + + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmpipeline_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmpipeline_0000_0000_v0_0_s_ifspec; + +#ifndef __IFsrmPropertyDefinition_INTERFACE_DEFINED__ +#define __IFsrmPropertyDefinition_INTERFACE_DEFINED__ + +/* interface IFsrmPropertyDefinition */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPropertyDefinition; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("ede0150f-e9a3-419c-877c-01fe5d24c5d3") + IFsrmPropertyDefinition : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type( + /* [retval][out] */ __RPC__out FsrmPropertyDefinitionType *type) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Type( + /* [in] */ FsrmPropertyDefinitionType type) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PossibleValues( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *possibleValues) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PossibleValues( + /* [in] */ __RPC__in SAFEARRAY * possibleValues) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ValueDescriptions( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *valueDescriptions) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ValueDescriptions( + /* [in] */ __RPC__in SAFEARRAY * valueDescriptions) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parameters( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Parameters( + /* [in] */ __RPC__in SAFEARRAY * parameters) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyDefinitionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPropertyDefinition * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPropertyDefinition * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPropertyDefinition * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPropertyDefinition * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmPropertyDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmPropertyDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__out FsrmPropertyDefinitionType *type); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_Type) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Type )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ FsrmPropertyDefinitionType type); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_PossibleValues) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PossibleValues )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *possibleValues); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_PossibleValues) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PossibleValues )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * possibleValues); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_ValueDescriptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValueDescriptions )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *valueDescriptions); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_ValueDescriptions) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ValueDescriptions )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * valueDescriptions); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmPropertyDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmPropertyDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + END_INTERFACE + } IFsrmPropertyDefinitionVtbl; + + interface IFsrmPropertyDefinition + { + CONST_VTBL struct IFsrmPropertyDefinitionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPropertyDefinition_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPropertyDefinition_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPropertyDefinition_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPropertyDefinition_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPropertyDefinition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPropertyDefinition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPropertyDefinition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPropertyDefinition_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmPropertyDefinition_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmPropertyDefinition_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmPropertyDefinition_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmPropertyDefinition_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmPropertyDefinition_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPropertyDefinition_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmPropertyDefinition_get_Type(This,type) \ + ( (This)->lpVtbl -> get_Type(This,type) ) + +#define IFsrmPropertyDefinition_put_Type(This,type) \ + ( (This)->lpVtbl -> put_Type(This,type) ) + +#define IFsrmPropertyDefinition_get_PossibleValues(This,possibleValues) \ + ( (This)->lpVtbl -> get_PossibleValues(This,possibleValues) ) + +#define IFsrmPropertyDefinition_put_PossibleValues(This,possibleValues) \ + ( (This)->lpVtbl -> put_PossibleValues(This,possibleValues) ) + +#define IFsrmPropertyDefinition_get_ValueDescriptions(This,valueDescriptions) \ + ( (This)->lpVtbl -> get_ValueDescriptions(This,valueDescriptions) ) + +#define IFsrmPropertyDefinition_put_ValueDescriptions(This,valueDescriptions) \ + ( (This)->lpVtbl -> put_ValueDescriptions(This,valueDescriptions) ) + +#define IFsrmPropertyDefinition_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmPropertyDefinition_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPropertyDefinition_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPropertyDefinition2_INTERFACE_DEFINED__ +#define __IFsrmPropertyDefinition2_INTERFACE_DEFINED__ + +/* interface IFsrmPropertyDefinition2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPropertyDefinition2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("47782152-d16c-4229-b4e1-0ddfe308b9f6") + IFsrmPropertyDefinition2 : public IFsrmPropertyDefinition + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyDefinitionFlags( + /* [retval][out] */ __RPC__out long *propertyDefinitionFlags) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DisplayName( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AppliesTo( + /* [retval][out] */ __RPC__out long *appliesTo) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ValueDefinitions( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **valueDefinitions) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyDefinition2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPropertyDefinition2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPropertyDefinition2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPropertyDefinition2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmPropertyDefinition2 * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmPropertyDefinition2 * This); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__out FsrmPropertyDefinitionType *type); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_Type) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Type )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ FsrmPropertyDefinitionType type); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_PossibleValues) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PossibleValues )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *possibleValues); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_PossibleValues) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PossibleValues )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in SAFEARRAY * possibleValues); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_ValueDescriptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValueDescriptions )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *valueDescriptions); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_ValueDescriptions) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ValueDescriptions )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in SAFEARRAY * valueDescriptions); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition2, get_PropertyDefinitionFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyDefinitionFlags )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__out long *propertyDefinitionFlags); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition2, get_DisplayName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition2, put_DisplayName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayName )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition2, get_AppliesTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AppliesTo )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__out long *appliesTo); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinition2, get_ValueDefinitions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValueDefinitions )( + __RPC__in IFsrmPropertyDefinition2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **valueDefinitions); + + END_INTERFACE + } IFsrmPropertyDefinition2Vtbl; + + interface IFsrmPropertyDefinition2 + { + CONST_VTBL struct IFsrmPropertyDefinition2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPropertyDefinition2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPropertyDefinition2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPropertyDefinition2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPropertyDefinition2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPropertyDefinition2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPropertyDefinition2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPropertyDefinition2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPropertyDefinition2_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmPropertyDefinition2_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmPropertyDefinition2_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmPropertyDefinition2_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmPropertyDefinition2_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmPropertyDefinition2_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPropertyDefinition2_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmPropertyDefinition2_get_Type(This,type) \ + ( (This)->lpVtbl -> get_Type(This,type) ) + +#define IFsrmPropertyDefinition2_put_Type(This,type) \ + ( (This)->lpVtbl -> put_Type(This,type) ) + +#define IFsrmPropertyDefinition2_get_PossibleValues(This,possibleValues) \ + ( (This)->lpVtbl -> get_PossibleValues(This,possibleValues) ) + +#define IFsrmPropertyDefinition2_put_PossibleValues(This,possibleValues) \ + ( (This)->lpVtbl -> put_PossibleValues(This,possibleValues) ) + +#define IFsrmPropertyDefinition2_get_ValueDescriptions(This,valueDescriptions) \ + ( (This)->lpVtbl -> get_ValueDescriptions(This,valueDescriptions) ) + +#define IFsrmPropertyDefinition2_put_ValueDescriptions(This,valueDescriptions) \ + ( (This)->lpVtbl -> put_ValueDescriptions(This,valueDescriptions) ) + +#define IFsrmPropertyDefinition2_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmPropertyDefinition2_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + + +#define IFsrmPropertyDefinition2_get_PropertyDefinitionFlags(This,propertyDefinitionFlags) \ + ( (This)->lpVtbl -> get_PropertyDefinitionFlags(This,propertyDefinitionFlags) ) + +#define IFsrmPropertyDefinition2_get_DisplayName(This,name) \ + ( (This)->lpVtbl -> get_DisplayName(This,name) ) + +#define IFsrmPropertyDefinition2_put_DisplayName(This,name) \ + ( (This)->lpVtbl -> put_DisplayName(This,name) ) + +#define IFsrmPropertyDefinition2_get_AppliesTo(This,appliesTo) \ + ( (This)->lpVtbl -> get_AppliesTo(This,appliesTo) ) + +#define IFsrmPropertyDefinition2_get_ValueDefinitions(This,valueDefinitions) \ + ( (This)->lpVtbl -> get_ValueDefinitions(This,valueDefinitions) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPropertyDefinition2_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPropertyDefinitionValue_INTERFACE_DEFINED__ +#define __IFsrmPropertyDefinitionValue_INTERFACE_DEFINED__ + +/* interface IFsrmPropertyDefinitionValue */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPropertyDefinitionValue; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("E946D148-BD67-4178-8E22-1C44925ED710") + IFsrmPropertyDefinitionValue : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *displayName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *description) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UniqueID( + /* [retval][out] */ __RPC__deref_out_opt BSTR *uniqueID) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyDefinitionValueVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPropertyDefinitionValue * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPropertyDefinitionValue * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPropertyDefinitionValue * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinitionValue, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinitionValue, get_DisplayName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *displayName); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinitionValue, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmPropertyDefinitionValue, get_UniqueID) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UniqueID )( + __RPC__in IFsrmPropertyDefinitionValue * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *uniqueID); + + END_INTERFACE + } IFsrmPropertyDefinitionValueVtbl; + + interface IFsrmPropertyDefinitionValue + { + CONST_VTBL struct IFsrmPropertyDefinitionValueVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPropertyDefinitionValue_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPropertyDefinitionValue_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPropertyDefinitionValue_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPropertyDefinitionValue_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPropertyDefinitionValue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPropertyDefinitionValue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPropertyDefinitionValue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPropertyDefinitionValue_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPropertyDefinitionValue_get_DisplayName(This,displayName) \ + ( (This)->lpVtbl -> get_DisplayName(This,displayName) ) + +#define IFsrmPropertyDefinitionValue_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmPropertyDefinitionValue_get_UniqueID(This,uniqueID) \ + ( (This)->lpVtbl -> get_UniqueID(This,uniqueID) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPropertyDefinitionValue_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmProperty_INTERFACE_DEFINED__ +#define __IFsrmProperty_INTERFACE_DEFINED__ + +/* interface IFsrmProperty */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmProperty; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4a73fee4-4102-4fcc-9ffb-38614f9ee768") + IFsrmProperty : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( + /* [retval][out] */ __RPC__deref_out_opt BSTR *value) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Sources( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *sources) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyFlags( + /* [retval][out] */ __RPC__out long *flags) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmProperty * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmProperty * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmProperty * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmProperty * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmProperty * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmProperty * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmProperty * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmProperty, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmProperty * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmProperty, get_Value) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( + __RPC__in IFsrmProperty * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *value); + + DECLSPEC_XFGVIRT(IFsrmProperty, get_Sources) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Sources )( + __RPC__in IFsrmProperty * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *sources); + + DECLSPEC_XFGVIRT(IFsrmProperty, get_PropertyFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyFlags )( + __RPC__in IFsrmProperty * This, + /* [retval][out] */ __RPC__out long *flags); + + END_INTERFACE + } IFsrmPropertyVtbl; + + interface IFsrmProperty + { + CONST_VTBL struct IFsrmPropertyVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmProperty_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmProperty_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmProperty_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmProperty_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmProperty_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmProperty_get_Value(This,value) \ + ( (This)->lpVtbl -> get_Value(This,value) ) + +#define IFsrmProperty_get_Sources(This,sources) \ + ( (This)->lpVtbl -> get_Sources(This,sources) ) + +#define IFsrmProperty_get_PropertyFlags(This,flags) \ + ( (This)->lpVtbl -> get_PropertyFlags(This,flags) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmProperty_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmRule_INTERFACE_DEFINED__ +#define __IFsrmRule_INTERFACE_DEFINED__ + +/* interface IFsrmRule */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmRule; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("cb0df960-16f5-4495-9079-3f9360d831df") + IFsrmRule : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RuleType( + /* [retval][out] */ __RPC__out FsrmRuleType *ruleType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModuleDefinitionName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleDefinitionName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ModuleDefinitionName( + /* [in] */ __RPC__in BSTR moduleDefinitionName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NamespaceRoots( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NamespaceRoots( + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RuleFlags( + /* [retval][out] */ __RPC__out long *ruleFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RuleFlags( + /* [in] */ long ruleFlags) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parameters( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Parameters( + /* [in] */ __RPC__in SAFEARRAY * parameters) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastModified( + /* [retval][out] */ __RPC__out VARIANT *lastModified) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmRuleVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmRule * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmRule * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmRule * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmRule * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmRule * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmRule * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmRule * This); + + DECLSPEC_XFGVIRT(IFsrmRule, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmRule, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmRule, get_RuleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RuleType )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__out FsrmRuleType *ruleType); + + DECLSPEC_XFGVIRT(IFsrmRule, get_ModuleDefinitionName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleDefinitionName )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleDefinitionName); + + DECLSPEC_XFGVIRT(IFsrmRule, put_ModuleDefinitionName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ModuleDefinitionName )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in BSTR moduleDefinitionName); + + DECLSPEC_XFGVIRT(IFsrmRule, get_NamespaceRoots) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NamespaceRoots )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmRule, put_NamespaceRoots) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NamespaceRoots )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmRule, get_RuleFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RuleFlags )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__out long *ruleFlags); + + DECLSPEC_XFGVIRT(IFsrmRule, put_RuleFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RuleFlags )( + __RPC__in IFsrmRule * This, + /* [in] */ long ruleFlags); + + DECLSPEC_XFGVIRT(IFsrmRule, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmRule, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmRule * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + DECLSPEC_XFGVIRT(IFsrmRule, get_LastModified) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastModified )( + __RPC__in IFsrmRule * This, + /* [retval][out] */ __RPC__out VARIANT *lastModified); + + END_INTERFACE + } IFsrmRuleVtbl; + + interface IFsrmRule + { + CONST_VTBL struct IFsrmRuleVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmRule_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmRule_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmRule_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmRule_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmRule_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmRule_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmRule_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmRule_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmRule_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmRule_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmRule_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmRule_get_RuleType(This,ruleType) \ + ( (This)->lpVtbl -> get_RuleType(This,ruleType) ) + +#define IFsrmRule_get_ModuleDefinitionName(This,moduleDefinitionName) \ + ( (This)->lpVtbl -> get_ModuleDefinitionName(This,moduleDefinitionName) ) + +#define IFsrmRule_put_ModuleDefinitionName(This,moduleDefinitionName) \ + ( (This)->lpVtbl -> put_ModuleDefinitionName(This,moduleDefinitionName) ) + +#define IFsrmRule_get_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> get_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmRule_put_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> put_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmRule_get_RuleFlags(This,ruleFlags) \ + ( (This)->lpVtbl -> get_RuleFlags(This,ruleFlags) ) + +#define IFsrmRule_put_RuleFlags(This,ruleFlags) \ + ( (This)->lpVtbl -> put_RuleFlags(This,ruleFlags) ) + +#define IFsrmRule_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmRule_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + +#define IFsrmRule_get_LastModified(This,lastModified) \ + ( (This)->lpVtbl -> get_LastModified(This,lastModified) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmRule_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmClassificationRule_INTERFACE_DEFINED__ +#define __IFsrmClassificationRule_INTERFACE_DEFINED__ + +/* interface IFsrmClassificationRule */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmClassificationRule; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("afc052c2-5315-45ab-841b-c6db0e120148") + IFsrmClassificationRule : public IFsrmRule + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExecutionOption( + /* [retval][out] */ __RPC__out FsrmExecutionOption *executionOption) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ExecutionOption( + /* [in] */ FsrmExecutionOption executionOption) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyAffected( + /* [retval][out] */ __RPC__deref_out_opt BSTR *property) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PropertyAffected( + /* [in] */ __RPC__in BSTR property) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( + /* [retval][out] */ __RPC__deref_out_opt BSTR *value) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( + /* [in] */ __RPC__in BSTR value) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmClassificationRuleVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmClassificationRule * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmClassificationRule * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmClassificationRule * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmClassificationRule * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmClassificationRule * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmClassificationRule * This); + + DECLSPEC_XFGVIRT(IFsrmRule, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmRule, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmRule, get_RuleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RuleType )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__out FsrmRuleType *ruleType); + + DECLSPEC_XFGVIRT(IFsrmRule, get_ModuleDefinitionName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleDefinitionName )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleDefinitionName); + + DECLSPEC_XFGVIRT(IFsrmRule, put_ModuleDefinitionName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ModuleDefinitionName )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in BSTR moduleDefinitionName); + + DECLSPEC_XFGVIRT(IFsrmRule, get_NamespaceRoots) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NamespaceRoots )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmRule, put_NamespaceRoots) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NamespaceRoots )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmRule, get_RuleFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RuleFlags )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__out long *ruleFlags); + + DECLSPEC_XFGVIRT(IFsrmRule, put_RuleFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RuleFlags )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ long ruleFlags); + + DECLSPEC_XFGVIRT(IFsrmRule, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmRule, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + DECLSPEC_XFGVIRT(IFsrmRule, get_LastModified) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastModified )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__out VARIANT *lastModified); + + DECLSPEC_XFGVIRT(IFsrmClassificationRule, get_ExecutionOption) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExecutionOption )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__out FsrmExecutionOption *executionOption); + + DECLSPEC_XFGVIRT(IFsrmClassificationRule, put_ExecutionOption) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ExecutionOption )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ FsrmExecutionOption executionOption); + + DECLSPEC_XFGVIRT(IFsrmClassificationRule, get_PropertyAffected) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyAffected )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *property); + + DECLSPEC_XFGVIRT(IFsrmClassificationRule, put_PropertyAffected) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PropertyAffected )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in BSTR property); + + DECLSPEC_XFGVIRT(IFsrmClassificationRule, get_Value) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( + __RPC__in IFsrmClassificationRule * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *value); + + DECLSPEC_XFGVIRT(IFsrmClassificationRule, put_Value) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( + __RPC__in IFsrmClassificationRule * This, + /* [in] */ __RPC__in BSTR value); + + END_INTERFACE + } IFsrmClassificationRuleVtbl; + + interface IFsrmClassificationRule + { + CONST_VTBL struct IFsrmClassificationRuleVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmClassificationRule_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmClassificationRule_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmClassificationRule_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmClassificationRule_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmClassificationRule_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmClassificationRule_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmClassificationRule_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmClassificationRule_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmClassificationRule_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmClassificationRule_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmClassificationRule_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmClassificationRule_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmClassificationRule_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmClassificationRule_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmClassificationRule_get_RuleType(This,ruleType) \ + ( (This)->lpVtbl -> get_RuleType(This,ruleType) ) + +#define IFsrmClassificationRule_get_ModuleDefinitionName(This,moduleDefinitionName) \ + ( (This)->lpVtbl -> get_ModuleDefinitionName(This,moduleDefinitionName) ) + +#define IFsrmClassificationRule_put_ModuleDefinitionName(This,moduleDefinitionName) \ + ( (This)->lpVtbl -> put_ModuleDefinitionName(This,moduleDefinitionName) ) + +#define IFsrmClassificationRule_get_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> get_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmClassificationRule_put_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> put_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmClassificationRule_get_RuleFlags(This,ruleFlags) \ + ( (This)->lpVtbl -> get_RuleFlags(This,ruleFlags) ) + +#define IFsrmClassificationRule_put_RuleFlags(This,ruleFlags) \ + ( (This)->lpVtbl -> put_RuleFlags(This,ruleFlags) ) + +#define IFsrmClassificationRule_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmClassificationRule_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + +#define IFsrmClassificationRule_get_LastModified(This,lastModified) \ + ( (This)->lpVtbl -> get_LastModified(This,lastModified) ) + + +#define IFsrmClassificationRule_get_ExecutionOption(This,executionOption) \ + ( (This)->lpVtbl -> get_ExecutionOption(This,executionOption) ) + +#define IFsrmClassificationRule_put_ExecutionOption(This,executionOption) \ + ( (This)->lpVtbl -> put_ExecutionOption(This,executionOption) ) + +#define IFsrmClassificationRule_get_PropertyAffected(This,property) \ + ( (This)->lpVtbl -> get_PropertyAffected(This,property) ) + +#define IFsrmClassificationRule_put_PropertyAffected(This,property) \ + ( (This)->lpVtbl -> put_PropertyAffected(This,property) ) + +#define IFsrmClassificationRule_get_Value(This,value) \ + ( (This)->lpVtbl -> get_Value(This,value) ) + +#define IFsrmClassificationRule_put_Value(This,value) \ + ( (This)->lpVtbl -> put_Value(This,value) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmClassificationRule_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPipelineModuleDefinition_INTERFACE_DEFINED__ +#define __IFsrmPipelineModuleDefinition_INTERFACE_DEFINED__ + +/* interface IFsrmPipelineModuleDefinition */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPipelineModuleDefinition; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("515c1277-2c81-440e-8fcf-367921ed4f59") + IFsrmPipelineModuleDefinition : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModuleClsid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleClsid) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ModuleClsid( + /* [in] */ __RPC__in BSTR moduleClsid) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Company( + /* [retval][out] */ __RPC__deref_out_opt BSTR *company) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Company( + /* [in] */ __RPC__in BSTR company) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Version( + /* [retval][out] */ __RPC__deref_out_opt BSTR *version) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Version( + /* [in] */ __RPC__in BSTR version) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModuleType( + /* [retval][out] */ __RPC__out FsrmPipelineModuleType *moduleType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *enabled) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled( + /* [in] */ VARIANT_BOOL enabled) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NeedsFileContent( + /* [retval][out] */ __RPC__out VARIANT_BOOL *needsFileContent) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NeedsFileContent( + /* [in] */ VARIANT_BOOL needsFileContent) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Account( + /* [retval][out] */ __RPC__out FsrmAccountType *retrievalAccount) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Account( + /* [in] */ FsrmAccountType retrievalAccount) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SupportedExtensions( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *supportedExtensions) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SupportedExtensions( + /* [in] */ __RPC__in SAFEARRAY * supportedExtensions) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parameters( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Parameters( + /* [in] */ __RPC__in SAFEARRAY * parameters) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPipelineModuleDefinitionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPipelineModuleDefinition * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPipelineModuleDefinition * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPipelineModuleDefinition * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmPipelineModuleDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmPipelineModuleDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_ModuleClsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleClsid )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleClsid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_ModuleClsid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ModuleClsid )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in BSTR moduleClsid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Company) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Company )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *company); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Company) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Company )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in BSTR company); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Version) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *version); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Version) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Version )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in BSTR version); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_ModuleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleType )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmPipelineModuleType *moduleType); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Enabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *enabled); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Enabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ VARIANT_BOOL enabled); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_NeedsFileContent) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NeedsFileContent )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *needsFileContent); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_NeedsFileContent) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NeedsFileContent )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ VARIANT_BOOL needsFileContent); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Account) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Account )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmAccountType *retrievalAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Account) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Account )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ FsrmAccountType retrievalAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_SupportedExtensions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SupportedExtensions )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *supportedExtensions); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_SupportedExtensions) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SupportedExtensions )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * supportedExtensions); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmPipelineModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + END_INTERFACE + } IFsrmPipelineModuleDefinitionVtbl; + + interface IFsrmPipelineModuleDefinition + { + CONST_VTBL struct IFsrmPipelineModuleDefinitionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPipelineModuleDefinition_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPipelineModuleDefinition_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPipelineModuleDefinition_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPipelineModuleDefinition_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPipelineModuleDefinition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPipelineModuleDefinition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPipelineModuleDefinition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPipelineModuleDefinition_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmPipelineModuleDefinition_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmPipelineModuleDefinition_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmPipelineModuleDefinition_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmPipelineModuleDefinition_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmPipelineModuleDefinition_get_ModuleClsid(This,moduleClsid) \ + ( (This)->lpVtbl -> get_ModuleClsid(This,moduleClsid) ) + +#define IFsrmPipelineModuleDefinition_put_ModuleClsid(This,moduleClsid) \ + ( (This)->lpVtbl -> put_ModuleClsid(This,moduleClsid) ) + +#define IFsrmPipelineModuleDefinition_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPipelineModuleDefinition_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmPipelineModuleDefinition_get_Company(This,company) \ + ( (This)->lpVtbl -> get_Company(This,company) ) + +#define IFsrmPipelineModuleDefinition_put_Company(This,company) \ + ( (This)->lpVtbl -> put_Company(This,company) ) + +#define IFsrmPipelineModuleDefinition_get_Version(This,version) \ + ( (This)->lpVtbl -> get_Version(This,version) ) + +#define IFsrmPipelineModuleDefinition_put_Version(This,version) \ + ( (This)->lpVtbl -> put_Version(This,version) ) + +#define IFsrmPipelineModuleDefinition_get_ModuleType(This,moduleType) \ + ( (This)->lpVtbl -> get_ModuleType(This,moduleType) ) + +#define IFsrmPipelineModuleDefinition_get_Enabled(This,enabled) \ + ( (This)->lpVtbl -> get_Enabled(This,enabled) ) + +#define IFsrmPipelineModuleDefinition_put_Enabled(This,enabled) \ + ( (This)->lpVtbl -> put_Enabled(This,enabled) ) + +#define IFsrmPipelineModuleDefinition_get_NeedsFileContent(This,needsFileContent) \ + ( (This)->lpVtbl -> get_NeedsFileContent(This,needsFileContent) ) + +#define IFsrmPipelineModuleDefinition_put_NeedsFileContent(This,needsFileContent) \ + ( (This)->lpVtbl -> put_NeedsFileContent(This,needsFileContent) ) + +#define IFsrmPipelineModuleDefinition_get_Account(This,retrievalAccount) \ + ( (This)->lpVtbl -> get_Account(This,retrievalAccount) ) + +#define IFsrmPipelineModuleDefinition_put_Account(This,retrievalAccount) \ + ( (This)->lpVtbl -> put_Account(This,retrievalAccount) ) + +#define IFsrmPipelineModuleDefinition_get_SupportedExtensions(This,supportedExtensions) \ + ( (This)->lpVtbl -> get_SupportedExtensions(This,supportedExtensions) ) + +#define IFsrmPipelineModuleDefinition_put_SupportedExtensions(This,supportedExtensions) \ + ( (This)->lpVtbl -> put_SupportedExtensions(This,supportedExtensions) ) + +#define IFsrmPipelineModuleDefinition_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmPipelineModuleDefinition_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPipelineModuleDefinition_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmClassifierModuleDefinition_INTERFACE_DEFINED__ +#define __IFsrmClassifierModuleDefinition_INTERFACE_DEFINED__ + +/* interface IFsrmClassifierModuleDefinition */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmClassifierModuleDefinition; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("bb36ea26-6318-4b8c-8592-f72dd602e7a5") + IFsrmClassifierModuleDefinition : public IFsrmPipelineModuleDefinition + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertiesAffected( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *propertiesAffected) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PropertiesAffected( + /* [in] */ __RPC__in SAFEARRAY * propertiesAffected) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertiesUsed( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *propertiesUsed) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PropertiesUsed( + /* [in] */ __RPC__in SAFEARRAY * propertiesUsed) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NeedsExplicitValue( + /* [retval][out] */ __RPC__out VARIANT_BOOL *needsExplicitValue) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NeedsExplicitValue( + /* [in] */ VARIANT_BOOL needsExplicitValue) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmClassifierModuleDefinitionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmClassifierModuleDefinition * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmClassifierModuleDefinition * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmClassifierModuleDefinition * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmClassifierModuleDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmClassifierModuleDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_ModuleClsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleClsid )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleClsid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_ModuleClsid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ModuleClsid )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in BSTR moduleClsid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Company) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Company )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *company); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Company) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Company )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in BSTR company); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Version) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *version); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Version) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Version )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in BSTR version); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_ModuleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleType )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmPipelineModuleType *moduleType); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Enabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *enabled); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Enabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ VARIANT_BOOL enabled); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_NeedsFileContent) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NeedsFileContent )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *needsFileContent); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_NeedsFileContent) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NeedsFileContent )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ VARIANT_BOOL needsFileContent); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Account) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Account )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmAccountType *retrievalAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Account) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Account )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ FsrmAccountType retrievalAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_SupportedExtensions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SupportedExtensions )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *supportedExtensions); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_SupportedExtensions) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SupportedExtensions )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * supportedExtensions); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleDefinition, get_PropertiesAffected) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertiesAffected )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *propertiesAffected); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleDefinition, put_PropertiesAffected) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PropertiesAffected )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * propertiesAffected); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleDefinition, get_PropertiesUsed) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertiesUsed )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *propertiesUsed); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleDefinition, put_PropertiesUsed) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PropertiesUsed )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * propertiesUsed); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleDefinition, get_NeedsExplicitValue) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NeedsExplicitValue )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *needsExplicitValue); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleDefinition, put_NeedsExplicitValue) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NeedsExplicitValue )( + __RPC__in IFsrmClassifierModuleDefinition * This, + /* [in] */ VARIANT_BOOL needsExplicitValue); + + END_INTERFACE + } IFsrmClassifierModuleDefinitionVtbl; + + interface IFsrmClassifierModuleDefinition + { + CONST_VTBL struct IFsrmClassifierModuleDefinitionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmClassifierModuleDefinition_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmClassifierModuleDefinition_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmClassifierModuleDefinition_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmClassifierModuleDefinition_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmClassifierModuleDefinition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmClassifierModuleDefinition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmClassifierModuleDefinition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmClassifierModuleDefinition_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmClassifierModuleDefinition_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmClassifierModuleDefinition_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmClassifierModuleDefinition_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmClassifierModuleDefinition_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmClassifierModuleDefinition_get_ModuleClsid(This,moduleClsid) \ + ( (This)->lpVtbl -> get_ModuleClsid(This,moduleClsid) ) + +#define IFsrmClassifierModuleDefinition_put_ModuleClsid(This,moduleClsid) \ + ( (This)->lpVtbl -> put_ModuleClsid(This,moduleClsid) ) + +#define IFsrmClassifierModuleDefinition_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmClassifierModuleDefinition_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmClassifierModuleDefinition_get_Company(This,company) \ + ( (This)->lpVtbl -> get_Company(This,company) ) + +#define IFsrmClassifierModuleDefinition_put_Company(This,company) \ + ( (This)->lpVtbl -> put_Company(This,company) ) + +#define IFsrmClassifierModuleDefinition_get_Version(This,version) \ + ( (This)->lpVtbl -> get_Version(This,version) ) + +#define IFsrmClassifierModuleDefinition_put_Version(This,version) \ + ( (This)->lpVtbl -> put_Version(This,version) ) + +#define IFsrmClassifierModuleDefinition_get_ModuleType(This,moduleType) \ + ( (This)->lpVtbl -> get_ModuleType(This,moduleType) ) + +#define IFsrmClassifierModuleDefinition_get_Enabled(This,enabled) \ + ( (This)->lpVtbl -> get_Enabled(This,enabled) ) + +#define IFsrmClassifierModuleDefinition_put_Enabled(This,enabled) \ + ( (This)->lpVtbl -> put_Enabled(This,enabled) ) + +#define IFsrmClassifierModuleDefinition_get_NeedsFileContent(This,needsFileContent) \ + ( (This)->lpVtbl -> get_NeedsFileContent(This,needsFileContent) ) + +#define IFsrmClassifierModuleDefinition_put_NeedsFileContent(This,needsFileContent) \ + ( (This)->lpVtbl -> put_NeedsFileContent(This,needsFileContent) ) + +#define IFsrmClassifierModuleDefinition_get_Account(This,retrievalAccount) \ + ( (This)->lpVtbl -> get_Account(This,retrievalAccount) ) + +#define IFsrmClassifierModuleDefinition_put_Account(This,retrievalAccount) \ + ( (This)->lpVtbl -> put_Account(This,retrievalAccount) ) + +#define IFsrmClassifierModuleDefinition_get_SupportedExtensions(This,supportedExtensions) \ + ( (This)->lpVtbl -> get_SupportedExtensions(This,supportedExtensions) ) + +#define IFsrmClassifierModuleDefinition_put_SupportedExtensions(This,supportedExtensions) \ + ( (This)->lpVtbl -> put_SupportedExtensions(This,supportedExtensions) ) + +#define IFsrmClassifierModuleDefinition_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmClassifierModuleDefinition_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + + +#define IFsrmClassifierModuleDefinition_get_PropertiesAffected(This,propertiesAffected) \ + ( (This)->lpVtbl -> get_PropertiesAffected(This,propertiesAffected) ) + +#define IFsrmClassifierModuleDefinition_put_PropertiesAffected(This,propertiesAffected) \ + ( (This)->lpVtbl -> put_PropertiesAffected(This,propertiesAffected) ) + +#define IFsrmClassifierModuleDefinition_get_PropertiesUsed(This,propertiesUsed) \ + ( (This)->lpVtbl -> get_PropertiesUsed(This,propertiesUsed) ) + +#define IFsrmClassifierModuleDefinition_put_PropertiesUsed(This,propertiesUsed) \ + ( (This)->lpVtbl -> put_PropertiesUsed(This,propertiesUsed) ) + +#define IFsrmClassifierModuleDefinition_get_NeedsExplicitValue(This,needsExplicitValue) \ + ( (This)->lpVtbl -> get_NeedsExplicitValue(This,needsExplicitValue) ) + +#define IFsrmClassifierModuleDefinition_put_NeedsExplicitValue(This,needsExplicitValue) \ + ( (This)->lpVtbl -> put_NeedsExplicitValue(This,needsExplicitValue) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmClassifierModuleDefinition_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmStorageModuleDefinition_INTERFACE_DEFINED__ +#define __IFsrmStorageModuleDefinition_INTERFACE_DEFINED__ + +/* interface IFsrmStorageModuleDefinition */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmStorageModuleDefinition; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("15a81350-497d-4aba-80e9-d4dbcc5521fe") + IFsrmStorageModuleDefinition : public IFsrmPipelineModuleDefinition + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Capabilities( + /* [retval][out] */ __RPC__out FsrmStorageModuleCaps *capabilities) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Capabilities( + /* [in] */ FsrmStorageModuleCaps capabilities) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_StorageType( + /* [retval][out] */ __RPC__out FsrmStorageModuleType *storageType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_StorageType( + /* [in] */ FsrmStorageModuleType storageType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UpdatesFileContent( + /* [retval][out] */ __RPC__out VARIANT_BOOL *updatesFileContent) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_UpdatesFileContent( + /* [in] */ VARIANT_BOOL updatesFileContent) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmStorageModuleDefinitionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmStorageModuleDefinition * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmStorageModuleDefinition * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmStorageModuleDefinition * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmStorageModuleDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmStorageModuleDefinition * This); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_ModuleClsid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleClsid )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *moduleClsid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_ModuleClsid) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ModuleClsid )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in BSTR moduleClsid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Company) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Company )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *company); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Company) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Company )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in BSTR company); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Version) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Version )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *version); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Version) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Version )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in BSTR version); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_ModuleType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleType )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmPipelineModuleType *moduleType); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Enabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *enabled); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Enabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ VARIANT_BOOL enabled); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_NeedsFileContent) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NeedsFileContent )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *needsFileContent); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_NeedsFileContent) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NeedsFileContent )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ VARIANT_BOOL needsFileContent); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Account) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Account )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmAccountType *retrievalAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Account) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Account )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ FsrmAccountType retrievalAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_SupportedExtensions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SupportedExtensions )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *supportedExtensions); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_SupportedExtensions) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SupportedExtensions )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * supportedExtensions); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleDefinition, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleDefinition, get_Capabilities) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Capabilities )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmStorageModuleCaps *capabilities); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleDefinition, put_Capabilities) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Capabilities )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ FsrmStorageModuleCaps capabilities); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleDefinition, get_StorageType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StorageType )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out FsrmStorageModuleType *storageType); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleDefinition, put_StorageType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_StorageType )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ FsrmStorageModuleType storageType); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleDefinition, get_UpdatesFileContent) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UpdatesFileContent )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *updatesFileContent); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleDefinition, put_UpdatesFileContent) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_UpdatesFileContent )( + __RPC__in IFsrmStorageModuleDefinition * This, + /* [in] */ VARIANT_BOOL updatesFileContent); + + END_INTERFACE + } IFsrmStorageModuleDefinitionVtbl; + + interface IFsrmStorageModuleDefinition + { + CONST_VTBL struct IFsrmStorageModuleDefinitionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmStorageModuleDefinition_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmStorageModuleDefinition_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmStorageModuleDefinition_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmStorageModuleDefinition_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmStorageModuleDefinition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmStorageModuleDefinition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmStorageModuleDefinition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmStorageModuleDefinition_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmStorageModuleDefinition_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmStorageModuleDefinition_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmStorageModuleDefinition_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmStorageModuleDefinition_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmStorageModuleDefinition_get_ModuleClsid(This,moduleClsid) \ + ( (This)->lpVtbl -> get_ModuleClsid(This,moduleClsid) ) + +#define IFsrmStorageModuleDefinition_put_ModuleClsid(This,moduleClsid) \ + ( (This)->lpVtbl -> put_ModuleClsid(This,moduleClsid) ) + +#define IFsrmStorageModuleDefinition_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmStorageModuleDefinition_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmStorageModuleDefinition_get_Company(This,company) \ + ( (This)->lpVtbl -> get_Company(This,company) ) + +#define IFsrmStorageModuleDefinition_put_Company(This,company) \ + ( (This)->lpVtbl -> put_Company(This,company) ) + +#define IFsrmStorageModuleDefinition_get_Version(This,version) \ + ( (This)->lpVtbl -> get_Version(This,version) ) + +#define IFsrmStorageModuleDefinition_put_Version(This,version) \ + ( (This)->lpVtbl -> put_Version(This,version) ) + +#define IFsrmStorageModuleDefinition_get_ModuleType(This,moduleType) \ + ( (This)->lpVtbl -> get_ModuleType(This,moduleType) ) + +#define IFsrmStorageModuleDefinition_get_Enabled(This,enabled) \ + ( (This)->lpVtbl -> get_Enabled(This,enabled) ) + +#define IFsrmStorageModuleDefinition_put_Enabled(This,enabled) \ + ( (This)->lpVtbl -> put_Enabled(This,enabled) ) + +#define IFsrmStorageModuleDefinition_get_NeedsFileContent(This,needsFileContent) \ + ( (This)->lpVtbl -> get_NeedsFileContent(This,needsFileContent) ) + +#define IFsrmStorageModuleDefinition_put_NeedsFileContent(This,needsFileContent) \ + ( (This)->lpVtbl -> put_NeedsFileContent(This,needsFileContent) ) + +#define IFsrmStorageModuleDefinition_get_Account(This,retrievalAccount) \ + ( (This)->lpVtbl -> get_Account(This,retrievalAccount) ) + +#define IFsrmStorageModuleDefinition_put_Account(This,retrievalAccount) \ + ( (This)->lpVtbl -> put_Account(This,retrievalAccount) ) + +#define IFsrmStorageModuleDefinition_get_SupportedExtensions(This,supportedExtensions) \ + ( (This)->lpVtbl -> get_SupportedExtensions(This,supportedExtensions) ) + +#define IFsrmStorageModuleDefinition_put_SupportedExtensions(This,supportedExtensions) \ + ( (This)->lpVtbl -> put_SupportedExtensions(This,supportedExtensions) ) + +#define IFsrmStorageModuleDefinition_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmStorageModuleDefinition_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + + +#define IFsrmStorageModuleDefinition_get_Capabilities(This,capabilities) \ + ( (This)->lpVtbl -> get_Capabilities(This,capabilities) ) + +#define IFsrmStorageModuleDefinition_put_Capabilities(This,capabilities) \ + ( (This)->lpVtbl -> put_Capabilities(This,capabilities) ) + +#define IFsrmStorageModuleDefinition_get_StorageType(This,storageType) \ + ( (This)->lpVtbl -> get_StorageType(This,storageType) ) + +#define IFsrmStorageModuleDefinition_put_StorageType(This,storageType) \ + ( (This)->lpVtbl -> put_StorageType(This,storageType) ) + +#define IFsrmStorageModuleDefinition_get_UpdatesFileContent(This,updatesFileContent) \ + ( (This)->lpVtbl -> get_UpdatesFileContent(This,updatesFileContent) ) + +#define IFsrmStorageModuleDefinition_put_UpdatesFileContent(This,updatesFileContent) \ + ( (This)->lpVtbl -> put_UpdatesFileContent(This,updatesFileContent) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmStorageModuleDefinition_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmClassificationManager_INTERFACE_DEFINED__ +#define __IFsrmClassificationManager_INTERFACE_DEFINED__ + +/* interface IFsrmClassificationManager */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmClassificationManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("d2dc89da-ee91-48a0-85d8-cc72a56f7d04") + IFsrmClassificationManager : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassificationReportFormats( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ClassificationReportFormats( + /* [in] */ __RPC__in SAFEARRAY * formats) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Logging( + /* [retval][out] */ __RPC__out long *logging) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Logging( + /* [in] */ long logging) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassificationReportMailTo( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ClassificationReportMailTo( + /* [in] */ __RPC__in BSTR mailTo) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassificationReportEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *reportEnabled) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ClassificationReportEnabled( + /* [in] */ VARIANT_BOOL reportEnabled) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassificationLastReportPathWithoutExtension( + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastReportPath) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassificationLastError( + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ClassificationRunningStatus( + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumPropertyDefinitions( + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **propertyDefinitions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreatePropertyDefinition( + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyDefinition **propertyDefinition) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPropertyDefinition( + /* [in] */ __RPC__in BSTR propertyName, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyDefinition **propertyDefinition) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumRules( + /* [in] */ FsrmRuleType ruleType, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **Rules) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateRule( + /* [in] */ FsrmRuleType ruleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmRule **Rule) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRule( + /* [in] */ __RPC__in BSTR ruleName, + /* [in] */ FsrmRuleType ruleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmRule **Rule) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumModuleDefinitions( + /* [in] */ FsrmPipelineModuleType moduleType, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **moduleDefinitions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateModuleDefinition( + /* [in] */ FsrmPipelineModuleType moduleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleDefinition **moduleDefinition) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetModuleDefinition( + /* [in] */ __RPC__in BSTR moduleName, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleDefinition **moduleDefinition) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RunClassification( + /* [in] */ FsrmReportGenerationContext context, + /* [in] */ __RPC__in BSTR reserved) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitForClassificationCompletion( + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CancelClassification( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumFileProperties( + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **fileProperties) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileProperty( + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR propertyName, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmProperty **property) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFileProperty( + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR propertyName, + /* [in] */ __RPC__in BSTR propertyValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClearFileProperty( + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR property) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmClassificationManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmClassificationManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmClassificationManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmClassificationManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmClassificationManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationReportFormats) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationReportFormats )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_ClassificationReportFormats) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassificationReportFormats )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in SAFEARRAY * formats); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_Logging) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Logging )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__out long *logging); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_Logging) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Logging )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ long logging); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationReportMailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationReportMailTo )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_ClassificationReportMailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassificationReportMailTo )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationReportEnabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationReportEnabled )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *reportEnabled); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_ClassificationReportEnabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassificationReportEnabled )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ VARIANT_BOOL reportEnabled); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationLastReportPathWithoutExtension) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationLastReportPathWithoutExtension )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastReportPath); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationLastError) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationLastError )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationRunningStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationRunningStatus )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumPropertyDefinitions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumPropertyDefinitions )( + __RPC__in IFsrmClassificationManager * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **propertyDefinitions); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CreatePropertyDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyDefinition )( + __RPC__in IFsrmClassificationManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyDefinition **propertyDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetPropertyDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPropertyDefinition )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR propertyName, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyDefinition **propertyDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumRules) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumRules )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ FsrmRuleType ruleType, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **Rules); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CreateRule) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRule )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ FsrmRuleType ruleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmRule **Rule); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetRule) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRule )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR ruleName, + /* [in] */ FsrmRuleType ruleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmRule **Rule); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumModuleDefinitions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumModuleDefinitions )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **moduleDefinitions); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CreateModuleDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateModuleDefinition )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleDefinition **moduleDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetModuleDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetModuleDefinition )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR moduleName, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleDefinition **moduleDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, RunClassification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RunClassification )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ FsrmReportGenerationContext context, + /* [in] */ __RPC__in BSTR reserved); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, WaitForClassificationCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForClassificationCompletion )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CancelClassification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CancelClassification )( + __RPC__in IFsrmClassificationManager * This); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumFileProperties) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumFileProperties )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **fileProperties); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileProperty )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR propertyName, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmProperty **property); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, SetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFileProperty )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR propertyName, + /* [in] */ __RPC__in BSTR propertyValue); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, ClearFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClearFileProperty )( + __RPC__in IFsrmClassificationManager * This, + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR property); + + END_INTERFACE + } IFsrmClassificationManagerVtbl; + + interface IFsrmClassificationManager + { + CONST_VTBL struct IFsrmClassificationManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmClassificationManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmClassificationManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmClassificationManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmClassificationManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmClassificationManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmClassificationManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmClassificationManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmClassificationManager_get_ClassificationReportFormats(This,formats) \ + ( (This)->lpVtbl -> get_ClassificationReportFormats(This,formats) ) + +#define IFsrmClassificationManager_put_ClassificationReportFormats(This,formats) \ + ( (This)->lpVtbl -> put_ClassificationReportFormats(This,formats) ) + +#define IFsrmClassificationManager_get_Logging(This,logging) \ + ( (This)->lpVtbl -> get_Logging(This,logging) ) + +#define IFsrmClassificationManager_put_Logging(This,logging) \ + ( (This)->lpVtbl -> put_Logging(This,logging) ) + +#define IFsrmClassificationManager_get_ClassificationReportMailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_ClassificationReportMailTo(This,mailTo) ) + +#define IFsrmClassificationManager_put_ClassificationReportMailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_ClassificationReportMailTo(This,mailTo) ) + +#define IFsrmClassificationManager_get_ClassificationReportEnabled(This,reportEnabled) \ + ( (This)->lpVtbl -> get_ClassificationReportEnabled(This,reportEnabled) ) + +#define IFsrmClassificationManager_put_ClassificationReportEnabled(This,reportEnabled) \ + ( (This)->lpVtbl -> put_ClassificationReportEnabled(This,reportEnabled) ) + +#define IFsrmClassificationManager_get_ClassificationLastReportPathWithoutExtension(This,lastReportPath) \ + ( (This)->lpVtbl -> get_ClassificationLastReportPathWithoutExtension(This,lastReportPath) ) + +#define IFsrmClassificationManager_get_ClassificationLastError(This,lastError) \ + ( (This)->lpVtbl -> get_ClassificationLastError(This,lastError) ) + +#define IFsrmClassificationManager_get_ClassificationRunningStatus(This,runningStatus) \ + ( (This)->lpVtbl -> get_ClassificationRunningStatus(This,runningStatus) ) + +#define IFsrmClassificationManager_EnumPropertyDefinitions(This,options,propertyDefinitions) \ + ( (This)->lpVtbl -> EnumPropertyDefinitions(This,options,propertyDefinitions) ) + +#define IFsrmClassificationManager_CreatePropertyDefinition(This,propertyDefinition) \ + ( (This)->lpVtbl -> CreatePropertyDefinition(This,propertyDefinition) ) + +#define IFsrmClassificationManager_GetPropertyDefinition(This,propertyName,propertyDefinition) \ + ( (This)->lpVtbl -> GetPropertyDefinition(This,propertyName,propertyDefinition) ) + +#define IFsrmClassificationManager_EnumRules(This,ruleType,options,Rules) \ + ( (This)->lpVtbl -> EnumRules(This,ruleType,options,Rules) ) + +#define IFsrmClassificationManager_CreateRule(This,ruleType,Rule) \ + ( (This)->lpVtbl -> CreateRule(This,ruleType,Rule) ) + +#define IFsrmClassificationManager_GetRule(This,ruleName,ruleType,Rule) \ + ( (This)->lpVtbl -> GetRule(This,ruleName,ruleType,Rule) ) + +#define IFsrmClassificationManager_EnumModuleDefinitions(This,moduleType,options,moduleDefinitions) \ + ( (This)->lpVtbl -> EnumModuleDefinitions(This,moduleType,options,moduleDefinitions) ) + +#define IFsrmClassificationManager_CreateModuleDefinition(This,moduleType,moduleDefinition) \ + ( (This)->lpVtbl -> CreateModuleDefinition(This,moduleType,moduleDefinition) ) + +#define IFsrmClassificationManager_GetModuleDefinition(This,moduleName,moduleType,moduleDefinition) \ + ( (This)->lpVtbl -> GetModuleDefinition(This,moduleName,moduleType,moduleDefinition) ) + +#define IFsrmClassificationManager_RunClassification(This,context,reserved) \ + ( (This)->lpVtbl -> RunClassification(This,context,reserved) ) + +#define IFsrmClassificationManager_WaitForClassificationCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForClassificationCompletion(This,waitSeconds,completed) ) + +#define IFsrmClassificationManager_CancelClassification(This) \ + ( (This)->lpVtbl -> CancelClassification(This) ) + +#define IFsrmClassificationManager_EnumFileProperties(This,filePath,options,fileProperties) \ + ( (This)->lpVtbl -> EnumFileProperties(This,filePath,options,fileProperties) ) + +#define IFsrmClassificationManager_GetFileProperty(This,filePath,propertyName,options,property) \ + ( (This)->lpVtbl -> GetFileProperty(This,filePath,propertyName,options,property) ) + +#define IFsrmClassificationManager_SetFileProperty(This,filePath,propertyName,propertyValue) \ + ( (This)->lpVtbl -> SetFileProperty(This,filePath,propertyName,propertyValue) ) + +#define IFsrmClassificationManager_ClearFileProperty(This,filePath,property) \ + ( (This)->lpVtbl -> ClearFileProperty(This,filePath,property) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmClassificationManager_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmClassificationManager2_INTERFACE_DEFINED__ +#define __IFsrmClassificationManager2_INTERFACE_DEFINED__ + +/* interface IFsrmClassificationManager2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmClassificationManager2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0004c1c9-127e-4765-ba07-6a3147bca112") + IFsrmClassificationManager2 : public IFsrmClassificationManager + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClassifyFiles( + /* [in] */ __RPC__in SAFEARRAY * filePaths, + /* [unique][in] */ __RPC__in_opt SAFEARRAY * propertyNames, + /* [unique][in] */ __RPC__in_opt SAFEARRAY * propertyValues, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options = FsrmGetFilePropertyOptions_None) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmClassificationManager2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmClassificationManager2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmClassificationManager2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmClassificationManager2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmClassificationManager2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationReportFormats) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationReportFormats )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_ClassificationReportFormats) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassificationReportFormats )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in SAFEARRAY * formats); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_Logging) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Logging )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__out long *logging); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_Logging) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Logging )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ long logging); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationReportMailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationReportMailTo )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_ClassificationReportMailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassificationReportMailTo )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationReportEnabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationReportEnabled )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *reportEnabled); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, put_ClassificationReportEnabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ClassificationReportEnabled )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ VARIANT_BOOL reportEnabled); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationLastReportPathWithoutExtension) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationLastReportPathWithoutExtension )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastReportPath); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationLastError) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationLastError )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, get_ClassificationRunningStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ClassificationRunningStatus )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumPropertyDefinitions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumPropertyDefinitions )( + __RPC__in IFsrmClassificationManager2 * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **propertyDefinitions); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CreatePropertyDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyDefinition )( + __RPC__in IFsrmClassificationManager2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyDefinition **propertyDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetPropertyDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPropertyDefinition )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR propertyName, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyDefinition **propertyDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumRules) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumRules )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ FsrmRuleType ruleType, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **Rules); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CreateRule) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateRule )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ FsrmRuleType ruleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmRule **Rule); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetRule) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRule )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR ruleName, + /* [in] */ FsrmRuleType ruleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmRule **Rule); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumModuleDefinitions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumModuleDefinitions )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **moduleDefinitions); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CreateModuleDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateModuleDefinition )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleDefinition **moduleDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetModuleDefinition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetModuleDefinition )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR moduleName, + /* [in] */ FsrmPipelineModuleType moduleType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleDefinition **moduleDefinition); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, RunClassification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RunClassification )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ FsrmReportGenerationContext context, + /* [in] */ __RPC__in BSTR reserved); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, WaitForClassificationCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForClassificationCompletion )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, CancelClassification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CancelClassification )( + __RPC__in IFsrmClassificationManager2 * This); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, EnumFileProperties) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumFileProperties )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR filePath, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **fileProperties); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, GetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileProperty )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR propertyName, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmProperty **property); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, SetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFileProperty )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR propertyName, + /* [in] */ __RPC__in BSTR propertyValue); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager, ClearFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClearFileProperty )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in BSTR filePath, + /* [in] */ __RPC__in BSTR property); + + DECLSPEC_XFGVIRT(IFsrmClassificationManager2, ClassifyFiles) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClassifyFiles )( + __RPC__in IFsrmClassificationManager2 * This, + /* [in] */ __RPC__in SAFEARRAY * filePaths, + /* [unique][in] */ __RPC__in_opt SAFEARRAY * propertyNames, + /* [unique][in] */ __RPC__in_opt SAFEARRAY * propertyValues, + /* [defaultvalue][in] */ FsrmGetFilePropertyOptions options); + + END_INTERFACE + } IFsrmClassificationManager2Vtbl; + + interface IFsrmClassificationManager2 + { + CONST_VTBL struct IFsrmClassificationManager2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmClassificationManager2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmClassificationManager2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmClassificationManager2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmClassificationManager2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmClassificationManager2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmClassificationManager2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmClassificationManager2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmClassificationManager2_get_ClassificationReportFormats(This,formats) \ + ( (This)->lpVtbl -> get_ClassificationReportFormats(This,formats) ) + +#define IFsrmClassificationManager2_put_ClassificationReportFormats(This,formats) \ + ( (This)->lpVtbl -> put_ClassificationReportFormats(This,formats) ) + +#define IFsrmClassificationManager2_get_Logging(This,logging) \ + ( (This)->lpVtbl -> get_Logging(This,logging) ) + +#define IFsrmClassificationManager2_put_Logging(This,logging) \ + ( (This)->lpVtbl -> put_Logging(This,logging) ) + +#define IFsrmClassificationManager2_get_ClassificationReportMailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_ClassificationReportMailTo(This,mailTo) ) + +#define IFsrmClassificationManager2_put_ClassificationReportMailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_ClassificationReportMailTo(This,mailTo) ) + +#define IFsrmClassificationManager2_get_ClassificationReportEnabled(This,reportEnabled) \ + ( (This)->lpVtbl -> get_ClassificationReportEnabled(This,reportEnabled) ) + +#define IFsrmClassificationManager2_put_ClassificationReportEnabled(This,reportEnabled) \ + ( (This)->lpVtbl -> put_ClassificationReportEnabled(This,reportEnabled) ) + +#define IFsrmClassificationManager2_get_ClassificationLastReportPathWithoutExtension(This,lastReportPath) \ + ( (This)->lpVtbl -> get_ClassificationLastReportPathWithoutExtension(This,lastReportPath) ) + +#define IFsrmClassificationManager2_get_ClassificationLastError(This,lastError) \ + ( (This)->lpVtbl -> get_ClassificationLastError(This,lastError) ) + +#define IFsrmClassificationManager2_get_ClassificationRunningStatus(This,runningStatus) \ + ( (This)->lpVtbl -> get_ClassificationRunningStatus(This,runningStatus) ) + +#define IFsrmClassificationManager2_EnumPropertyDefinitions(This,options,propertyDefinitions) \ + ( (This)->lpVtbl -> EnumPropertyDefinitions(This,options,propertyDefinitions) ) + +#define IFsrmClassificationManager2_CreatePropertyDefinition(This,propertyDefinition) \ + ( (This)->lpVtbl -> CreatePropertyDefinition(This,propertyDefinition) ) + +#define IFsrmClassificationManager2_GetPropertyDefinition(This,propertyName,propertyDefinition) \ + ( (This)->lpVtbl -> GetPropertyDefinition(This,propertyName,propertyDefinition) ) + +#define IFsrmClassificationManager2_EnumRules(This,ruleType,options,Rules) \ + ( (This)->lpVtbl -> EnumRules(This,ruleType,options,Rules) ) + +#define IFsrmClassificationManager2_CreateRule(This,ruleType,Rule) \ + ( (This)->lpVtbl -> CreateRule(This,ruleType,Rule) ) + +#define IFsrmClassificationManager2_GetRule(This,ruleName,ruleType,Rule) \ + ( (This)->lpVtbl -> GetRule(This,ruleName,ruleType,Rule) ) + +#define IFsrmClassificationManager2_EnumModuleDefinitions(This,moduleType,options,moduleDefinitions) \ + ( (This)->lpVtbl -> EnumModuleDefinitions(This,moduleType,options,moduleDefinitions) ) + +#define IFsrmClassificationManager2_CreateModuleDefinition(This,moduleType,moduleDefinition) \ + ( (This)->lpVtbl -> CreateModuleDefinition(This,moduleType,moduleDefinition) ) + +#define IFsrmClassificationManager2_GetModuleDefinition(This,moduleName,moduleType,moduleDefinition) \ + ( (This)->lpVtbl -> GetModuleDefinition(This,moduleName,moduleType,moduleDefinition) ) + +#define IFsrmClassificationManager2_RunClassification(This,context,reserved) \ + ( (This)->lpVtbl -> RunClassification(This,context,reserved) ) + +#define IFsrmClassificationManager2_WaitForClassificationCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForClassificationCompletion(This,waitSeconds,completed) ) + +#define IFsrmClassificationManager2_CancelClassification(This) \ + ( (This)->lpVtbl -> CancelClassification(This) ) + +#define IFsrmClassificationManager2_EnumFileProperties(This,filePath,options,fileProperties) \ + ( (This)->lpVtbl -> EnumFileProperties(This,filePath,options,fileProperties) ) + +#define IFsrmClassificationManager2_GetFileProperty(This,filePath,propertyName,options,property) \ + ( (This)->lpVtbl -> GetFileProperty(This,filePath,propertyName,options,property) ) + +#define IFsrmClassificationManager2_SetFileProperty(This,filePath,propertyName,propertyValue) \ + ( (This)->lpVtbl -> SetFileProperty(This,filePath,propertyName,propertyValue) ) + +#define IFsrmClassificationManager2_ClearFileProperty(This,filePath,property) \ + ( (This)->lpVtbl -> ClearFileProperty(This,filePath,property) ) + + +#define IFsrmClassificationManager2_ClassifyFiles(This,filePaths,propertyNames,propertyValues,options) \ + ( (This)->lpVtbl -> ClassifyFiles(This,filePaths,propertyNames,propertyValues,options) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmClassificationManager2_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPropertyBag_INTERFACE_DEFINED__ +#define __IFsrmPropertyBag_INTERFACE_DEFINED__ + +/* interface IFsrmPropertyBag */ +/* [unique][helpstring][dual][uuid][object] */ + +#define MessageSizeLimit ( 4096 ) + + +EXTERN_C const IID IID_IFsrmPropertyBag; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("774589d1-d300-4f7a-9a24-f7b766800250") + IFsrmPropertyBag : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RelativePath( + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_VolumeName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *volumeName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RelativeNamespaceRoot( + /* [retval][out] */ __RPC__deref_out_opt BSTR *relativeNamespaceRoot) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_VolumeIndex( + /* [retval][out] */ __RPC__out unsigned long *volumeId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileId( + /* [retval][out] */ __RPC__out VARIANT *fileId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ParentDirectoryId( + /* [retval][out] */ __RPC__out VARIANT *parentDirectoryId) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Size( + /* [retval][out] */ __RPC__out VARIANT *size) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SizeAllocated( + /* [retval][out] */ __RPC__out VARIANT *sizeAllocated) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CreationTime( + /* [retval][out] */ __RPC__out VARIANT *creationTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastAccessTime( + /* [retval][out] */ __RPC__out VARIANT *lastAccessTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastModificationTime( + /* [retval][out] */ __RPC__out VARIANT *lastModificationTime) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Attributes( + /* [retval][out] */ __RPC__out unsigned long *attributes) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OwnerSid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *ownerSid) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FilePropertyNames( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *filePropertyNames) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Messages( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *messages) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyBagFlags( + /* [retval][out] */ __RPC__out unsigned long *flags) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileProperty( + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmProperty **fileProperty) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFileProperty( + /* [in] */ __RPC__in BSTR name, + /* [in] */ __RPC__in BSTR value) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddMessage( + /* [in] */ __RPC__in BSTR message) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileStreamInterface( + /* [in] */ FsrmFileStreamingMode accessMode, + /* [in] */ FsrmFileStreamingInterfaceType interfaceType, + /* [retval][out] */ __RPC__out VARIANT *pStreamInterface) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyBagVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPropertyBag * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPropertyBag * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPropertyBag * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPropertyBag * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_RelativePath) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RelativePath )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_VolumeName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VolumeName )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *volumeName); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_RelativeNamespaceRoot) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RelativeNamespaceRoot )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *relativeNamespaceRoot); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_VolumeIndex) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VolumeIndex )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out unsigned long *volumeId); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_FileId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileId )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *fileId); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_ParentDirectoryId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ParentDirectoryId )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *parentDirectoryId); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *size); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_SizeAllocated) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeAllocated )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *sizeAllocated); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_CreationTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CreationTime )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *creationTime); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_LastAccessTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastAccessTime )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *lastAccessTime); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_LastModificationTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastModificationTime )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out VARIANT *lastModificationTime); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Attributes) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out unsigned long *attributes); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_OwnerSid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSid )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *ownerSid); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_FilePropertyNames) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FilePropertyNames )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *filePropertyNames); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Messages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Messages )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *messages); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_PropertyBagFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyBagFlags )( + __RPC__in IFsrmPropertyBag * This, + /* [retval][out] */ __RPC__out unsigned long *flags); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, GetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileProperty )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmProperty **fileProperty); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, SetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFileProperty )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ __RPC__in BSTR name, + /* [in] */ __RPC__in BSTR value); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, AddMessage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddMessage )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ __RPC__in BSTR message); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, GetFileStreamInterface) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileStreamInterface )( + __RPC__in IFsrmPropertyBag * This, + /* [in] */ FsrmFileStreamingMode accessMode, + /* [in] */ FsrmFileStreamingInterfaceType interfaceType, + /* [retval][out] */ __RPC__out VARIANT *pStreamInterface); + + END_INTERFACE + } IFsrmPropertyBagVtbl; + + interface IFsrmPropertyBag + { + CONST_VTBL struct IFsrmPropertyBagVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPropertyBag_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPropertyBag_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPropertyBag_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPropertyBag_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPropertyBag_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPropertyBag_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPropertyBag_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPropertyBag_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPropertyBag_get_RelativePath(This,path) \ + ( (This)->lpVtbl -> get_RelativePath(This,path) ) + +#define IFsrmPropertyBag_get_VolumeName(This,volumeName) \ + ( (This)->lpVtbl -> get_VolumeName(This,volumeName) ) + +#define IFsrmPropertyBag_get_RelativeNamespaceRoot(This,relativeNamespaceRoot) \ + ( (This)->lpVtbl -> get_RelativeNamespaceRoot(This,relativeNamespaceRoot) ) + +#define IFsrmPropertyBag_get_VolumeIndex(This,volumeId) \ + ( (This)->lpVtbl -> get_VolumeIndex(This,volumeId) ) + +#define IFsrmPropertyBag_get_FileId(This,fileId) \ + ( (This)->lpVtbl -> get_FileId(This,fileId) ) + +#define IFsrmPropertyBag_get_ParentDirectoryId(This,parentDirectoryId) \ + ( (This)->lpVtbl -> get_ParentDirectoryId(This,parentDirectoryId) ) + +#define IFsrmPropertyBag_get_Size(This,size) \ + ( (This)->lpVtbl -> get_Size(This,size) ) + +#define IFsrmPropertyBag_get_SizeAllocated(This,sizeAllocated) \ + ( (This)->lpVtbl -> get_SizeAllocated(This,sizeAllocated) ) + +#define IFsrmPropertyBag_get_CreationTime(This,creationTime) \ + ( (This)->lpVtbl -> get_CreationTime(This,creationTime) ) + +#define IFsrmPropertyBag_get_LastAccessTime(This,lastAccessTime) \ + ( (This)->lpVtbl -> get_LastAccessTime(This,lastAccessTime) ) + +#define IFsrmPropertyBag_get_LastModificationTime(This,lastModificationTime) \ + ( (This)->lpVtbl -> get_LastModificationTime(This,lastModificationTime) ) + +#define IFsrmPropertyBag_get_Attributes(This,attributes) \ + ( (This)->lpVtbl -> get_Attributes(This,attributes) ) + +#define IFsrmPropertyBag_get_OwnerSid(This,ownerSid) \ + ( (This)->lpVtbl -> get_OwnerSid(This,ownerSid) ) + +#define IFsrmPropertyBag_get_FilePropertyNames(This,filePropertyNames) \ + ( (This)->lpVtbl -> get_FilePropertyNames(This,filePropertyNames) ) + +#define IFsrmPropertyBag_get_Messages(This,messages) \ + ( (This)->lpVtbl -> get_Messages(This,messages) ) + +#define IFsrmPropertyBag_get_PropertyBagFlags(This,flags) \ + ( (This)->lpVtbl -> get_PropertyBagFlags(This,flags) ) + +#define IFsrmPropertyBag_GetFileProperty(This,name,fileProperty) \ + ( (This)->lpVtbl -> GetFileProperty(This,name,fileProperty) ) + +#define IFsrmPropertyBag_SetFileProperty(This,name,value) \ + ( (This)->lpVtbl -> SetFileProperty(This,name,value) ) + +#define IFsrmPropertyBag_AddMessage(This,message) \ + ( (This)->lpVtbl -> AddMessage(This,message) ) + +#define IFsrmPropertyBag_GetFileStreamInterface(This,accessMode,interfaceType,pStreamInterface) \ + ( (This)->lpVtbl -> GetFileStreamInterface(This,accessMode,interfaceType,pStreamInterface) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPropertyBag_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPropertyBag2_INTERFACE_DEFINED__ +#define __IFsrmPropertyBag2_INTERFACE_DEFINED__ + +/* interface IFsrmPropertyBag2 */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPropertyBag2; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0e46bdbd-2402-4fed-9c30-9266e6eb2cc9") + IFsrmPropertyBag2 : public IFsrmPropertyBag + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFieldValue( + /* [in] */ FsrmPropertyBagField field, + /* [retval][out] */ __RPC__out VARIANT *value) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUntrustedInFileProperties( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **props) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyBag2Vtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPropertyBag2 * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPropertyBag2 * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPropertyBag2 * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPropertyBag2 * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_RelativePath) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RelativePath )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_VolumeName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VolumeName )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *volumeName); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_RelativeNamespaceRoot) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RelativeNamespaceRoot )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *relativeNamespaceRoot); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_VolumeIndex) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_VolumeIndex )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out unsigned long *volumeId); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_FileId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileId )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *fileId); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_ParentDirectoryId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ParentDirectoryId )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *parentDirectoryId); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Size) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *size); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_SizeAllocated) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SizeAllocated )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *sizeAllocated); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_CreationTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CreationTime )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *creationTime); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_LastAccessTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastAccessTime )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *lastAccessTime); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_LastModificationTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastModificationTime )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out VARIANT *lastModificationTime); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Attributes) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Attributes )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out unsigned long *attributes); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_OwnerSid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OwnerSid )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *ownerSid); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_FilePropertyNames) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FilePropertyNames )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *filePropertyNames); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_Messages) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Messages )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *messages); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, get_PropertyBagFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyBagFlags )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__out unsigned long *flags); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, GetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileProperty )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmProperty **fileProperty); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, SetFileProperty) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFileProperty )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ __RPC__in BSTR name, + /* [in] */ __RPC__in BSTR value); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, AddMessage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddMessage )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ __RPC__in BSTR message); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag, GetFileStreamInterface) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileStreamInterface )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ FsrmFileStreamingMode accessMode, + /* [in] */ FsrmFileStreamingInterfaceType interfaceType, + /* [retval][out] */ __RPC__out VARIANT *pStreamInterface); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag2, GetFieldValue) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFieldValue )( + __RPC__in IFsrmPropertyBag2 * This, + /* [in] */ FsrmPropertyBagField field, + /* [retval][out] */ __RPC__out VARIANT *value); + + DECLSPEC_XFGVIRT(IFsrmPropertyBag2, GetUntrustedInFileProperties) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetUntrustedInFileProperties )( + __RPC__in IFsrmPropertyBag2 * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **props); + + END_INTERFACE + } IFsrmPropertyBag2Vtbl; + + interface IFsrmPropertyBag2 + { + CONST_VTBL struct IFsrmPropertyBag2Vtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPropertyBag2_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPropertyBag2_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPropertyBag2_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPropertyBag2_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPropertyBag2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPropertyBag2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPropertyBag2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPropertyBag2_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPropertyBag2_get_RelativePath(This,path) \ + ( (This)->lpVtbl -> get_RelativePath(This,path) ) + +#define IFsrmPropertyBag2_get_VolumeName(This,volumeName) \ + ( (This)->lpVtbl -> get_VolumeName(This,volumeName) ) + +#define IFsrmPropertyBag2_get_RelativeNamespaceRoot(This,relativeNamespaceRoot) \ + ( (This)->lpVtbl -> get_RelativeNamespaceRoot(This,relativeNamespaceRoot) ) + +#define IFsrmPropertyBag2_get_VolumeIndex(This,volumeId) \ + ( (This)->lpVtbl -> get_VolumeIndex(This,volumeId) ) + +#define IFsrmPropertyBag2_get_FileId(This,fileId) \ + ( (This)->lpVtbl -> get_FileId(This,fileId) ) + +#define IFsrmPropertyBag2_get_ParentDirectoryId(This,parentDirectoryId) \ + ( (This)->lpVtbl -> get_ParentDirectoryId(This,parentDirectoryId) ) + +#define IFsrmPropertyBag2_get_Size(This,size) \ + ( (This)->lpVtbl -> get_Size(This,size) ) + +#define IFsrmPropertyBag2_get_SizeAllocated(This,sizeAllocated) \ + ( (This)->lpVtbl -> get_SizeAllocated(This,sizeAllocated) ) + +#define IFsrmPropertyBag2_get_CreationTime(This,creationTime) \ + ( (This)->lpVtbl -> get_CreationTime(This,creationTime) ) + +#define IFsrmPropertyBag2_get_LastAccessTime(This,lastAccessTime) \ + ( (This)->lpVtbl -> get_LastAccessTime(This,lastAccessTime) ) + +#define IFsrmPropertyBag2_get_LastModificationTime(This,lastModificationTime) \ + ( (This)->lpVtbl -> get_LastModificationTime(This,lastModificationTime) ) + +#define IFsrmPropertyBag2_get_Attributes(This,attributes) \ + ( (This)->lpVtbl -> get_Attributes(This,attributes) ) + +#define IFsrmPropertyBag2_get_OwnerSid(This,ownerSid) \ + ( (This)->lpVtbl -> get_OwnerSid(This,ownerSid) ) + +#define IFsrmPropertyBag2_get_FilePropertyNames(This,filePropertyNames) \ + ( (This)->lpVtbl -> get_FilePropertyNames(This,filePropertyNames) ) + +#define IFsrmPropertyBag2_get_Messages(This,messages) \ + ( (This)->lpVtbl -> get_Messages(This,messages) ) + +#define IFsrmPropertyBag2_get_PropertyBagFlags(This,flags) \ + ( (This)->lpVtbl -> get_PropertyBagFlags(This,flags) ) + +#define IFsrmPropertyBag2_GetFileProperty(This,name,fileProperty) \ + ( (This)->lpVtbl -> GetFileProperty(This,name,fileProperty) ) + +#define IFsrmPropertyBag2_SetFileProperty(This,name,value) \ + ( (This)->lpVtbl -> SetFileProperty(This,name,value) ) + +#define IFsrmPropertyBag2_AddMessage(This,message) \ + ( (This)->lpVtbl -> AddMessage(This,message) ) + +#define IFsrmPropertyBag2_GetFileStreamInterface(This,accessMode,interfaceType,pStreamInterface) \ + ( (This)->lpVtbl -> GetFileStreamInterface(This,accessMode,interfaceType,pStreamInterface) ) + + +#define IFsrmPropertyBag2_GetFieldValue(This,field,value) \ + ( (This)->lpVtbl -> GetFieldValue(This,field,value) ) + +#define IFsrmPropertyBag2_GetUntrustedInFileProperties(This,props) \ + ( (This)->lpVtbl -> GetUntrustedInFileProperties(This,props) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPropertyBag2_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPipelineModuleImplementation_INTERFACE_DEFINED__ +#define __IFsrmPipelineModuleImplementation_INTERFACE_DEFINED__ + +/* interface IFsrmPipelineModuleImplementation */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPipelineModuleImplementation; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("b7907906-2b02-4cb5-84a9-fdf54613d6cd") + IFsrmPipelineModuleImplementation : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnLoad( + /* [in] */ __RPC__in_opt IFsrmPipelineModuleDefinition *moduleDefinition, + /* [out] */ __RPC__deref_out_opt IFsrmPipelineModuleConnector **moduleConnector) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnUnload( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPipelineModuleImplementationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPipelineModuleImplementation * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPipelineModuleImplementation * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPipelineModuleImplementation * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPipelineModuleImplementation * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPipelineModuleImplementation * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPipelineModuleImplementation * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPipelineModuleImplementation * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleImplementation, OnLoad) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnLoad )( + __RPC__in IFsrmPipelineModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmPipelineModuleDefinition *moduleDefinition, + /* [out] */ __RPC__deref_out_opt IFsrmPipelineModuleConnector **moduleConnector); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleImplementation, OnUnload) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnUnload )( + __RPC__in IFsrmPipelineModuleImplementation * This); + + END_INTERFACE + } IFsrmPipelineModuleImplementationVtbl; + + interface IFsrmPipelineModuleImplementation + { + CONST_VTBL struct IFsrmPipelineModuleImplementationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPipelineModuleImplementation_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPipelineModuleImplementation_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPipelineModuleImplementation_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPipelineModuleImplementation_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPipelineModuleImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPipelineModuleImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPipelineModuleImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPipelineModuleImplementation_OnLoad(This,moduleDefinition,moduleConnector) \ + ( (This)->lpVtbl -> OnLoad(This,moduleDefinition,moduleConnector) ) + +#define IFsrmPipelineModuleImplementation_OnUnload(This) \ + ( (This)->lpVtbl -> OnUnload(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPipelineModuleImplementation_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmClassifierModuleImplementation_INTERFACE_DEFINED__ +#define __IFsrmClassifierModuleImplementation_INTERFACE_DEFINED__ + +/* interface IFsrmClassifierModuleImplementation */ +/* [unique][helpstring][dual][uuid][object] */ + +#define FsrmNeverModified ((ULONGLONG) 0x0000000000000000ui64) +#define FsrmAlwaysModified ((ULONGLONG) 0xFFFFFFFFFFFFFFFFui64) + +EXTERN_C const IID IID_IFsrmClassifierModuleImplementation; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4c968fc6-6edb-4051-9c18-73b7291ae106") + IFsrmClassifierModuleImplementation : public IFsrmPipelineModuleImplementation + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastModified( + /* [retval][out] */ __RPC__out VARIANT *lastModified) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UseRulesAndDefinitions( + /* [in] */ __RPC__in_opt IFsrmCollection *rules, + /* [in] */ __RPC__in_opt IFsrmCollection *propertyDefinitions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnBeginFile( + /* [in] */ __RPC__in_opt IFsrmPropertyBag *propertyBag, + /* [in] */ __RPC__in SAFEARRAY * arrayRuleIds) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DoesPropertyValueApply( + /* [in] */ __RPC__in BSTR property, + /* [in] */ __RPC__in BSTR value, + /* [out] */ __RPC__out VARIANT_BOOL *applyValue, + /* [in] */ FSRM_OBJECT_ID idRule, + /* [in] */ FSRM_OBJECT_ID idPropDef) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPropertyValueToApply( + /* [in] */ __RPC__in BSTR property, + /* [out] */ __RPC__deref_out_opt BSTR *value, + /* [in] */ FSRM_OBJECT_ID idRule, + /* [in] */ FSRM_OBJECT_ID idPropDef) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnEndFile( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmClassifierModuleImplementationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmClassifierModuleImplementation * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmClassifierModuleImplementation * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmClassifierModuleImplementation * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleImplementation, OnLoad) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnLoad )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmPipelineModuleDefinition *moduleDefinition, + /* [out] */ __RPC__deref_out_opt IFsrmPipelineModuleConnector **moduleConnector); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleImplementation, OnUnload) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnUnload )( + __RPC__in IFsrmClassifierModuleImplementation * This); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleImplementation, get_LastModified) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastModified )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [retval][out] */ __RPC__out VARIANT *lastModified); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleImplementation, UseRulesAndDefinitions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UseRulesAndDefinitions )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmCollection *rules, + /* [in] */ __RPC__in_opt IFsrmCollection *propertyDefinitions); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleImplementation, OnBeginFile) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnBeginFile )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmPropertyBag *propertyBag, + /* [in] */ __RPC__in SAFEARRAY * arrayRuleIds); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleImplementation, DoesPropertyValueApply) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DoesPropertyValueApply )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in BSTR property, + /* [in] */ __RPC__in BSTR value, + /* [out] */ __RPC__out VARIANT_BOOL *applyValue, + /* [in] */ FSRM_OBJECT_ID idRule, + /* [in] */ FSRM_OBJECT_ID idPropDef); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleImplementation, GetPropertyValueToApply) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPropertyValueToApply )( + __RPC__in IFsrmClassifierModuleImplementation * This, + /* [in] */ __RPC__in BSTR property, + /* [out] */ __RPC__deref_out_opt BSTR *value, + /* [in] */ FSRM_OBJECT_ID idRule, + /* [in] */ FSRM_OBJECT_ID idPropDef); + + DECLSPEC_XFGVIRT(IFsrmClassifierModuleImplementation, OnEndFile) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnEndFile )( + __RPC__in IFsrmClassifierModuleImplementation * This); + + END_INTERFACE + } IFsrmClassifierModuleImplementationVtbl; + + interface IFsrmClassifierModuleImplementation + { + CONST_VTBL struct IFsrmClassifierModuleImplementationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmClassifierModuleImplementation_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmClassifierModuleImplementation_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmClassifierModuleImplementation_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmClassifierModuleImplementation_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmClassifierModuleImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmClassifierModuleImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmClassifierModuleImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmClassifierModuleImplementation_OnLoad(This,moduleDefinition,moduleConnector) \ + ( (This)->lpVtbl -> OnLoad(This,moduleDefinition,moduleConnector) ) + +#define IFsrmClassifierModuleImplementation_OnUnload(This) \ + ( (This)->lpVtbl -> OnUnload(This) ) + + +#define IFsrmClassifierModuleImplementation_get_LastModified(This,lastModified) \ + ( (This)->lpVtbl -> get_LastModified(This,lastModified) ) + +#define IFsrmClassifierModuleImplementation_UseRulesAndDefinitions(This,rules,propertyDefinitions) \ + ( (This)->lpVtbl -> UseRulesAndDefinitions(This,rules,propertyDefinitions) ) + +#define IFsrmClassifierModuleImplementation_OnBeginFile(This,propertyBag,arrayRuleIds) \ + ( (This)->lpVtbl -> OnBeginFile(This,propertyBag,arrayRuleIds) ) + +#define IFsrmClassifierModuleImplementation_DoesPropertyValueApply(This,property,value,applyValue,idRule,idPropDef) \ + ( (This)->lpVtbl -> DoesPropertyValueApply(This,property,value,applyValue,idRule,idPropDef) ) + +#define IFsrmClassifierModuleImplementation_GetPropertyValueToApply(This,property,value,idRule,idPropDef) \ + ( (This)->lpVtbl -> GetPropertyValueToApply(This,property,value,idRule,idPropDef) ) + +#define IFsrmClassifierModuleImplementation_OnEndFile(This) \ + ( (This)->lpVtbl -> OnEndFile(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmClassifierModuleImplementation_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmStorageModuleImplementation_INTERFACE_DEFINED__ +#define __IFsrmStorageModuleImplementation_INTERFACE_DEFINED__ + +/* interface IFsrmStorageModuleImplementation */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmStorageModuleImplementation; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0af4a0da-895a-4e50-8712-a96724bcec64") + IFsrmStorageModuleImplementation : public IFsrmPipelineModuleImplementation + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UseDefinitions( + /* [in] */ __RPC__in_opt IFsrmCollection *propertyDefinitions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadProperties( + /* [in] */ __RPC__in_opt IFsrmPropertyBag *propertyBag) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveProperties( + /* [in] */ __RPC__in_opt IFsrmPropertyBag *propertyBag) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmStorageModuleImplementationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmStorageModuleImplementation * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmStorageModuleImplementation * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmStorageModuleImplementation * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleImplementation, OnLoad) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnLoad )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmPipelineModuleDefinition *moduleDefinition, + /* [out] */ __RPC__deref_out_opt IFsrmPipelineModuleConnector **moduleConnector); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleImplementation, OnUnload) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnUnload )( + __RPC__in IFsrmStorageModuleImplementation * This); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleImplementation, UseDefinitions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UseDefinitions )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmCollection *propertyDefinitions); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleImplementation, LoadProperties) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadProperties )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmPropertyBag *propertyBag); + + DECLSPEC_XFGVIRT(IFsrmStorageModuleImplementation, SaveProperties) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveProperties )( + __RPC__in IFsrmStorageModuleImplementation * This, + /* [in] */ __RPC__in_opt IFsrmPropertyBag *propertyBag); + + END_INTERFACE + } IFsrmStorageModuleImplementationVtbl; + + interface IFsrmStorageModuleImplementation + { + CONST_VTBL struct IFsrmStorageModuleImplementationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmStorageModuleImplementation_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmStorageModuleImplementation_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmStorageModuleImplementation_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmStorageModuleImplementation_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmStorageModuleImplementation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmStorageModuleImplementation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmStorageModuleImplementation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmStorageModuleImplementation_OnLoad(This,moduleDefinition,moduleConnector) \ + ( (This)->lpVtbl -> OnLoad(This,moduleDefinition,moduleConnector) ) + +#define IFsrmStorageModuleImplementation_OnUnload(This) \ + ( (This)->lpVtbl -> OnUnload(This) ) + + +#define IFsrmStorageModuleImplementation_UseDefinitions(This,propertyDefinitions) \ + ( (This)->lpVtbl -> UseDefinitions(This,propertyDefinitions) ) + +#define IFsrmStorageModuleImplementation_LoadProperties(This,propertyBag) \ + ( (This)->lpVtbl -> LoadProperties(This,propertyBag) ) + +#define IFsrmStorageModuleImplementation_SaveProperties(This,propertyBag) \ + ( (This)->lpVtbl -> SaveProperties(This,propertyBag) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmStorageModuleImplementation_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPipelineModuleConnector_INTERFACE_DEFINED__ +#define __IFsrmPipelineModuleConnector_INTERFACE_DEFINED__ + +/* interface IFsrmPipelineModuleConnector */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmPipelineModuleConnector; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("c16014f3-9aa1-46b3-b0a7-ab146eb205f2") + IFsrmPipelineModuleConnector : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModuleImplementation( + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleImplementation **pipelineModuleImplementation) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ModuleName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *userName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HostingUserAccount( + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HostingProcessPid( + /* [retval][out] */ __RPC__out long *pid) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Bind( + /* [in] */ __RPC__in_opt IFsrmPipelineModuleDefinition *moduleDefinition, + /* [in] */ __RPC__in_opt IFsrmPipelineModuleImplementation *moduleImplementation) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPipelineModuleConnectorVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPipelineModuleConnector * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPipelineModuleConnector * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPipelineModuleConnector * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleConnector, get_ModuleImplementation) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleImplementation )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPipelineModuleImplementation **pipelineModuleImplementation); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleConnector, get_ModuleName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ModuleName )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userName); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleConnector, get_HostingUserAccount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostingUserAccount )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleConnector, get_HostingProcessPid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HostingProcessPid )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [retval][out] */ __RPC__out long *pid); + + DECLSPEC_XFGVIRT(IFsrmPipelineModuleConnector, Bind) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Bind )( + __RPC__in IFsrmPipelineModuleConnector * This, + /* [in] */ __RPC__in_opt IFsrmPipelineModuleDefinition *moduleDefinition, + /* [in] */ __RPC__in_opt IFsrmPipelineModuleImplementation *moduleImplementation); + + END_INTERFACE + } IFsrmPipelineModuleConnectorVtbl; + + interface IFsrmPipelineModuleConnector + { + CONST_VTBL struct IFsrmPipelineModuleConnectorVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPipelineModuleConnector_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPipelineModuleConnector_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPipelineModuleConnector_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPipelineModuleConnector_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPipelineModuleConnector_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPipelineModuleConnector_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPipelineModuleConnector_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPipelineModuleConnector_get_ModuleImplementation(This,pipelineModuleImplementation) \ + ( (This)->lpVtbl -> get_ModuleImplementation(This,pipelineModuleImplementation) ) + +#define IFsrmPipelineModuleConnector_get_ModuleName(This,userName) \ + ( (This)->lpVtbl -> get_ModuleName(This,userName) ) + +#define IFsrmPipelineModuleConnector_get_HostingUserAccount(This,userAccount) \ + ( (This)->lpVtbl -> get_HostingUserAccount(This,userAccount) ) + +#define IFsrmPipelineModuleConnector_get_HostingProcessPid(This,pid) \ + ( (This)->lpVtbl -> get_HostingProcessPid(This,pid) ) + +#define IFsrmPipelineModuleConnector_Bind(This,moduleDefinition,moduleImplementation) \ + ( (This)->lpVtbl -> Bind(This,moduleDefinition,moduleImplementation) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPipelineModuleConnector_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_fsrmpipeline_0000_0017 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmpipeline_0000_0017_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmpipeline_0000_0017_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmpipeline.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmpipeline.idl new file mode 100644 index 0000000000000000000000000000000000000000..5e0f95e78d47d3ba20e1c7dae7097f58f8949ada --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmpipeline.idl @@ -0,0 +1,907 @@ +////////////////////////////////////// +// Imports +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; + +import "fsrm.idl"; + + +////////////////////////////////////// +// Forward declarations +// + +interface IFsrmPropertyDefinition; +interface IFsrmPropertyDefinition2; +interface IFsrmPropertyDefinitionValue; +interface IFsrmProperty; +interface IFsrmRule; +interface IFsrmClassificationRule; +interface IFsrmPipelineModuleDefinition; +interface IFsrmClassifierModuleDefinition; +interface IFsrmStorageModuleDefinition; +interface IFsrmClassificationManager; +interface IFsrmClassificationManager2; +interface IFsrmPropertyBag; +interface IFsrmPipelineModuleImplementation; +interface IFsrmClassifierModuleImplementation; +interface IFsrmStorageModuleImplementation; +interface IFsrmPipelineModuleConnector; + + +////////////////////////////////////// +// Dispatch IDs +// + +#define FSRM_PROPERTY(x) x | FSRM_DISPID_IS_PROPERTY + +// Dispatch ID base of classification interfaces +const DISPID FSRM_DISPID_PROPERTY_DEFINITION = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x100000; +const DISPID FSRM_DISPID_PROPERTY_DEFINITION2 = FSRM_DISPID_PROPERTY_DEFINITION | 0x010000; + +const DISPID FSRM_DISPID_PROPERTY = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x200000; + +const DISPID FSRM_DISPID_RULE = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x300000; +const DISPID FSRM_DISPID_CLASSIFICATION_RULE = FSRM_DISPID_RULE | 0x010000; +const DISPID FSRM_DISPID_EXPIRATION_RULE = FSRM_DISPID_RULE | 0x020000; + +const DISPID FSRM_DISPID_PIPELINE_MODULE_DEFINITION = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x400000; +const DISPID FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION = FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x010000; +const DISPID FSRM_DISPID_STORAGE_MODULE_DEFINITION = FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x020000; + +const DISPID FSRM_DISPID_CLASSIFICATION_MANAGER = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x500000; +const DISPID FSRM_DISPID_CLASSIFICATION_MANAGER2 = FSRM_DISPID_CLASSIFICATION_MANAGER | 0x010000; + +const DISPID FSRM_DISPID_CLASSIFICATION_EVENTS = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x600000; + +const DISPID FSRM_DISPID_PROPERTY_DEFINITION_VALUE = FSRM_DISPID_FEATURE_CLASSIFICATION | 0x700000; + +// Dispatch ID base of pipeline interfaces +const DISPID FSRM_DISPID_PROPERTY_BAG = FSRM_DISPID_FEATURE_PIPELINE | 0x100000; +const DISPID FSRM_DISPID_PROPERTY_BAG2 = FSRM_DISPID_PROPERTY_BAG | 0x010000; + +const DISPID FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION = FSRM_DISPID_FEATURE_PIPELINE | 0x200000; +const DISPID FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION = FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION | 0x010000; +const DISPID FSRM_DISPID_STORAGE_MODULE_IMPLEMENTATION = FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION | 0x020000; + +const DISPID FSRM_DISPID_PIPELINE_MODULE_CONNECTOR = FSRM_DISPID_FEATURE_PIPELINE | 0x300000; + + + +////////////////////////////////////// +// Constants +// + +const ULONG FsrmMaxNumberPropertyDefinitions = 100; + + +////////////////////////////////////// +// Interfaces +// + +[ + object, + uuid(ede0150f-e9a3-419c-877c-01fe5d24c5d3), + dual, + helpstring("IFsrmPropertyDefinition Interface"), + pointer_default(unique) +] +interface IFsrmPropertyDefinition : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x01)), helpstring("This property is the name of the property definition")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x01)), helpstring("This property is the name of the property definition")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x02)), helpstring("This property is the type of the property definition")] + HRESULT Type([out, retval] FsrmPropertyDefinitionType *type); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x02)), helpstring("This property is the type of the property definition")] + HRESULT Type([in] FsrmPropertyDefinitionType type); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x03)), helpstring("This property contains the possible values of the property definition")] + HRESULT PossibleValues([out, retval] SAFEARRAY(VARIANT) *possibleValues); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x03)), helpstring("This property contains the possible values of the property definition")] + HRESULT PossibleValues([in] SAFEARRAY(VARIANT) possibleValues); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x04)), helpstring("This property contains the descriptions of the possible values of the property definition")] + HRESULT ValueDescriptions([out, retval] SAFEARRAY(VARIANT) *valueDescriptions); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x04)), helpstring("This property contains the descriptions of the possible values of the property definition")] + HRESULT ValueDescriptions([in] SAFEARRAY(VARIANT) valueDescriptions); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x05)), helpstring("This property contains the parameters for the property definition")] + HRESULT Parameters([out, retval] SAFEARRAY(VARIANT) *parameters); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION | 0x05)), helpstring("This property contains the parameters for the property definition")] + HRESULT Parameters([in] SAFEARRAY(VARIANT) parameters); + +}; + + +[ + object, + uuid(47782152-d16c-4229-b4e1-0ddfe308b9f6), + dual, + helpstring("IFsrmPropertyDefinition2 Interface"), + pointer_default(unique) +] +interface IFsrmPropertyDefinition2 : IFsrmPropertyDefinition { + + // + // Properties + // + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x01)), helpstring("This property contains the flags for the property definition")] + HRESULT PropertyDefinitionFlags([out, retval] long *propertyDefinitionFlags); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x02)), helpstring("This property is the display name of the property definition")] + HRESULT DisplayName([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x02)), helpstring("This property is the display name of the property definition")] + HRESULT DisplayName([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x03)), helpstring("This property contains the object types the property definition can apply to")] + HRESULT AppliesTo([out, retval] long *appliesTo); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION2 | 0x04)), helpstring("This property contains the possible value definitions of the property definition")] + HRESULT ValueDefinitions([out, retval] IFsrmCollection **valueDefinitions); +}; + +[ + object, + uuid(E946D148-BD67-4178-8E22-1C44925ED710), + dual, + helpstring("IFsrmPropertyDefinitionValue Interface"), + pointer_default(unique) +] +interface IFsrmPropertyDefinitionValue : IDispatch +{ + // + // Properties + // + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION_VALUE | 0x01)), helpstring("This property contains the name of the property definition value")] + HRESULT Name([out, retval] BSTR *name); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION_VALUE | 0x02)), helpstring("This property contains the display name of the property definition value")] + HRESULT DisplayName([out, retval] BSTR *displayName); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION_VALUE | 0x03)), helpstring("This property contains the description of the property definition value")] + HRESULT Description([out, retval] BSTR *description); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_DEFINITION_VALUE | 0x04)), helpstring("This property contains the unique ID of the property definition value")] + HRESULT UniqueID([out, retval] BSTR *uniqueID); +}; + +[ + object, + uuid(4a73fee4-4102-4fcc-9ffb-38614f9ee768), + dual, + helpstring("IFsrmProperty Interface"), + pointer_default(unique) +] +interface IFsrmProperty : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY | 0x01)), helpstring("This property is the name of the property")] + HRESULT Name([out, retval] BSTR *name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY | 0x02)), helpstring("This property is the aggregated value of the property")] + HRESULT Value([out, retval] BSTR *value); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY | 0x03)), helpstring("This property contains the modules and rules that have set the value; entries are strings of the form MODULE,RULE")] + HRESULT Sources([out, retval] SAFEARRAY(VARIANT) *sources); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY | 0x04)), helpstring("This property contains the flags of the property")] + HRESULT PropertyFlags([out, retval] long *flags); + +}; + + +[ + object, + uuid(cb0df960-16f5-4495-9079-3f9360d831df), + dual, + helpstring("IFsrmRule Interface"), + pointer_default(unique) +] +interface IFsrmRule : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x01)), helpstring("This property is the name of the rule")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x01)), helpstring("This property is the name of the rule")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x02)), helpstring("This property returns the type of the rule")] + HRESULT RuleType([out, retval] FsrmRuleType *ruleType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x03)), helpstring("This property is the name of the module definition on which the rule will run")] + HRESULT ModuleDefinitionName([out, retval] BSTR *moduleDefinitionName); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x03)), helpstring("This property is the name of the module definition on which the rule will run")] + HRESULT ModuleDefinitionName([in] BSTR moduleDefinitionName); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x04)), helpstring("This property contains the paths on which the rule will run")] + HRESULT NamespaceRoots([out, retval] SAFEARRAY(VARIANT) *namespaceRoots); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x04)), helpstring("This property contains the paths on which the rule will run")] + HRESULT NamespaceRoots([in] SAFEARRAY(VARIANT) namespaceRoots); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x05)), helpstring("This property contains the flags for the rules")] + HRESULT RuleFlags([out, retval] long *ruleFlags); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x05)), helpstring("This property contains the flags for the rules")] + HRESULT RuleFlags([in] long ruleFlags); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x06)), helpstring("This property contains the parameters for the rule")] + HRESULT Parameters([out, retval] SAFEARRAY(VARIANT) *parameters); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x06)), helpstring("This property contains the parameters for the rule")] + HRESULT Parameters([in] SAFEARRAY(VARIANT) parameters); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x07)), helpstring("This property indicates the last time the rule was modified as a 64-bit FILETIME")] + HRESULT LastModified([out, retval] VARIANT *lastModified); + +}; + + +[ + object, + uuid(afc052c2-5315-45ab-841b-c6db0e120148), + dual, + helpstring("IFsrmClassificationRule Interface"), + pointer_default(unique) +] +interface IFsrmClassificationRule : IFsrmRule +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x01)), helpstring("This property indicates how often to execute the classification rule")] + HRESULT ExecutionOption([out, retval] FsrmExecutionOption *executionOption); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x01)), helpstring("This property indicates how often to execute the classification rule")] + HRESULT ExecutionOption([in] FsrmExecutionOption executionOption); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x02)), helpstring("This property is the property that this rule will potentially affect")] + HRESULT PropertyAffected([out, retval] BSTR *property); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x02)), helpstring("This property is the property that this rule will potentially affect")] + HRESULT PropertyAffected([in] BSTR property); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x03)), helpstring("This property is the value that this rule will set the property to, if explicitly defined")] + HRESULT Value([out, retval] BSTR *value); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x03)), helpstring("This property is the value that this rule will set the property to, if explicitly defined")] + HRESULT Value([in] BSTR value); + +}; + + +[ + object, + uuid(515c1277-2c81-440e-8fcf-367921ed4f59), + dual, + helpstring("IFsrmPipelineModuleDefinition Interface"), + pointer_default(unique) +] +interface IFsrmPipelineModuleDefinition : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x01)), helpstring("This property is the string verison of the COM class ID of the module that is being defined")] + HRESULT ModuleClsid([out, retval] BSTR *moduleClsid); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x01)), helpstring("This property is the string verison of the COM class ID of the module that is being defined")] + HRESULT ModuleClsid([in] BSTR moduleClsid); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x02)), helpstring("This property is the name of the pipeline module definition")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x02)), helpstring("This property is the name of the pipeline module definition")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x03)), helpstring("This property is the company name of the pipeline module definition")] + HRESULT Company([out, retval] BSTR *company); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x03)), helpstring("This property is the company name of the pipeline module definition")] + HRESULT Company([in] BSTR company); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x04)), helpstring("This property is the version of the pipeline module definition")] + HRESULT Version([out, retval] BSTR *version); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x04)), helpstring("This property is the version of the pipeline module definition")] + HRESULT Version([in] BSTR version); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x05)), helpstring("This property is the type of the pipeline module")] + HRESULT ModuleType([out, retval] FsrmPipelineModuleType *moduleType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x06)), helpstring("This property determines if the module is enabled")] + HRESULT Enabled([out, retval] VARIANT_BOOL *enabled); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x06)), helpstring("This property determines if the module is enabled")] + HRESULT Enabled([in] VARIANT_BOOL enabled); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x07)), helpstring("This property determines if the module needs access to the content of the file")] + HRESULT NeedsFileContent([out, retval] VARIANT_BOOL *needsFileContent); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x07)), helpstring("This property determines if the module needs access to the content of the file")] + HRESULT NeedsFileContent([in] VARIANT_BOOL needsFileContent); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x08)), helpstring("This property is the account to use when running the classification module")] + HRESULT Account([out, retval] FsrmAccountType *retrievalAccount); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x08)), helpstring("This property is the account to use when running the classification module")] + HRESULT Account([in] FsrmAccountType retrievalAccount); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x09)), helpstring("This property is the list of file extensions this module supports")] + HRESULT SupportedExtensions([out, retval] SAFEARRAY(VARIANT) *supportedExtensions); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0x09)), helpstring("This property is the list of file extensions this module supports")] + HRESULT SupportedExtensions([in] SAFEARRAY(VARIANT) supportedExtensions); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0xA)), helpstring("This property contains the parameters for the pipeline module definition")] + HRESULT Parameters([out, retval] SAFEARRAY(VARIANT) *parameters); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_DEFINITION | 0xA)), helpstring("This property contains the parameters for the pipeline module definition")] + HRESULT Parameters([in] SAFEARRAY(VARIANT) parameters); + +}; + + +[ + object, + uuid(bb36ea26-6318-4b8c-8592-f72dd602e7a5), + dual, + helpstring("IFsrmClassifierModuleDefinition Interface"), + pointer_default(unique) +] +interface IFsrmClassifierModuleDefinition : IFsrmPipelineModuleDefinition +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION | 0x01)), helpstring("This property contains the names of the properties potentially affected by this classifier")] + HRESULT PropertiesAffected([out, retval] SAFEARRAY(VARIANT) *propertiesAffected); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION | 0x01)), helpstring("This property contains the names of the properties potentially affected by this classifier")] + HRESULT PropertiesAffected([in] SAFEARRAY(VARIANT) propertiesAffected); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION | 0x02)), helpstring("This property contains the names of the properties potentially used by this classifier")] + HRESULT PropertiesUsed([out, retval] SAFEARRAY(VARIANT) *propertiesUsed); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION | 0x02)), helpstring("This property contains the names of the properties potentially used by this classifier")] + HRESULT PropertiesUsed([in] SAFEARRAY(VARIANT) propertiesUsed); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION | 0x03)), helpstring("This property determines if a rule using this classifier needs to provide an explicit value for the property being modified")] + HRESULT NeedsExplicitValue([out, retval] VARIANT_BOOL *needsExplicitValue); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_DEFINITION | 0x03)), helpstring("This property determines if a rule using this classifier needs to provide an explicit value for the property being modified")] + HRESULT NeedsExplicitValue([in] VARIANT_BOOL needsExplicitValue); + +}; + + +[ + object, + uuid(15a81350-497d-4aba-80e9-d4dbcc5521fe), + dual, + helpstring("IFsrmStorageModuleDefinition Interface"), + pointer_default(unique) +] +interface IFsrmStorageModuleDefinition : IFsrmPipelineModuleDefinition +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_STORAGE_MODULE_DEFINITION | 0x01)), helpstring("This property is the bit field containing capabilities of the storage module")] + HRESULT Capabilities([out, retval] FsrmStorageModuleCaps *capabilities); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_STORAGE_MODULE_DEFINITION | 0x01)), helpstring("This property is the bit field containing capabilities of the storage module")] + HRESULT Capabilities([in] FsrmStorageModuleCaps capabilities); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_STORAGE_MODULE_DEFINITION | 0x02)), helpstring("This property is the type of storage for the storage module")] + HRESULT StorageType([out, retval] FsrmStorageModuleType *storageType); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_STORAGE_MODULE_DEFINITION | 0x02)), helpstring("This property is the type of storage for the storage module")] + HRESULT StorageType([in] FsrmStorageModuleType storageType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_STORAGE_MODULE_DEFINITION | 0x03)), helpstring("This property determines if the module updates the content of the file")] + HRESULT UpdatesFileContent([out, retval] VARIANT_BOOL *updatesFileContent); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_STORAGE_MODULE_DEFINITION | 0x03)), helpstring("This property determines if the module updates the content of the file")] + HRESULT UpdatesFileContent([in] VARIANT_BOOL updatesFileContent); + +}; + + +[ + object, + uuid(d2dc89da-ee91-48a0-85d8-cc72a56f7d04), + dual, + helpstring("IFsrmClassificationManager Interface"), + pointer_default(unique) +] +interface IFsrmClassificationManager : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x01)), helpstring("This property contains the formats in which to generate the classification reports")] + HRESULT ClassificationReportFormats([out, retval] SAFEARRAY(VARIANT) *formats); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x01)), helpstring("This property contains the formats in which to generate the classification reports")] + HRESULT ClassificationReportFormats([in] SAFEARRAY(VARIANT) formats); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x02)), helpstring("This property contains the types of logging that should be done for classificaiton")] + HRESULT Logging([out, retval] long *logging); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x02)), helpstring("This property contains the types of logging that should be done for classificaiton")] + HRESULT Logging([in] long logging); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x03)), helpstring("This property is the e-mail address to which to send the classification reports, if any")] + HRESULT ClassificationReportMailTo([out, retval] BSTR *mailTo); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x03)), helpstring("This property is the e-mail address to which to send the classification reports, if any")] + HRESULT ClassificationReportMailTo([in] BSTR mailTo); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x04)), helpstring("This property specifies whether report is enabled or not")] + HRESULT ClassificationReportEnabled([out, retval] VARIANT_BOOL *reportEnabled); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x04)), helpstring("This property specifies whether report is enabled or not")] + HRESULT ClassificationReportEnabled([in] VARIANT_BOOL reportEnabled); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x05)), helpstring("This property is the last classification report path without extension, if any")] + HRESULT ClassificationLastReportPathWithoutExtension([out, retval] BSTR *lastReportPath); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x06)), helpstring("This property is the last classification error, if any")] + HRESULT ClassificationLastError([out, retval] BSTR *lastError); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x07)), helpstring("This property is the classification running status")] + HRESULT ClassificationRunningStatus([out, retval] FsrmReportRunningStatus *runningStatus); + + + // Methods + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x01), helpstring("This method is used to enumerate property definitions")] + HRESULT EnumPropertyDefinitions( + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCollection **propertyDefinitions); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x02), helpstring("This method is used to create a new property definition")] + HRESULT CreatePropertyDefinition( + [out, retval] IFsrmPropertyDefinition **propertyDefinition); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x03), helpstring("This method is used to get a property definition having a specific name")] + HRESULT GetPropertyDefinition( + [in] BSTR propertyName, + [out, retval] IFsrmPropertyDefinition **propertyDefinition); + + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x04), helpstring("This method is used to enumerate rules of a specified type")] + HRESULT EnumRules( + [in] FsrmRuleType ruleType, + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCollection **Rules); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x05), helpstring("This method is used to create a new rule of a specified type")] + HRESULT CreateRule( + [in] FsrmRuleType ruleType, + [out, retval] IFsrmRule **Rule); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x06), helpstring("This method is used to get a rule having a specific nameand a specified type")] + HRESULT GetRule( + [in] BSTR ruleName, + [in] FsrmRuleType ruleType, + [out, retval] IFsrmRule **Rule); + + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x07), helpstring("This method is used to enumerate module definitions of a specified type")] + HRESULT EnumModuleDefinitions( + [in] FsrmPipelineModuleType moduleType, + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCollection **moduleDefinitions); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x08), helpstring("This method is used to create a new module definition of a specified type")] + HRESULT CreateModuleDefinition( + [in] FsrmPipelineModuleType moduleType, + [out, retval] IFsrmPipelineModuleDefinition**moduleDefinition); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x09), helpstring("This method is used to get a module definition having a specific name and a specified type")] + HRESULT GetModuleDefinition( + [in] BSTR moduleName, + [in] FsrmPipelineModuleType moduleType, + [out, retval] IFsrmPipelineModuleDefinition**moduleDefinition); + + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0A), helpstring("This method is used to run the classification rules")] + HRESULT RunClassification( + [in] FsrmReportGenerationContext context, + [in] BSTR reserved); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0B), helpstring("This method is used to wait for the specified period of time or until classification is finished running and return whether or not the job is still running")] + HRESULT WaitForClassificationCompletion( + [in] long waitSeconds, + [out, retval] VARIANT_BOOL *completed); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0C), helpstring("This method cancels the currently running classification")] + HRESULT CancelClassification(); + + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0D), helpstring("This method is used to enumerate all the properties of a file")] + HRESULT EnumFileProperties( + [in] BSTR filePath, + [in, defaultvalue(FsrmGetFilePropertyOptions_None)] FsrmGetFilePropertyOptions options, + [out, retval] IFsrmCollection **fileProperties); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0E), helpstring("This method is used to get a specific property from a file")] + HRESULT GetFileProperty( + [in] BSTR filePath, + [in] BSTR propertyName, + [in, defaultvalue(FsrmGetFilePropertyOptions_None)] FsrmGetFilePropertyOptions options, + [out, retval] IFsrmProperty **property); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0F), helpstring("This method is used to set a specific property from a file")] + HRESULT SetFileProperty( + [in] BSTR filePath, + [in] BSTR propertyName, + [in] BSTR propertyValue); + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x10), helpstring("This method is used to clear the specified property from a file")] + HRESULT ClearFileProperty( + [in] BSTR filePath, + [in] BSTR property); + +}; + + +[ + object, + uuid(0004c1c9-127e-4765-ba07-6a3147bca112), + dual, + helpstring("IFsrmClassificationManager2 Interface"), + pointer_default(unique) +] +interface IFsrmClassificationManager2 : IFsrmClassificationManager +{ + + // Methods + + [id(FSRM_DISPID_CLASSIFICATION_MANAGER2 | 0x01), helpstring("This method is used to perform bulk enumeration, setting, and clearing of file properties")] + HRESULT ClassifyFiles( + [in] SAFEARRAY(VARIANT) filePaths, + [in, unique] SAFEARRAY(VARIANT) propertyNames, + [in, unique] SAFEARRAY(VARIANT) propertyValues, + [in, defaultvalue(FsrmGetFilePropertyOptions_None)] FsrmGetFilePropertyOptions options); + +}; + + +// +// Interfaces needed for pipeline module implementation +// + + +[ + object, + uuid(774589d1-d300-4f7a-9a24-f7b766800250), + dual, + helpstring("IFsrmPropertyBag Interface"), + pointer_default(unique) +] +interface IFsrmPropertyBag : IDispatch +{ + + const long MessageSizeLimit = 4096; + + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x01)), helpstring("This property is the name of the file")] + HRESULT Name([out, retval] BSTR *name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x02)), helpstring("This property is the relative path to the file")] + HRESULT RelativePath([out, retval] BSTR *path); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x03)), helpstring("This property is the name of the volume on which the file exists")] + HRESULT VolumeName([out, retval] BSTR *volumeName); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x04)), helpstring("This property is the relative path of the namespace root under which the file was scanned")] + HRESULT RelativeNamespaceRoot([out, retval] BSTR *relativeNamespaceRoot); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x05)), helpstring("This property is the index that the scanner uses to refer to the volume on which the file exists")] + HRESULT VolumeIndex([out, retval] unsigned long *volumeId); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x06)), helpstring("This property is the ID of the file")] + HRESULT FileId([out, retval] VARIANT *fileId); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x07)), helpstring("This property is the ID of the file's parent directory")] + HRESULT ParentDirectoryId([out, retval] VARIANT *parentDirectoryId); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x08)), helpstring("This property is the size of the file")] + HRESULT Size([out, retval] VARIANT *size); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x09)), helpstring("This property is the allocated size of the file")] + HRESULT SizeAllocated([out, retval] VARIANT *sizeAllocated); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x0A)), helpstring("This property is the creation time of the file as a 64-bit FILETIME")] + HRESULT CreationTime([out, retval] VARIANT *creationTime); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x0B)), helpstring("This property is the last access time of the file as a 64-bit FILETIME")] + HRESULT LastAccessTime([out, retval] VARIANT *lastAccessTime); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x0C)), helpstring("This property is the last modification time of the file as a 64-bit FILETIME")] + HRESULT LastModificationTime([out, retval] VARIANT *lastModificationTime); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x0D)), helpstring("This property is the attributes of the file")] + HRESULT Attributes([out, retval] unsigned long *attributes); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x0E)), helpstring("This property is the SID of the file owner")] + HRESULT OwnerSid([out, retval] BSTR *ownerSid); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x0F)), helpstring("This property contains a list of the names of the file metadata properties")] + HRESULT FilePropertyNames([out, retval] SAFEARRAY(VARIANT) *filePropertyNames); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x10)), helpstring("This property contains a list of all messages concerning classification of the file that were added")] + HRESULT Messages([out, retval] SAFEARRAY(VARIANT) *messages); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_BAG | 0x11)), helpstring("This property is a set of flags for the property bag")] + HRESULT PropertyBagFlags([out, retval] unsigned long *flags); + + + // Methods + + [id(FSRM_DISPID_PROPERTY_BAG | 0x01), helpstring("This method is used to get a file metadata property by name")] + HRESULT GetFileProperty( + [in] BSTR name, + [out, retval] IFsrmProperty **fileProperty); + + [id(FSRM_DISPID_PROPERTY_BAG | 0x02), helpstring("This method is used to set a file metadata property")] + HRESULT SetFileProperty( + [in] BSTR name, + [in] BSTR value); + + [id(FSRM_DISPID_PROPERTY_BAG | 0x03), helpstring("This method is used to add a message about the file")] + HRESULT AddMessage([in] BSTR message); + + [id(FSRM_DISPID_PROPERTY_BAG | 0x04), helpstring("Gets a file stream interface to access the file content")] + HRESULT GetFileStreamInterface( + [in] FsrmFileStreamingMode accessMode, + [in] FsrmFileStreamingInterfaceType interfaceType, + [out, retval] VARIANT * pStreamInterface + ); + +}; + + +[ + object, + uuid(0e46bdbd-2402-4fed-9c30-9266e6eb2cc9), + dual, + helpstring("IFsrmPropertyBag2 Interface"), + pointer_default(unique) +] +interface IFsrmPropertyBag2 : IFsrmPropertyBag +{ + + // Methods + + [id(FSRM_DISPID_PROPERTY_BAG2 | 0x01), helpstring("Gets the value of the specified field from the property bag")] + HRESULT GetFieldValue( + [in] FsrmPropertyBagField field, + [out, retval] VARIANT * value + ); + + [id(FSRM_DISPID_PROPERTY_BAG2 | 0x02), helpstring("Gets the set of untrusted in-file properties")] + HRESULT GetUntrustedInFileProperties( + [out, retval] IFsrmCollection ** props + ); + +}; + + +[ + object, + uuid(b7907906-2b02-4cb5-84a9-fdf54613d6cd), + dual, + helpstring("IFsrmPipelineModuleImplementation Interface"), + pointer_default(unique) +] +interface IFsrmPipelineModuleImplementation : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION | 0x01), helpstring("This method is used to initialize the pipeline module")] + HRESULT OnLoad( + [in] IFsrmPipelineModuleDefinition *moduleDefinition, + [out] IFsrmPipelineModuleConnector **moduleConnector); + + [id(FSRM_DISPID_PIPELINE_MODULE_IMPLEMENTATION | 0x02), helpstring("This method is used to tell the module to perform any cleanup tasks")] + HRESULT OnUnload(); + +}; + + +[ + object, + uuid(4c968fc6-6edb-4051-9c18-73b7291ae106), + dual, + helpstring("IFsrmClassifierModuleImplementation Interface"), + pointer_default(unique) +] +interface IFsrmClassifierModuleImplementation : IFsrmPipelineModuleImplementation +{ + cpp_quote("#define FsrmNeverModified ((ULONGLONG) 0x0000000000000000ui64)") + cpp_quote("#define FsrmAlwaysModified ((ULONGLONG) 0xFFFFFFFFFFFFFFFFui64)") + + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION | 0x01)), helpstring("This property contains the last time the classifier's internal rules were modified as a 64-bit FILETIME")] + HRESULT LastModified([out, retval] VARIANT *lastModified); + + + // Methods + + [id(FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION | 0x01), helpstring("This method is used to tell the classifier the collection of rules and relevant property definitions it should expect to process")] + HRESULT UseRulesAndDefinitions( + [in] IFsrmCollection *rules, + [in] IFsrmCollection *propertyDefinitions); + + [id(FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION | 0x02), helpstring("This method is used to tell the classifier to prepare for processing a file with the specified property bag")] + HRESULT OnBeginFile([in] IFsrmPropertyBag *propertyBag, + [in] SAFEARRAY(VARIANT) arrayRuleIds); + + [id(FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION | 0x03), helpstring("This method is used to ask the classifier whether the specified property value applies to the file")] + HRESULT DoesPropertyValueApply( + [in] BSTR property, + [in] BSTR value, + [out] VARIANT_BOOL *applyValue, + [in] FSRM_OBJECT_ID idRule, + [in] FSRM_OBJECT_ID idPropDef); + + [id(FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION | 0x04), helpstring("This method is used to ask the classifier what value should be applied for the specified property of the file")] + HRESULT GetPropertyValueToApply( + [in] BSTR property, + [out] BSTR *value, + [in] FSRM_OBJECT_ID idRule, + [in] FSRM_OBJECT_ID idPropDef); + + [id(FSRM_DISPID_CLASSIFIER_MODULE_IMPLEMENTATION | 0x05), helpstring("This method is used to tell the classifier to perform any cleanup after processing a file")] + HRESULT OnEndFile(); + +}; + + +[ + object, + uuid(0af4a0da-895a-4e50-8712-a96724bcec64), + dual, + helpstring("IFsrmStorageModuleImplementation Interface"), + pointer_default(unique) +] +interface IFsrmStorageModuleImplementation : IFsrmPipelineModuleImplementation +{ + + // Methods + + [id(FSRM_DISPID_STORAGE_MODULE_IMPLEMENTATION | 0x01), helpstring("This method is used to tell the storage module the collection property definitions FSRM recognizes")] + HRESULT UseDefinitions([in] IFsrmCollection *propertyDefinitions); + + [id(FSRM_DISPID_STORAGE_MODULE_IMPLEMENTATION | 0x02), helpstring("This method is used to tell the storage module to load all properties")] + HRESULT LoadProperties([in] IFsrmPropertyBag *propertyBag); + + [id(FSRM_DISPID_STORAGE_MODULE_IMPLEMENTATION | 0x03), helpstring("This method is used to tell the storage module to save all properties")] + HRESULT SaveProperties([in] IFsrmPropertyBag *propertyBag); + +}; + + +[ + object, + uuid(c16014f3-9aa1-46b3-b0a7-ab146eb205f2), + dual, + helpstring("IFsrmPipelineModuleConnector Interface"), + pointer_default(unique) +] +interface IFsrmPipelineModuleConnector : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_CONNECTOR | 0x01)), helpstring("Get the module implementation")] + HRESULT ModuleImplementation([out, retval] IFsrmPipelineModuleImplementation **pipelineModuleImplementation); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_CONNECTOR | 0x02)), helpstring("Get the module name")] + HRESULT ModuleName([out, retval] BSTR *userName); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_CONNECTOR | 0x03)), helpstring("Get the module hosting process user account")] + HRESULT HostingUserAccount([out, retval] BSTR *userAccount); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PIPELINE_MODULE_CONNECTOR | 0x04)), helpstring("Get the module hosting process PID")] + HRESULT HostingProcessPid([out, retval] long *pid); + + + // Methods + + [id(FSRM_DISPID_PIPELINE_MODULE_CONNECTOR | 0x01), helpstring("This method is used to bind the pipeline module implementation")] + HRESULT Bind( + [in] IFsrmPipelineModuleDefinition *moduleDefinition, + [in] IFsrmPipelineModuleImplementation *moduleImplementation); + +}; + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmquota.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmquota.h new file mode 100644 index 0000000000000000000000000000000000000000..eac58d038ed903419464a6447457cd9d69deb824 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmquota.h @@ -0,0 +1,2844 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __fsrmquota_h__ +#define __fsrmquota_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFsrmQuotaBase_FWD_DEFINED__ +#define __IFsrmQuotaBase_FWD_DEFINED__ +typedef interface IFsrmQuotaBase IFsrmQuotaBase; + +#endif /* __IFsrmQuotaBase_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuotaObject_FWD_DEFINED__ +#define __IFsrmQuotaObject_FWD_DEFINED__ +typedef interface IFsrmQuotaObject IFsrmQuotaObject; + +#endif /* __IFsrmQuotaObject_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuota_FWD_DEFINED__ +#define __IFsrmQuota_FWD_DEFINED__ +typedef interface IFsrmQuota IFsrmQuota; + +#endif /* __IFsrmQuota_FWD_DEFINED__ */ + + +#ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__ +#define __IFsrmAutoApplyQuota_FWD_DEFINED__ +typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota; + +#endif /* __IFsrmAutoApplyQuota_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuotaManager_FWD_DEFINED__ +#define __IFsrmQuotaManager_FWD_DEFINED__ +typedef interface IFsrmQuotaManager IFsrmQuotaManager; + +#endif /* __IFsrmQuotaManager_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__ +#define __IFsrmQuotaManagerEx_FWD_DEFINED__ +typedef interface IFsrmQuotaManagerEx IFsrmQuotaManagerEx; + +#endif /* __IFsrmQuotaManagerEx_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuotaTemplate_FWD_DEFINED__ +#define __IFsrmQuotaTemplate_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate; + +#endif /* __IFsrmQuotaTemplate_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__ +#define __IFsrmQuotaTemplateImported_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported; + +#endif /* __IFsrmQuotaTemplateImported_FWD_DEFINED__ */ + + +#ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__ +#define __IFsrmQuotaTemplateManager_FWD_DEFINED__ +typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager; + +#endif /* __IFsrmQuotaTemplateManager_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "fsrmenums.h" +#include "fsrm.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrmquota_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + + + + + +#define FSRM_DISPID_QUOTA_BASE ( ( FSRM_DISPID_FEATURE_QUOTA | 0x100000 ) ) + +#define FSRM_DISPID_QUOTA_OBJECT ( ( FSRM_DISPID_QUOTA_BASE | 0x10000 ) ) + +#define FSRM_DISPID_QUOTA ( ( FSRM_DISPID_QUOTA_OBJECT | 0x1000 ) ) + +#define FSRM_DISPID_AUTOAPPLYQUOTA ( ( FSRM_DISPID_QUOTA_OBJECT | 0x2000 ) ) + +#define FSRM_DISPID_QUOTA_TEMPLATE ( ( FSRM_DISPID_QUOTA_BASE | 0x20000 ) ) + +#define FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED ( ( FSRM_DISPID_QUOTA_TEMPLATE | 0x1000 ) ) + +#define FSRM_DISPID_QUOTA_MANAGER ( ( FSRM_DISPID_FEATURE_QUOTA | 0x200000 ) ) + +#define FSRM_DISPID_QUOTA_TEMPLATE_MANAGER ( ( FSRM_DISPID_FEATURE_QUOTA | 0x300000 ) ) + +#define FSRM_DISPID_QUOTA_MANAGER_EX ( ( FSRM_DISPID_FEATURE_QUOTA | 0x400000 ) ) + +typedef long FSRM_QUOTA_THRESHOLD; + +#define FsrmMaxNumberThresholds ( 16 ) + +#define FsrmMinThresholdValue ( 1 ) + +#define FsrmMaxThresholdValue ( 250 ) + +#define FsrmMinQuotaLimit ( 1024 ) + +#define FsrmMaxExcludeFolders ( 32 ) + + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmquota_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmquota_0000_0000_v0_0_s_ifspec; + +#ifndef __IFsrmQuotaBase_INTERFACE_DEFINED__ +#define __IFsrmQuotaBase_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaBase */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaBase; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("1568a795-3924-4118-b74b-68d8f0fa5daf") + IFsrmQuotaBase : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuotaLimit( + /* [retval][out] */ __RPC__out VARIANT *quotaLimit) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_QuotaLimit( + /* [in] */ VARIANT quotaLimit) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuotaFlags( + /* [retval][out] */ __RPC__out long *quotaFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_QuotaFlags( + /* [in] */ long quotaFlags) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Thresholds( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddThreshold( + /* [in] */ FSRM_QUOTA_THRESHOLD threshold) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteThreshold( + /* [in] */ FSRM_QUOTA_THRESHOLD threshold) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ModifyThreshold( + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateThresholdAction( + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumThresholdActions( + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaBaseVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaBase * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaBase * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaBase * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaBase * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmQuotaBase * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmQuotaBase * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmQuotaBase * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmQuotaBase * This); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaLimit )( + __RPC__in IFsrmQuotaBase * This, + /* [retval][out] */ __RPC__out VARIANT *quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaLimit )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ VARIANT quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaFlags )( + __RPC__in IFsrmQuotaBase * This, + /* [retval][out] */ __RPC__out long *quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaFlags )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ long quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_Thresholds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thresholds )( + __RPC__in IFsrmQuotaBase * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, AddThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddThreshold )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, DeleteThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteThreshold )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, ModifyThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyThreshold )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, CreateThresholdAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateThresholdAction )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, EnumThresholdActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumThresholdActions )( + __RPC__in IFsrmQuotaBase * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + END_INTERFACE + } IFsrmQuotaBaseVtbl; + + interface IFsrmQuotaBase + { + CONST_VTBL struct IFsrmQuotaBaseVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaBase_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaBase_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaBase_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaBase_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaBase_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmQuotaBase_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmQuotaBase_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmQuotaBase_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmQuotaBase_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmQuotaBase_get_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> get_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaBase_put_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> put_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaBase_get_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> get_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaBase_put_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> put_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaBase_get_Thresholds(This,thresholds) \ + ( (This)->lpVtbl -> get_Thresholds(This,thresholds) ) + +#define IFsrmQuotaBase_AddThreshold(This,threshold) \ + ( (This)->lpVtbl -> AddThreshold(This,threshold) ) + +#define IFsrmQuotaBase_DeleteThreshold(This,threshold) \ + ( (This)->lpVtbl -> DeleteThreshold(This,threshold) ) + +#define IFsrmQuotaBase_ModifyThreshold(This,threshold,newThreshold) \ + ( (This)->lpVtbl -> ModifyThreshold(This,threshold,newThreshold) ) + +#define IFsrmQuotaBase_CreateThresholdAction(This,threshold,actionType,action) \ + ( (This)->lpVtbl -> CreateThresholdAction(This,threshold,actionType,action) ) + +#define IFsrmQuotaBase_EnumThresholdActions(This,threshold,actions) \ + ( (This)->lpVtbl -> EnumThresholdActions(This,threshold,actions) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaBase_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuotaObject_INTERFACE_DEFINED__ +#define __IFsrmQuotaObject_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaObject */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaObject; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("42dc3511-61d5-48ae-b6dc-59fc00c0a8d6") + IFsrmQuotaObject : public IFsrmQuotaBase + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Path( + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserSid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *userSid) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserAccount( + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SourceTemplateName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *quotaTemplateName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MatchesSourceTemplate( + /* [retval][out] */ __RPC__out VARIANT_BOOL *matches) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ApplyTemplate( + /* [in] */ __RPC__in BSTR quotaTemplateName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaObjectVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaObject * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaObject * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaObject * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaObject * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmQuotaObject * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmQuotaObject * This); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaLimit )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__out VARIANT *quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaLimit )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ VARIANT quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaFlags )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__out long *quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaFlags )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ long quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_Thresholds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thresholds )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, AddThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddThreshold )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, DeleteThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteThreshold )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, ModifyThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyThreshold )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, CreateThresholdAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateThresholdAction )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, EnumThresholdActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumThresholdActions )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_Path) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_UserSid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserSid )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userSid); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_UserAccount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAccount )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_SourceTemplateName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceTemplateName )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_MatchesSourceTemplate) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MatchesSourceTemplate )( + __RPC__in IFsrmQuotaObject * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *matches); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, ApplyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ApplyTemplate )( + __RPC__in IFsrmQuotaObject * This, + /* [in] */ __RPC__in BSTR quotaTemplateName); + + END_INTERFACE + } IFsrmQuotaObjectVtbl; + + interface IFsrmQuotaObject + { + CONST_VTBL struct IFsrmQuotaObjectVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaObject_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaObject_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaObject_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaObject_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaObject_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmQuotaObject_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmQuotaObject_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmQuotaObject_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmQuotaObject_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmQuotaObject_get_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> get_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaObject_put_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> put_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaObject_get_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> get_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaObject_put_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> put_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaObject_get_Thresholds(This,thresholds) \ + ( (This)->lpVtbl -> get_Thresholds(This,thresholds) ) + +#define IFsrmQuotaObject_AddThreshold(This,threshold) \ + ( (This)->lpVtbl -> AddThreshold(This,threshold) ) + +#define IFsrmQuotaObject_DeleteThreshold(This,threshold) \ + ( (This)->lpVtbl -> DeleteThreshold(This,threshold) ) + +#define IFsrmQuotaObject_ModifyThreshold(This,threshold,newThreshold) \ + ( (This)->lpVtbl -> ModifyThreshold(This,threshold,newThreshold) ) + +#define IFsrmQuotaObject_CreateThresholdAction(This,threshold,actionType,action) \ + ( (This)->lpVtbl -> CreateThresholdAction(This,threshold,actionType,action) ) + +#define IFsrmQuotaObject_EnumThresholdActions(This,threshold,actions) \ + ( (This)->lpVtbl -> EnumThresholdActions(This,threshold,actions) ) + + +#define IFsrmQuotaObject_get_Path(This,path) \ + ( (This)->lpVtbl -> get_Path(This,path) ) + +#define IFsrmQuotaObject_get_UserSid(This,userSid) \ + ( (This)->lpVtbl -> get_UserSid(This,userSid) ) + +#define IFsrmQuotaObject_get_UserAccount(This,userAccount) \ + ( (This)->lpVtbl -> get_UserAccount(This,userAccount) ) + +#define IFsrmQuotaObject_get_SourceTemplateName(This,quotaTemplateName) \ + ( (This)->lpVtbl -> get_SourceTemplateName(This,quotaTemplateName) ) + +#define IFsrmQuotaObject_get_MatchesSourceTemplate(This,matches) \ + ( (This)->lpVtbl -> get_MatchesSourceTemplate(This,matches) ) + +#define IFsrmQuotaObject_ApplyTemplate(This,quotaTemplateName) \ + ( (This)->lpVtbl -> ApplyTemplate(This,quotaTemplateName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaObject_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuota_INTERFACE_DEFINED__ +#define __IFsrmQuota_INTERFACE_DEFINED__ + +/* interface IFsrmQuota */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuota; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("377f739d-9647-4b8e-97d2-5ffce6d759cd") + IFsrmQuota : public IFsrmQuotaObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuotaUsed( + /* [retval][out] */ __RPC__out VARIANT *used) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuotaPeakUsage( + /* [retval][out] */ __RPC__out VARIANT *peakUsage) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QuotaPeakUsageTime( + /* [retval][out] */ __RPC__out DATE *peakUsageDateTime) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResetPeakUsage( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshUsageProperties( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuota * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuota * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuota * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuota * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuota * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuota * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuota * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmQuota * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmQuota * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmQuota * This); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaLimit )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out VARIANT *quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaLimit )( + __RPC__in IFsrmQuota * This, + /* [in] */ VARIANT quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaFlags )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out long *quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaFlags )( + __RPC__in IFsrmQuota * This, + /* [in] */ long quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_Thresholds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thresholds )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, AddThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddThreshold )( + __RPC__in IFsrmQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, DeleteThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteThreshold )( + __RPC__in IFsrmQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, ModifyThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyThreshold )( + __RPC__in IFsrmQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, CreateThresholdAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateThresholdAction )( + __RPC__in IFsrmQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, EnumThresholdActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumThresholdActions )( + __RPC__in IFsrmQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_Path) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_UserSid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserSid )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userSid); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_UserAccount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAccount )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_SourceTemplateName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceTemplateName )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_MatchesSourceTemplate) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MatchesSourceTemplate )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *matches); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, ApplyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ApplyTemplate )( + __RPC__in IFsrmQuota * This, + /* [in] */ __RPC__in BSTR quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmQuota, get_QuotaUsed) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaUsed )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out VARIANT *used); + + DECLSPEC_XFGVIRT(IFsrmQuota, get_QuotaPeakUsage) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaPeakUsage )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out VARIANT *peakUsage); + + DECLSPEC_XFGVIRT(IFsrmQuota, get_QuotaPeakUsageTime) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaPeakUsageTime )( + __RPC__in IFsrmQuota * This, + /* [retval][out] */ __RPC__out DATE *peakUsageDateTime); + + DECLSPEC_XFGVIRT(IFsrmQuota, ResetPeakUsage) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResetPeakUsage )( + __RPC__in IFsrmQuota * This); + + DECLSPEC_XFGVIRT(IFsrmQuota, RefreshUsageProperties) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshUsageProperties )( + __RPC__in IFsrmQuota * This); + + END_INTERFACE + } IFsrmQuotaVtbl; + + interface IFsrmQuota + { + CONST_VTBL struct IFsrmQuotaVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuota_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuota_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuota_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuota_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuota_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmQuota_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmQuota_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmQuota_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmQuota_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmQuota_get_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> get_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuota_put_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> put_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuota_get_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> get_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuota_put_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> put_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuota_get_Thresholds(This,thresholds) \ + ( (This)->lpVtbl -> get_Thresholds(This,thresholds) ) + +#define IFsrmQuota_AddThreshold(This,threshold) \ + ( (This)->lpVtbl -> AddThreshold(This,threshold) ) + +#define IFsrmQuota_DeleteThreshold(This,threshold) \ + ( (This)->lpVtbl -> DeleteThreshold(This,threshold) ) + +#define IFsrmQuota_ModifyThreshold(This,threshold,newThreshold) \ + ( (This)->lpVtbl -> ModifyThreshold(This,threshold,newThreshold) ) + +#define IFsrmQuota_CreateThresholdAction(This,threshold,actionType,action) \ + ( (This)->lpVtbl -> CreateThresholdAction(This,threshold,actionType,action) ) + +#define IFsrmQuota_EnumThresholdActions(This,threshold,actions) \ + ( (This)->lpVtbl -> EnumThresholdActions(This,threshold,actions) ) + + +#define IFsrmQuota_get_Path(This,path) \ + ( (This)->lpVtbl -> get_Path(This,path) ) + +#define IFsrmQuota_get_UserSid(This,userSid) \ + ( (This)->lpVtbl -> get_UserSid(This,userSid) ) + +#define IFsrmQuota_get_UserAccount(This,userAccount) \ + ( (This)->lpVtbl -> get_UserAccount(This,userAccount) ) + +#define IFsrmQuota_get_SourceTemplateName(This,quotaTemplateName) \ + ( (This)->lpVtbl -> get_SourceTemplateName(This,quotaTemplateName) ) + +#define IFsrmQuota_get_MatchesSourceTemplate(This,matches) \ + ( (This)->lpVtbl -> get_MatchesSourceTemplate(This,matches) ) + +#define IFsrmQuota_ApplyTemplate(This,quotaTemplateName) \ + ( (This)->lpVtbl -> ApplyTemplate(This,quotaTemplateName) ) + + +#define IFsrmQuota_get_QuotaUsed(This,used) \ + ( (This)->lpVtbl -> get_QuotaUsed(This,used) ) + +#define IFsrmQuota_get_QuotaPeakUsage(This,peakUsage) \ + ( (This)->lpVtbl -> get_QuotaPeakUsage(This,peakUsage) ) + +#define IFsrmQuota_get_QuotaPeakUsageTime(This,peakUsageDateTime) \ + ( (This)->lpVtbl -> get_QuotaPeakUsageTime(This,peakUsageDateTime) ) + +#define IFsrmQuota_ResetPeakUsage(This) \ + ( (This)->lpVtbl -> ResetPeakUsage(This) ) + +#define IFsrmQuota_RefreshUsageProperties(This) \ + ( (This)->lpVtbl -> RefreshUsageProperties(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuota_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmAutoApplyQuota_INTERFACE_DEFINED__ +#define __IFsrmAutoApplyQuota_INTERFACE_DEFINED__ + +/* interface IFsrmAutoApplyQuota */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmAutoApplyQuota; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f82e5729-6aba-4740-bfc7-c7f58f75fb7b") + IFsrmAutoApplyQuota : public IFsrmQuotaObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExcludeFolders( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *folders) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ExcludeFolders( + /* [in] */ __RPC__in SAFEARRAY * folders) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived( + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmAutoApplyQuotaVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmAutoApplyQuota * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmAutoApplyQuota * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmAutoApplyQuota * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmAutoApplyQuota * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmAutoApplyQuota * This); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaLimit )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__out VARIANT *quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaLimit )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ VARIANT quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaFlags )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__out long *quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaFlags )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ long quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_Thresholds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thresholds )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, AddThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddThreshold )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, DeleteThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteThreshold )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, ModifyThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyThreshold )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, CreateThresholdAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateThresholdAction )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, EnumThresholdActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumThresholdActions )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_Path) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_UserSid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserSid )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userSid); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_UserAccount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAccount )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_SourceTemplateName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceTemplateName )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, get_MatchesSourceTemplate) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MatchesSourceTemplate )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *matches); + + DECLSPEC_XFGVIRT(IFsrmQuotaObject, ApplyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ApplyTemplate )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ __RPC__in BSTR quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmAutoApplyQuota, get_ExcludeFolders) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExcludeFolders )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *folders); + + DECLSPEC_XFGVIRT(IFsrmAutoApplyQuota, put_ExcludeFolders) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ExcludeFolders )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ __RPC__in SAFEARRAY * folders); + + DECLSPEC_XFGVIRT(IFsrmAutoApplyQuota, CommitAndUpdateDerived) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CommitAndUpdateDerived )( + __RPC__in IFsrmAutoApplyQuota * This, + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult); + + END_INTERFACE + } IFsrmAutoApplyQuotaVtbl; + + interface IFsrmAutoApplyQuota + { + CONST_VTBL struct IFsrmAutoApplyQuotaVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmAutoApplyQuota_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmAutoApplyQuota_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmAutoApplyQuota_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmAutoApplyQuota_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmAutoApplyQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmAutoApplyQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmAutoApplyQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmAutoApplyQuota_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmAutoApplyQuota_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmAutoApplyQuota_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmAutoApplyQuota_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmAutoApplyQuota_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmAutoApplyQuota_get_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> get_QuotaLimit(This,quotaLimit) ) + +#define IFsrmAutoApplyQuota_put_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> put_QuotaLimit(This,quotaLimit) ) + +#define IFsrmAutoApplyQuota_get_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> get_QuotaFlags(This,quotaFlags) ) + +#define IFsrmAutoApplyQuota_put_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> put_QuotaFlags(This,quotaFlags) ) + +#define IFsrmAutoApplyQuota_get_Thresholds(This,thresholds) \ + ( (This)->lpVtbl -> get_Thresholds(This,thresholds) ) + +#define IFsrmAutoApplyQuota_AddThreshold(This,threshold) \ + ( (This)->lpVtbl -> AddThreshold(This,threshold) ) + +#define IFsrmAutoApplyQuota_DeleteThreshold(This,threshold) \ + ( (This)->lpVtbl -> DeleteThreshold(This,threshold) ) + +#define IFsrmAutoApplyQuota_ModifyThreshold(This,threshold,newThreshold) \ + ( (This)->lpVtbl -> ModifyThreshold(This,threshold,newThreshold) ) + +#define IFsrmAutoApplyQuota_CreateThresholdAction(This,threshold,actionType,action) \ + ( (This)->lpVtbl -> CreateThresholdAction(This,threshold,actionType,action) ) + +#define IFsrmAutoApplyQuota_EnumThresholdActions(This,threshold,actions) \ + ( (This)->lpVtbl -> EnumThresholdActions(This,threshold,actions) ) + + +#define IFsrmAutoApplyQuota_get_Path(This,path) \ + ( (This)->lpVtbl -> get_Path(This,path) ) + +#define IFsrmAutoApplyQuota_get_UserSid(This,userSid) \ + ( (This)->lpVtbl -> get_UserSid(This,userSid) ) + +#define IFsrmAutoApplyQuota_get_UserAccount(This,userAccount) \ + ( (This)->lpVtbl -> get_UserAccount(This,userAccount) ) + +#define IFsrmAutoApplyQuota_get_SourceTemplateName(This,quotaTemplateName) \ + ( (This)->lpVtbl -> get_SourceTemplateName(This,quotaTemplateName) ) + +#define IFsrmAutoApplyQuota_get_MatchesSourceTemplate(This,matches) \ + ( (This)->lpVtbl -> get_MatchesSourceTemplate(This,matches) ) + +#define IFsrmAutoApplyQuota_ApplyTemplate(This,quotaTemplateName) \ + ( (This)->lpVtbl -> ApplyTemplate(This,quotaTemplateName) ) + + +#define IFsrmAutoApplyQuota_get_ExcludeFolders(This,folders) \ + ( (This)->lpVtbl -> get_ExcludeFolders(This,folders) ) + +#define IFsrmAutoApplyQuota_put_ExcludeFolders(This,folders) \ + ( (This)->lpVtbl -> put_ExcludeFolders(This,folders) ) + +#define IFsrmAutoApplyQuota_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) \ + ( (This)->lpVtbl -> CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmAutoApplyQuota_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuotaManager_INTERFACE_DEFINED__ +#define __IFsrmQuotaManager_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaManager */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8bb68c7d-19d8-4ffb-809e-be4fc1734014") + IFsrmQuotaManager : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionVariables( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionVariableDescriptions( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateQuota( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAutoApplyQuota( + /* [in] */ __RPC__in BSTR quotaTemplateName, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAutoApplyQuota **quota) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetQuota( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAutoApplyQuota( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAutoApplyQuota **quota) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRestrictiveQuota( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumQuotas( + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumAutoApplyQuotas( + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumEffectiveQuotas( + /* [in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Scan( + /* [in] */ __RPC__in BSTR strPath) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateQuotaCollection( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **collection) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, get_ActionVariables) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariables )( + __RPC__in IFsrmQuotaManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, get_ActionVariableDescriptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariableDescriptions )( + __RPC__in IFsrmQuotaManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, CreateQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateQuota )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, CreateAutoApplyQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAutoApplyQuota )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR quotaTemplateName, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAutoApplyQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, GetQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetQuota )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, GetAutoApplyQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAutoApplyQuota )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAutoApplyQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, GetRestrictiveQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRestrictiveQuota )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, EnumQuotas) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumQuotas )( + __RPC__in IFsrmQuotaManager * This, + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, EnumAutoApplyQuotas) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumAutoApplyQuotas )( + __RPC__in IFsrmQuotaManager * This, + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, EnumEffectiveQuotas) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumEffectiveQuotas )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, Scan) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Scan )( + __RPC__in IFsrmQuotaManager * This, + /* [in] */ __RPC__in BSTR strPath); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, CreateQuotaCollection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateQuotaCollection )( + __RPC__in IFsrmQuotaManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **collection); + + END_INTERFACE + } IFsrmQuotaManagerVtbl; + + interface IFsrmQuotaManager + { + CONST_VTBL struct IFsrmQuotaManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaManager_get_ActionVariables(This,variables) \ + ( (This)->lpVtbl -> get_ActionVariables(This,variables) ) + +#define IFsrmQuotaManager_get_ActionVariableDescriptions(This,descriptions) \ + ( (This)->lpVtbl -> get_ActionVariableDescriptions(This,descriptions) ) + +#define IFsrmQuotaManager_CreateQuota(This,path,quota) \ + ( (This)->lpVtbl -> CreateQuota(This,path,quota) ) + +#define IFsrmQuotaManager_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) \ + ( (This)->lpVtbl -> CreateAutoApplyQuota(This,quotaTemplateName,path,quota) ) + +#define IFsrmQuotaManager_GetQuota(This,path,quota) \ + ( (This)->lpVtbl -> GetQuota(This,path,quota) ) + +#define IFsrmQuotaManager_GetAutoApplyQuota(This,path,quota) \ + ( (This)->lpVtbl -> GetAutoApplyQuota(This,path,quota) ) + +#define IFsrmQuotaManager_GetRestrictiveQuota(This,path,quota) \ + ( (This)->lpVtbl -> GetRestrictiveQuota(This,path,quota) ) + +#define IFsrmQuotaManager_EnumQuotas(This,path,options,quotas) \ + ( (This)->lpVtbl -> EnumQuotas(This,path,options,quotas) ) + +#define IFsrmQuotaManager_EnumAutoApplyQuotas(This,path,options,quotas) \ + ( (This)->lpVtbl -> EnumAutoApplyQuotas(This,path,options,quotas) ) + +#define IFsrmQuotaManager_EnumEffectiveQuotas(This,path,options,quotas) \ + ( (This)->lpVtbl -> EnumEffectiveQuotas(This,path,options,quotas) ) + +#define IFsrmQuotaManager_Scan(This,strPath) \ + ( (This)->lpVtbl -> Scan(This,strPath) ) + +#define IFsrmQuotaManager_CreateQuotaCollection(This,collection) \ + ( (This)->lpVtbl -> CreateQuotaCollection(This,collection) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaManager_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuotaManagerEx_INTERFACE_DEFINED__ +#define __IFsrmQuotaManagerEx_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaManagerEx */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaManagerEx; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4846cb01-d430-494f-abb4-b1054999fb09") + IFsrmQuotaManagerEx : public IFsrmQuotaManager + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsAffectedByQuota( + /* [in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__out VARIANT_BOOL *affected) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaManagerExVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaManagerEx * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaManagerEx * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaManagerEx * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, get_ActionVariables) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariables )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, get_ActionVariableDescriptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariableDescriptions )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, CreateQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateQuota )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, CreateAutoApplyQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAutoApplyQuota )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR quotaTemplateName, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAutoApplyQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, GetQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetQuota )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, GetAutoApplyQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetAutoApplyQuota )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAutoApplyQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, GetRestrictiveQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRestrictiveQuota )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuota **quota); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, EnumQuotas) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumQuotas )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, EnumAutoApplyQuotas) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumAutoApplyQuotas )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, EnumEffectiveQuotas) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumEffectiveQuotas )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotas); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, Scan) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Scan )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR strPath); + + DECLSPEC_XFGVIRT(IFsrmQuotaManager, CreateQuotaCollection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateQuotaCollection )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **collection); + + DECLSPEC_XFGVIRT(IFsrmQuotaManagerEx, IsAffectedByQuota) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsAffectedByQuota )( + __RPC__in IFsrmQuotaManagerEx * This, + /* [in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__out VARIANT_BOOL *affected); + + END_INTERFACE + } IFsrmQuotaManagerExVtbl; + + interface IFsrmQuotaManagerEx + { + CONST_VTBL struct IFsrmQuotaManagerExVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaManagerEx_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaManagerEx_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaManagerEx_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaManagerEx_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaManagerEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaManagerEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaManagerEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaManagerEx_get_ActionVariables(This,variables) \ + ( (This)->lpVtbl -> get_ActionVariables(This,variables) ) + +#define IFsrmQuotaManagerEx_get_ActionVariableDescriptions(This,descriptions) \ + ( (This)->lpVtbl -> get_ActionVariableDescriptions(This,descriptions) ) + +#define IFsrmQuotaManagerEx_CreateQuota(This,path,quota) \ + ( (This)->lpVtbl -> CreateQuota(This,path,quota) ) + +#define IFsrmQuotaManagerEx_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) \ + ( (This)->lpVtbl -> CreateAutoApplyQuota(This,quotaTemplateName,path,quota) ) + +#define IFsrmQuotaManagerEx_GetQuota(This,path,quota) \ + ( (This)->lpVtbl -> GetQuota(This,path,quota) ) + +#define IFsrmQuotaManagerEx_GetAutoApplyQuota(This,path,quota) \ + ( (This)->lpVtbl -> GetAutoApplyQuota(This,path,quota) ) + +#define IFsrmQuotaManagerEx_GetRestrictiveQuota(This,path,quota) \ + ( (This)->lpVtbl -> GetRestrictiveQuota(This,path,quota) ) + +#define IFsrmQuotaManagerEx_EnumQuotas(This,path,options,quotas) \ + ( (This)->lpVtbl -> EnumQuotas(This,path,options,quotas) ) + +#define IFsrmQuotaManagerEx_EnumAutoApplyQuotas(This,path,options,quotas) \ + ( (This)->lpVtbl -> EnumAutoApplyQuotas(This,path,options,quotas) ) + +#define IFsrmQuotaManagerEx_EnumEffectiveQuotas(This,path,options,quotas) \ + ( (This)->lpVtbl -> EnumEffectiveQuotas(This,path,options,quotas) ) + +#define IFsrmQuotaManagerEx_Scan(This,strPath) \ + ( (This)->lpVtbl -> Scan(This,strPath) ) + +#define IFsrmQuotaManagerEx_CreateQuotaCollection(This,collection) \ + ( (This)->lpVtbl -> CreateQuotaCollection(This,collection) ) + + +#define IFsrmQuotaManagerEx_IsAffectedByQuota(This,path,options,affected) \ + ( (This)->lpVtbl -> IsAffectedByQuota(This,path,options,affected) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaManagerEx_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuotaTemplate_INTERFACE_DEFINED__ +#define __IFsrmQuotaTemplate_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaTemplate */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaTemplate; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a2efab31-295e-46bb-b976-e86d58b52e8b") + IFsrmQuotaTemplate : public IFsrmQuotaBase + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyTemplate( + /* [in] */ __RPC__in BSTR quotaTemplateName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived( + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaTemplateVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaTemplate * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaTemplate * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaTemplate * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaTemplate * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmQuotaTemplate * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmQuotaTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmQuotaTemplate * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmQuotaTemplate * This); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaLimit )( + __RPC__in IFsrmQuotaTemplate * This, + /* [retval][out] */ __RPC__out VARIANT *quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaLimit )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ VARIANT quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaFlags )( + __RPC__in IFsrmQuotaTemplate * This, + /* [retval][out] */ __RPC__out long *quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaFlags )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ long quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_Thresholds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thresholds )( + __RPC__in IFsrmQuotaTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, AddThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddThreshold )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, DeleteThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteThreshold )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, ModifyThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyThreshold )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, CreateThresholdAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateThresholdAction )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, EnumThresholdActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumThresholdActions )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmQuotaTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, CopyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTemplate )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ __RPC__in BSTR quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, CommitAndUpdateDerived) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CommitAndUpdateDerived )( + __RPC__in IFsrmQuotaTemplate * This, + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult); + + END_INTERFACE + } IFsrmQuotaTemplateVtbl; + + interface IFsrmQuotaTemplate + { + CONST_VTBL struct IFsrmQuotaTemplateVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaTemplate_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaTemplate_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaTemplate_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaTemplate_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaTemplate_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmQuotaTemplate_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmQuotaTemplate_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmQuotaTemplate_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmQuotaTemplate_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmQuotaTemplate_get_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> get_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaTemplate_put_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> put_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaTemplate_get_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> get_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaTemplate_put_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> put_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaTemplate_get_Thresholds(This,thresholds) \ + ( (This)->lpVtbl -> get_Thresholds(This,thresholds) ) + +#define IFsrmQuotaTemplate_AddThreshold(This,threshold) \ + ( (This)->lpVtbl -> AddThreshold(This,threshold) ) + +#define IFsrmQuotaTemplate_DeleteThreshold(This,threshold) \ + ( (This)->lpVtbl -> DeleteThreshold(This,threshold) ) + +#define IFsrmQuotaTemplate_ModifyThreshold(This,threshold,newThreshold) \ + ( (This)->lpVtbl -> ModifyThreshold(This,threshold,newThreshold) ) + +#define IFsrmQuotaTemplate_CreateThresholdAction(This,threshold,actionType,action) \ + ( (This)->lpVtbl -> CreateThresholdAction(This,threshold,actionType,action) ) + +#define IFsrmQuotaTemplate_EnumThresholdActions(This,threshold,actions) \ + ( (This)->lpVtbl -> EnumThresholdActions(This,threshold,actions) ) + + +#define IFsrmQuotaTemplate_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmQuotaTemplate_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmQuotaTemplate_CopyTemplate(This,quotaTemplateName) \ + ( (This)->lpVtbl -> CopyTemplate(This,quotaTemplateName) ) + +#define IFsrmQuotaTemplate_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) \ + ( (This)->lpVtbl -> CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaTemplate_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__ +#define __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaTemplateImported */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaTemplateImported; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("9a2bf113-a329-44cc-809a-5c00fce8da40") + IFsrmQuotaTemplateImported : public IFsrmQuotaTemplate + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OverwriteOnCommit( + /* [retval][out] */ __RPC__out VARIANT_BOOL *overwrite) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OverwriteOnCommit( + /* [in] */ VARIANT_BOOL overwrite) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaTemplateImportedVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaTemplateImported * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaTemplateImported * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaTemplateImported * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmQuotaTemplateImported * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmQuotaTemplateImported * This); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaLimit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaLimit )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__out VARIANT *quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaLimit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaLimit )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ VARIANT quotaLimit); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_QuotaFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_QuotaFlags )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__out long *quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, put_QuotaFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_QuotaFlags )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ long quotaFlags); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, get_Thresholds) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Thresholds )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *thresholds); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, AddThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddThreshold )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, DeleteThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteThreshold )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, ModifyThreshold) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyThreshold )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FSRM_QUOTA_THRESHOLD newThreshold); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, CreateThresholdAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateThresholdAction )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmQuotaBase, EnumThresholdActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumThresholdActions )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ FSRM_QUOTA_THRESHOLD threshold, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, CopyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTemplate )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ __RPC__in BSTR quotaTemplateName); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplate, CommitAndUpdateDerived) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CommitAndUpdateDerived )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateImported, get_OverwriteOnCommit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OverwriteOnCommit )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *overwrite); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateImported, put_OverwriteOnCommit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OverwriteOnCommit )( + __RPC__in IFsrmQuotaTemplateImported * This, + /* [in] */ VARIANT_BOOL overwrite); + + END_INTERFACE + } IFsrmQuotaTemplateImportedVtbl; + + interface IFsrmQuotaTemplateImported + { + CONST_VTBL struct IFsrmQuotaTemplateImportedVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaTemplateImported_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaTemplateImported_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaTemplateImported_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaTemplateImported_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaTemplateImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaTemplateImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaTemplateImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaTemplateImported_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmQuotaTemplateImported_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmQuotaTemplateImported_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmQuotaTemplateImported_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmQuotaTemplateImported_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmQuotaTemplateImported_get_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> get_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaTemplateImported_put_QuotaLimit(This,quotaLimit) \ + ( (This)->lpVtbl -> put_QuotaLimit(This,quotaLimit) ) + +#define IFsrmQuotaTemplateImported_get_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> get_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaTemplateImported_put_QuotaFlags(This,quotaFlags) \ + ( (This)->lpVtbl -> put_QuotaFlags(This,quotaFlags) ) + +#define IFsrmQuotaTemplateImported_get_Thresholds(This,thresholds) \ + ( (This)->lpVtbl -> get_Thresholds(This,thresholds) ) + +#define IFsrmQuotaTemplateImported_AddThreshold(This,threshold) \ + ( (This)->lpVtbl -> AddThreshold(This,threshold) ) + +#define IFsrmQuotaTemplateImported_DeleteThreshold(This,threshold) \ + ( (This)->lpVtbl -> DeleteThreshold(This,threshold) ) + +#define IFsrmQuotaTemplateImported_ModifyThreshold(This,threshold,newThreshold) \ + ( (This)->lpVtbl -> ModifyThreshold(This,threshold,newThreshold) ) + +#define IFsrmQuotaTemplateImported_CreateThresholdAction(This,threshold,actionType,action) \ + ( (This)->lpVtbl -> CreateThresholdAction(This,threshold,actionType,action) ) + +#define IFsrmQuotaTemplateImported_EnumThresholdActions(This,threshold,actions) \ + ( (This)->lpVtbl -> EnumThresholdActions(This,threshold,actions) ) + + +#define IFsrmQuotaTemplateImported_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmQuotaTemplateImported_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmQuotaTemplateImported_CopyTemplate(This,quotaTemplateName) \ + ( (This)->lpVtbl -> CopyTemplate(This,quotaTemplateName) ) + +#define IFsrmQuotaTemplateImported_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) \ + ( (This)->lpVtbl -> CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) ) + + +#define IFsrmQuotaTemplateImported_get_OverwriteOnCommit(This,overwrite) \ + ( (This)->lpVtbl -> get_OverwriteOnCommit(This,overwrite) ) + +#define IFsrmQuotaTemplateImported_put_OverwriteOnCommit(This,overwrite) \ + ( (This)->lpVtbl -> put_OverwriteOnCommit(This,overwrite) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ +#define __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ + +/* interface IFsrmQuotaTemplateManager */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmQuotaTemplateManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4173ac41-172d-4d52-963c-fdc7e415f717") + IFsrmQuotaTemplateManager : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateTemplate( + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuotaTemplate **quotaTemplate) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTemplate( + /* [defaultvalue][in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuotaTemplate **quotaTemplate) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumTemplates( + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotaTemplates) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportTemplates( + /* [defaultvalue][in] */ __RPC__in VARIANT *quotaTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt BSTR *serializedQuotaTemplates) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportTemplates( + /* [in] */ __RPC__in BSTR serializedQuotaTemplates, + /* [defaultvalue][in] */ __RPC__in VARIANT *quotaTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotaTemplates) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmQuotaTemplateManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmQuotaTemplateManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmQuotaTemplateManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmQuotaTemplateManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateManager, CreateTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateTemplate )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuotaTemplate **quotaTemplate); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateManager, GetTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTemplate )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [defaultvalue][in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmQuotaTemplate **quotaTemplate); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateManager, EnumTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumTemplates )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotaTemplates); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateManager, ExportTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportTemplates )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [defaultvalue][in] */ __RPC__in VARIANT *quotaTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt BSTR *serializedQuotaTemplates); + + DECLSPEC_XFGVIRT(IFsrmQuotaTemplateManager, ImportTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportTemplates )( + __RPC__in IFsrmQuotaTemplateManager * This, + /* [in] */ __RPC__in BSTR serializedQuotaTemplates, + /* [defaultvalue][in] */ __RPC__in VARIANT *quotaTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **quotaTemplates); + + END_INTERFACE + } IFsrmQuotaTemplateManagerVtbl; + + interface IFsrmQuotaTemplateManager + { + CONST_VTBL struct IFsrmQuotaTemplateManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmQuotaTemplateManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmQuotaTemplateManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmQuotaTemplateManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmQuotaTemplateManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmQuotaTemplateManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmQuotaTemplateManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmQuotaTemplateManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmQuotaTemplateManager_CreateTemplate(This,quotaTemplate) \ + ( (This)->lpVtbl -> CreateTemplate(This,quotaTemplate) ) + +#define IFsrmQuotaTemplateManager_GetTemplate(This,name,quotaTemplate) \ + ( (This)->lpVtbl -> GetTemplate(This,name,quotaTemplate) ) + +#define IFsrmQuotaTemplateManager_EnumTemplates(This,options,quotaTemplates) \ + ( (This)->lpVtbl -> EnumTemplates(This,options,quotaTemplates) ) + +#define IFsrmQuotaTemplateManager_ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) \ + ( (This)->lpVtbl -> ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) ) + +#define IFsrmQuotaTemplateManager_ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) \ + ( (This)->lpVtbl -> ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_fsrmquota_0000_0009 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmquota_0000_0009_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmquota_0000_0009_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmquota.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmquota.idl new file mode 100644 index 0000000000000000000000000000000000000000..f891450ffa0e9d44c36984e1318e1ee8fb48d152 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmquota.idl @@ -0,0 +1,418 @@ +////////////////////////////////////// +// Imports +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; + +import "fsrmenums.idl"; +import "fsrm.idl"; + + +////////////////////////////////////// +// Forward declarations +// + +interface IFsrmQuotaBase; +interface IFsrmQuotaObject; +interface IFsrmQuota; +interface IFsrmAutoApplyQuota; +interface IFsrmQuotaManager; +interface IFsrmQuotaTemplate; +interface IFsrmQuotaTemplateImported; +interface IFsrmQuotaTemplateManager; + + +////////////////////////////////////// +// Dispatch IDs +// + +#define FSRM_PROPERTY(x) x | FSRM_DISPID_IS_PROPERTY + +// Dispatch ID base of quota interfaces +const DISPID FSRM_DISPID_QUOTA_BASE = FSRM_DISPID_FEATURE_QUOTA | 0x100000; +const DISPID FSRM_DISPID_QUOTA_OBJECT = FSRM_DISPID_QUOTA_BASE | 0x010000; +const DISPID FSRM_DISPID_QUOTA = FSRM_DISPID_QUOTA_OBJECT | 0x001000; +const DISPID FSRM_DISPID_AUTOAPPLYQUOTA = FSRM_DISPID_QUOTA_OBJECT | 0x002000; +const DISPID FSRM_DISPID_QUOTA_TEMPLATE = FSRM_DISPID_QUOTA_BASE | 0x020000; +const DISPID FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED = FSRM_DISPID_QUOTA_TEMPLATE | 0x001000; + +const DISPID FSRM_DISPID_QUOTA_MANAGER = FSRM_DISPID_FEATURE_QUOTA | 0x200000; + +const DISPID FSRM_DISPID_QUOTA_TEMPLATE_MANAGER = FSRM_DISPID_FEATURE_QUOTA | 0x300000; + +const DISPID FSRM_DISPID_QUOTA_MANAGER_EX = FSRM_DISPID_FEATURE_QUOTA | 0x400000; + + +////////////////////////////////////// +// Typedefs and enums +// + +typedef long FSRM_QUOTA_THRESHOLD; + + +////////////////////////////////////// +// Constants +// + +const ULONG FsrmMaxNumberThresholds = 16; +const ULONG FsrmMinThresholdValue = 1; +const ULONG FsrmMaxThresholdValue = 250; +const ULONG FsrmMinQuotaLimit = 1024; +const ULONG FsrmMaxExcludeFolders = 32; + + +////////////////////////////////////// +// Interfaces +// + +[ + object, + uuid(1568a795-3924-4118-b74b-68d8f0fa5daf), + dual, + helpstring("IFsrmQuotaBase Interface"), + pointer_default(unique) +] +interface IFsrmQuotaBase : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x01)), helpstring("This property is the limit in bytes of the quota")] + HRESULT QuotaLimit([out, retval] VARIANT *quotaLimit); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x01)), helpstring("This property is the limit in bytes of the quota")] + HRESULT QuotaLimit([in] VARIANT quotaLimit); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x02)), helpstring("This property is the bit field containing flags defined in SRM_QUOTA_FLAGS ")] + HRESULT QuotaFlags([out, retval] long *quotaFlags); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x02)), helpstring("This property is the bit field containing flags defined in SRM_QUOTA_FLAGS")] + HRESULT QuotaFlags([in] long quotaFlags); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x03)), helpstring("This read-only property is an array of currently defined thresholds")] + HRESULT Thresholds([out, retval] SAFEARRAY(VARIANT) *thresholds); + + + // Methods + + [id(FSRM_DISPID_QUOTA_BASE | 0x01), helpstring("This method is used to add a new threshold value")] + HRESULT AddThreshold([in] FSRM_QUOTA_THRESHOLD threshold); + + [id(FSRM_DISPID_QUOTA_BASE | 0x02), helpstring("This method is used to delete a threshold value")] + HRESULT DeleteThreshold([in] FSRM_QUOTA_THRESHOLD threshold); + + [id(FSRM_DISPID_QUOTA_BASE | 0x03), helpstring("This method is used to modify a threshold value")] + HRESULT ModifyThreshold( + [in] FSRM_QUOTA_THRESHOLD threshold, + [in] FSRM_QUOTA_THRESHOLD newThreshold); + + [id(FSRM_DISPID_QUOTA_BASE | 0x04), helpstring("This method is used to create a threshold action of a specific type")] + HRESULT CreateThresholdAction( + [in] FSRM_QUOTA_THRESHOLD threshold, + [in] FsrmActionType actionType, + [out, retval] IFsrmAction **action); + + [id(FSRM_DISPID_QUOTA_BASE | 0x05), helpstring("This method is used to enumerate threshold actions")] + HRESULT EnumThresholdActions( + [in] FSRM_QUOTA_THRESHOLD threshold, + [out, retval] IFsrmCollection **actions); + +} + + +[ + object, + uuid(42dc3511-61d5-48ae-b6dc-59fc00c0a8d6), + dual, + helpstring("IFsrmQuotaObject Interface"), + pointer_default(unique) +] +interface IFsrmQuotaObject : IFsrmQuotaBase +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_OBJECT | 0x01)), helpstring("This read-only property is the Path to the object that will be charged quota")] + HRESULT Path([out, retval] BSTR *path); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_OBJECT | 0x02)), helpstring("This read-only property is the SID of the user that will be charged quota")] + HRESULT UserSid([out, retval] BSTR *userSid); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_OBJECT | 0x03)), helpstring("This read-only property is the account name of the user that will be charged quota")] + HRESULT UserAccount([out, retval] BSTR *userAccount); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_OBJECT | 0x04)), helpstring("This read-only property is the name of the template that this object originated from")] + HRESULT SourceTemplateName([out, retval] BSTR *quotaTemplateName); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_OBJECT | 0x05)), helpstring("This read-only property is whether the object matches the template it originated from")] + HRESULT MatchesSourceTemplate([out, retval] VARIANT_BOOL *matches); + + + // Methods + + [id(FSRM_DISPID_QUOTA_OBJECT | 0x01), helpstring("This method is used to copy the properties of this quota from the specified quota template")] + HRESULT ApplyTemplate([in] BSTR quotaTemplateName); + +}; + + +[ + object, + uuid(377f739d-9647-4b8e-97d2-5ffce6d759cd), + dual, + helpstring("IFsrmQuota Interface"), + pointer_default(unique) +] +interface IFsrmQuota : IFsrmQuotaObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA | 0x01)), helpstring("This read-only property is the number of bytes currently charged to the quota")] + HRESULT QuotaUsed([out, retval] VARIANT *used); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA | 0x02)), helpstring("This read-only property is the maximum number of bytes the quota was charged since the last time the peak usage was reset")] + HRESULT QuotaPeakUsage([out, retval] VARIANT *peakUsage); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA | 0x03)), helpstring("This read-only property is the time the peak usage occured")] + HRESULT QuotaPeakUsageTime([out, retval] DATE *peakUsageDateTime); + + + // Methods + + [id(FSRM_DISPID_QUOTA | 0x01), helpstring("This method is used to reset the peak usage mark to the number of bytes currently charged to the quota")] + HRESULT ResetPeakUsage(); + + [id(FSRM_DISPID_QUOTA | 0x02), helpstring("This method is used to refresh QuotaUsed, QuotaPeakUsage, and QuotaPeakUsageTime from the driver")] + HRESULT RefreshUsageProperties(); + +}; + + +[ + object, + uuid(f82e5729-6aba-4740-bfc7-c7f58f75fb7b), + dual, + helpstring("IFsrmAutoApplyQuota Interface"), + pointer_default(unique) +] +interface IFsrmAutoApplyQuota : IFsrmQuotaObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_AUTOAPPLYQUOTA | 0x01)), helpstring("This property is an array of first level subfolders to exclude from auto-quota creation")] + HRESULT ExcludeFolders([out, retval] SAFEARRAY(VARIANT) *folders); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_AUTOAPPLYQUOTA | 0x01)), helpstring("This property is an array of first level subfolders to exclude from auto-quota creation")] + HRESULT ExcludeFolders([in] SAFEARRAY(VARIANT) folders); + + + // Methods + + [id(FSRM_DISPID_AUTOAPPLYQUOTA | 0x01), helpstring("This method is used to apply the auto apply quota changes to derived quotas and commit both the derived quotas and auto apply quota changes. The resulting collection of derived quotas will be in Committing or Complete state depending on the synchronizaton option chosen. The collection of HRESULTs can be used to monitor the progress of the asynchronous quota commit operation and should be inspected for the error state of the individual object commit.")] + HRESULT CommitAndUpdateDerived( + [in] FsrmCommitOptions commitOptions, + [in] FsrmTemplateApplyOptions applyOptions, + [out, retval] IFsrmDerivedObjectsResult **derivedObjectsResult); + +}; + + +[ + object, + uuid(8bb68c7d-19d8-4ffb-809e-be4fc1734014), + dual, + helpstring("IFsrmQuotaManager Interface"), + pointer_default(unique) +] +interface IFsrmQuotaManager : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_MANAGER | 0x01)), helpstring("This method is used enumerate the runtime expanded variables available for quota notifications")] + HRESULT ActionVariables([out, retval] SAFEARRAY(VARIANT) *variables); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_MANAGER | 0x02)), helpstring("This method is used enumerate the descriptions of the runtime expanded variables available for quota notifications")] + HRESULT ActionVariableDescriptions([out, retval] SAFEARRAY(VARIANT) *descriptions); + + + // Methods + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x01), helpstring("This method is used to create a new quota object")] + HRESULT CreateQuota( + [in] BSTR path, + [out, retval] IFsrmQuota **quota); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x02), helpstring("This method is used to create a new auto-quota object based on the given template")] + HRESULT CreateAutoApplyQuota( + [in] BSTR quotaTemplateName, + [in] BSTR path, + [out, retval] IFsrmAutoApplyQuota **quota); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x03), helpstring("This method is used to get a quota for a specific path")] + HRESULT GetQuota( + [in] BSTR path, + [out, retval] IFsrmQuota **quota); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x04), helpstring("This method is used to get an auto-quota for a specific path")] + HRESULT GetAutoApplyQuota( + [in] BSTR path, + [out, retval] IFsrmAutoApplyQuota **quota); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x05), helpstring("This method is used to get the most restricting quota for an arbitrary path")] + HRESULT GetRestrictiveQuota( + [in] BSTR path, + [out, retval] IFsrmQuota **quota); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x06), helpstring("This method is used to enumerate quotas")] + HRESULT EnumQuotas( + [in, defaultvalue(L"")] BSTR path, // supports wildcards + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **quotas); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x07), helpstring("This method is used to enumerate auto-quotas")] + HRESULT EnumAutoApplyQuotas( + [in, defaultvalue(L"")] BSTR path, // supports wildcards + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **quotas); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x08), helpstring("This method is used to enumerate all the quotas that affect an arbitrary path")] + HRESULT EnumEffectiveQuotas( + [in] BSTR path, + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **quotas); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x09), helpstring("This method is used to start a quota scan on the directory tree underneath the specified path")] + HRESULT Scan([in] BSTR strPath); + + [id(FSRM_DISPID_QUOTA_MANAGER | 0x0A), helpstring("This method is used to create an empty quota collection")] + HRESULT CreateQuotaCollection([out, retval] IFsrmCommittableCollection **collection); + +}; + + +[ + object, + uuid(4846cb01-d430-494f-abb4-b1054999fb09), + dual, + helpstring("IFsrmQuotaManagerEx Interface"), + pointer_default(unique) +] +interface IFsrmQuotaManagerEx : IFsrmQuotaManager +{ + [id(FSRM_DISPID_QUOTA_MANAGER_EX | 0x01), helpstring("This method is used to check whether a given path is subject to quota")] + HRESULT IsAffectedByQuota( + [in] BSTR path, + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] VARIANT_BOOL *affected); +} + + +[ + object, + uuid(a2efab31-295e-46bb-b976-e86d58b52e8b), + dual, + helpstring("IFsrmQuotaTemplate Interface"), + pointer_default(unique) +] +interface IFsrmQuotaTemplate : IFsrmQuotaBase +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_TEMPLATE | 0x01)), helpstring("property TemplateName")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_TEMPLATE | 0x01)), helpstring("property TemplateName")] + HRESULT Name([in] BSTR name); + + + // Methods + + [id(FSRM_DISPID_QUOTA_TEMPLATE | 0x01), helpstring("This method is used to copy the properties of this template from the specified template")] + HRESULT CopyTemplate([in] BSTR quotaTemplateName); + + [id(FSRM_DISPID_QUOTA_TEMPLATE | 0x02), helpstring("This method is used to apply the template changes to derived quotas and commit both the derived quotas and template changes. The resulting collection of derived quotas will be in Committing or Complete state depending on the synchronizaton option chosen. The collection of HRESULTs can be used to monitor the progress of the asynchronous quota commit operation and should be inspected for the error state of the individual object commit.")] + HRESULT CommitAndUpdateDerived( + [in] FsrmCommitOptions commitOptions, + [in] FsrmTemplateApplyOptions applyOptions, + [out, retval] IFsrmDerivedObjectsResult **derivedObjectsResult); + +}; + + +[ + object, + uuid(9a2bf113-a329-44cc-809a-5c00fce8da40), + dual, + helpstring("IFsrmQuotaTemplateImported Interface"), + pointer_default(unique) +] +interface IFsrmQuotaTemplateImported : IFsrmQuotaTemplate +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED | 0x01)), helpstring("property OverwriteOnCommit")] + HRESULT OverwriteOnCommit([out, retval] VARIANT_BOOL *overwrite); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED | 0x01)), helpstring("property OverwriteOnCommit")] + HRESULT OverwriteOnCommit([in] VARIANT_BOOL overwrite); + +}; + + +[ + object, + uuid(4173ac41-172d-4d52-963c-fdc7e415f717), + dual, + helpstring("IFsrmQuotaTemplateManager Interface"), + pointer_default(unique) +] +interface IFsrmQuotaTemplateManager : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_QUOTA_TEMPLATE_MANAGER | 0x01), helpstring("This method is used to create a new template")] + HRESULT CreateTemplate([out,retval] IFsrmQuotaTemplate **quotaTemplate); + + [id(FSRM_DISPID_QUOTA_TEMPLATE_MANAGER | 0x02), helpstring("This method is used to get a template by name")] + HRESULT GetTemplate( + [in, defaultvalue(L"")] BSTR name, + [out, retval] IFsrmQuotaTemplate **quotaTemplate); + + [id(FSRM_DISPID_QUOTA_TEMPLATE_MANAGER | 0x03), helpstring("This method is used to enumerate templates")] + HRESULT EnumTemplates( + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **quotaTemplates); + + [id(FSRM_DISPID_QUOTA_TEMPLATE_MANAGER | 0x04), helpstring("This method is used to copy the properties of this template from the input string")] + HRESULT ExportTemplates( + [in, defaultvalue(NULL)] VARIANT* quotaTemplateNamesArray, + [out, retval] BSTR *serializedQuotaTemplates); + + [id(FSRM_DISPID_QUOTA_TEMPLATE_MANAGER | 0x05), helpstring("This method is used to import templates from the templates string representation. The resulting collection, or individual objects contain therein, must be committed to finalize the import")] + HRESULT ImportTemplates( + [in] BSTR serializedQuotaTemplates, + [in, defaultvalue(NULL)] VARIANT* quotaTemplateNamesArray, + [out, retval] IFsrmCommittableCollection **quotaTemplates); + +}; + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmreports.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmreports.h new file mode 100644 index 0000000000000000000000000000000000000000..8da0e272cf69690eff5e56693df2d0e8f7437ab2 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmreports.h @@ -0,0 +1,2742 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __fsrmreports_h__ +#define __fsrmreports_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFsrmReportManager_FWD_DEFINED__ +#define __IFsrmReportManager_FWD_DEFINED__ +typedef interface IFsrmReportManager IFsrmReportManager; + +#endif /* __IFsrmReportManager_FWD_DEFINED__ */ + + +#ifndef __IFsrmReportJob_FWD_DEFINED__ +#define __IFsrmReportJob_FWD_DEFINED__ +typedef interface IFsrmReportJob IFsrmReportJob; + +#endif /* __IFsrmReportJob_FWD_DEFINED__ */ + + +#ifndef __IFsrmReport_FWD_DEFINED__ +#define __IFsrmReport_FWD_DEFINED__ +typedef interface IFsrmReport IFsrmReport; + +#endif /* __IFsrmReport_FWD_DEFINED__ */ + + +#ifndef __IFsrmReportScheduler_FWD_DEFINED__ +#define __IFsrmReportScheduler_FWD_DEFINED__ +typedef interface IFsrmReportScheduler IFsrmReportScheduler; + +#endif /* __IFsrmReportScheduler_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileManagementJobManager_FWD_DEFINED__ +#define __IFsrmFileManagementJobManager_FWD_DEFINED__ +typedef interface IFsrmFileManagementJobManager IFsrmFileManagementJobManager; + +#endif /* __IFsrmFileManagementJobManager_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileManagementJob_FWD_DEFINED__ +#define __IFsrmFileManagementJob_FWD_DEFINED__ +typedef interface IFsrmFileManagementJob IFsrmFileManagementJob; + +#endif /* __IFsrmFileManagementJob_FWD_DEFINED__ */ + + +#ifndef __IFsrmPropertyCondition_FWD_DEFINED__ +#define __IFsrmPropertyCondition_FWD_DEFINED__ +typedef interface IFsrmPropertyCondition IFsrmPropertyCondition; + +#endif /* __IFsrmPropertyCondition_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileCondition_FWD_DEFINED__ +#define __IFsrmFileCondition_FWD_DEFINED__ +typedef interface IFsrmFileCondition IFsrmFileCondition; + +#endif /* __IFsrmFileCondition_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileConditionProperty_FWD_DEFINED__ +#define __IFsrmFileConditionProperty_FWD_DEFINED__ +typedef interface IFsrmFileConditionProperty IFsrmFileConditionProperty; + +#endif /* __IFsrmFileConditionProperty_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "fsrmenums.h" +#include "fsrm.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrmreports_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + + + +#define FSRM_DISPID_REPORT_MANAGER ( ( FSRM_DISPID_FEATURE_REPORTS | 0x100000 ) ) + +#define FSRM_DISPID_REPORT_JOB ( ( FSRM_DISPID_FEATURE_REPORTS | 0x200000 ) ) + +#define FSRM_DISPID_REPORT ( ( FSRM_DISPID_FEATURE_REPORTS | 0x300000 ) ) + +#define FSRM_DISPID_REPORT_SCHEDULER ( ( FSRM_DISPID_FEATURE_REPORTS | 0x400000 ) ) + +#define FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER ( ( FSRM_DISPID_FEATURE_REPORTS | 0x500000 ) ) + +#define FSRM_DISPID_FILE_MANAGEMENT_JOB ( ( FSRM_DISPID_FEATURE_REPORTS | 0x600000 ) ) + +#define FSRM_DISPID_FILE_MANAGEMENT_NOTIFICATION ( ( FSRM_DISPID_FEATURE_REPORTS | 0x700000 ) ) + +#define FSRM_DISPID_PROPERTY_CONDITION ( ( FSRM_DISPID_FEATURE_REPORTS | 0x800000 ) ) + +#define FSRM_DISPID_FILE_CONDITION ( ( FSRM_DISPID_FEATURE_REPORTS | 0x900000 ) ) + +#define FSRM_DISPID_FILE_CONDITION_PROPERTY ( ( FSRM_DISPID_FEATURE_REPORTS | 0xa00000 ) ) + +#define FSRM_DISPID_FILE_MANAGEMENT_JOB_2 ( ( FSRM_DISPID_FEATURE_REPORTS | 0xb00000 ) ) + + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmreports_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmreports_0000_0000_v0_0_s_ifspec; + +#ifndef __IFsrmReportManager_INTERFACE_DEFINED__ +#define __IFsrmReportManager_INTERFACE_DEFINED__ + +/* interface IFsrmReportManager */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmReportManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("27b899fe-6ffa-4481-a184-d3daade8a02b") + IFsrmReportManager : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumReportJobs( + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **reportJobs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateReportJob( + /* [retval][out] */ __RPC__deref_out_opt IFsrmReportJob **reportJob) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetReportJob( + /* [in] */ __RPC__in BSTR taskName, + /* [retval][out] */ __RPC__deref_out_opt IFsrmReportJob **reportJob) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetOutputDirectory( + /* [in] */ FsrmReportGenerationContext context, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetOutputDirectory( + /* [in] */ FsrmReportGenerationContext context, + /* [in] */ __RPC__in BSTR path) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsFilterValidForReportType( + /* [in] */ FsrmReportType reportType, + /* [in] */ FsrmReportFilter filter, + /* [retval][out] */ __RPC__out VARIANT_BOOL *valid) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultFilter( + /* [in] */ FsrmReportType reportType, + /* [in] */ FsrmReportFilter filter, + /* [retval][out] */ __RPC__out VARIANT *filterValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetDefaultFilter( + /* [in] */ FsrmReportType reportType, + /* [in] */ FsrmReportFilter filter, + /* [in] */ VARIANT filterValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetReportSizeLimit( + /* [in] */ FsrmReportLimit limit, + /* [retval][out] */ __RPC__out VARIANT *limitValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetReportSizeLimit( + /* [in] */ FsrmReportLimit limit, + /* [in] */ VARIANT limitValue) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmReportManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmReportManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmReportManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmReportManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmReportManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmReportManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmReportManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmReportManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmReportManager, EnumReportJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumReportJobs )( + __RPC__in IFsrmReportManager * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **reportJobs); + + DECLSPEC_XFGVIRT(IFsrmReportManager, CreateReportJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateReportJob )( + __RPC__in IFsrmReportManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmReportJob **reportJob); + + DECLSPEC_XFGVIRT(IFsrmReportManager, GetReportJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetReportJob )( + __RPC__in IFsrmReportManager * This, + /* [in] */ __RPC__in BSTR taskName, + /* [retval][out] */ __RPC__deref_out_opt IFsrmReportJob **reportJob); + + DECLSPEC_XFGVIRT(IFsrmReportManager, GetOutputDirectory) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetOutputDirectory )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportGenerationContext context, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmReportManager, SetOutputDirectory) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetOutputDirectory )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportGenerationContext context, + /* [in] */ __RPC__in BSTR path); + + DECLSPEC_XFGVIRT(IFsrmReportManager, IsFilterValidForReportType) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsFilterValidForReportType )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportType reportType, + /* [in] */ FsrmReportFilter filter, + /* [retval][out] */ __RPC__out VARIANT_BOOL *valid); + + DECLSPEC_XFGVIRT(IFsrmReportManager, GetDefaultFilter) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultFilter )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportType reportType, + /* [in] */ FsrmReportFilter filter, + /* [retval][out] */ __RPC__out VARIANT *filterValue); + + DECLSPEC_XFGVIRT(IFsrmReportManager, SetDefaultFilter) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetDefaultFilter )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportType reportType, + /* [in] */ FsrmReportFilter filter, + /* [in] */ VARIANT filterValue); + + DECLSPEC_XFGVIRT(IFsrmReportManager, GetReportSizeLimit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetReportSizeLimit )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportLimit limit, + /* [retval][out] */ __RPC__out VARIANT *limitValue); + + DECLSPEC_XFGVIRT(IFsrmReportManager, SetReportSizeLimit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetReportSizeLimit )( + __RPC__in IFsrmReportManager * This, + /* [in] */ FsrmReportLimit limit, + /* [in] */ VARIANT limitValue); + + END_INTERFACE + } IFsrmReportManagerVtbl; + + interface IFsrmReportManager + { + CONST_VTBL struct IFsrmReportManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmReportManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmReportManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmReportManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmReportManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmReportManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmReportManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmReportManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmReportManager_EnumReportJobs(This,options,reportJobs) \ + ( (This)->lpVtbl -> EnumReportJobs(This,options,reportJobs) ) + +#define IFsrmReportManager_CreateReportJob(This,reportJob) \ + ( (This)->lpVtbl -> CreateReportJob(This,reportJob) ) + +#define IFsrmReportManager_GetReportJob(This,taskName,reportJob) \ + ( (This)->lpVtbl -> GetReportJob(This,taskName,reportJob) ) + +#define IFsrmReportManager_GetOutputDirectory(This,context,path) \ + ( (This)->lpVtbl -> GetOutputDirectory(This,context,path) ) + +#define IFsrmReportManager_SetOutputDirectory(This,context,path) \ + ( (This)->lpVtbl -> SetOutputDirectory(This,context,path) ) + +#define IFsrmReportManager_IsFilterValidForReportType(This,reportType,filter,valid) \ + ( (This)->lpVtbl -> IsFilterValidForReportType(This,reportType,filter,valid) ) + +#define IFsrmReportManager_GetDefaultFilter(This,reportType,filter,filterValue) \ + ( (This)->lpVtbl -> GetDefaultFilter(This,reportType,filter,filterValue) ) + +#define IFsrmReportManager_SetDefaultFilter(This,reportType,filter,filterValue) \ + ( (This)->lpVtbl -> SetDefaultFilter(This,reportType,filter,filterValue) ) + +#define IFsrmReportManager_GetReportSizeLimit(This,limit,limitValue) \ + ( (This)->lpVtbl -> GetReportSizeLimit(This,limit,limitValue) ) + +#define IFsrmReportManager_SetReportSizeLimit(This,limit,limitValue) \ + ( (This)->lpVtbl -> SetReportSizeLimit(This,limit,limitValue) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmReportManager_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmReportJob_INTERFACE_DEFINED__ +#define __IFsrmReportJob_INTERFACE_DEFINED__ + +/* interface IFsrmReportJob */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmReportJob; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("38e87280-715c-4c7d-a280-ea1651a19fef") + IFsrmReportJob : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Task( + /* [retval][out] */ __RPC__deref_out_opt BSTR *taskName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Task( + /* [in] */ __RPC__in BSTR taskName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NamespaceRoots( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NamespaceRoots( + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Formats( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Formats( + /* [in] */ __RPC__in SAFEARRAY * formats) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailTo( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailTo( + /* [in] */ __RPC__in BSTR mailTo) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RunningStatus( + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastRun( + /* [retval][out] */ __RPC__out DATE *lastRun) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastError( + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastGeneratedInDirectory( + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumReports( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **reports) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateReport( + /* [in] */ FsrmReportType reportType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmReport **report) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Run( + /* [in] */ FsrmReportGenerationContext context) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitForCompletion( + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmReportJobVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmReportJob * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmReportJob * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmReportJob * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmReportJob * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmReportJob * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmReportJob * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmReportJob * This); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_Task) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Task )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *taskName); + + DECLSPEC_XFGVIRT(IFsrmReportJob, put_Task) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Task )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in BSTR taskName); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_NamespaceRoots) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NamespaceRoots )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmReportJob, put_NamespaceRoots) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NamespaceRoots )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_Formats) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Formats )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats); + + DECLSPEC_XFGVIRT(IFsrmReportJob, put_Formats) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Formats )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in SAFEARRAY * formats); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_MailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailTo )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmReportJob, put_MailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailTo )( + __RPC__in IFsrmReportJob * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_RunningStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunningStatus )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_LastRun) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastRun )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__out DATE *lastRun); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_LastError) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastError )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError); + + DECLSPEC_XFGVIRT(IFsrmReportJob, get_LastGeneratedInDirectory) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastGeneratedInDirectory )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmReportJob, EnumReports) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumReports )( + __RPC__in IFsrmReportJob * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **reports); + + DECLSPEC_XFGVIRT(IFsrmReportJob, CreateReport) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateReport )( + __RPC__in IFsrmReportJob * This, + /* [in] */ FsrmReportType reportType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmReport **report); + + DECLSPEC_XFGVIRT(IFsrmReportJob, Run) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Run )( + __RPC__in IFsrmReportJob * This, + /* [in] */ FsrmReportGenerationContext context); + + DECLSPEC_XFGVIRT(IFsrmReportJob, WaitForCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )( + __RPC__in IFsrmReportJob * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmReportJob, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFsrmReportJob * This); + + END_INTERFACE + } IFsrmReportJobVtbl; + + interface IFsrmReportJob + { + CONST_VTBL struct IFsrmReportJobVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmReportJob_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmReportJob_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmReportJob_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmReportJob_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmReportJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmReportJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmReportJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmReportJob_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmReportJob_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmReportJob_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmReportJob_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmReportJob_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmReportJob_get_Task(This,taskName) \ + ( (This)->lpVtbl -> get_Task(This,taskName) ) + +#define IFsrmReportJob_put_Task(This,taskName) \ + ( (This)->lpVtbl -> put_Task(This,taskName) ) + +#define IFsrmReportJob_get_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> get_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmReportJob_put_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> put_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmReportJob_get_Formats(This,formats) \ + ( (This)->lpVtbl -> get_Formats(This,formats) ) + +#define IFsrmReportJob_put_Formats(This,formats) \ + ( (This)->lpVtbl -> put_Formats(This,formats) ) + +#define IFsrmReportJob_get_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_MailTo(This,mailTo) ) + +#define IFsrmReportJob_put_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_MailTo(This,mailTo) ) + +#define IFsrmReportJob_get_RunningStatus(This,runningStatus) \ + ( (This)->lpVtbl -> get_RunningStatus(This,runningStatus) ) + +#define IFsrmReportJob_get_LastRun(This,lastRun) \ + ( (This)->lpVtbl -> get_LastRun(This,lastRun) ) + +#define IFsrmReportJob_get_LastError(This,lastError) \ + ( (This)->lpVtbl -> get_LastError(This,lastError) ) + +#define IFsrmReportJob_get_LastGeneratedInDirectory(This,path) \ + ( (This)->lpVtbl -> get_LastGeneratedInDirectory(This,path) ) + +#define IFsrmReportJob_EnumReports(This,reports) \ + ( (This)->lpVtbl -> EnumReports(This,reports) ) + +#define IFsrmReportJob_CreateReport(This,reportType,report) \ + ( (This)->lpVtbl -> CreateReport(This,reportType,report) ) + +#define IFsrmReportJob_Run(This,context) \ + ( (This)->lpVtbl -> Run(This,context) ) + +#define IFsrmReportJob_WaitForCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForCompletion(This,waitSeconds,completed) ) + +#define IFsrmReportJob_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmReportJob_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmReport_INTERFACE_DEFINED__ +#define __IFsrmReport_INTERFACE_DEFINED__ + +/* interface IFsrmReport */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmReport; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("d8cc81d9-46b8-4fa4-bfa5-4aa9dec9b638") + IFsrmReport : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type( + /* [retval][out] */ __RPC__out FsrmReportType *reportType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description( + /* [retval][out] */ __RPC__deref_out_opt BSTR *description) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description( + /* [in] */ __RPC__in BSTR description) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastGeneratedFileNamePrefix( + /* [retval][out] */ __RPC__deref_out_opt BSTR *prefix) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFilter( + /* [in] */ FsrmReportFilter filter, + /* [retval][out] */ __RPC__out VARIANT *filterValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFilter( + /* [in] */ FsrmReportFilter filter, + /* [in] */ VARIANT filterValue) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmReportVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmReport * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmReport * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmReport * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmReport * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmReport * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmReport * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmReport * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmReport, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFsrmReport * This, + /* [retval][out] */ __RPC__out FsrmReportType *reportType); + + DECLSPEC_XFGVIRT(IFsrmReport, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmReport * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmReport, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmReport * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmReport, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmReport * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmReport, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmReport * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmReport, get_LastGeneratedFileNamePrefix) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastGeneratedFileNamePrefix )( + __RPC__in IFsrmReport * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *prefix); + + DECLSPEC_XFGVIRT(IFsrmReport, GetFilter) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFilter )( + __RPC__in IFsrmReport * This, + /* [in] */ FsrmReportFilter filter, + /* [retval][out] */ __RPC__out VARIANT *filterValue); + + DECLSPEC_XFGVIRT(IFsrmReport, SetFilter) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFilter )( + __RPC__in IFsrmReport * This, + /* [in] */ FsrmReportFilter filter, + /* [in] */ VARIANT filterValue); + + DECLSPEC_XFGVIRT(IFsrmReport, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmReport * This); + + END_INTERFACE + } IFsrmReportVtbl; + + interface IFsrmReport + { + CONST_VTBL struct IFsrmReportVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmReport_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmReport_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmReport_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmReport_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmReport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmReport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmReport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmReport_get_Type(This,reportType) \ + ( (This)->lpVtbl -> get_Type(This,reportType) ) + +#define IFsrmReport_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmReport_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmReport_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmReport_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmReport_get_LastGeneratedFileNamePrefix(This,prefix) \ + ( (This)->lpVtbl -> get_LastGeneratedFileNamePrefix(This,prefix) ) + +#define IFsrmReport_GetFilter(This,filter,filterValue) \ + ( (This)->lpVtbl -> GetFilter(This,filter,filterValue) ) + +#define IFsrmReport_SetFilter(This,filter,filterValue) \ + ( (This)->lpVtbl -> SetFilter(This,filter,filterValue) ) + +#define IFsrmReport_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmReport_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmReportScheduler_INTERFACE_DEFINED__ +#define __IFsrmReportScheduler_INTERFACE_DEFINED__ + +/* interface IFsrmReportScheduler */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmReportScheduler; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6879caf9-6617-4484-8719-71c3d8645f94") + IFsrmReportScheduler : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE VerifyNamespaces( + /* [in] */ __RPC__in VARIANT *namespacesSafeArray) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateScheduleTask( + /* [in] */ __RPC__in BSTR taskName, + /* [in] */ __RPC__in VARIANT *namespacesSafeArray, + /* [in] */ __RPC__in BSTR serializedTask) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ModifyScheduleTask( + /* [in] */ __RPC__in BSTR taskName, + /* [in] */ __RPC__in VARIANT *namespacesSafeArray, + /* [in] */ __RPC__in BSTR serializedTask) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteScheduleTask( + /* [in] */ __RPC__in BSTR taskName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmReportSchedulerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmReportScheduler * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmReportScheduler * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmReportScheduler * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmReportScheduler * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmReportScheduler, VerifyNamespaces) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *VerifyNamespaces )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ __RPC__in VARIANT *namespacesSafeArray); + + DECLSPEC_XFGVIRT(IFsrmReportScheduler, CreateScheduleTask) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateScheduleTask )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ __RPC__in BSTR taskName, + /* [in] */ __RPC__in VARIANT *namespacesSafeArray, + /* [in] */ __RPC__in BSTR serializedTask); + + DECLSPEC_XFGVIRT(IFsrmReportScheduler, ModifyScheduleTask) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyScheduleTask )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ __RPC__in BSTR taskName, + /* [in] */ __RPC__in VARIANT *namespacesSafeArray, + /* [in] */ __RPC__in BSTR serializedTask); + + DECLSPEC_XFGVIRT(IFsrmReportScheduler, DeleteScheduleTask) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteScheduleTask )( + __RPC__in IFsrmReportScheduler * This, + /* [in] */ __RPC__in BSTR taskName); + + END_INTERFACE + } IFsrmReportSchedulerVtbl; + + interface IFsrmReportScheduler + { + CONST_VTBL struct IFsrmReportSchedulerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmReportScheduler_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmReportScheduler_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmReportScheduler_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmReportScheduler_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmReportScheduler_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmReportScheduler_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmReportScheduler_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmReportScheduler_VerifyNamespaces(This,namespacesSafeArray) \ + ( (This)->lpVtbl -> VerifyNamespaces(This,namespacesSafeArray) ) + +#define IFsrmReportScheduler_CreateScheduleTask(This,taskName,namespacesSafeArray,serializedTask) \ + ( (This)->lpVtbl -> CreateScheduleTask(This,taskName,namespacesSafeArray,serializedTask) ) + +#define IFsrmReportScheduler_ModifyScheduleTask(This,taskName,namespacesSafeArray,serializedTask) \ + ( (This)->lpVtbl -> ModifyScheduleTask(This,taskName,namespacesSafeArray,serializedTask) ) + +#define IFsrmReportScheduler_DeleteScheduleTask(This,taskName) \ + ( (This)->lpVtbl -> DeleteScheduleTask(This,taskName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmReportScheduler_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileManagementJobManager_INTERFACE_DEFINED__ +#define __IFsrmFileManagementJobManager_INTERFACE_DEFINED__ + +/* interface IFsrmFileManagementJobManager */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmFileManagementJobManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("ee321ecb-d95e-48e9-907c-c7685a013235") + IFsrmFileManagementJobManager : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionVariables( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionVariableDescriptions( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumFileManagementJobs( + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **fileManagementJobs) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateFileManagementJob( + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileManagementJob **fileManagementJob) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileManagementJob( + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileManagementJob **fileManagementJob) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileManagementJobManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileManagementJobManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileManagementJobManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileManagementJobManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJobManager, get_ActionVariables) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariables )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJobManager, get_ActionVariableDescriptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariableDescriptions )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJobManager, EnumFileManagementJobs) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumFileManagementJobs )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **fileManagementJobs); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJobManager, CreateFileManagementJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFileManagementJob )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileManagementJob **fileManagementJob); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJobManager, GetFileManagementJob) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileManagementJob )( + __RPC__in IFsrmFileManagementJobManager * This, + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileManagementJob **fileManagementJob); + + END_INTERFACE + } IFsrmFileManagementJobManagerVtbl; + + interface IFsrmFileManagementJobManager + { + CONST_VTBL struct IFsrmFileManagementJobManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileManagementJobManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileManagementJobManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileManagementJobManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileManagementJobManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileManagementJobManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileManagementJobManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileManagementJobManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileManagementJobManager_get_ActionVariables(This,variables) \ + ( (This)->lpVtbl -> get_ActionVariables(This,variables) ) + +#define IFsrmFileManagementJobManager_get_ActionVariableDescriptions(This,descriptions) \ + ( (This)->lpVtbl -> get_ActionVariableDescriptions(This,descriptions) ) + +#define IFsrmFileManagementJobManager_EnumFileManagementJobs(This,options,fileManagementJobs) \ + ( (This)->lpVtbl -> EnumFileManagementJobs(This,options,fileManagementJobs) ) + +#define IFsrmFileManagementJobManager_CreateFileManagementJob(This,fileManagementJob) \ + ( (This)->lpVtbl -> CreateFileManagementJob(This,fileManagementJob) ) + +#define IFsrmFileManagementJobManager_GetFileManagementJob(This,name,fileManagementJob) \ + ( (This)->lpVtbl -> GetFileManagementJob(This,name,fileManagementJob) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileManagementJobManager_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileManagementJob_INTERFACE_DEFINED__ +#define __IFsrmFileManagementJob_INTERFACE_DEFINED__ + +/* interface IFsrmFileManagementJob */ +/* [object][oleautomation][dual][version][uuid] */ + +#define FsrmDaysNotSpecified ( -1 ) + +#define FsrmDateNotSpecified ( ( DATE )-1 ) + + +EXTERN_C const IID IID_IFsrmFileManagementJob; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0770687e-9f36-4d6f-8778-599d188461c9") + IFsrmFileManagementJob : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NamespaceRoots( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NamespaceRoots( + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *enabled) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enabled( + /* [in] */ VARIANT_BOOL enabled) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OperationType( + /* [retval][out] */ __RPC__out FsrmFileManagementType *operationType) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OperationType( + /* [in] */ FsrmFileManagementType operationType) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExpirationDirectory( + /* [retval][out] */ __RPC__deref_out_opt BSTR *expirationDirectory) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ExpirationDirectory( + /* [in] */ __RPC__in BSTR expirationDirectory) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CustomAction( + /* [retval][out] */ __RPC__deref_out_opt IFsrmActionCommand **action) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Notifications( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *notifications) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Logging( + /* [retval][out] */ __RPC__out long *loggingFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Logging( + /* [in] */ long loggingFlags) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReportEnabled( + /* [retval][out] */ __RPC__out VARIANT_BOOL *reportEnabled) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReportEnabled( + /* [in] */ VARIANT_BOOL reportEnabled) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Formats( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Formats( + /* [in] */ __RPC__in SAFEARRAY * formats) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MailTo( + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MailTo( + /* [in] */ __RPC__in BSTR mailTo) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DaysSinceFileCreated( + /* [retval][out] */ __RPC__out long *daysSinceCreation) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DaysSinceFileCreated( + /* [in] */ long daysSinceCreation) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DaysSinceFileLastAccessed( + /* [retval][out] */ __RPC__out long *daysSinceAccess) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DaysSinceFileLastAccessed( + /* [in] */ long daysSinceAccess) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DaysSinceFileLastModified( + /* [retval][out] */ __RPC__out long *daysSinceModify) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DaysSinceFileLastModified( + /* [in] */ long daysSinceModify) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyConditions( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **propertyConditions) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FromDate( + /* [retval][out] */ __RPC__out DATE *fromDate) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FromDate( + /* [in] */ DATE fromDate) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Task( + /* [retval][out] */ __RPC__deref_out_opt BSTR *taskName) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Task( + /* [in] */ __RPC__in BSTR taskName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Parameters( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Parameters( + /* [in] */ __RPC__in SAFEARRAY * parameters) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RunningStatus( + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastError( + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastReportPathWithoutExtension( + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LastRun( + /* [retval][out] */ __RPC__out DATE *lastRun) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileNamePattern( + /* [retval][out] */ __RPC__deref_out_opt BSTR *fileNamePattern) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileNamePattern( + /* [in] */ __RPC__in BSTR fileNamePattern) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Run( + /* [in] */ FsrmReportGenerationContext context) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitForCompletion( + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddNotification( + /* [in] */ long days) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteNotification( + /* [in] */ long days) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ModifyNotification( + /* [in] */ long days, + /* [in] */ long newDays) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateNotificationAction( + /* [in] */ long days, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumNotificationActions( + /* [in] */ long days, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreatePropertyCondition( + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyCondition **propertyCondition) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateCustomAction( + /* [retval][out] */ __RPC__deref_out_opt IFsrmActionCommand **customAction) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileManagementJobVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileManagementJob * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileManagementJob * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileManagementJob * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileManagementJob * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileManagementJob * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileManagementJob * This); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_NamespaceRoots) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NamespaceRoots )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_NamespaceRoots) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NamespaceRoots )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in SAFEARRAY * namespaceRoots); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Enabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *enabled); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_Enabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ VARIANT_BOOL enabled); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_OperationType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OperationType )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out FsrmFileManagementType *operationType); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_OperationType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OperationType )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ FsrmFileManagementType operationType); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_ExpirationDirectory) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExpirationDirectory )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *expirationDirectory); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_ExpirationDirectory) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ExpirationDirectory )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR expirationDirectory); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_CustomAction) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CustomAction )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmActionCommand **action); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Notifications) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Notifications )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *notifications); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Logging) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Logging )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out long *loggingFlags); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_Logging) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Logging )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long loggingFlags); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_ReportEnabled) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ReportEnabled )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *reportEnabled); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_ReportEnabled) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ReportEnabled )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ VARIANT_BOOL reportEnabled); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Formats) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Formats )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *formats); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_Formats) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Formats )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in SAFEARRAY * formats); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_MailTo) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MailTo )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *mailTo); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_MailTo) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MailTo )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR mailTo); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_DaysSinceFileCreated) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DaysSinceFileCreated )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out long *daysSinceCreation); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_DaysSinceFileCreated) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DaysSinceFileCreated )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long daysSinceCreation); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_DaysSinceFileLastAccessed) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DaysSinceFileLastAccessed )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out long *daysSinceAccess); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_DaysSinceFileLastAccessed) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DaysSinceFileLastAccessed )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long daysSinceAccess); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_DaysSinceFileLastModified) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DaysSinceFileLastModified )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out long *daysSinceModify); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_DaysSinceFileLastModified) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DaysSinceFileLastModified )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long daysSinceModify); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_PropertyConditions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyConditions )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **propertyConditions); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_FromDate) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FromDate )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out DATE *fromDate); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_FromDate) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FromDate )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ DATE fromDate); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Task) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Task )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *taskName); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_Task) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Task )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR taskName); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_Parameters) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parameters )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *parameters); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_Parameters) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Parameters )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in SAFEARRAY * parameters); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_RunningStatus) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RunningStatus )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out FsrmReportRunningStatus *runningStatus); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_LastError) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastError )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *lastError); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_LastReportPathWithoutExtension) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastReportPathWithoutExtension )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_LastRun) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastRun )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__out DATE *lastRun); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, get_FileNamePattern) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileNamePattern )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *fileNamePattern); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, put_FileNamePattern) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileNamePattern )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR fileNamePattern); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, Run) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Run )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ FsrmReportGenerationContext context); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, WaitForCompletion) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long waitSeconds, + /* [retval][out] */ __RPC__out VARIANT_BOOL *completed); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, Cancel) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( + __RPC__in IFsrmFileManagementJob * This); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, AddNotification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddNotification )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long days); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, DeleteNotification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteNotification )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long days); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, ModifyNotification) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ModifyNotification )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long days, + /* [in] */ long newDays); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, CreateNotificationAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateNotificationAction )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long days, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, EnumNotificationActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumNotificationActions )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ long days, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, CreatePropertyCondition) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreatePropertyCondition )( + __RPC__in IFsrmFileManagementJob * This, + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmPropertyCondition **propertyCondition); + + DECLSPEC_XFGVIRT(IFsrmFileManagementJob, CreateCustomAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCustomAction )( + __RPC__in IFsrmFileManagementJob * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmActionCommand **customAction); + + END_INTERFACE + } IFsrmFileManagementJobVtbl; + + interface IFsrmFileManagementJob + { + CONST_VTBL struct IFsrmFileManagementJobVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileManagementJob_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileManagementJob_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileManagementJob_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileManagementJob_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileManagementJob_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileManagementJob_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileManagementJob_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileManagementJob_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileManagementJob_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileManagementJob_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileManagementJob_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileManagementJob_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileManagementJob_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmFileManagementJob_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmFileManagementJob_get_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> get_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmFileManagementJob_put_NamespaceRoots(This,namespaceRoots) \ + ( (This)->lpVtbl -> put_NamespaceRoots(This,namespaceRoots) ) + +#define IFsrmFileManagementJob_get_Enabled(This,enabled) \ + ( (This)->lpVtbl -> get_Enabled(This,enabled) ) + +#define IFsrmFileManagementJob_put_Enabled(This,enabled) \ + ( (This)->lpVtbl -> put_Enabled(This,enabled) ) + +#define IFsrmFileManagementJob_get_OperationType(This,operationType) \ + ( (This)->lpVtbl -> get_OperationType(This,operationType) ) + +#define IFsrmFileManagementJob_put_OperationType(This,operationType) \ + ( (This)->lpVtbl -> put_OperationType(This,operationType) ) + +#define IFsrmFileManagementJob_get_ExpirationDirectory(This,expirationDirectory) \ + ( (This)->lpVtbl -> get_ExpirationDirectory(This,expirationDirectory) ) + +#define IFsrmFileManagementJob_put_ExpirationDirectory(This,expirationDirectory) \ + ( (This)->lpVtbl -> put_ExpirationDirectory(This,expirationDirectory) ) + +#define IFsrmFileManagementJob_get_CustomAction(This,action) \ + ( (This)->lpVtbl -> get_CustomAction(This,action) ) + +#define IFsrmFileManagementJob_get_Notifications(This,notifications) \ + ( (This)->lpVtbl -> get_Notifications(This,notifications) ) + +#define IFsrmFileManagementJob_get_Logging(This,loggingFlags) \ + ( (This)->lpVtbl -> get_Logging(This,loggingFlags) ) + +#define IFsrmFileManagementJob_put_Logging(This,loggingFlags) \ + ( (This)->lpVtbl -> put_Logging(This,loggingFlags) ) + +#define IFsrmFileManagementJob_get_ReportEnabled(This,reportEnabled) \ + ( (This)->lpVtbl -> get_ReportEnabled(This,reportEnabled) ) + +#define IFsrmFileManagementJob_put_ReportEnabled(This,reportEnabled) \ + ( (This)->lpVtbl -> put_ReportEnabled(This,reportEnabled) ) + +#define IFsrmFileManagementJob_get_Formats(This,formats) \ + ( (This)->lpVtbl -> get_Formats(This,formats) ) + +#define IFsrmFileManagementJob_put_Formats(This,formats) \ + ( (This)->lpVtbl -> put_Formats(This,formats) ) + +#define IFsrmFileManagementJob_get_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> get_MailTo(This,mailTo) ) + +#define IFsrmFileManagementJob_put_MailTo(This,mailTo) \ + ( (This)->lpVtbl -> put_MailTo(This,mailTo) ) + +#define IFsrmFileManagementJob_get_DaysSinceFileCreated(This,daysSinceCreation) \ + ( (This)->lpVtbl -> get_DaysSinceFileCreated(This,daysSinceCreation) ) + +#define IFsrmFileManagementJob_put_DaysSinceFileCreated(This,daysSinceCreation) \ + ( (This)->lpVtbl -> put_DaysSinceFileCreated(This,daysSinceCreation) ) + +#define IFsrmFileManagementJob_get_DaysSinceFileLastAccessed(This,daysSinceAccess) \ + ( (This)->lpVtbl -> get_DaysSinceFileLastAccessed(This,daysSinceAccess) ) + +#define IFsrmFileManagementJob_put_DaysSinceFileLastAccessed(This,daysSinceAccess) \ + ( (This)->lpVtbl -> put_DaysSinceFileLastAccessed(This,daysSinceAccess) ) + +#define IFsrmFileManagementJob_get_DaysSinceFileLastModified(This,daysSinceModify) \ + ( (This)->lpVtbl -> get_DaysSinceFileLastModified(This,daysSinceModify) ) + +#define IFsrmFileManagementJob_put_DaysSinceFileLastModified(This,daysSinceModify) \ + ( (This)->lpVtbl -> put_DaysSinceFileLastModified(This,daysSinceModify) ) + +#define IFsrmFileManagementJob_get_PropertyConditions(This,propertyConditions) \ + ( (This)->lpVtbl -> get_PropertyConditions(This,propertyConditions) ) + +#define IFsrmFileManagementJob_get_FromDate(This,fromDate) \ + ( (This)->lpVtbl -> get_FromDate(This,fromDate) ) + +#define IFsrmFileManagementJob_put_FromDate(This,fromDate) \ + ( (This)->lpVtbl -> put_FromDate(This,fromDate) ) + +#define IFsrmFileManagementJob_get_Task(This,taskName) \ + ( (This)->lpVtbl -> get_Task(This,taskName) ) + +#define IFsrmFileManagementJob_put_Task(This,taskName) \ + ( (This)->lpVtbl -> put_Task(This,taskName) ) + +#define IFsrmFileManagementJob_get_Parameters(This,parameters) \ + ( (This)->lpVtbl -> get_Parameters(This,parameters) ) + +#define IFsrmFileManagementJob_put_Parameters(This,parameters) \ + ( (This)->lpVtbl -> put_Parameters(This,parameters) ) + +#define IFsrmFileManagementJob_get_RunningStatus(This,runningStatus) \ + ( (This)->lpVtbl -> get_RunningStatus(This,runningStatus) ) + +#define IFsrmFileManagementJob_get_LastError(This,lastError) \ + ( (This)->lpVtbl -> get_LastError(This,lastError) ) + +#define IFsrmFileManagementJob_get_LastReportPathWithoutExtension(This,path) \ + ( (This)->lpVtbl -> get_LastReportPathWithoutExtension(This,path) ) + +#define IFsrmFileManagementJob_get_LastRun(This,lastRun) \ + ( (This)->lpVtbl -> get_LastRun(This,lastRun) ) + +#define IFsrmFileManagementJob_get_FileNamePattern(This,fileNamePattern) \ + ( (This)->lpVtbl -> get_FileNamePattern(This,fileNamePattern) ) + +#define IFsrmFileManagementJob_put_FileNamePattern(This,fileNamePattern) \ + ( (This)->lpVtbl -> put_FileNamePattern(This,fileNamePattern) ) + +#define IFsrmFileManagementJob_Run(This,context) \ + ( (This)->lpVtbl -> Run(This,context) ) + +#define IFsrmFileManagementJob_WaitForCompletion(This,waitSeconds,completed) \ + ( (This)->lpVtbl -> WaitForCompletion(This,waitSeconds,completed) ) + +#define IFsrmFileManagementJob_Cancel(This) \ + ( (This)->lpVtbl -> Cancel(This) ) + +#define IFsrmFileManagementJob_AddNotification(This,days) \ + ( (This)->lpVtbl -> AddNotification(This,days) ) + +#define IFsrmFileManagementJob_DeleteNotification(This,days) \ + ( (This)->lpVtbl -> DeleteNotification(This,days) ) + +#define IFsrmFileManagementJob_ModifyNotification(This,days,newDays) \ + ( (This)->lpVtbl -> ModifyNotification(This,days,newDays) ) + +#define IFsrmFileManagementJob_CreateNotificationAction(This,days,actionType,action) \ + ( (This)->lpVtbl -> CreateNotificationAction(This,days,actionType,action) ) + +#define IFsrmFileManagementJob_EnumNotificationActions(This,days,actions) \ + ( (This)->lpVtbl -> EnumNotificationActions(This,days,actions) ) + +#define IFsrmFileManagementJob_CreatePropertyCondition(This,name,propertyCondition) \ + ( (This)->lpVtbl -> CreatePropertyCondition(This,name,propertyCondition) ) + +#define IFsrmFileManagementJob_CreateCustomAction(This,customAction) \ + ( (This)->lpVtbl -> CreateCustomAction(This,customAction) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileManagementJob_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmPropertyCondition_INTERFACE_DEFINED__ +#define __IFsrmPropertyCondition_INTERFACE_DEFINED__ + +/* interface IFsrmPropertyCondition */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmPropertyCondition; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("326af66f-2ac0-4f68-bf8c-4759f054fa29") + IFsrmPropertyCondition : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type( + /* [retval][out] */ __RPC__out FsrmPropertyConditionType *type) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Type( + /* [in] */ FsrmPropertyConditionType type) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( + /* [retval][out] */ __RPC__deref_out_opt BSTR *value) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( + /* [in] */ __RPC__in BSTR value) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmPropertyConditionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmPropertyCondition * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmPropertyCondition * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmPropertyCondition * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmPropertyCondition * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmPropertyCondition * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmPropertyCondition * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmPropertyCondition * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmPropertyCondition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmPropertyCondition * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFsrmPropertyCondition * This, + /* [retval][out] */ __RPC__out FsrmPropertyConditionType *type); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, put_Type) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Type )( + __RPC__in IFsrmPropertyCondition * This, + /* [in] */ FsrmPropertyConditionType type); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, get_Value) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( + __RPC__in IFsrmPropertyCondition * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *value); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, put_Value) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( + __RPC__in IFsrmPropertyCondition * This, + /* [in] */ __RPC__in BSTR value); + + DECLSPEC_XFGVIRT(IFsrmPropertyCondition, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmPropertyCondition * This); + + END_INTERFACE + } IFsrmPropertyConditionVtbl; + + interface IFsrmPropertyCondition + { + CONST_VTBL struct IFsrmPropertyConditionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmPropertyCondition_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmPropertyCondition_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmPropertyCondition_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmPropertyCondition_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmPropertyCondition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmPropertyCondition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmPropertyCondition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmPropertyCondition_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmPropertyCondition_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmPropertyCondition_get_Type(This,type) \ + ( (This)->lpVtbl -> get_Type(This,type) ) + +#define IFsrmPropertyCondition_put_Type(This,type) \ + ( (This)->lpVtbl -> put_Type(This,type) ) + +#define IFsrmPropertyCondition_get_Value(This,value) \ + ( (This)->lpVtbl -> get_Value(This,value) ) + +#define IFsrmPropertyCondition_put_Value(This,value) \ + ( (This)->lpVtbl -> put_Value(This,value) ) + +#define IFsrmPropertyCondition_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmPropertyCondition_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileCondition_INTERFACE_DEFINED__ +#define __IFsrmFileCondition_INTERFACE_DEFINED__ + +/* interface IFsrmFileCondition */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmFileCondition; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("70684FFC-691A-4A1A-B922-97752E138CC1") + IFsrmFileCondition : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Type( + /* [retval][out] */ __RPC__out FsrmFileConditionType *pVal) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileConditionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileCondition * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileCondition * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileCondition * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileCondition * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileCondition * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileCondition * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileCondition * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmFileCondition, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFsrmFileCondition * This, + /* [retval][out] */ __RPC__out FsrmFileConditionType *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileCondition, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileCondition * This); + + END_INTERFACE + } IFsrmFileConditionVtbl; + + interface IFsrmFileCondition + { + CONST_VTBL struct IFsrmFileConditionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileCondition_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileCondition_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileCondition_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileCondition_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileCondition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileCondition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileCondition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileCondition_get_Type(This,pVal) \ + ( (This)->lpVtbl -> get_Type(This,pVal) ) + +#define IFsrmFileCondition_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileCondition_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileConditionProperty_INTERFACE_DEFINED__ +#define __IFsrmFileConditionProperty_INTERFACE_DEFINED__ + +/* interface IFsrmFileConditionProperty */ +/* [object][oleautomation][dual][version][uuid] */ + + +EXTERN_C const IID IID_IFsrmFileConditionProperty; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("81926775-B981-4479-988F-DA171D627360") + IFsrmFileConditionProperty : public IFsrmFileCondition + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PropertyName( + /* [in] */ __RPC__in BSTR newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PropertyId( + /* [retval][out] */ __RPC__out FsrmFileSystemPropertyId *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PropertyId( + /* [in] */ FsrmFileSystemPropertyId newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Operator( + /* [retval][out] */ __RPC__out FsrmPropertyConditionType *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Operator( + /* [in] */ FsrmPropertyConditionType newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ValueType( + /* [retval][out] */ __RPC__out FsrmPropertyValueType *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ValueType( + /* [in] */ FsrmPropertyValueType newVal) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value( + /* [retval][out] */ __RPC__out VARIANT *pVal) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value( + /* [in] */ VARIANT newVal) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileConditionPropertyVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileConditionProperty * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileConditionProperty * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileConditionProperty * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileConditionProperty * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmFileCondition, get_Type) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )( + __RPC__in IFsrmFileConditionProperty * This, + /* [retval][out] */ __RPC__out FsrmFileConditionType *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileCondition, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileConditionProperty * This); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, get_PropertyName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyName )( + __RPC__in IFsrmFileConditionProperty * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, put_PropertyName) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PropertyName )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ __RPC__in BSTR newVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, get_PropertyId) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PropertyId )( + __RPC__in IFsrmFileConditionProperty * This, + /* [retval][out] */ __RPC__out FsrmFileSystemPropertyId *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, put_PropertyId) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PropertyId )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ FsrmFileSystemPropertyId newVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, get_Operator) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Operator )( + __RPC__in IFsrmFileConditionProperty * This, + /* [retval][out] */ __RPC__out FsrmPropertyConditionType *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, put_Operator) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Operator )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ FsrmPropertyConditionType newVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, get_ValueType) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ValueType )( + __RPC__in IFsrmFileConditionProperty * This, + /* [retval][out] */ __RPC__out FsrmPropertyValueType *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, put_ValueType) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ValueType )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ FsrmPropertyValueType newVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, get_Value) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( + __RPC__in IFsrmFileConditionProperty * This, + /* [retval][out] */ __RPC__out VARIANT *pVal); + + DECLSPEC_XFGVIRT(IFsrmFileConditionProperty, put_Value) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )( + __RPC__in IFsrmFileConditionProperty * This, + /* [in] */ VARIANT newVal); + + END_INTERFACE + } IFsrmFileConditionPropertyVtbl; + + interface IFsrmFileConditionProperty + { + CONST_VTBL struct IFsrmFileConditionPropertyVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileConditionProperty_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileConditionProperty_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileConditionProperty_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileConditionProperty_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileConditionProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileConditionProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileConditionProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileConditionProperty_get_Type(This,pVal) \ + ( (This)->lpVtbl -> get_Type(This,pVal) ) + +#define IFsrmFileConditionProperty_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + + +#define IFsrmFileConditionProperty_get_PropertyName(This,pVal) \ + ( (This)->lpVtbl -> get_PropertyName(This,pVal) ) + +#define IFsrmFileConditionProperty_put_PropertyName(This,newVal) \ + ( (This)->lpVtbl -> put_PropertyName(This,newVal) ) + +#define IFsrmFileConditionProperty_get_PropertyId(This,pVal) \ + ( (This)->lpVtbl -> get_PropertyId(This,pVal) ) + +#define IFsrmFileConditionProperty_put_PropertyId(This,newVal) \ + ( (This)->lpVtbl -> put_PropertyId(This,newVal) ) + +#define IFsrmFileConditionProperty_get_Operator(This,pVal) \ + ( (This)->lpVtbl -> get_Operator(This,pVal) ) + +#define IFsrmFileConditionProperty_put_Operator(This,newVal) \ + ( (This)->lpVtbl -> put_Operator(This,newVal) ) + +#define IFsrmFileConditionProperty_get_ValueType(This,pVal) \ + ( (This)->lpVtbl -> get_ValueType(This,pVal) ) + +#define IFsrmFileConditionProperty_put_ValueType(This,newVal) \ + ( (This)->lpVtbl -> put_ValueType(This,newVal) ) + +#define IFsrmFileConditionProperty_get_Value(This,pVal) \ + ( (This)->lpVtbl -> get_Value(This,pVal) ) + +#define IFsrmFileConditionProperty_put_Value(This,newVal) \ + ( (This)->lpVtbl -> put_Value(This,newVal) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileConditionProperty_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_fsrmreports_0000_0009 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmreports_0000_0009_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmreports_0000_0009_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmreports.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmreports.idl new file mode 100644 index 0000000000000000000000000000000000000000..0173c8025a6b9dc0515c2312e8b8cb4f9e455ab3 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmreports.idl @@ -0,0 +1,642 @@ +////////////////////////////////////// +// Imports +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; + +import "fsrmenums.idl"; +import "fsrm.idl"; + + +////////////////////////////////////// +// Forward declarations +// + +interface IFsrmReportManager; +interface IFsrmReportJob; +interface IFsrmReport; +interface IFsrmFileManagementJobManager; +interface IFsrmFileManagementJob; +interface IFsrmPropertyCondition; + + +////////////////////////////////////// +// Dispatch IDs +// + +#define FSRM_PROPERTY(x) x | FSRM_DISPID_IS_PROPERTY + +// Dispatch ID base of storage report interfaces +const DISPID FSRM_DISPID_REPORT_MANAGER = FSRM_DISPID_FEATURE_REPORTS | 0x100000; +const DISPID FSRM_DISPID_REPORT_JOB = FSRM_DISPID_FEATURE_REPORTS | 0x200000; +const DISPID FSRM_DISPID_REPORT = FSRM_DISPID_FEATURE_REPORTS | 0x300000; +const DISPID FSRM_DISPID_REPORT_SCHEDULER = FSRM_DISPID_FEATURE_REPORTS | 0x400000; + +const DISPID FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER + = FSRM_DISPID_FEATURE_REPORTS | 0x500000; +const DISPID FSRM_DISPID_FILE_MANAGEMENT_JOB + = FSRM_DISPID_FEATURE_REPORTS | 0x600000; +const DISPID FSRM_DISPID_FILE_MANAGEMENT_NOTIFICATION + = FSRM_DISPID_FEATURE_REPORTS | 0x700000; +const DISPID FSRM_DISPID_PROPERTY_CONDITION + = FSRM_DISPID_FEATURE_REPORTS | 0x800000; +const DISPID FSRM_DISPID_FILE_CONDITION + = FSRM_DISPID_FEATURE_REPORTS | 0x900000; +const DISPID FSRM_DISPID_FILE_CONDITION_PROPERTY + = FSRM_DISPID_FEATURE_REPORTS | 0xA00000; +const DISPID FSRM_DISPID_FILE_MANAGEMENT_JOB_2 + = FSRM_DISPID_FEATURE_REPORTS | 0xB00000; + + +////////////////////////////////////// +// Interfaces +// + +[ + odl, + uuid(27b899fe-6ffa-4481-a184-d3daade8a02b), + version(1.0), + dual, + oleautomation +] +interface IFsrmReportManager : IDispatch { + + // Methods + + [id(FSRM_DISPID_REPORT_MANAGER | 0x01), helpstring("This method is used to enumerate report jobs")] + HRESULT EnumReportJobs( + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCollection **reportJobs); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x02), helpstring("This method is used to create a new report job")] + HRESULT CreateReportJob( + [out, retval] IFsrmReportJob **reportJob); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x03), helpstring("This method is used to get a report job having a specific scheduled task name")] + HRESULT GetReportJob( + [in] BSTR taskName, + [out, retval] IFsrmReportJob **reportJob); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x04), helpstring("This method is used to get the output directory of generated reports in the specified context")] + HRESULT GetOutputDirectory( + [in] FsrmReportGenerationContext context, + [out, retval] BSTR *path); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x05), helpstring("This method is used to set the output directory of generated reports in the specified context")] + HRESULT SetOutputDirectory( + [in] FsrmReportGenerationContext context, + [in] BSTR path); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x06), helpstring("This method is used to indicate whether a specified filter name is valid for the specified report type")] + HRESULT IsFilterValidForReportType( + [in] FsrmReportType reportType, + [in] FsrmReportFilter filter, + [out, retval] VARIANT_BOOL *valid); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x07), helpstring("This method is used to get the default value of the specified filter for the specified report type")] + HRESULT GetDefaultFilter( + [in] FsrmReportType reportType, + [in] FsrmReportFilter filter, + [out, retval] VARIANT *filterValue); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x08), helpstring("This method is used to set the default value of the specified filter for the specified report type")] + HRESULT SetDefaultFilter( + [in] FsrmReportType reportType, + [in] FsrmReportFilter filter, + [in] VARIANT filterValue); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x09), helpstring("This method is used to get the default value of the specified limit for the specified report")] + HRESULT GetReportSizeLimit( + [in] FsrmReportLimit limit, + [out, retval] VARIANT *limitValue); + + [id(FSRM_DISPID_REPORT_MANAGER | 0x0A), helpstring("This method is used to set the default value of the specified limit for the specified report")] + HRESULT SetReportSizeLimit( + [in] FsrmReportLimit limit, + [in] VARIANT limitValue); + +}; + + +[ + odl, + uuid(38e87280-715c-4c7d-a280-ea1651a19fef), + version(1.0), + dual, + oleautomation +] +interface IFsrmReportJob : IFsrmObject { + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x01)), helpstring("This property is the name of the scheduled task associated with the report job")] + HRESULT Task([out, retval] BSTR *taskName); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x01)), helpstring("This property is the name of the scheduled task associated with the report job")] + HRESULT Task([in] BSTR taskName); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x02)), helpstring("This property contains the paths on which the reports will run")] + HRESULT NamespaceRoots([out, retval] SAFEARRAY(VARIANT) *namespaceRoots); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x02)), helpstring("This property contains the paths on which the reports will run")] + HRESULT NamespaceRoots([in] SAFEARRAY(VARIANT) namespaceRoots); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x03)), helpstring("This property contains the formats in which the generate the reports")] + HRESULT Formats([out, retval] SAFEARRAY(VARIANT) *formats); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x03)), helpstring("This property contains the formats in which the generate the reports")] + HRESULT Formats([in] SAFEARRAY(VARIANT) formats); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x04)), helpstring("This property is the e-mail address to which to send the reports, if any")] + HRESULT MailTo([out, retval] BSTR *mailTo); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x04)), helpstring("This property is the e-mail address to which to send the reports, if any")] + HRESULT MailTo([in] BSTR mailTo); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x05)), helpstring("This property indicates the run status of the report job")] + HRESULT RunningStatus([out, retval] FsrmReportRunningStatus *runningStatus); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x06)), helpstring("This property indicates the last time the report job was run")] + HRESULT LastRun([out, retval] DATE *lastRun); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x07)), helpstring("This property indicates the last error that occurred when the report job was last run, if any")] + HRESULT LastError([out, retval] BSTR *lastError); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x08)), helpstring("This property indicates the directory in which the files were generated when the report job was last run")] + HRESULT LastGeneratedInDirectory([out, retval] BSTR *path); + + + // Methods + + [id(FSRM_DISPID_REPORT_JOB | 0x01), helpstring("This method is used to enumerate reports belonging to the report job")] + HRESULT EnumReports([out, retval] IFsrmCollection **reports); + + [id(FSRM_DISPID_REPORT_JOB | 0x02), helpstring("This method is used to create a report of the specificied type")] + HRESULT CreateReport( + [in] FsrmReportType reportType, + [out, retval] IFsrmReport **report); + + [id(FSRM_DISPID_REPORT_JOB | 0x03), helpstring("This method is used to run all the reports in the report job in the specified context")] + HRESULT Run([in] FsrmReportGenerationContext context); + + [id(FSRM_DISPID_REPORT_JOB | 0x04), helpstring("This method is used to wait for the specified period of time or until all reports in the job are finished running and return whether or not the job is still running")] + HRESULT WaitForCompletion( + [in] long waitSeconds, + [out, retval] VARIANT_BOOL *completed); + + [id(FSRM_DISPID_REPORT_JOB | 0x05), helpstring("This method cancels a currently running report job")] + HRESULT Cancel(); + +}; + + +[ + odl, + uuid(d8cc81d9-46b8-4fa4-bfa5-4aa9dec9b638), + version(1.0), + dual, + oleautomation +] +interface IFsrmReport : IDispatch { + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x01)), helpstring("This property is the type of the report")] + HRESULT Type([out, retval] FsrmReportType *reportType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x02)), helpstring("This property is the name of the report")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x02)), helpstring("This property is the name of the report")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x03)), helpstring("This property is the description of the report")] + HRESULT Description([out, retval] BSTR *description); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x03)), helpstring("This property is the description of the report")] + HRESULT Description([in] BSTR description); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x04)), helpstring("This property indicates the filename prefixes of the files that were generated by this report when the report was last run")] + HRESULT LastGeneratedFileNamePrefix([out, retval] BSTR *prefix); + + + // Methods + + [id(FSRM_DISPID_REPORT | 0x01), helpstring("This method is used to get the value of the specified filter")] + HRESULT GetFilter( + [in] FsrmReportFilter filter, + [out, retval] VARIANT *filterValue); + + [id(FSRM_DISPID_REPORT | 0x02), helpstring("This method is used to set the value of the specified filter")] + HRESULT SetFilter( + [in] FsrmReportFilter filter, + [in] VARIANT filterValue); + + [id(FSRM_DISPID_REPORT | 0x03), helpstring("This method removes the report from the report job")] + HRESULT Delete(); + +}; + + +[ + odl, + uuid(6879caf9-6617-4484-8719-71c3d8645f94), + version(1.0), + dual, + oleautomation +] +interface IFsrmReportScheduler : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_REPORT_SCHEDULER | 0x01), helpstring("This method is used to verify that the array of namespaces exist and are valid, supported namespaces")] + HRESULT VerifyNamespaces([in] VARIANT* namespacesSafeArray); + + [id(FSRM_DISPID_REPORT_SCHEDULER | 0x02), helpstring("This method is used to create a scheduled task for a report on the local machine or in a cluster")] + HRESULT CreateScheduleTask( + [in] BSTR taskName, + [in] VARIANT* namespacesSafeArray, + [in] BSTR serializedTask); + + [id(FSRM_DISPID_REPORT_SCHEDULER | 0x03), helpstring("This method is used to modify a scheduled task for a report on the local machine or in a cluster")] + HRESULT ModifyScheduleTask( + [in] BSTR taskName, + [in] VARIANT* namespacesSafeArray, + [in] BSTR serializedTask); + + [id(FSRM_DISPID_REPORT_SCHEDULER | 0x04), helpstring("This method is used to delete a scheduled task for a report on the local machine or in a cluster")] + HRESULT DeleteScheduleTask([in] BSTR taskName); + +}; + + +[ + odl, + uuid(ee321ecb-d95e-48e9-907c-c7685a013235), + version(1.0), + dual, + oleautomation +] +interface IFsrmFileManagementJobManager : IDispatch +{ + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x01)), helpstring("This method is used enumerate the runtime expanded variables available for file management jobs")] + HRESULT ActionVariables([out, retval] SAFEARRAY(VARIANT) *variables); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x02)), helpstring("This method is used enumerate the descriptions of the runtime expanded variables available for file management jobs")] + HRESULT ActionVariableDescriptions([out, retval] SAFEARRAY(VARIANT) *descriptions); + + // Methods + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x1), helpstring("Enumerate the list of existing file management jobs")] + HRESULT EnumFileManagementJobs( + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCollection **fileManagementJobs); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x2), helpstring("Create a new file management job")] + HRESULT CreateFileManagementJob( + [out, retval] IFsrmFileManagementJob** fileManagementJob); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x3), helpstring("Get an existing file management job using name")] + HRESULT GetFileManagementJob( + [in] BSTR name, + [out, retval] IFsrmFileManagementJob** fileManagementJob); + +}; + + +[ + odl, + uuid(0770687e-9f36-4d6f-8778-599d188461c9), + version(1.0), + dual, + oleautomation +] +interface IFsrmFileManagementJob : IFsrmObject { + + const LONG FsrmDaysNotSpecified = -1; + + const DATE FsrmDateNotSpecified = ((DATE) -1); + + // + // Properties + // + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x01)), helpstring("This property specifies the name of the file management job")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x01)), helpstring("This property specifies the name of the file management job")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x02)), helpstring("This property contains the paths on which the job will run")] + HRESULT NamespaceRoots([out, retval] SAFEARRAY(VARIANT) *namespaceRoots); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x02)), helpstring("This property contains the paths on which the job will run")] + HRESULT NamespaceRoots([in] SAFEARRAY(VARIANT) namespaceRoots); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x03)), helpstring("This property specifies whether this job is enabled or not")] + HRESULT Enabled([out, retval] VARIANT_BOOL *enabled); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x03)), helpstring("This property specifies whether this job is enabled or not")] + HRESULT Enabled([in] VARIANT_BOOL enabled); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x04)), helpstring("This property specifies the operation to perform on a file when all conditions are met")] + HRESULT OperationType([out, retval] FsrmFileManagementType *operationType); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x04)), helpstring("This property specifies the operation to perform on a file when all conditions are met")] + HRESULT OperationType([in] FsrmFileManagementType operationType); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x05)), helpstring("This property specifies the root directory for moving expired files to, when all the conditions are met and expiration is enabled")] + HRESULT ExpirationDirectory([out, retval] BSTR *expirationDirectory); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x05)), helpstring("This property specifies the root directory for moving expired files to, when all the conditions are met and expiration is enabled")] + HRESULT ExpirationDirectory([in] BSTR expirationDirectory); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x06)), helpstring("The property specifies the action to execute, when all the conditions are met and custom action is enabled")] + HRESULT CustomAction([out, retval] IFsrmActionCommand **action); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x07)), helpstring("This property specifies the list of notifications to perform before the operation is performed")] + HRESULT Notifications([out, retval] SAFEARRAY(VARIANT) *notifications); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x08)), helpstring("This property specifies the type(s) of logging, using FsrmFileManagementLoggingFlags")] + HRESULT Logging([out, retval] long *loggingFlags); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x08)), helpstring("This property specifies the type(s) of logging, using FsrmFileManagementLoggingFlags")] + HRESULT Logging([in] long loggingFlags); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x09)), helpstring("This property specifies whether reporting is enabled")] + HRESULT ReportEnabled([out, retval] VARIANT_BOOL *reportEnabled); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x09)), helpstring("This property specifies whether reporting is enabled")] + HRESULT ReportEnabled([in] VARIANT_BOOL reportEnabled); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0a)), helpstring("This property contains the formats of the report to generate")] + HRESULT Formats([out, retval] SAFEARRAY(VARIANT) *formats); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0a)), helpstring("This property contains the formats of the report to generate")] + HRESULT Formats([in] SAFEARRAY(VARIANT) formats); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0b)), helpstring("This property is the e-mail address(es), delimited by semi-colon, to which to send the reports, if any")] + HRESULT MailTo([out, retval] BSTR *mailTo); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0b)), helpstring("This property is the e-mail address(es), delimited by semi-colon, to which to send the reports, if any")] + HRESULT MailTo([in] BSTR mailTo); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0c)), helpstring("This property specifies a condition: minimum number of days elapsed since a file is created. FsrmDaysNotSpecified indicates this condition is disabled.")] + HRESULT DaysSinceFileCreated([out, retval] long *daysSinceCreation); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0c)), helpstring("This property specifies a condition: minimum number of days elapsed since a file is created. FsrmDaysNotSpecified indicates this condition is disabled.")] + HRESULT DaysSinceFileCreated([in] long daysSinceCreation); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0d)), helpstring("This property specifies a condition: minimum number of days elapsed since a file is last accessed. FsrmDaysNotSpecified indicates this condition is disabled.")] + HRESULT DaysSinceFileLastAccessed([out, retval] long *daysSinceAccess); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0d)), helpstring("This property specifies a condition: minimum number of days elapsed since a file is last accessed. FsrmDaysNotSpecified indicates this condition is disabled.")] + HRESULT DaysSinceFileLastAccessed([in] long daysSinceAccess); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0e)), helpstring("This property specifies a condition: minimum number of days elapsed since a file is last modified. FsrmDaysNotSpecified indicates this condition is disabled.")] + HRESULT DaysSinceFileLastModified([out, retval] long *daysSinceModify); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0e)), helpstring("This property specifies a condition: minimum number of days elapsed since a file is last modified. FsrmDaysNotSpecified indicates this condition is disabled.")] + HRESULT DaysSinceFileLastModified([in] long daysSinceModify); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x0f)), helpstring("This property specifies a list of FSRM property conditions")] + HRESULT PropertyConditions([out, retval] IFsrmCollection **propertyConditions); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x10)), helpstring("This property specifies a condition: The date from which the file management operation should be executed. FsrmDateNotSpecified indicates this condition is disabled.")] + HRESULT FromDate([out, retval] DATE *fromDate); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x10)), helpstring("This property specifies a condition: The date from which the file management operation should be executed. FsrmDateNotSpecified indicates this condition is disabled.")] + HRESULT FromDate([in] DATE fromDate); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x11)), helpstring("This property is the name of the scheduled task associated with the job")] + HRESULT Task([out, retval] BSTR *taskName); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x11)), helpstring("This property is the name of the scheduled task associated with the job")] + HRESULT Task([in] BSTR taskName); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x12)), helpstring("This property contains the parameters for the file management job")] + HRESULT Parameters([out, retval] SAFEARRAY(VARIANT) *parameters); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x12)), helpstring("This property contains the parameters for the file management job")] + HRESULT Parameters([in] SAFEARRAY(VARIANT) parameters); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x13)), helpstring("This property is the running status of the job")] + HRESULT RunningStatus([out, retval] FsrmReportRunningStatus *runningStatus); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x14)), helpstring("This property is the last error of the job")] + HRESULT LastError([out, retval] BSTR *lastError); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x15)), helpstring("This property is the last report path without extension")] + HRESULT LastReportPathWithoutExtension([out, retval] BSTR* path); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x16)), helpstring("This property indicates the last time the file management job was run")] + HRESULT LastRun([out, retval] DATE *lastRun); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x17)), helpstring("This property specifies a condition: wildcard filter for names. Empty string indicates this condition is disabled.")] + HRESULT FileNamePattern([out, retval] BSTR *fileNamePattern); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x17)), helpstring("This property specifies a condition: wildcard filter for names. Empty string indicates this condition is disabled.")] + HRESULT FileNamePattern([in] BSTR fileNamePattern); + + // + // Methods + // + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x01), helpstring("This method is used to run the job in the specified context")] + HRESULT Run([in] FsrmReportGenerationContext context); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x02), helpstring("This method is used to wait for the specified period of time or until the job has finished running and return whether or not the job is still running")] + HRESULT WaitForCompletion( + [in] long waitSeconds, + [out, retval] VARIANT_BOOL *completed); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x03), helpstring("This method cancels a currently running job")] + HRESULT Cancel(); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x04), helpstring("This method is used to add a new notification value")] + HRESULT AddNotification([in] long days); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x05), helpstring("This method is used to delete a notification")] + HRESULT DeleteNotification([in] long days); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x06), helpstring("This method is used to modify a notification")] + HRESULT ModifyNotification( + [in] long days, + [in] long newDays); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x07), helpstring("This method is used to create a notification action of a specific type")] + HRESULT CreateNotificationAction( + [in] long days, + [in] FsrmActionType actionType, + [out, retval] IFsrmAction **action); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x08), helpstring("This method is used to enumerate notification actions")] + HRESULT EnumNotificationActions( + [in] long days, + [out, retval] IFsrmCollection **actions); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x09), helpstring("This method create a new IFsrmPropertyCondition object and add it to the PropertyConditions collection.")] + HRESULT CreatePropertyCondition( + [in] BSTR name, + [out, retval] IFsrmPropertyCondition** propertyCondition); + + [id(FSRM_DISPID_FILE_MANAGEMENT_JOB_MANAGER | 0x0a), helpstring("This method create a new IFsrmActionCommand object and set it to the CustomAction property.")] + HRESULT CreateCustomAction( + [out, retval] IFsrmActionCommand** customAction); + +}; + + +[ + odl, + uuid(326af66f-2ac0-4f68-bf8c-4759f054fa29), + version(1.0), + dual, + oleautomation +] +interface IFsrmPropertyCondition : IDispatch { + + // + // Properties + // + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION | 0x01)), helpstring("This property specifies the name of the property")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION | 0x01)), helpstring("This property specifies the name of the property")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION | 0x02)), helpstring("This property specifies the type of the condition")] + HRESULT Type([out, retval] FsrmPropertyConditionType *type); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION | 0x02)), helpstring("This property specifies the type of the condition")] + HRESULT Type([in] FsrmPropertyConditionType type); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION | 0x03)), helpstring("This property specifies the condition value")] + HRESULT Value([out, retval] BSTR *value); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION | 0x03)), helpstring("This property specifies the condition value")] + HRESULT Value([in] BSTR value); + + + // + // Methods + // + + [id(FSRM_DISPID_PROPERTY_CONDITION | 0x01), helpstring("This method is used to delete a property condition")] + HRESULT Delete(); + +}; + + +[ + odl, + uuid(70684FFC-691A-4A1A-B922-97752E138CC1), + version(1.0), + dual, + oleautomation +] +interface IFsrmFileCondition : IDispatch { + + // + // Properties + // + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION | 0x01)), helpstring("This property specifies the type of the condition")] + HRESULT Type([out, retval] FsrmFileConditionType* pVal); + + // + // Methods + // + + [id(FSRM_DISPID_FILE_CONDITION | 0x01), helpstring("This method deletes a file condition")] + HRESULT Delete(); +}; + + +[ + odl, + uuid(81926775-B981-4479-988F-DA171D627360), + version(1.0), + dual, + oleautomation +] +interface IFsrmFileConditionProperty : IFsrmFileCondition { + + // + // Properties + // + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x01)), helpstring("This property specifies the name of the classification property")] + HRESULT PropertyName([out, retval] BSTR* pVal); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x01)), helpstring("This property specifies the name of the classification property")] + HRESULT PropertyName([in] BSTR newVal); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x02)), helpstring("This property specifies the predefined file property")] + HRESULT PropertyId([out, retval] FsrmFileSystemPropertyId* pVal); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x02)), helpstring("This property specifies the predefined file property")] + HRESULT PropertyId([in] FsrmFileSystemPropertyId newVal); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x03)), helpstring("This property specifies the comparison operator")] + HRESULT Operator([out, retval] FsrmPropertyConditionType* pVal); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x03)), helpstring("This property specifies the comparison operator")] + HRESULT Operator([in] FsrmPropertyConditionType newVal); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x04)), helpstring("This property specifies the type of the value")] + HRESULT ValueType([out, retval] FsrmPropertyValueType* pVal); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x04)), helpstring("This property specifies the type of the value")] + HRESULT ValueType([in] FsrmPropertyValueType newVal); + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x05)), helpstring("This property specifies the value")] + HRESULT Value([out, retval] VARIANT* pVal); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_CONDITION_PROPERTY | 0x05)), helpstring("This property specifies the value")] + HRESULT Value([in] VARIANT newVal); +}; + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmscreen.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmscreen.h new file mode 100644 index 0000000000000000000000000000000000000000..c1503250e613393c92362891ad95bbd25671b5c7 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmscreen.h @@ -0,0 +1,2568 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __fsrmscreen_h__ +#define __fsrmscreen_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFsrmFileGroup_FWD_DEFINED__ +#define __IFsrmFileGroup_FWD_DEFINED__ +typedef interface IFsrmFileGroup IFsrmFileGroup; + +#endif /* __IFsrmFileGroup_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileGroupImported_FWD_DEFINED__ +#define __IFsrmFileGroupImported_FWD_DEFINED__ +typedef interface IFsrmFileGroupImported IFsrmFileGroupImported; + +#endif /* __IFsrmFileGroupImported_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileGroupManager_FWD_DEFINED__ +#define __IFsrmFileGroupManager_FWD_DEFINED__ +typedef interface IFsrmFileGroupManager IFsrmFileGroupManager; + +#endif /* __IFsrmFileGroupManager_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreenBase_FWD_DEFINED__ +#define __IFsrmFileScreenBase_FWD_DEFINED__ +typedef interface IFsrmFileScreenBase IFsrmFileScreenBase; + +#endif /* __IFsrmFileScreenBase_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreen_FWD_DEFINED__ +#define __IFsrmFileScreen_FWD_DEFINED__ +typedef interface IFsrmFileScreen IFsrmFileScreen; + +#endif /* __IFsrmFileScreen_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreenException_FWD_DEFINED__ +#define __IFsrmFileScreenException_FWD_DEFINED__ +typedef interface IFsrmFileScreenException IFsrmFileScreenException; + +#endif /* __IFsrmFileScreenException_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreenManager_FWD_DEFINED__ +#define __IFsrmFileScreenManager_FWD_DEFINED__ +typedef interface IFsrmFileScreenManager IFsrmFileScreenManager; + +#endif /* __IFsrmFileScreenManager_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreenTemplate_FWD_DEFINED__ +#define __IFsrmFileScreenTemplate_FWD_DEFINED__ +typedef interface IFsrmFileScreenTemplate IFsrmFileScreenTemplate; + +#endif /* __IFsrmFileScreenTemplate_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreenTemplateImported_FWD_DEFINED__ +#define __IFsrmFileScreenTemplateImported_FWD_DEFINED__ +typedef interface IFsrmFileScreenTemplateImported IFsrmFileScreenTemplateImported; + +#endif /* __IFsrmFileScreenTemplateImported_FWD_DEFINED__ */ + + +#ifndef __IFsrmFileScreenTemplateManager_FWD_DEFINED__ +#define __IFsrmFileScreenTemplateManager_FWD_DEFINED__ +typedef interface IFsrmFileScreenTemplateManager IFsrmFileScreenTemplateManager; + +#endif /* __IFsrmFileScreenTemplateManager_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "fsrmenums.h" +#include "fsrm.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrmscreen_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + + + + + + + + + +#define FSRM_DISPID_FILEGROUP ( ( FSRM_DISPID_FEATURE_FILESCREEN | 0x100000 ) ) + +#define FSRM_DISPID_FILEGROUP_IMPORTED ( ( FSRM_DISPID_FILEGROUP | 0x10000 ) ) + +#define FSRM_DISPID_FILEGROUP_MANAGER ( ( FSRM_DISPID_FEATURE_FILESCREEN | 0x200000 ) ) + +#define FSRM_DISPID_FILESCREEN_BASE ( ( FSRM_DISPID_FEATURE_FILESCREEN | 0x300000 ) ) + +#define FSRM_DISPID_FILESCREEN ( ( FSRM_DISPID_FILESCREEN_BASE | 0x10000 ) ) + +#define FSRM_DISPID_FILESCREEN_TEMPLATE ( ( FSRM_DISPID_FILESCREEN_BASE | 0x20000 ) ) + +#define FSRM_DISPID_FILESCREEN_TEMPLATE_IMPORTED ( ( FSRM_DISPID_FILESCREEN_TEMPLATE | 0x1000 ) ) + +#define FSRM_DISPID_FILESCREEN_EXCEPTION ( ( FSRM_DISPID_FEATURE_FILESCREEN | 0x400000 ) ) + +#define FSRM_DISPID_FILESCREEN_MANAGER ( ( FSRM_DISPID_FEATURE_FILESCREEN | 0x500000 ) ) + +#define FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER ( ( FSRM_DISPID_FEATURE_FILESCREEN | 0x600000 ) ) + + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmscreen_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmscreen_0000_0000_v0_0_s_ifspec; + +#ifndef __IFsrmFileGroup_INTERFACE_DEFINED__ +#define __IFsrmFileGroup_INTERFACE_DEFINED__ + +/* interface IFsrmFileGroup */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileGroup; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("8dd04909-0e34-4d55-afaa-89e1f1a1bbb9") + IFsrmFileGroup : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Members( + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **members) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Members( + /* [in] */ __RPC__in_opt IFsrmMutableCollection *members) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NonMembers( + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **nonMembers) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NonMembers( + /* [in] */ __RPC__in_opt IFsrmMutableCollection *nonMembers) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileGroupVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileGroup * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileGroup * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileGroup * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileGroup * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileGroup * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileGroup * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileGroup * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileGroup * This); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmFileGroup * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, get_Members) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Members )( + __RPC__in IFsrmFileGroup * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **members); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, put_Members) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Members )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *members); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, get_NonMembers) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NonMembers )( + __RPC__in IFsrmFileGroup * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **nonMembers); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, put_NonMembers) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NonMembers )( + __RPC__in IFsrmFileGroup * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *nonMembers); + + END_INTERFACE + } IFsrmFileGroupVtbl; + + interface IFsrmFileGroup + { + CONST_VTBL struct IFsrmFileGroupVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileGroup_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileGroup_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileGroup_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileGroup_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileGroup_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileGroup_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileGroup_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileGroup_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileGroup_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileGroup_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmFileGroup_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmFileGroup_get_Members(This,members) \ + ( (This)->lpVtbl -> get_Members(This,members) ) + +#define IFsrmFileGroup_put_Members(This,members) \ + ( (This)->lpVtbl -> put_Members(This,members) ) + +#define IFsrmFileGroup_get_NonMembers(This,nonMembers) \ + ( (This)->lpVtbl -> get_NonMembers(This,nonMembers) ) + +#define IFsrmFileGroup_put_NonMembers(This,nonMembers) \ + ( (This)->lpVtbl -> put_NonMembers(This,nonMembers) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileGroup_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileGroupImported_INTERFACE_DEFINED__ +#define __IFsrmFileGroupImported_INTERFACE_DEFINED__ + +/* interface IFsrmFileGroupImported */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileGroupImported; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("ad55f10b-5f11-4be7-94ef-d9ee2e470ded") + IFsrmFileGroupImported : public IFsrmFileGroup + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OverwriteOnCommit( + /* [retval][out] */ __RPC__out VARIANT_BOOL *overwrite) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OverwriteOnCommit( + /* [in] */ VARIANT_BOOL overwrite) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileGroupImportedVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileGroupImported * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileGroupImported * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileGroupImported * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileGroupImported * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileGroupImported * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileGroupImported * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileGroupImported * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileGroupImported * This); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmFileGroupImported * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, get_Members) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Members )( + __RPC__in IFsrmFileGroupImported * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **members); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, put_Members) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Members )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *members); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, get_NonMembers) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NonMembers )( + __RPC__in IFsrmFileGroupImported * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **nonMembers); + + DECLSPEC_XFGVIRT(IFsrmFileGroup, put_NonMembers) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NonMembers )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *nonMembers); + + DECLSPEC_XFGVIRT(IFsrmFileGroupImported, get_OverwriteOnCommit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OverwriteOnCommit )( + __RPC__in IFsrmFileGroupImported * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *overwrite); + + DECLSPEC_XFGVIRT(IFsrmFileGroupImported, put_OverwriteOnCommit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OverwriteOnCommit )( + __RPC__in IFsrmFileGroupImported * This, + /* [in] */ VARIANT_BOOL overwrite); + + END_INTERFACE + } IFsrmFileGroupImportedVtbl; + + interface IFsrmFileGroupImported + { + CONST_VTBL struct IFsrmFileGroupImportedVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileGroupImported_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileGroupImported_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileGroupImported_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileGroupImported_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileGroupImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileGroupImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileGroupImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileGroupImported_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileGroupImported_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileGroupImported_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileGroupImported_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileGroupImported_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileGroupImported_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmFileGroupImported_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmFileGroupImported_get_Members(This,members) \ + ( (This)->lpVtbl -> get_Members(This,members) ) + +#define IFsrmFileGroupImported_put_Members(This,members) \ + ( (This)->lpVtbl -> put_Members(This,members) ) + +#define IFsrmFileGroupImported_get_NonMembers(This,nonMembers) \ + ( (This)->lpVtbl -> get_NonMembers(This,nonMembers) ) + +#define IFsrmFileGroupImported_put_NonMembers(This,nonMembers) \ + ( (This)->lpVtbl -> put_NonMembers(This,nonMembers) ) + + +#define IFsrmFileGroupImported_get_OverwriteOnCommit(This,overwrite) \ + ( (This)->lpVtbl -> get_OverwriteOnCommit(This,overwrite) ) + +#define IFsrmFileGroupImported_put_OverwriteOnCommit(This,overwrite) \ + ( (This)->lpVtbl -> put_OverwriteOnCommit(This,overwrite) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileGroupImported_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileGroupManager_INTERFACE_DEFINED__ +#define __IFsrmFileGroupManager_INTERFACE_DEFINED__ + +/* interface IFsrmFileGroupManager */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileGroupManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("426677d5-018c-485c-8a51-20b86d00bdc4") + IFsrmFileGroupManager : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateFileGroup( + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileGroup **fileGroup) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileGroup( + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileGroup **fileGroup) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumFileGroups( + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileGroups) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportFileGroups( + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesArray, + /* [retval][out] */ __RPC__deref_out_opt BSTR *serializedFileGroups) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportFileGroups( + /* [in] */ __RPC__in BSTR serializedFileGroups, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesArray, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileGroups) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileGroupManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileGroupManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileGroupManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileGroupManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileGroupManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileGroupManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileGroupManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileGroupManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmFileGroupManager, CreateFileGroup) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFileGroup )( + __RPC__in IFsrmFileGroupManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileGroup **fileGroup); + + DECLSPEC_XFGVIRT(IFsrmFileGroupManager, GetFileGroup) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileGroup )( + __RPC__in IFsrmFileGroupManager * This, + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileGroup **fileGroup); + + DECLSPEC_XFGVIRT(IFsrmFileGroupManager, EnumFileGroups) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumFileGroups )( + __RPC__in IFsrmFileGroupManager * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileGroups); + + DECLSPEC_XFGVIRT(IFsrmFileGroupManager, ExportFileGroups) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportFileGroups )( + __RPC__in IFsrmFileGroupManager * This, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesArray, + /* [retval][out] */ __RPC__deref_out_opt BSTR *serializedFileGroups); + + DECLSPEC_XFGVIRT(IFsrmFileGroupManager, ImportFileGroups) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportFileGroups )( + __RPC__in IFsrmFileGroupManager * This, + /* [in] */ __RPC__in BSTR serializedFileGroups, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileGroupNamesArray, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileGroups); + + END_INTERFACE + } IFsrmFileGroupManagerVtbl; + + interface IFsrmFileGroupManager + { + CONST_VTBL struct IFsrmFileGroupManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileGroupManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileGroupManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileGroupManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileGroupManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileGroupManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileGroupManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileGroupManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileGroupManager_CreateFileGroup(This,fileGroup) \ + ( (This)->lpVtbl -> CreateFileGroup(This,fileGroup) ) + +#define IFsrmFileGroupManager_GetFileGroup(This,name,fileGroup) \ + ( (This)->lpVtbl -> GetFileGroup(This,name,fileGroup) ) + +#define IFsrmFileGroupManager_EnumFileGroups(This,options,fileGroups) \ + ( (This)->lpVtbl -> EnumFileGroups(This,options,fileGroups) ) + +#define IFsrmFileGroupManager_ExportFileGroups(This,fileGroupNamesArray,serializedFileGroups) \ + ( (This)->lpVtbl -> ExportFileGroups(This,fileGroupNamesArray,serializedFileGroups) ) + +#define IFsrmFileGroupManager_ImportFileGroups(This,serializedFileGroups,fileGroupNamesArray,fileGroups) \ + ( (This)->lpVtbl -> ImportFileGroups(This,serializedFileGroups,fileGroupNamesArray,fileGroups) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileGroupManager_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreenBase_INTERFACE_DEFINED__ +#define __IFsrmFileScreenBase_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreenBase */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreenBase; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f3637e80-5b22-4a2b-a637-bbb642b41cfc") + IFsrmFileScreenBase : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockedFileGroups( + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **blockList) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockedFileGroups( + /* [in] */ __RPC__in_opt IFsrmMutableCollection *blockList) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileScreenFlags( + /* [retval][out] */ __RPC__out long *fileScreenFlags) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileScreenFlags( + /* [in] */ long fileScreenFlags) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateAction( + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumActions( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenBaseVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreenBase * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreenBase * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreenBase * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreenBase * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileScreenBase * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileScreenBase * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileScreenBase * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileScreenBase * This); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_BlockedFileGroups) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockedFileGroups )( + __RPC__in IFsrmFileScreenBase * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_BlockedFileGroups) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockedFileGroups )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_FileScreenFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileScreenFlags )( + __RPC__in IFsrmFileScreenBase * This, + /* [retval][out] */ __RPC__out long *fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_FileScreenFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileScreenFlags )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ long fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, CreateAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAction )( + __RPC__in IFsrmFileScreenBase * This, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, EnumActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumActions )( + __RPC__in IFsrmFileScreenBase * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + END_INTERFACE + } IFsrmFileScreenBaseVtbl; + + interface IFsrmFileScreenBase + { + CONST_VTBL struct IFsrmFileScreenBaseVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreenBase_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreenBase_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreenBase_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreenBase_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreenBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreenBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreenBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreenBase_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileScreenBase_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileScreenBase_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileScreenBase_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileScreenBase_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileScreenBase_get_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> get_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreenBase_put_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> put_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreenBase_get_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> get_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreenBase_put_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> put_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreenBase_CreateAction(This,actionType,action) \ + ( (This)->lpVtbl -> CreateAction(This,actionType,action) ) + +#define IFsrmFileScreenBase_EnumActions(This,actions) \ + ( (This)->lpVtbl -> EnumActions(This,actions) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreenBase_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreen_INTERFACE_DEFINED__ +#define __IFsrmFileScreen_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreen */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreen; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("5f6325d3-ce88-4733-84c1-2d6aefc5ea07") + IFsrmFileScreen : public IFsrmFileScreenBase + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Path( + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SourceTemplateName( + /* [retval][out] */ __RPC__deref_out_opt BSTR *fileScreenTemplateName) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MatchesSourceTemplate( + /* [retval][out] */ __RPC__out VARIANT_BOOL *matches) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserSid( + /* [retval][out] */ __RPC__deref_out_opt BSTR *userSid) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_UserAccount( + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ApplyTemplate( + /* [in] */ __RPC__in BSTR fileScreenTemplateName) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreen * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreen * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreen * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreen * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileScreen * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileScreen * This); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_BlockedFileGroups) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockedFileGroups )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_BlockedFileGroups) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockedFileGroups )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_FileScreenFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileScreenFlags )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__out long *fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_FileScreenFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileScreenFlags )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ long fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, CreateAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAction )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, EnumActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumActions )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmFileScreen, get_Path) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmFileScreen, get_SourceTemplateName) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceTemplateName )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *fileScreenTemplateName); + + DECLSPEC_XFGVIRT(IFsrmFileScreen, get_MatchesSourceTemplate) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MatchesSourceTemplate )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *matches); + + DECLSPEC_XFGVIRT(IFsrmFileScreen, get_UserSid) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserSid )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userSid); + + DECLSPEC_XFGVIRT(IFsrmFileScreen, get_UserAccount) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_UserAccount )( + __RPC__in IFsrmFileScreen * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *userAccount); + + DECLSPEC_XFGVIRT(IFsrmFileScreen, ApplyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ApplyTemplate )( + __RPC__in IFsrmFileScreen * This, + /* [in] */ __RPC__in BSTR fileScreenTemplateName); + + END_INTERFACE + } IFsrmFileScreenVtbl; + + interface IFsrmFileScreen + { + CONST_VTBL struct IFsrmFileScreenVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreen_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreen_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreen_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreen_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreen_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreen_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreen_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreen_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileScreen_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileScreen_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileScreen_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileScreen_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileScreen_get_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> get_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreen_put_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> put_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreen_get_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> get_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreen_put_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> put_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreen_CreateAction(This,actionType,action) \ + ( (This)->lpVtbl -> CreateAction(This,actionType,action) ) + +#define IFsrmFileScreen_EnumActions(This,actions) \ + ( (This)->lpVtbl -> EnumActions(This,actions) ) + + +#define IFsrmFileScreen_get_Path(This,path) \ + ( (This)->lpVtbl -> get_Path(This,path) ) + +#define IFsrmFileScreen_get_SourceTemplateName(This,fileScreenTemplateName) \ + ( (This)->lpVtbl -> get_SourceTemplateName(This,fileScreenTemplateName) ) + +#define IFsrmFileScreen_get_MatchesSourceTemplate(This,matches) \ + ( (This)->lpVtbl -> get_MatchesSourceTemplate(This,matches) ) + +#define IFsrmFileScreen_get_UserSid(This,userSid) \ + ( (This)->lpVtbl -> get_UserSid(This,userSid) ) + +#define IFsrmFileScreen_get_UserAccount(This,userAccount) \ + ( (This)->lpVtbl -> get_UserAccount(This,userAccount) ) + +#define IFsrmFileScreen_ApplyTemplate(This,fileScreenTemplateName) \ + ( (This)->lpVtbl -> ApplyTemplate(This,fileScreenTemplateName) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreen_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreenException_INTERFACE_DEFINED__ +#define __IFsrmFileScreenException_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreenException */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreenException; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("bee7ce02-df77-4515-9389-78f01c5afc1a") + IFsrmFileScreenException : public IFsrmObject + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Path( + /* [retval][out] */ __RPC__deref_out_opt BSTR *path) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AllowedFileGroups( + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **allowList) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AllowedFileGroups( + /* [in] */ __RPC__in_opt IFsrmMutableCollection *allowList) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenExceptionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreenException * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreenException * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreenException * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreenException * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreenException * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreenException * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreenException * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileScreenException * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileScreenException * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileScreenException * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileScreenException * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileScreenException * This); + + DECLSPEC_XFGVIRT(IFsrmFileScreenException, get_Path) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )( + __RPC__in IFsrmFileScreenException * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *path); + + DECLSPEC_XFGVIRT(IFsrmFileScreenException, get_AllowedFileGroups) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllowedFileGroups )( + __RPC__in IFsrmFileScreenException * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **allowList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenException, put_AllowedFileGroups) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AllowedFileGroups )( + __RPC__in IFsrmFileScreenException * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *allowList); + + END_INTERFACE + } IFsrmFileScreenExceptionVtbl; + + interface IFsrmFileScreenException + { + CONST_VTBL struct IFsrmFileScreenExceptionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreenException_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreenException_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreenException_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreenException_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreenException_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreenException_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreenException_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreenException_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileScreenException_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileScreenException_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileScreenException_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileScreenException_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileScreenException_get_Path(This,path) \ + ( (This)->lpVtbl -> get_Path(This,path) ) + +#define IFsrmFileScreenException_get_AllowedFileGroups(This,allowList) \ + ( (This)->lpVtbl -> get_AllowedFileGroups(This,allowList) ) + +#define IFsrmFileScreenException_put_AllowedFileGroups(This,allowList) \ + ( (This)->lpVtbl -> put_AllowedFileGroups(This,allowList) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreenException_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreenManager_INTERFACE_DEFINED__ +#define __IFsrmFileScreenManager_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreenManager */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreenManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba") + IFsrmFileScreenManager : public IDispatch + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionVariables( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables) = 0; + + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ActionVariableDescriptions( + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateFileScreen( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreen **fileScreen) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileScreen( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreen **fileScreen) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumFileScreens( + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreens) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateFileScreenException( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenException **fileScreenException) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFileScreenException( + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenException **fileScreenException) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumFileScreenExceptions( + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreenExceptions) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateFileScreenCollection( + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **collection) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreenManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreenManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreenManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreenManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, get_ActionVariables) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariables )( + __RPC__in IFsrmFileScreenManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *variables); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, get_ActionVariableDescriptions) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ActionVariableDescriptions )( + __RPC__in IFsrmFileScreenManager * This, + /* [retval][out] */ __RPC__deref_out_opt SAFEARRAY * *descriptions); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, CreateFileScreen) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFileScreen )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreen **fileScreen); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, GetFileScreen) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileScreen )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreen **fileScreen); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, EnumFileScreens) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumFileScreens )( + __RPC__in IFsrmFileScreenManager * This, + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreens); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, CreateFileScreenException) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFileScreenException )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenException **fileScreenException); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, GetFileScreenException) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFileScreenException )( + __RPC__in IFsrmFileScreenManager * This, + /* [in] */ __RPC__in BSTR path, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenException **fileScreenException); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, EnumFileScreenExceptions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumFileScreenExceptions )( + __RPC__in IFsrmFileScreenManager * This, + /* [defaultvalue][in] */ __RPC__in BSTR path, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreenExceptions); + + DECLSPEC_XFGVIRT(IFsrmFileScreenManager, CreateFileScreenCollection) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFileScreenCollection )( + __RPC__in IFsrmFileScreenManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **collection); + + END_INTERFACE + } IFsrmFileScreenManagerVtbl; + + interface IFsrmFileScreenManager + { + CONST_VTBL struct IFsrmFileScreenManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreenManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreenManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreenManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreenManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreenManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreenManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreenManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreenManager_get_ActionVariables(This,variables) \ + ( (This)->lpVtbl -> get_ActionVariables(This,variables) ) + +#define IFsrmFileScreenManager_get_ActionVariableDescriptions(This,descriptions) \ + ( (This)->lpVtbl -> get_ActionVariableDescriptions(This,descriptions) ) + +#define IFsrmFileScreenManager_CreateFileScreen(This,path,fileScreen) \ + ( (This)->lpVtbl -> CreateFileScreen(This,path,fileScreen) ) + +#define IFsrmFileScreenManager_GetFileScreen(This,path,fileScreen) \ + ( (This)->lpVtbl -> GetFileScreen(This,path,fileScreen) ) + +#define IFsrmFileScreenManager_EnumFileScreens(This,path,options,fileScreens) \ + ( (This)->lpVtbl -> EnumFileScreens(This,path,options,fileScreens) ) + +#define IFsrmFileScreenManager_CreateFileScreenException(This,path,fileScreenException) \ + ( (This)->lpVtbl -> CreateFileScreenException(This,path,fileScreenException) ) + +#define IFsrmFileScreenManager_GetFileScreenException(This,path,fileScreenException) \ + ( (This)->lpVtbl -> GetFileScreenException(This,path,fileScreenException) ) + +#define IFsrmFileScreenManager_EnumFileScreenExceptions(This,path,options,fileScreenExceptions) \ + ( (This)->lpVtbl -> EnumFileScreenExceptions(This,path,options,fileScreenExceptions) ) + +#define IFsrmFileScreenManager_CreateFileScreenCollection(This,collection) \ + ( (This)->lpVtbl -> CreateFileScreenCollection(This,collection) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreenManager_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreenTemplate_INTERFACE_DEFINED__ +#define __IFsrmFileScreenTemplate_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreenTemplate */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreenTemplate; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("205bebf8-dd93-452a-95a6-32b566b35828") + IFsrmFileScreenTemplate : public IFsrmFileScreenBase + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( + /* [retval][out] */ __RPC__deref_out_opt BSTR *name) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( + /* [in] */ __RPC__in BSTR name) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyTemplate( + /* [in] */ __RPC__in BSTR fileScreenTemplateName) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived( + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenTemplateVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreenTemplate * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreenTemplate * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreenTemplate * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileScreenTemplate * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileScreenTemplate * This); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_BlockedFileGroups) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockedFileGroups )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_BlockedFileGroups) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockedFileGroups )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_FileScreenFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileScreenFlags )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [retval][out] */ __RPC__out long *fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_FileScreenFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileScreenFlags )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ long fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, CreateAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAction )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, EnumActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumActions )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, CopyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTemplate )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ __RPC__in BSTR fileScreenTemplateName); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, CommitAndUpdateDerived) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CommitAndUpdateDerived )( + __RPC__in IFsrmFileScreenTemplate * This, + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult); + + END_INTERFACE + } IFsrmFileScreenTemplateVtbl; + + interface IFsrmFileScreenTemplate + { + CONST_VTBL struct IFsrmFileScreenTemplateVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreenTemplate_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreenTemplate_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreenTemplate_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreenTemplate_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreenTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreenTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreenTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreenTemplate_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileScreenTemplate_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileScreenTemplate_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileScreenTemplate_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileScreenTemplate_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileScreenTemplate_get_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> get_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreenTemplate_put_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> put_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreenTemplate_get_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> get_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreenTemplate_put_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> put_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreenTemplate_CreateAction(This,actionType,action) \ + ( (This)->lpVtbl -> CreateAction(This,actionType,action) ) + +#define IFsrmFileScreenTemplate_EnumActions(This,actions) \ + ( (This)->lpVtbl -> EnumActions(This,actions) ) + + +#define IFsrmFileScreenTemplate_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmFileScreenTemplate_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmFileScreenTemplate_CopyTemplate(This,fileScreenTemplateName) \ + ( (This)->lpVtbl -> CopyTemplate(This,fileScreenTemplateName) ) + +#define IFsrmFileScreenTemplate_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) \ + ( (This)->lpVtbl -> CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreenTemplate_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreenTemplateImported_INTERFACE_DEFINED__ +#define __IFsrmFileScreenTemplateImported_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreenTemplateImported */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreenTemplateImported; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("e1010359-3e5d-4ecd-9fe4-ef48622fdf30") + IFsrmFileScreenTemplateImported : public IFsrmFileScreenTemplate + { + public: + virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OverwriteOnCommit( + /* [retval][out] */ __RPC__out VARIANT_BOOL *overwrite) = 0; + + virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_OverwriteOnCommit( + /* [in] */ VARIANT_BOOL overwrite) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenTemplateImportedVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreenTemplateImported * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreenTemplateImported * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreenTemplateImported * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Id) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Id )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__out FSRM_OBJECT_ID *id); + + DECLSPEC_XFGVIRT(IFsrmObject, get_Description) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *description); + + DECLSPEC_XFGVIRT(IFsrmObject, put_Description) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Description )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ __RPC__in BSTR description); + + DECLSPEC_XFGVIRT(IFsrmObject, Delete) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFsrmFileScreenTemplateImported * This); + + DECLSPEC_XFGVIRT(IFsrmObject, Commit) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Commit )( + __RPC__in IFsrmFileScreenTemplateImported * This); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_BlockedFileGroups) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockedFileGroups )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmMutableCollection **blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_BlockedFileGroups) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockedFileGroups )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ __RPC__in_opt IFsrmMutableCollection *blockList); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, get_FileScreenFlags) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileScreenFlags )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__out long *fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, put_FileScreenFlags) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileScreenFlags )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ long fileScreenFlags); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, CreateAction) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateAction )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ FsrmActionType actionType, + /* [retval][out] */ __RPC__deref_out_opt IFsrmAction **action); + + DECLSPEC_XFGVIRT(IFsrmFileScreenBase, EnumActions) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumActions )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCollection **actions); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, get_Name) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__deref_out_opt BSTR *name); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, put_Name) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ __RPC__in BSTR name); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, CopyTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyTemplate )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ __RPC__in BSTR fileScreenTemplateName); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplate, CommitAndUpdateDerived) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CommitAndUpdateDerived )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ FsrmCommitOptions commitOptions, + /* [in] */ FsrmTemplateApplyOptions applyOptions, + /* [retval][out] */ __RPC__deref_out_opt IFsrmDerivedObjectsResult **derivedObjectsResult); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateImported, get_OverwriteOnCommit) + /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OverwriteOnCommit )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [retval][out] */ __RPC__out VARIANT_BOOL *overwrite); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateImported, put_OverwriteOnCommit) + /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_OverwriteOnCommit )( + __RPC__in IFsrmFileScreenTemplateImported * This, + /* [in] */ VARIANT_BOOL overwrite); + + END_INTERFACE + } IFsrmFileScreenTemplateImportedVtbl; + + interface IFsrmFileScreenTemplateImported + { + CONST_VTBL struct IFsrmFileScreenTemplateImportedVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreenTemplateImported_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreenTemplateImported_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreenTemplateImported_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreenTemplateImported_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreenTemplateImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreenTemplateImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreenTemplateImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreenTemplateImported_get_Id(This,id) \ + ( (This)->lpVtbl -> get_Id(This,id) ) + +#define IFsrmFileScreenTemplateImported_get_Description(This,description) \ + ( (This)->lpVtbl -> get_Description(This,description) ) + +#define IFsrmFileScreenTemplateImported_put_Description(This,description) \ + ( (This)->lpVtbl -> put_Description(This,description) ) + +#define IFsrmFileScreenTemplateImported_Delete(This) \ + ( (This)->lpVtbl -> Delete(This) ) + +#define IFsrmFileScreenTemplateImported_Commit(This) \ + ( (This)->lpVtbl -> Commit(This) ) + + +#define IFsrmFileScreenTemplateImported_get_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> get_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreenTemplateImported_put_BlockedFileGroups(This,blockList) \ + ( (This)->lpVtbl -> put_BlockedFileGroups(This,blockList) ) + +#define IFsrmFileScreenTemplateImported_get_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> get_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreenTemplateImported_put_FileScreenFlags(This,fileScreenFlags) \ + ( (This)->lpVtbl -> put_FileScreenFlags(This,fileScreenFlags) ) + +#define IFsrmFileScreenTemplateImported_CreateAction(This,actionType,action) \ + ( (This)->lpVtbl -> CreateAction(This,actionType,action) ) + +#define IFsrmFileScreenTemplateImported_EnumActions(This,actions) \ + ( (This)->lpVtbl -> EnumActions(This,actions) ) + + +#define IFsrmFileScreenTemplateImported_get_Name(This,name) \ + ( (This)->lpVtbl -> get_Name(This,name) ) + +#define IFsrmFileScreenTemplateImported_put_Name(This,name) \ + ( (This)->lpVtbl -> put_Name(This,name) ) + +#define IFsrmFileScreenTemplateImported_CopyTemplate(This,fileScreenTemplateName) \ + ( (This)->lpVtbl -> CopyTemplate(This,fileScreenTemplateName) ) + +#define IFsrmFileScreenTemplateImported_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) \ + ( (This)->lpVtbl -> CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) ) + + +#define IFsrmFileScreenTemplateImported_get_OverwriteOnCommit(This,overwrite) \ + ( (This)->lpVtbl -> get_OverwriteOnCommit(This,overwrite) ) + +#define IFsrmFileScreenTemplateImported_put_OverwriteOnCommit(This,overwrite) \ + ( (This)->lpVtbl -> put_OverwriteOnCommit(This,overwrite) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreenTemplateImported_INTERFACE_DEFINED__ */ + + +#ifndef __IFsrmFileScreenTemplateManager_INTERFACE_DEFINED__ +#define __IFsrmFileScreenTemplateManager_INTERFACE_DEFINED__ + +/* interface IFsrmFileScreenTemplateManager */ +/* [unique][helpstring][dual][uuid][object] */ + + +EXTERN_C const IID IID_IFsrmFileScreenTemplateManager; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("cfe36cba-1949-4e74-a14f-f1d580ceaf13") + IFsrmFileScreenTemplateManager : public IDispatch + { + public: + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateTemplate( + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenTemplate **fileScreenTemplate) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTemplate( + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenTemplate **fileScreenTemplate) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumTemplates( + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreenTemplates) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportTemplates( + /* [defaultvalue][in] */ __RPC__in VARIANT *fileScreenTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt BSTR *serializedFileScreenTemplates) = 0; + + virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportTemplates( + /* [in] */ __RPC__in BSTR serializedFileScreenTemplates, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileScreenTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreenTemplates) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFsrmFileScreenTemplateManagerVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFsrmFileScreenTemplateManager * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFsrmFileScreenTemplateManager * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + IFsrmFileScreenTemplateManager * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateManager, CreateTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateTemplate )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenTemplate **fileScreenTemplate); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateManager, GetTemplate) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTemplate )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [in] */ __RPC__in BSTR name, + /* [retval][out] */ __RPC__deref_out_opt IFsrmFileScreenTemplate **fileScreenTemplate); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateManager, EnumTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumTemplates )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [defaultvalue][in] */ FsrmEnumOptions options, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreenTemplates); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateManager, ExportTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportTemplates )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileScreenTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt BSTR *serializedFileScreenTemplates); + + DECLSPEC_XFGVIRT(IFsrmFileScreenTemplateManager, ImportTemplates) + /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportTemplates )( + __RPC__in IFsrmFileScreenTemplateManager * This, + /* [in] */ __RPC__in BSTR serializedFileScreenTemplates, + /* [defaultvalue][in] */ __RPC__in VARIANT *fileScreenTemplateNamesArray, + /* [retval][out] */ __RPC__deref_out_opt IFsrmCommittableCollection **fileScreenTemplates); + + END_INTERFACE + } IFsrmFileScreenTemplateManagerVtbl; + + interface IFsrmFileScreenTemplateManager + { + CONST_VTBL struct IFsrmFileScreenTemplateManagerVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFsrmFileScreenTemplateManager_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFsrmFileScreenTemplateManager_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFsrmFileScreenTemplateManager_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFsrmFileScreenTemplateManager_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define IFsrmFileScreenTemplateManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define IFsrmFileScreenTemplateManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define IFsrmFileScreenTemplateManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + + +#define IFsrmFileScreenTemplateManager_CreateTemplate(This,fileScreenTemplate) \ + ( (This)->lpVtbl -> CreateTemplate(This,fileScreenTemplate) ) + +#define IFsrmFileScreenTemplateManager_GetTemplate(This,name,fileScreenTemplate) \ + ( (This)->lpVtbl -> GetTemplate(This,name,fileScreenTemplate) ) + +#define IFsrmFileScreenTemplateManager_EnumTemplates(This,options,fileScreenTemplates) \ + ( (This)->lpVtbl -> EnumTemplates(This,options,fileScreenTemplates) ) + +#define IFsrmFileScreenTemplateManager_ExportTemplates(This,fileScreenTemplateNamesArray,serializedFileScreenTemplates) \ + ( (This)->lpVtbl -> ExportTemplates(This,fileScreenTemplateNamesArray,serializedFileScreenTemplates) ) + +#define IFsrmFileScreenTemplateManager_ImportTemplates(This,serializedFileScreenTemplates,fileScreenTemplateNamesArray,fileScreenTemplates) \ + ( (This)->lpVtbl -> ImportTemplates(This,serializedFileScreenTemplates,fileScreenTemplateNamesArray,fileScreenTemplates) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFsrmFileScreenTemplateManager_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_fsrmscreen_0000_0010 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmscreen_0000_0010_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmscreen_0000_0010_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER VARIANT_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in VARIANT * ); +unsigned char * __RPC_USER VARIANT_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out VARIANT * ); +void __RPC_USER VARIANT_UserFree64( __RPC__in unsigned long *, __RPC__in VARIANT * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmscreen.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmscreen.idl new file mode 100644 index 0000000000000000000000000000000000000000..5bf50c075aa8458d05cb03dc8565555d10f2039d --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmscreen.idl @@ -0,0 +1,417 @@ +////////////////////////////////////// +// Imports +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; + +import "fsrmenums.idl"; +import "fsrm.idl"; + + +////////////////////////////////////// +// Forward declarations +// + +interface IFsrmFileGroup; +interface IFsrmFileGroupImported; +interface IFsrmFileGroupManager; + +// Shared by IFsrmFileScreen and IFsrmFileScreenTemplate +interface IFsrmFileScreenBase; + +interface IFsrmFileScreen; +interface IFsrmFileScreenException; +interface IFsrmFileScreenManager; + +interface IFsrmFileScreenTemplate; +interface IFsrmFileScreenTemplateImported; +interface IFsrmFileScreenTemplateManager; + + +////////////////////////////////////// +// Dispatch IDs +// + +#define FSRM_PROPERTY(x) x | FSRM_DISPID_IS_PROPERTY + +// Dispatch ID base of file screen interfaces +const DISPID FSRM_DISPID_FILEGROUP = FSRM_DISPID_FEATURE_FILESCREEN | 0x100000; +const DISPID FSRM_DISPID_FILEGROUP_IMPORTED = FSRM_DISPID_FILEGROUP | 0x010000; + +const DISPID FSRM_DISPID_FILEGROUP_MANAGER = FSRM_DISPID_FEATURE_FILESCREEN | 0x200000; + +const DISPID FSRM_DISPID_FILESCREEN_BASE = FSRM_DISPID_FEATURE_FILESCREEN | 0x300000; +const DISPID FSRM_DISPID_FILESCREEN = FSRM_DISPID_FILESCREEN_BASE | 0x010000; +const DISPID FSRM_DISPID_FILESCREEN_TEMPLATE = FSRM_DISPID_FILESCREEN_BASE | 0x020000; +const DISPID FSRM_DISPID_FILESCREEN_TEMPLATE_IMPORTED = FSRM_DISPID_FILESCREEN_TEMPLATE | 0x001000; + +const DISPID FSRM_DISPID_FILESCREEN_EXCEPTION = FSRM_DISPID_FEATURE_FILESCREEN | 0x400000; + +const DISPID FSRM_DISPID_FILESCREEN_MANAGER = FSRM_DISPID_FEATURE_FILESCREEN | 0x500000; + +const DISPID FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER = FSRM_DISPID_FEATURE_FILESCREEN | 0x600000; + + +////////////////////////////////////// +// Interfaces +// +[ + object, + uuid(8dd04909-0e34-4d55-afaa-89e1f1a1bbb9), + dual, + helpstring("IFsrmFileGroup Interface"), + pointer_default(unique) +] +interface IFsrmFileGroup : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP | 0x01)), helpstring("This property is the file group name")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP | 0x01)), helpstring("This property is the file group name")] + HRESULT Name([in] BSTR name); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP | 0x02)), helpstring("This property is the Members list for the file group")] + HRESULT Members([out, retval] IFsrmMutableCollection **members); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP | 0x02)), helpstring("This property is the Members list for the file group")] + HRESULT Members([in] IFsrmMutableCollection *members); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP | 0x03)), helpstring("This property is the NonMembers list for the file group")] + HRESULT NonMembers([out, retval] IFsrmMutableCollection **nonMembers); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP | 0x03)), helpstring("This property is the NonMembers list for the file group")] + HRESULT NonMembers([in] IFsrmMutableCollection *nonMembers); + +}; + + +[ + object, + uuid(ad55f10b-5f11-4be7-94ef-d9ee2e470ded), + dual, + helpstring("IFsrmFileGroupImported Interface"), + pointer_default(unique) +] +interface IFsrmFileGroupImported : IFsrmFileGroup +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP_IMPORTED | 0x01)), helpstring("property OverwriteOnCommit")] + HRESULT OverwriteOnCommit([out, retval] VARIANT_BOOL *overwrite); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP_IMPORTED | 0x01)), helpstring("property OverwriteOnCommit")] + HRESULT OverwriteOnCommit([in] VARIANT_BOOL overwrite); + +}; + + +[ + object, + uuid(426677d5-018c-485c-8a51-20b86d00bdc4), + dual, + helpstring("IFsrmFileGroupManager Interface"), + pointer_default(unique) +] +interface IFsrmFileGroupManager : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_FILEGROUP_MANAGER | 0x01), helpstring("This method is used to create a file group")] + HRESULT CreateFileGroup([out, retval] IFsrmFileGroup **fileGroup); + + [id(FSRM_DISPID_FILEGROUP_MANAGER | 0x02), helpstring("This method is used to get a file group with a specific name")] + HRESULT GetFileGroup( + [in] BSTR name, + [out, retval] IFsrmFileGroup **fileGroup); + + [id(FSRM_DISPID_FILEGROUP_MANAGER | 0x03), helpstring("This method is used to enumerate all file groups")] + HRESULT EnumFileGroups( + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **fileGroups); + + [id(FSRM_DISPID_FILEGROUP_MANAGER | 0x04), helpstring("This method is used to copy the properties of this template from the input string")] + HRESULT ExportFileGroups( + [in, defaultvalue(NULL)] VARIANT* fileGroupNamesArray, + [out, retval] BSTR *serializedFileGroups); + + [id(FSRM_DISPID_FILEGROUP_MANAGER | 0x05), helpstring("This method is used to import templates from the file groups string representation. The resulting collection, or individual objects contain therein, must be committed to finalize the import")] + HRESULT ImportFileGroups( + [in] BSTR serializedFileGroups, + [in, defaultvalue(NULL)] VARIANT* fileGroupNamesArray, + [out, retval] IFsrmCommittableCollection **fileGroups); + +}; + + +[ + object, + uuid(f3637e80-5b22-4a2b-a637-bbb642b41cfc), + dual, + helpstring("IFsrmFileScreenBase Interface"), + pointer_default(unique) +] +interface IFsrmFileScreenBase : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_BASE | 0x01)), helpstring("This property is the file groups that this file screen blocks")] + HRESULT BlockedFileGroups([out, retval] IFsrmMutableCollection **blockList); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_BASE | 0x01)), helpstring("This property is the file groups that this file screen blocks")] + HRESULT BlockedFileGroups([in] IFsrmMutableCollection *blockList); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_BASE | 0x02)), helpstring("This property is the bit field containing flags defined in FsrmFileScreenFlags")] + HRESULT FileScreenFlags([out, retval] long *fileScreenFlags); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_BASE | 0x02)), helpstring("This property is the bit field containing flags defined in FsrmFileScreenFlags")] + HRESULT FileScreenFlags([in] long fileScreenFlags); + + + // Methods + + [id(FSRM_DISPID_FILESCREEN_BASE | 0x01), helpstring("This method is used to create an action of the specified type")] + HRESULT CreateAction( + [in] FsrmActionType actionType, + [out, retval] IFsrmAction **action); + + [id(FSRM_DISPID_FILESCREEN_BASE | 0x02), helpstring("This method is used to enumerate all actions")] + HRESULT EnumActions([out, retval] IFsrmCollection **actions); + +}; + + +[ + object, + uuid(5f6325d3-ce88-4733-84c1-2d6aefc5ea07), + dual, + helpstring("IFsrmFileScreen Interface"), + pointer_default(unique) +] +interface IFsrmFileScreen : IFsrmFileScreenBase +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x01)), helpstring("This read-only property is the path of the file screen")] + HRESULT Path([out, retval] BSTR *path); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x02)), helpstring("This read-only property is name of the template that this object originated from")] + HRESULT SourceTemplateName([out, retval] BSTR *fileScreenTemplateName); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x03)), helpstring("This read-only property is whether the file screen currently matches the template it orignated from")] + HRESULT MatchesSourceTemplate([out, retval] VARIANT_BOOL *matches); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x04)), helpstring("This read-only property is the SID of the user whose files will be screened")] + HRESULT UserSid([out, retval] BSTR *userSid); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN | 0x05)), helpstring("This read-only property is the account name of the user whose files will be screened")] + HRESULT UserAccount([out, retval] BSTR *userAccount); + + + // Methods + + [id(FSRM_DISPID_FILESCREEN | 0x01), helpstring("This method is used to copy the properties of this file screen from the specified data screen template")] + HRESULT ApplyTemplate([in] BSTR fileScreenTemplateName); + +}; + + +[ + object, + uuid(bee7ce02-df77-4515-9389-78f01c5afc1a), + dual, + helpstring("IFsrmFileScreenException Interface"), + pointer_default(unique) +] +interface IFsrmFileScreenException : IFsrmObject +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_EXCEPTION | 0x01)), helpstring("This read-only property is the path of the file screen")] + HRESULT Path([out, retval] BSTR *path); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_EXCEPTION | 0x02)), helpstring("This property is the file groups that this file screen exception allows")] + HRESULT AllowedFileGroups([out, retval] IFsrmMutableCollection **allowList); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_EXCEPTION | 0x02)), helpstring("This property is the file groups that this file screen exception allows")] + HRESULT AllowedFileGroups([in] IFsrmMutableCollection *allowList); + +}; + + +[ + object, + uuid(ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba), + dual, + helpstring("IFsrmFileScreenManager Interface"), + pointer_default(unique) +] +interface IFsrmFileScreenManager : IDispatch +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_MANAGER | 0x01)), helpstring("This method is used enumerate the runtime expanded variables available for screening notifications")] + HRESULT ActionVariables([out, retval] SAFEARRAY(VARIANT) *variables); + + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_MANAGER | 0x02)), helpstring("This method is used enumerate the descriptions of the runtime expanded variables available for screening notifications")] + HRESULT ActionVariableDescriptions([out, retval] SAFEARRAY(VARIANT) *descriptions); + + + // Methods + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x01), helpstring("This method is used to create a file screen")] + HRESULT CreateFileScreen( + [in] BSTR path, + [out, retval] IFsrmFileScreen **fileScreen); + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x02), helpstring("This method is used to get a file screen for a specific path")] + HRESULT GetFileScreen( + [in] BSTR path, + [out, retval] IFsrmFileScreen **fileScreen); + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x03), helpstring("This method is used to enumerate file screens")] + HRESULT EnumFileScreens( + [in, defaultvalue(L"")] BSTR path, // supports wildcards + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **fileScreens); + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x04), helpstring("This method is used to create a file screen exception")] + HRESULT CreateFileScreenException( + [in] BSTR path, + [out, retval] IFsrmFileScreenException **fileScreenException); + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x05), helpstring("This method is used to get a file screen exception for a specific path")] + HRESULT GetFileScreenException( + [in] BSTR path, + [out, retval] IFsrmFileScreenException **fileScreenException); + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x06), helpstring("This method is used to enumerate file screen exceptions")] + HRESULT EnumFileScreenExceptions( + [in, defaultvalue(L"")] BSTR path, // supports wildcards + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **fileScreenExceptions); + + [id(FSRM_DISPID_FILESCREEN_MANAGER | 0x07), helpstring("This method is used to create an empty file screen or file screen exception collection")] + HRESULT CreateFileScreenCollection([out, retval] IFsrmCommittableCollection **collection); + +}; + + +[ + object, + uuid(205bebf8-dd93-452a-95a6-32b566b35828), + dual, + helpstring("IFsrmFileScreenTemplate Interface"), + pointer_default(unique) +] +interface IFsrmFileScreenTemplate : IFsrmFileScreenBase +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_TEMPLATE | 0x01)), helpstring("property TemplateName")] + HRESULT Name([out, retval] BSTR *name); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_TEMPLATE | 0x01)), helpstring("property TemplateName")] + HRESULT Name([in] BSTR name); + + + // Methods + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE | 0x01), helpstring("This method is used to copy the properties of this template from the specified template")] + HRESULT CopyTemplate([in] BSTR fileScreenTemplateName); + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE | 0x02), helpstring("This method is used to apply the template changes to derived file screens and commit both the derived file screens and template changes. The resulting collection of derived file screens will be in Committing or Complete state depending on the synchronizaton option chosen. The collection of HRESULTs can be used to monitor the progress of the asynchronous commit operation and should be inspected for the error state of the individual object commit.")] + HRESULT CommitAndUpdateDerived( + [in] FsrmCommitOptions commitOptions, + [in] FsrmTemplateApplyOptions applyOptions, + [out, retval] IFsrmDerivedObjectsResult **derivedObjectsResult); + +}; + + +[ + object, + uuid(e1010359-3e5d-4ecd-9fe4-ef48622fdf30), + dual, + helpstring("IFsrmFileScreenTemplateImported Interface"), + pointer_default(unique) +] +interface IFsrmFileScreenTemplateImported : IFsrmFileScreenTemplate +{ + + // Properties + + [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_TEMPLATE_IMPORTED | 0x01)), helpstring("property OverwriteOnCommit")] + HRESULT OverwriteOnCommit([out, retval] VARIANT_BOOL *overwrite); + + [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_TEMPLATE_IMPORTED | 0x01)), helpstring("property OverwriteOnCommit")] + HRESULT OverwriteOnCommit([in] VARIANT_BOOL overwrite); + +}; + + +[ + object, + uuid(cfe36cba-1949-4e74-a14f-f1d580ceaf13), + dual, + helpstring("IFsrmFileScreenTemplateManager Interface"), + pointer_default(unique) +] +interface IFsrmFileScreenTemplateManager : IDispatch +{ + + // Methods + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER | 0x01), helpstring("This method is used to create a new data screen template")] + HRESULT CreateTemplate([out, retval] IFsrmFileScreenTemplate **fileScreenTemplate); + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER | 0x02), helpstring("This method is used to get a data screen template by name")] + HRESULT GetTemplate( + [in] BSTR name, + [out, retval] IFsrmFileScreenTemplate **fileScreenTemplate); + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER | 0x03), helpstring("This method is used to enumerate all data screen templates")] + HRESULT EnumTemplates( + [in, defaultvalue(FsrmEnumOptions_None)] FsrmEnumOptions options, + [out, retval] IFsrmCommittableCollection **fileScreenTemplates); + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER | 0x04), helpstring("This method is used to copy the properties of this template from the input string")] + HRESULT ExportTemplates( + [in, defaultvalue(NULL)] VARIANT* fileScreenTemplateNamesArray, + [out, retval] BSTR *serializedFileScreenTemplates); + + [id(FSRM_DISPID_FILESCREEN_TEMPLATE_MANAGER | 0x05), helpstring("This method is used to import templates from the templates string representation. The resulting collection, or individual objects contain therein, must be committed to finalize the import")] + HRESULT ImportTemplates( + [in] BSTR serializedFileScreenTemplates, + [in, defaultvalue(NULL)] VARIANT* fileScreenTemplateNamesArray, + [out, retval] IFsrmCommittableCollection **fileScreenTemplates); + +}; + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmtlb.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmtlb.h new file mode 100644 index 0000000000000000000000000000000000000000..9b71e145d4f087057c303663efc292794790be14 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fsrmtlb.h @@ -0,0 +1,632 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __fsrmtlb_h__ +#define __fsrmtlb_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __DIFsrmClassificationEvents_FWD_DEFINED__ +#define __DIFsrmClassificationEvents_FWD_DEFINED__ +typedef interface DIFsrmClassificationEvents DIFsrmClassificationEvents; + +#endif /* __DIFsrmClassificationEvents_FWD_DEFINED__ */ + + +#ifndef __DIFsrmClassificationEvents_FWD_DEFINED__ +#define __DIFsrmClassificationEvents_FWD_DEFINED__ +typedef interface DIFsrmClassificationEvents DIFsrmClassificationEvents; + +#endif /* __DIFsrmClassificationEvents_FWD_DEFINED__ */ + + +#ifndef __FsrmSetting_FWD_DEFINED__ +#define __FsrmSetting_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmSetting FsrmSetting; +#else +typedef struct FsrmSetting FsrmSetting; +#endif /* __cplusplus */ + +#endif /* __FsrmSetting_FWD_DEFINED__ */ + + +#ifndef __FsrmPathMapper_FWD_DEFINED__ +#define __FsrmPathMapper_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmPathMapper FsrmPathMapper; +#else +typedef struct FsrmPathMapper FsrmPathMapper; +#endif /* __cplusplus */ + +#endif /* __FsrmPathMapper_FWD_DEFINED__ */ + + +#ifndef __FsrmExportImport_FWD_DEFINED__ +#define __FsrmExportImport_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmExportImport FsrmExportImport; +#else +typedef struct FsrmExportImport FsrmExportImport; +#endif /* __cplusplus */ + +#endif /* __FsrmExportImport_FWD_DEFINED__ */ + + +#ifndef __FsrmQuotaManager_FWD_DEFINED__ +#define __FsrmQuotaManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmQuotaManager FsrmQuotaManager; +#else +typedef struct FsrmQuotaManager FsrmQuotaManager; +#endif /* __cplusplus */ + +#endif /* __FsrmQuotaManager_FWD_DEFINED__ */ + + +#ifndef __FsrmQuotaTemplateManager_FWD_DEFINED__ +#define __FsrmQuotaTemplateManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmQuotaTemplateManager FsrmQuotaTemplateManager; +#else +typedef struct FsrmQuotaTemplateManager FsrmQuotaTemplateManager; +#endif /* __cplusplus */ + +#endif /* __FsrmQuotaTemplateManager_FWD_DEFINED__ */ + + +#ifndef __FsrmFileGroupManager_FWD_DEFINED__ +#define __FsrmFileGroupManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmFileGroupManager FsrmFileGroupManager; +#else +typedef struct FsrmFileGroupManager FsrmFileGroupManager; +#endif /* __cplusplus */ + +#endif /* __FsrmFileGroupManager_FWD_DEFINED__ */ + + +#ifndef __FsrmFileScreenManager_FWD_DEFINED__ +#define __FsrmFileScreenManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmFileScreenManager FsrmFileScreenManager; +#else +typedef struct FsrmFileScreenManager FsrmFileScreenManager; +#endif /* __cplusplus */ + +#endif /* __FsrmFileScreenManager_FWD_DEFINED__ */ + + +#ifndef __FsrmFileScreenTemplateManager_FWD_DEFINED__ +#define __FsrmFileScreenTemplateManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmFileScreenTemplateManager FsrmFileScreenTemplateManager; +#else +typedef struct FsrmFileScreenTemplateManager FsrmFileScreenTemplateManager; +#endif /* __cplusplus */ + +#endif /* __FsrmFileScreenTemplateManager_FWD_DEFINED__ */ + + +#ifndef __FsrmReportManager_FWD_DEFINED__ +#define __FsrmReportManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmReportManager FsrmReportManager; +#else +typedef struct FsrmReportManager FsrmReportManager; +#endif /* __cplusplus */ + +#endif /* __FsrmReportManager_FWD_DEFINED__ */ + + +#ifndef __FsrmReportScheduler_FWD_DEFINED__ +#define __FsrmReportScheduler_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmReportScheduler FsrmReportScheduler; +#else +typedef struct FsrmReportScheduler FsrmReportScheduler; +#endif /* __cplusplus */ + +#endif /* __FsrmReportScheduler_FWD_DEFINED__ */ + + +#ifndef __FsrmFileManagementJobManager_FWD_DEFINED__ +#define __FsrmFileManagementJobManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmFileManagementJobManager FsrmFileManagementJobManager; +#else +typedef struct FsrmFileManagementJobManager FsrmFileManagementJobManager; +#endif /* __cplusplus */ + +#endif /* __FsrmFileManagementJobManager_FWD_DEFINED__ */ + + +#ifndef __FsrmClassificationManager_FWD_DEFINED__ +#define __FsrmClassificationManager_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmClassificationManager FsrmClassificationManager; +#else +typedef struct FsrmClassificationManager FsrmClassificationManager; +#endif /* __cplusplus */ + +#endif /* __FsrmClassificationManager_FWD_DEFINED__ */ + + +#ifndef __FsrmPipelineModuleConnector_FWD_DEFINED__ +#define __FsrmPipelineModuleConnector_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmPipelineModuleConnector FsrmPipelineModuleConnector; +#else +typedef struct FsrmPipelineModuleConnector FsrmPipelineModuleConnector; +#endif /* __cplusplus */ + +#endif /* __FsrmPipelineModuleConnector_FWD_DEFINED__ */ + + +#ifndef __AdSyncTask_FWD_DEFINED__ +#define __AdSyncTask_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class AdSyncTask AdSyncTask; +#else +typedef struct AdSyncTask AdSyncTask; +#endif /* __cplusplus */ + +#endif /* __AdSyncTask_FWD_DEFINED__ */ + + +#ifndef __FsrmAccessDeniedRemediationClient_FWD_DEFINED__ +#define __FsrmAccessDeniedRemediationClient_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FsrmAccessDeniedRemediationClient FsrmAccessDeniedRemediationClient; +#else +typedef struct FsrmAccessDeniedRemediationClient FsrmAccessDeniedRemediationClient; +#endif /* __cplusplus */ + +#endif /* __FsrmAccessDeniedRemediationClient_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "fsrmenums.h" +#include "fsrm.h" +#include "fsrmquota.h" +#include "fsrmscreen.h" +#include "fsrmreports.h" +#include "fsrmpipeline.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_fsrmtlb_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmtlb_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmtlb_0000_0000_v0_0_s_ifspec; + + +#ifndef __FsrmLib_LIBRARY_DEFINED__ +#define __FsrmLib_LIBRARY_DEFINED__ + +/* library FsrmLib */ +/* [helpstring][version][uuid] */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +EXTERN_C const IID LIBID_FsrmLib; + +#ifndef __DIFsrmClassificationEvents_DISPINTERFACE_DEFINED__ +#define __DIFsrmClassificationEvents_DISPINTERFACE_DEFINED__ + +/* dispinterface DIFsrmClassificationEvents */ +/* [helpstring][uuid] */ + + +EXTERN_C const IID DIID_DIFsrmClassificationEvents; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("26942db0-dabf-41d8-bbdd-b129a9f70424") + DIFsrmClassificationEvents : public IDispatch + { + }; + +#else /* C style interface */ + + typedef struct DIFsrmClassificationEventsVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in DIFsrmClassificationEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in DIFsrmClassificationEvents * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in DIFsrmClassificationEvents * This); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfoCount) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( + __RPC__in DIFsrmClassificationEvents * This, + /* [out] */ __RPC__out UINT *pctinfo); + + DECLSPEC_XFGVIRT(IDispatch, GetTypeInfo) + HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( + __RPC__in DIFsrmClassificationEvents * This, + /* [in] */ UINT iTInfo, + /* [in] */ LCID lcid, + /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo); + + DECLSPEC_XFGVIRT(IDispatch, GetIDsOfNames) + HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( + __RPC__in DIFsrmClassificationEvents * This, + /* [in] */ __RPC__in REFIID riid, + /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, + /* [range][in] */ __RPC__in_range(0,16384) UINT cNames, + /* [in] */ LCID lcid, + /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId); + + DECLSPEC_XFGVIRT(IDispatch, Invoke) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( + DIFsrmClassificationEvents * This, + /* [annotation][in] */ + _In_ DISPID dispIdMember, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][in] */ + _In_ LCID lcid, + /* [annotation][in] */ + _In_ WORD wFlags, + /* [annotation][out][in] */ + _In_ DISPPARAMS *pDispParams, + /* [annotation][out] */ + _Out_opt_ VARIANT *pVarResult, + /* [annotation][out] */ + _Out_opt_ EXCEPINFO *pExcepInfo, + /* [annotation][out] */ + _Out_opt_ UINT *puArgErr); + + END_INTERFACE + } DIFsrmClassificationEventsVtbl; + + interface DIFsrmClassificationEvents + { + CONST_VTBL struct DIFsrmClassificationEventsVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define DIFsrmClassificationEvents_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define DIFsrmClassificationEvents_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define DIFsrmClassificationEvents_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define DIFsrmClassificationEvents_GetTypeInfoCount(This,pctinfo) \ + ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) + +#define DIFsrmClassificationEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \ + ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) + +#define DIFsrmClassificationEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \ + ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) + +#define DIFsrmClassificationEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \ + ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + +#endif /* __DIFsrmClassificationEvents_DISPINTERFACE_DEFINED__ */ + + +EXTERN_C const CLSID CLSID_FsrmSetting; + +#ifdef __cplusplus + +class DECLSPEC_UUID("f556d708-6d4d-4594-9c61-7dbb0dae2a46") +FsrmSetting; +#endif + +EXTERN_C const CLSID CLSID_FsrmPathMapper; + +#ifdef __cplusplus + +class DECLSPEC_UUID("f3be42bd-8ac2-409e-bbd8-faf9b6b41feb") +FsrmPathMapper; +#endif + +EXTERN_C const CLSID CLSID_FsrmExportImport; + +#ifdef __cplusplus + +class DECLSPEC_UUID("1482dc37-fae9-4787-9025-8ce4e024ab56") +FsrmExportImport; +#endif + +EXTERN_C const CLSID CLSID_FsrmQuotaManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("90dcab7f-347c-4bfc-b543-540326305fbe") +FsrmQuotaManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmQuotaTemplateManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("97d3d443-251c-4337-81e7-b32e8f4ee65e") +FsrmQuotaTemplateManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmFileGroupManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("8f1363f6-656f-4496-9226-13aecbd7718f") +FsrmFileGroupManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmFileScreenManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("95941183-db53-4c5f-b37b-7d0921cf9dc7") +FsrmFileScreenManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmFileScreenTemplateManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("243111df-e474-46aa-a054-eaa33edc292a") +FsrmFileScreenTemplateManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmReportManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("0058ef37-aa66-4c48-bd5b-2fce432ab0c8") +FsrmReportManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmReportScheduler; + +#ifdef __cplusplus + +class DECLSPEC_UUID("ea25f1b8-1b8d-4290-8ee8-e17c12c2fe20") +FsrmReportScheduler; +#endif + +EXTERN_C const CLSID CLSID_FsrmFileManagementJobManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("eb18f9b2-4c3a-4321-b203-205120cff614") +FsrmFileManagementJobManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmClassificationManager; + +#ifdef __cplusplus + +class DECLSPEC_UUID("b15c0e47-c391-45b9-95c8-eb596c853f3a") +FsrmClassificationManager; +#endif + +EXTERN_C const CLSID CLSID_FsrmPipelineModuleConnector; + +#ifdef __cplusplus + +class DECLSPEC_UUID("c7643375-1eb5-44de-a062-623547d933bc") +FsrmPipelineModuleConnector; +#endif + +EXTERN_C const CLSID CLSID_AdSyncTask; + +#ifdef __cplusplus + +class DECLSPEC_UUID("2ae64751-b728-4d6b-97a0-b2da2e7d2a3b") +AdSyncTask; +#endif + +EXTERN_C const CLSID CLSID_FsrmAccessDeniedRemediationClient; + +#ifdef __cplusplus + +class DECLSPEC_UUID("100B4FC8-74C1-470F-B1B7-DD7B6BAE79BD") +FsrmAccessDeniedRemediationClient; +#endif +#endif /* __FsrmLib_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_fsrmtlb_0000_0002 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_fsrmtlb_0000_0002_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_fsrmtlb_0000_0002_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ftpext.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ftpext.h new file mode 100644 index 0000000000000000000000000000000000000000..fa7d10a01294a8c91010ab79dbe053820f49f04c --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/ftpext.h @@ -0,0 +1,1758 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __ftpext_h__ +#define __ftpext_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFtpProviderConstruct_FWD_DEFINED__ +#define __IFtpProviderConstruct_FWD_DEFINED__ +typedef interface IFtpProviderConstruct IFtpProviderConstruct; + +#endif /* __IFtpProviderConstruct_FWD_DEFINED__ */ + + +#ifndef __IFtpAuthenticationProvider_FWD_DEFINED__ +#define __IFtpAuthenticationProvider_FWD_DEFINED__ +typedef interface IFtpAuthenticationProvider IFtpAuthenticationProvider; + +#endif /* __IFtpAuthenticationProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpAuthenticationProvider_FWD_DEFINED__ +#define __AsyncIFtpAuthenticationProvider_FWD_DEFINED__ +typedef interface AsyncIFtpAuthenticationProvider AsyncIFtpAuthenticationProvider; + +#endif /* __AsyncIFtpAuthenticationProvider_FWD_DEFINED__ */ + + +#ifndef __IFtpRoleProvider_FWD_DEFINED__ +#define __IFtpRoleProvider_FWD_DEFINED__ +typedef interface IFtpRoleProvider IFtpRoleProvider; + +#endif /* __IFtpRoleProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpRoleProvider_FWD_DEFINED__ +#define __AsyncIFtpRoleProvider_FWD_DEFINED__ +typedef interface AsyncIFtpRoleProvider AsyncIFtpRoleProvider; + +#endif /* __AsyncIFtpRoleProvider_FWD_DEFINED__ */ + + +#ifndef __IFtpHomeDirectoryProvider_FWD_DEFINED__ +#define __IFtpHomeDirectoryProvider_FWD_DEFINED__ +typedef interface IFtpHomeDirectoryProvider IFtpHomeDirectoryProvider; + +#endif /* __IFtpHomeDirectoryProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpHomeDirectoryProvider_FWD_DEFINED__ +#define __AsyncIFtpHomeDirectoryProvider_FWD_DEFINED__ +typedef interface AsyncIFtpHomeDirectoryProvider AsyncIFtpHomeDirectoryProvider; + +#endif /* __AsyncIFtpHomeDirectoryProvider_FWD_DEFINED__ */ + + +#ifndef __IFtpLogProvider_FWD_DEFINED__ +#define __IFtpLogProvider_FWD_DEFINED__ +typedef interface IFtpLogProvider IFtpLogProvider; + +#endif /* __IFtpLogProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpLogProvider_FWD_DEFINED__ +#define __AsyncIFtpLogProvider_FWD_DEFINED__ +typedef interface AsyncIFtpLogProvider AsyncIFtpLogProvider; + +#endif /* __AsyncIFtpLogProvider_FWD_DEFINED__ */ + + +#ifndef __IFtpAuthorizationProvider_FWD_DEFINED__ +#define __IFtpAuthorizationProvider_FWD_DEFINED__ +typedef interface IFtpAuthorizationProvider IFtpAuthorizationProvider; + +#endif /* __IFtpAuthorizationProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpAuthorizationProvider_FWD_DEFINED__ +#define __AsyncIFtpAuthorizationProvider_FWD_DEFINED__ +typedef interface AsyncIFtpAuthorizationProvider AsyncIFtpAuthorizationProvider; + +#endif /* __AsyncIFtpAuthorizationProvider_FWD_DEFINED__ */ + + +#ifndef __IFtpPreprocessProvider_FWD_DEFINED__ +#define __IFtpPreprocessProvider_FWD_DEFINED__ +typedef interface IFtpPreprocessProvider IFtpPreprocessProvider; + +#endif /* __IFtpPreprocessProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpPreprocessProvider_FWD_DEFINED__ +#define __AsyncIFtpPreprocessProvider_FWD_DEFINED__ +typedef interface AsyncIFtpPreprocessProvider AsyncIFtpPreprocessProvider; + +#endif /* __AsyncIFtpPreprocessProvider_FWD_DEFINED__ */ + + +#ifndef __IFtpPostprocessProvider_FWD_DEFINED__ +#define __IFtpPostprocessProvider_FWD_DEFINED__ +typedef interface IFtpPostprocessProvider IFtpPostprocessProvider; + +#endif /* __IFtpPostprocessProvider_FWD_DEFINED__ */ + + +#ifndef __AsyncIFtpPostprocessProvider_FWD_DEFINED__ +#define __AsyncIFtpPostprocessProvider_FWD_DEFINED__ +typedef interface AsyncIFtpPostprocessProvider AsyncIFtpPostprocessProvider; + +#endif /* __AsyncIFtpPostprocessProvider_FWD_DEFINED__ */ + + +#ifndef __FtpProvider_FWD_DEFINED__ +#define __FtpProvider_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FtpProvider FtpProvider; +#else +typedef struct FtpProvider FtpProvider; +#endif /* __cplusplus */ + +#endif /* __FtpProvider_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "unknwn.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_ftpext_0000_0000 */ +/* [local] */ + +/*++ + +Copyright (c) 2008 Microsoft Corporation + +Module Name: ftpext.h + + + FTP extensibility API for FTP server (version 7.0 and higher) + It can be used to implement + + - custom FTP authentication + - custom FTP roles + - custom FTP user isolation + - custom FTP logging + + +--*/ +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +/* [uuid] */ struct DECLSPEC_UUID("9e04226f-e38c-419e-a448-62de3b3a8f43") CONFIGURATION_ENTRY + { + BSTR bstrKey; + BSTR bstrValue; + } ; + + +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0000_v0_0_s_ifspec; + +#ifndef __IFtpProviderConstruct_INTERFACE_DEFINED__ +#define __IFtpProviderConstruct_INTERFACE_DEFINED__ + +/* interface IFtpProviderConstruct */ +/* [helpstring][unique][uuid][object] */ + + +EXTERN_C const IID IID_IFtpProviderConstruct; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4d1a3f7b-412d-447c-b199-64f967e9a2da") + IFtpProviderConstruct : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Construct( + /* [in] */ __RPC__in SAFEARRAY * configurationEntries) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpProviderConstructVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpProviderConstruct * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpProviderConstruct * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpProviderConstruct * This); + + DECLSPEC_XFGVIRT(IFtpProviderConstruct, Construct) + HRESULT ( STDMETHODCALLTYPE *Construct )( + __RPC__in IFtpProviderConstruct * This, + /* [in] */ __RPC__in SAFEARRAY * configurationEntries); + + END_INTERFACE + } IFtpProviderConstructVtbl; + + interface IFtpProviderConstruct + { + CONST_VTBL struct IFtpProviderConstructVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpProviderConstruct_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpProviderConstruct_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpProviderConstruct_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpProviderConstruct_Construct(This,configurationEntries) \ + ( (This)->lpVtbl -> Construct(This,configurationEntries) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpProviderConstruct_INTERFACE_DEFINED__ */ + + +#ifndef __IFtpAuthenticationProvider_INTERFACE_DEFINED__ +#define __IFtpAuthenticationProvider_INTERFACE_DEFINED__ + +/* interface IFtpAuthenticationProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + + +EXTERN_C const IID IID_IFtpAuthenticationProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4659f95c-d5a8-4707-b2fc-6fd5794246cf") + IFtpAuthenticationProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE AuthenticateUser( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszPassword, + /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszCanonicalUserName, + /* [retval][out] */ __RPC__out BOOL *pfAuthenticated) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpAuthenticationProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpAuthenticationProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpAuthenticationProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpAuthenticationProvider * This); + + DECLSPEC_XFGVIRT(IFtpAuthenticationProvider, AuthenticateUser) + HRESULT ( STDMETHODCALLTYPE *AuthenticateUser )( + __RPC__in IFtpAuthenticationProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszPassword, + /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszCanonicalUserName, + /* [retval][out] */ __RPC__out BOOL *pfAuthenticated); + + END_INTERFACE + } IFtpAuthenticationProviderVtbl; + + interface IFtpAuthenticationProvider + { + CONST_VTBL struct IFtpAuthenticationProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpAuthenticationProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpAuthenticationProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpAuthenticationProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpAuthenticationProvider_AuthenticateUser(This,pszSessionId,pszSiteName,pszUserName,pszPassword,ppszCanonicalUserName,pfAuthenticated) \ + ( (This)->lpVtbl -> AuthenticateUser(This,pszSessionId,pszSiteName,pszUserName,pszPassword,ppszCanonicalUserName,pfAuthenticated) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpAuthenticationProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpAuthenticationProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpAuthenticationProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpAuthenticationProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpAuthenticationProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("c24efb65-9f3e-4996-8fb1-ce166916bab5") + AsyncIFtpAuthenticationProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_AuthenticateUser( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszPassword) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_AuthenticateUser( + /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszCanonicalUserName, + /* [retval][out] */ __RPC__out BOOL *pfAuthenticated) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpAuthenticationProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpAuthenticationProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpAuthenticationProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpAuthenticationProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpAuthenticationProvider, Begin_AuthenticateUser) + HRESULT ( STDMETHODCALLTYPE *Begin_AuthenticateUser )( + __RPC__in AsyncIFtpAuthenticationProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszPassword); + + DECLSPEC_XFGVIRT(AsyncIFtpAuthenticationProvider, Finish_AuthenticateUser) + HRESULT ( STDMETHODCALLTYPE *Finish_AuthenticateUser )( + __RPC__in AsyncIFtpAuthenticationProvider * This, + /* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszCanonicalUserName, + /* [retval][out] */ __RPC__out BOOL *pfAuthenticated); + + END_INTERFACE + } AsyncIFtpAuthenticationProviderVtbl; + + interface AsyncIFtpAuthenticationProvider + { + CONST_VTBL struct AsyncIFtpAuthenticationProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpAuthenticationProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpAuthenticationProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpAuthenticationProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpAuthenticationProvider_Begin_AuthenticateUser(This,pszSessionId,pszSiteName,pszUserName,pszPassword) \ + ( (This)->lpVtbl -> Begin_AuthenticateUser(This,pszSessionId,pszSiteName,pszUserName,pszPassword) ) + +#define AsyncIFtpAuthenticationProvider_Finish_AuthenticateUser(This,ppszCanonicalUserName,pfAuthenticated) \ + ( (This)->lpVtbl -> Finish_AuthenticateUser(This,ppszCanonicalUserName,pfAuthenticated) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpAuthenticationProvider_INTERFACE_DEFINED__ */ + + +#ifndef __IFtpRoleProvider_INTERFACE_DEFINED__ +#define __IFtpRoleProvider_INTERFACE_DEFINED__ + +/* interface IFtpRoleProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + + +EXTERN_C const IID IID_IFtpRoleProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("909c850d-8ca0-4674-96b8-cc2941535725") + IFtpRoleProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE IsUserInRole( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszRole, + /* [retval][out] */ __RPC__out BOOL *pfIsInRole) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpRoleProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpRoleProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpRoleProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpRoleProvider * This); + + DECLSPEC_XFGVIRT(IFtpRoleProvider, IsUserInRole) + HRESULT ( STDMETHODCALLTYPE *IsUserInRole )( + __RPC__in IFtpRoleProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszRole, + /* [retval][out] */ __RPC__out BOOL *pfIsInRole); + + END_INTERFACE + } IFtpRoleProviderVtbl; + + interface IFtpRoleProvider + { + CONST_VTBL struct IFtpRoleProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpRoleProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpRoleProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpRoleProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpRoleProvider_IsUserInRole(This,pszSessionId,pszSiteName,pszUserName,pszRole,pfIsInRole) \ + ( (This)->lpVtbl -> IsUserInRole(This,pszSessionId,pszSiteName,pszUserName,pszRole,pfIsInRole) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpRoleProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpRoleProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpRoleProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpRoleProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpRoleProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("3e83bf99-70ec-41ca-84b6-aca7c7a62caf") + AsyncIFtpRoleProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_IsUserInRole( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszRole) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_IsUserInRole( + /* [retval][out] */ __RPC__out BOOL *pfIsInRole) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpRoleProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpRoleProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpRoleProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpRoleProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpRoleProvider, Begin_IsUserInRole) + HRESULT ( STDMETHODCALLTYPE *Begin_IsUserInRole )( + __RPC__in AsyncIFtpRoleProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [string][in] */ __RPC__in_string LPCWSTR pszRole); + + DECLSPEC_XFGVIRT(AsyncIFtpRoleProvider, Finish_IsUserInRole) + HRESULT ( STDMETHODCALLTYPE *Finish_IsUserInRole )( + __RPC__in AsyncIFtpRoleProvider * This, + /* [retval][out] */ __RPC__out BOOL *pfIsInRole); + + END_INTERFACE + } AsyncIFtpRoleProviderVtbl; + + interface AsyncIFtpRoleProvider + { + CONST_VTBL struct AsyncIFtpRoleProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpRoleProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpRoleProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpRoleProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpRoleProvider_Begin_IsUserInRole(This,pszSessionId,pszSiteName,pszUserName,pszRole) \ + ( (This)->lpVtbl -> Begin_IsUserInRole(This,pszSessionId,pszSiteName,pszUserName,pszRole) ) + +#define AsyncIFtpRoleProvider_Finish_IsUserInRole(This,pfIsInRole) \ + ( (This)->lpVtbl -> Finish_IsUserInRole(This,pfIsInRole) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpRoleProvider_INTERFACE_DEFINED__ */ + + +#ifndef __IFtpHomeDirectoryProvider_INTERFACE_DEFINED__ +#define __IFtpHomeDirectoryProvider_INTERFACE_DEFINED__ + +/* interface IFtpHomeDirectoryProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + + +EXTERN_C const IID IID_IFtpHomeDirectoryProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("0933b392-18dd-4097-8b9c-83325c35d9a6") + IFtpHomeDirectoryProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetUserHomeDirectoryData( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszHomeDirectoryData) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpHomeDirectoryProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpHomeDirectoryProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpHomeDirectoryProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpHomeDirectoryProvider * This); + + DECLSPEC_XFGVIRT(IFtpHomeDirectoryProvider, GetUserHomeDirectoryData) + HRESULT ( STDMETHODCALLTYPE *GetUserHomeDirectoryData )( + __RPC__in IFtpHomeDirectoryProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszHomeDirectoryData); + + END_INTERFACE + } IFtpHomeDirectoryProviderVtbl; + + interface IFtpHomeDirectoryProvider + { + CONST_VTBL struct IFtpHomeDirectoryProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpHomeDirectoryProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpHomeDirectoryProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpHomeDirectoryProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpHomeDirectoryProvider_GetUserHomeDirectoryData(This,pszSessionId,pszSiteName,pszUserName,ppszHomeDirectoryData) \ + ( (This)->lpVtbl -> GetUserHomeDirectoryData(This,pszSessionId,pszSiteName,pszUserName,ppszHomeDirectoryData) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpHomeDirectoryProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpHomeDirectoryProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpHomeDirectoryProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpHomeDirectoryProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpHomeDirectoryProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("73f81638-6295-42bd-a2be-4a657f7c479c") + AsyncIFtpHomeDirectoryProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_GetUserHomeDirectoryData( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_GetUserHomeDirectoryData( + /* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszHomeDirectoryData) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpHomeDirectoryProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpHomeDirectoryProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpHomeDirectoryProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpHomeDirectoryProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpHomeDirectoryProvider, Begin_GetUserHomeDirectoryData) + HRESULT ( STDMETHODCALLTYPE *Begin_GetUserHomeDirectoryData )( + __RPC__in AsyncIFtpHomeDirectoryProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName); + + DECLSPEC_XFGVIRT(AsyncIFtpHomeDirectoryProvider, Finish_GetUserHomeDirectoryData) + HRESULT ( STDMETHODCALLTYPE *Finish_GetUserHomeDirectoryData )( + __RPC__in AsyncIFtpHomeDirectoryProvider * This, + /* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszHomeDirectoryData); + + END_INTERFACE + } AsyncIFtpHomeDirectoryProviderVtbl; + + interface AsyncIFtpHomeDirectoryProvider + { + CONST_VTBL struct AsyncIFtpHomeDirectoryProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpHomeDirectoryProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpHomeDirectoryProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpHomeDirectoryProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpHomeDirectoryProvider_Begin_GetUserHomeDirectoryData(This,pszSessionId,pszSiteName,pszUserName) \ + ( (This)->lpVtbl -> Begin_GetUserHomeDirectoryData(This,pszSessionId,pszSiteName,pszUserName) ) + +#define AsyncIFtpHomeDirectoryProvider_Finish_GetUserHomeDirectoryData(This,ppszHomeDirectoryData) \ + ( (This)->lpVtbl -> Finish_GetUserHomeDirectoryData(This,ppszHomeDirectoryData) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpHomeDirectoryProvider_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_ftpext_0000_0004 */ +/* [local] */ + +/* [uuid] */ struct DECLSPEC_UUID("6c678262-fc37-406e-84e8-e9c6a5757cdc") LOGGING_PARAMETERS + { + LPCWSTR pszSessionId; + LPCWSTR pszSiteName; + LPCWSTR pszUserName; + LPCWSTR pszHostName; + LPCWSTR pszRemoteIpAddress; + DWORD dwRemoteIpPort; + LPCWSTR pszLocalIpAddress; + DWORD dwLocalIpPort; + ULONGLONG BytesSent; + ULONGLONG BytesReceived; + LPCWSTR pszCommand; + LPCWSTR pszCommandParameters; + LPCWSTR pszFullPath; + DWORD dwElapsedMilliseconds; + DWORD FtpStatus; + DWORD FtpSubStatus; + HRESULT hrStatus; + LPCWSTR pszInformation; + } ; + + +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0004_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0004_v0_0_s_ifspec; + +#ifndef __IFtpLogProvider_INTERFACE_DEFINED__ +#define __IFtpLogProvider_INTERFACE_DEFINED__ + +/* interface IFtpLogProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + + +EXTERN_C const IID IID_IFtpLogProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a18a94cc-8299-4408-816c-7c3baca1a40e") + IFtpLogProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Log( + /* [in] */ __RPC__in const struct LOGGING_PARAMETERS *pLoggingParameters) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpLogProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpLogProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpLogProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpLogProvider * This); + + DECLSPEC_XFGVIRT(IFtpLogProvider, Log) + HRESULT ( STDMETHODCALLTYPE *Log )( + __RPC__in IFtpLogProvider * This, + /* [in] */ __RPC__in const struct LOGGING_PARAMETERS *pLoggingParameters); + + END_INTERFACE + } IFtpLogProviderVtbl; + + interface IFtpLogProvider + { + CONST_VTBL struct IFtpLogProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpLogProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpLogProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpLogProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpLogProvider_Log(This,pLoggingParameters) \ + ( (This)->lpVtbl -> Log(This,pLoggingParameters) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpLogProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpLogProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpLogProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpLogProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpLogProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("00a0ae46-2498-48b2-95e6-df678ed7d49f") + AsyncIFtpLogProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_Log( + /* [in] */ __RPC__in const struct LOGGING_PARAMETERS *pLoggingParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_Log( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpLogProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpLogProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpLogProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpLogProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpLogProvider, Begin_Log) + HRESULT ( STDMETHODCALLTYPE *Begin_Log )( + __RPC__in AsyncIFtpLogProvider * This, + /* [in] */ __RPC__in const struct LOGGING_PARAMETERS *pLoggingParameters); + + DECLSPEC_XFGVIRT(AsyncIFtpLogProvider, Finish_Log) + HRESULT ( STDMETHODCALLTYPE *Finish_Log )( + __RPC__in AsyncIFtpLogProvider * This); + + END_INTERFACE + } AsyncIFtpLogProviderVtbl; + + interface AsyncIFtpLogProvider + { + CONST_VTBL struct AsyncIFtpLogProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpLogProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpLogProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpLogProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpLogProvider_Begin_Log(This,pLoggingParameters) \ + ( (This)->lpVtbl -> Begin_Log(This,pLoggingParameters) ) + +#define AsyncIFtpLogProvider_Finish_Log(This) \ + ( (This)->lpVtbl -> Finish_Log(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpLogProvider_INTERFACE_DEFINED__ */ + + +#ifndef __IFtpAuthorizationProvider_INTERFACE_DEFINED__ +#define __IFtpAuthorizationProvider_INTERFACE_DEFINED__ + +/* interface IFtpAuthorizationProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + +typedef +enum _FTP_ACCESS + { + FTP_ACCESS_NONE = 0, + FTP_ACCESS_READ = ( FTP_ACCESS_NONE + 1 ) , + FTP_ACCESS_WRITE = ( FTP_ACCESS_READ + 1 ) , + FTP_ACCESS_READ_WRITE = ( FTP_ACCESS_WRITE + 1 ) + } FTP_ACCESS; + + +EXTERN_C const IID IID_IFtpAuthorizationProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a50ae7a1-a35a-42b4-a4f3-f4f7057a05d1") + IFtpAuthorizationProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetUserAccessPermission( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszVirtualPath, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [retval][out] */ __RPC__out FTP_ACCESS *pFtpAccess) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpAuthorizationProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpAuthorizationProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpAuthorizationProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpAuthorizationProvider * This); + + DECLSPEC_XFGVIRT(IFtpAuthorizationProvider, GetUserAccessPermission) + HRESULT ( STDMETHODCALLTYPE *GetUserAccessPermission )( + __RPC__in IFtpAuthorizationProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszVirtualPath, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName, + /* [retval][out] */ __RPC__out FTP_ACCESS *pFtpAccess); + + END_INTERFACE + } IFtpAuthorizationProviderVtbl; + + interface IFtpAuthorizationProvider + { + CONST_VTBL struct IFtpAuthorizationProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpAuthorizationProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpAuthorizationProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpAuthorizationProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpAuthorizationProvider_GetUserAccessPermission(This,pszSessionId,pszSiteName,pszVirtualPath,pszUserName,pFtpAccess) \ + ( (This)->lpVtbl -> GetUserAccessPermission(This,pszSessionId,pszSiteName,pszVirtualPath,pszUserName,pFtpAccess) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpAuthorizationProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpAuthorizationProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpAuthorizationProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpAuthorizationProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpAuthorizationProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("860dc339-07e5-4a5c-9c61-8820cea012bc") + AsyncIFtpAuthorizationProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_GetUserAccessPermission( + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszVirtualPath, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_GetUserAccessPermission( + /* [retval][out] */ __RPC__out FTP_ACCESS *pFtpAccess) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpAuthorizationProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpAuthorizationProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpAuthorizationProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpAuthorizationProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpAuthorizationProvider, Begin_GetUserAccessPermission) + HRESULT ( STDMETHODCALLTYPE *Begin_GetUserAccessPermission )( + __RPC__in AsyncIFtpAuthorizationProvider * This, + /* [string][in] */ __RPC__in_string LPCWSTR pszSessionId, + /* [string][in] */ __RPC__in_string LPCWSTR pszSiteName, + /* [string][in] */ __RPC__in_string LPCWSTR pszVirtualPath, + /* [string][in] */ __RPC__in_string LPCWSTR pszUserName); + + DECLSPEC_XFGVIRT(AsyncIFtpAuthorizationProvider, Finish_GetUserAccessPermission) + HRESULT ( STDMETHODCALLTYPE *Finish_GetUserAccessPermission )( + __RPC__in AsyncIFtpAuthorizationProvider * This, + /* [retval][out] */ __RPC__out FTP_ACCESS *pFtpAccess); + + END_INTERFACE + } AsyncIFtpAuthorizationProviderVtbl; + + interface AsyncIFtpAuthorizationProvider + { + CONST_VTBL struct AsyncIFtpAuthorizationProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpAuthorizationProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpAuthorizationProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpAuthorizationProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpAuthorizationProvider_Begin_GetUserAccessPermission(This,pszSessionId,pszSiteName,pszVirtualPath,pszUserName) \ + ( (This)->lpVtbl -> Begin_GetUserAccessPermission(This,pszSessionId,pszSiteName,pszVirtualPath,pszUserName) ) + +#define AsyncIFtpAuthorizationProvider_Finish_GetUserAccessPermission(This,pFtpAccess) \ + ( (This)->lpVtbl -> Finish_GetUserAccessPermission(This,pFtpAccess) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpAuthorizationProvider_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_ftpext_0000_0006 */ +/* [local] */ + +typedef /* [v1_enum][uuid] */ DECLSPEC_UUID("e95e698b-7505-4e49-8fb1-cb06dc26c096") +enum _FTP_PROCESS_STATUS + { + FTP_PROCESS_CONTINUE = 0, + FTP_PROCESS_CLOSE_SESSION = ( FTP_PROCESS_CONTINUE + 1 ) , + FTP_PROCESS_TERMINATE_SESSION = ( FTP_PROCESS_CLOSE_SESSION + 1 ) , + FTP_PROCESS_REJECT_COMMAND = ( FTP_PROCESS_TERMINATE_SESSION + 1 ) + } FTP_PROCESS_STATUS; + +/* [uuid] */ struct DECLSPEC_UUID("07c3d591-cead-4702-abab-a70886af38a3") PRE_PROCESS_PARAMETERS + { + LPCWSTR pszSessionId; + LPCWSTR pszSiteName; + LPCWSTR pszUserName; + LPCWSTR pszHostName; + LPCWSTR pszRemoteIpAddress; + DWORD dwRemoteIpPort; + LPCWSTR pszLocalIpAddress; + DWORD dwLocalIpPort; + LPCWSTR pszCommand; + LPCWSTR pszCommandParameters; + FILETIME SessionStartTime; + ULONGLONG BytesSentPerSession; + ULONGLONG BytesReceivedPerSession; + } ; + + +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0006_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0006_v0_0_s_ifspec; + +#ifndef __IFtpPreprocessProvider_INTERFACE_DEFINED__ +#define __IFtpPreprocessProvider_INTERFACE_DEFINED__ + +/* interface IFtpPreprocessProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + + +EXTERN_C const IID IID_IFtpPreprocessProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a3c19b60-5a28-471a-8f93-ab30411cee82") + IFtpPreprocessProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE HandlePreprocess( + /* [in] */ __RPC__in const struct PRE_PROCESS_PARAMETERS *pPreProcessParameters, + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpPreprocessProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpPreprocessProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpPreprocessProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpPreprocessProvider * This); + + DECLSPEC_XFGVIRT(IFtpPreprocessProvider, HandlePreprocess) + HRESULT ( STDMETHODCALLTYPE *HandlePreprocess )( + __RPC__in IFtpPreprocessProvider * This, + /* [in] */ __RPC__in const struct PRE_PROCESS_PARAMETERS *pPreProcessParameters, + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus); + + END_INTERFACE + } IFtpPreprocessProviderVtbl; + + interface IFtpPreprocessProvider + { + CONST_VTBL struct IFtpPreprocessProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpPreprocessProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpPreprocessProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpPreprocessProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpPreprocessProvider_HandlePreprocess(This,pPreProcessParameters,pFtpProcessStatus) \ + ( (This)->lpVtbl -> HandlePreprocess(This,pPreProcessParameters,pFtpProcessStatus) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpPreprocessProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpPreprocessProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpPreprocessProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpPreprocessProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpPreprocessProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6ff5fd8f-fd8e-48b1-a3e0-bf7073db4db5") + AsyncIFtpPreprocessProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_HandlePreprocess( + /* [in] */ __RPC__in const struct PRE_PROCESS_PARAMETERS *pPreProcessParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_HandlePreprocess( + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpPreprocessProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpPreprocessProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpPreprocessProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpPreprocessProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpPreprocessProvider, Begin_HandlePreprocess) + HRESULT ( STDMETHODCALLTYPE *Begin_HandlePreprocess )( + __RPC__in AsyncIFtpPreprocessProvider * This, + /* [in] */ __RPC__in const struct PRE_PROCESS_PARAMETERS *pPreProcessParameters); + + DECLSPEC_XFGVIRT(AsyncIFtpPreprocessProvider, Finish_HandlePreprocess) + HRESULT ( STDMETHODCALLTYPE *Finish_HandlePreprocess )( + __RPC__in AsyncIFtpPreprocessProvider * This, + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus); + + END_INTERFACE + } AsyncIFtpPreprocessProviderVtbl; + + interface AsyncIFtpPreprocessProvider + { + CONST_VTBL struct AsyncIFtpPreprocessProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpPreprocessProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpPreprocessProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpPreprocessProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpPreprocessProvider_Begin_HandlePreprocess(This,pPreProcessParameters) \ + ( (This)->lpVtbl -> Begin_HandlePreprocess(This,pPreProcessParameters) ) + +#define AsyncIFtpPreprocessProvider_Finish_HandlePreprocess(This,pFtpProcessStatus) \ + ( (This)->lpVtbl -> Finish_HandlePreprocess(This,pFtpProcessStatus) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpPreprocessProvider_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_ftpext_0000_0007 */ +/* [local] */ + +/* [uuid] */ struct DECLSPEC_UUID("53337595-9165-4a8b-a202-7d5dbf7e4b8b") POST_PROCESS_PARAMETERS + { + LPCWSTR pszSessionId; + LPCWSTR pszSiteName; + LPCWSTR pszUserName; + LPCWSTR pszHostName; + LPCWSTR pszRemoteIpAddress; + DWORD dwRemoteIpPort; + LPCWSTR pszLocalIpAddress; + DWORD dwLocalIpPort; + ULONGLONG BytesSent; + ULONGLONG BytesReceived; + LPCWSTR pszCommand; + LPCWSTR pszCommandParameters; + LPCWSTR pszFullPath; + LPCWSTR pszPhysicalPath; + DWORD FtpStatus; + DWORD FtpSubStatus; + HRESULT hrStatus; + FILETIME SessionStartTime; + ULONGLONG BytesSentPerSession; + ULONGLONG BytesReceivedPerSession; + } ; + + +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0007_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0007_v0_0_s_ifspec; + +#ifndef __IFtpPostprocessProvider_INTERFACE_DEFINED__ +#define __IFtpPostprocessProvider_INTERFACE_DEFINED__ + +/* interface IFtpPostprocessProvider */ +/* [helpstring][unique][async_uuid][uuid][object] */ + + +EXTERN_C const IID IID_IFtpPostprocessProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4522cbc6-16cd-49ad-8653-9a2c579e4280") + IFtpPostprocessProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE HandlePostprocess( + /* [in] */ __RPC__in const struct POST_PROCESS_PARAMETERS *pPostProcessParameters, + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFtpPostprocessProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFtpPostprocessProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFtpPostprocessProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFtpPostprocessProvider * This); + + DECLSPEC_XFGVIRT(IFtpPostprocessProvider, HandlePostprocess) + HRESULT ( STDMETHODCALLTYPE *HandlePostprocess )( + __RPC__in IFtpPostprocessProvider * This, + /* [in] */ __RPC__in const struct POST_PROCESS_PARAMETERS *pPostProcessParameters, + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus); + + END_INTERFACE + } IFtpPostprocessProviderVtbl; + + interface IFtpPostprocessProvider + { + CONST_VTBL struct IFtpPostprocessProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFtpPostprocessProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFtpPostprocessProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFtpPostprocessProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFtpPostprocessProvider_HandlePostprocess(This,pPostProcessParameters,pFtpProcessStatus) \ + ( (This)->lpVtbl -> HandlePostprocess(This,pPostProcessParameters,pFtpProcessStatus) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFtpPostprocessProvider_INTERFACE_DEFINED__ */ + + +#ifndef __AsyncIFtpPostprocessProvider_INTERFACE_DEFINED__ +#define __AsyncIFtpPostprocessProvider_INTERFACE_DEFINED__ + +/* interface AsyncIFtpPostprocessProvider */ +/* [uuid][helpstring][unique][object] */ + + +EXTERN_C const IID IID_AsyncIFtpPostprocessProvider; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("a16b2542-9694-4eb1-a564-6c2e91fdc133") + AsyncIFtpPostprocessProvider : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Begin_HandlePostprocess( + /* [in] */ __RPC__in const struct POST_PROCESS_PARAMETERS *pPostProcessParameters) = 0; + + virtual HRESULT STDMETHODCALLTYPE Finish_HandlePostprocess( + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus) = 0; + + }; + + +#else /* C style interface */ + + typedef struct AsyncIFtpPostprocessProviderVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in AsyncIFtpPostprocessProvider * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in AsyncIFtpPostprocessProvider * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in AsyncIFtpPostprocessProvider * This); + + DECLSPEC_XFGVIRT(AsyncIFtpPostprocessProvider, Begin_HandlePostprocess) + HRESULT ( STDMETHODCALLTYPE *Begin_HandlePostprocess )( + __RPC__in AsyncIFtpPostprocessProvider * This, + /* [in] */ __RPC__in const struct POST_PROCESS_PARAMETERS *pPostProcessParameters); + + DECLSPEC_XFGVIRT(AsyncIFtpPostprocessProvider, Finish_HandlePostprocess) + HRESULT ( STDMETHODCALLTYPE *Finish_HandlePostprocess )( + __RPC__in AsyncIFtpPostprocessProvider * This, + /* [retval][out] */ __RPC__out FTP_PROCESS_STATUS *pFtpProcessStatus); + + END_INTERFACE + } AsyncIFtpPostprocessProviderVtbl; + + interface AsyncIFtpPostprocessProvider + { + CONST_VTBL struct AsyncIFtpPostprocessProviderVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define AsyncIFtpPostprocessProvider_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define AsyncIFtpPostprocessProvider_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define AsyncIFtpPostprocessProvider_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define AsyncIFtpPostprocessProvider_Begin_HandlePostprocess(This,pPostProcessParameters) \ + ( (This)->lpVtbl -> Begin_HandlePostprocess(This,pPostProcessParameters) ) + +#define AsyncIFtpPostprocessProvider_Finish_HandlePostprocess(This,pFtpProcessStatus) \ + ( (This)->lpVtbl -> Finish_HandlePostprocess(This,pFtpProcessStatus) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __AsyncIFtpPostprocessProvider_INTERFACE_DEFINED__ */ + + + +#ifndef __FtpProviderLibrary_LIBRARY_DEFINED__ +#define __FtpProviderLibrary_LIBRARY_DEFINED__ + +/* library FtpProviderLibrary */ +/* [helpstring][version][uuid] */ + + + + + + +EXTERN_C const IID LIBID_FtpProviderLibrary; + +EXTERN_C const CLSID CLSID_FtpProvider; + +#ifdef __cplusplus + +class DECLSPEC_UUID("70bdc667-33b2-45f0-ac52-c3ca46f7a656") +FtpProvider; +#endif +#endif /* __FtpProviderLibrary_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_ftpext_0000_0009 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0009_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_ftpext_0000_0009_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fullenumsyncdeviceservice.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fullenumsyncdeviceservice.h new file mode 100644 index 0000000000000000000000000000000000000000..667b26c785e8e95e86ea3950bc0352dde6c31e25 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/fullenumsyncdeviceservice.h @@ -0,0 +1,195 @@ +/* + * FullEnumSyncDeviceService.h + * + * Contains definitions for the Full Enumeration Sync Device Service + * + * Copyright (c) Microsoft Corporation, All Rights Reserved. + * + */ + + +#ifndef _FULLENUMSYNCSERVICE_H_ +#define _FULLENUMSYNCSERVICE_H_ + +#include + +#include + + +/***************************************************************************** + Full Enumeration Sync Service Info +******************************************************************************/ + +DEFINE_DEVSVCGUID(SERVICE_FullEnumSync, + 0x28d3aac9, 0xc075, 0x44be, 0x88, 0x81, 0x65, 0xf3, 0x8d, 0x30, 0x59, 0x09 ); + +#define NAME_FullEnumSyncSvc L"FullEnumSync" +#define TYPE_FullEnumSyncSvc DEVSVCTYPE_ABSTRACT + + +/***************************************************************************** + Full Enumeration Sync Service Properties +******************************************************************************/ + +DEFINE_DEVSVCGUID(NAMESPACE_FullEnumSyncSvc, + 0x63b10e6c, 0x4f3a, 0x456d, 0x95, 0xcb, 0x98, 0x94, 0xed, 0xec, 0x9f, 0xa5 ); + + +/* PKEY_FullEnumSyncSvc_VersionProps + * + * Provides information about change units and version properties. The + * format for the dataset is + * + * UINT32 Number of change units + * UINT128 Namespace GUID for first change unit property key + * UINT32 Namespace ID for the first change unit property key + * UINT32 Number of properties associated with this change unit + * UINT128 Namespace GUID for first property key in change unit + * UINT32 Namespace ID for first property key in change unit + * ... Repeat for number of property keys + * ... Repeat for number of change units + * + * NOTE: If all change units use the same property key specify a namespace + * GUID of GUID_NULL (all 0's) and a namespace ID of 0. + * + * Type: AUInt8 + * Form: None + */ + +DEFINE_DEVSVCPROPKEY(PKEY_FullEnumSyncSvc_VersionProps, + 0x63b10e6c, 0x4f3a, 0x456d, 0x95, 0xcb, 0x98, 0x94, 0xed, 0xec, 0x9f, 0xa5 , + 3 ); + +#define NAME_FullEnumSyncSvc_VersionProps L"FullEnumVersionProps" + + +/* PKEY_FullEnumSyncSvc_ReplicaID + * + * Contains the GUID representing this replica in the sync community. + * + * Type: UInt128 + * Form: None + */ + +DEFINE_DEVSVCPROPKEY(PKEY_FullEnumSyncSvc_ReplicaID, + 0x63b10e6c, 0x4f3a, 0x456d, 0x95, 0xcb, 0x98, 0x94, 0xed, 0xec, 0x9f, 0xa5 , + 4 ); + +#define NAME_FullEnumSyncSvc_ReplicaID L"FullEnumReplicaID" + + +/* PKEY_FullEnumSyncSvc_KnowledgeObjectID + * + * Object ID to be used for the knowledge object + * + * Type: UInt32 + * Form: ObjectID + */ + +DEFINE_DEVSVCPROPKEY(PKEY_FullEnumSyncSvc_KnowledgeObjectID, + 0x63b10e6c, 0x4f3a, 0x456d, 0x95, 0xcb, 0x98, 0x94, 0xed, 0xec, 0x9f, 0xa5 , + 7 ); + +#define NAME_FullEnumSyncSvc_KnowledgeObjectID L"FullEnumKnowledgeObjectID" + + +/* PKEY_FullEnumSyncSvc_LastSyncProxyID + * + * Contains a GUID indicating the last sync proxy to perform a sync operation + * + * Type: UInt128 + * Form: None + */ + +DEFINE_DEVSVCPROPKEY(PKEY_FullEnumSyncSvc_LastSyncProxyID, + 0x63b10e6c, 0x4f3a, 0x456d, 0x95, 0xcb, 0x98, 0x94, 0xed, 0xec, 0x9f, 0xa5 , + 8 ); + +#define NAME_FullEnumSyncSvc_LastSyncProxyID L"FullEnumLastSyncProxyID" + + +/* PKEY_FullEnumSyncSvc_ProviderVersion + * + * Contains a device defined value giving the version of the provider + * currently in use on the device. This version must be incremented whenever + * new properties are added to the device implementation so that they will + * be recognized and managed as part of synchronization. 0 is reserved. + * + * Type: UInt16 + * Form: None + */ + +DEFINE_DEVSVCPROPKEY(PKEY_FullEnumSyncSvc_ProviderVersion, + 0x63b10e6c, 0x4f3a, 0x456d, 0x95, 0xcb, 0x98, 0x94, 0xed, 0xec, 0x9f, 0xa5 , + 9 ); + +#define NAME_FullEnumSyncSvc_ProviderVersion L"FullEnumProviderVersion" + + +/* PKEY_FullEnumSyncSvc_SyncFormat + * + * Indicates the format GUID for the object format that is to be used in the + * sync operation. + * + * Type: UInt128 + * Form: None + */ + +#define PKEY_FullEnumSyncSvc_SyncFormat PKEY_SyncSvc_SyncFormat +#define NAME_FullEnumSyncSvc_SyncFormat NAME_SyncSvc_SyncFormat + +/* PKEY_FullEnumSyncSvc_LocalOnlyDelete + * + * Boolean flag indicating whether deletes of objects on the service host + * should be treated as "local only" and not propogated to other sync + * participants. The alternative is "true sync" in which deletes on the + * service host are propogated to all other sync participants. + * + * Type: UInt8 + * Form: None + */ + +#define PKEY_FullEnumSyncSvc_LocalOnlyDelete PKEY_SyncSvc_LocalOnlyDelete +#define NAME_FullEnumSyncSvc_LocalOnlyDelete NAME_SyncSvc_LocalOnlyDelete + +/* PKEY_FullEnumSyncSvc_FilterType + * + * Type: UInt8 + * Form: None + */ + +#define PKEY_FullEnumSyncSvc_FilterType PKEY_SyncSvc_FilterType +#define NAME_FullEnumSyncSvc_FilterType NAME_SyncSvc_FilterType + +/***************************************************************************** + Full Enumeration Sync Service Object Formats +******************************************************************************/ + +/* FORMAT_FullEnumSyncKnowledge + * + * Knowledge object format + * + */ + +DEFINE_DEVSVCGUID(FORMAT_FullEnumSyncKnowledge, + 0x221bce32, 0x221b, 0x4f45, 0xb4, 0x8b, 0x80, 0xde, 0x9a, 0x93, 0xa4, 0x4a ); + +#define NAME_FullEnumSyncKnowledge L"FullEnumSyncKnowledge" + + + +/***************************************************************************** + Full Enumeration Sync Service Methods +******************************************************************************/ + + +/* Inherited methods */ + +#define METHOD_FullEnumSyncSvc_BeginSync METHOD_SyncSvc_BeginSync +#define NAME_FullEnumSyncSvc_BeginSync NAME_SyncSvc_BeginSync + +#define METHOD_FullEnumSyncSvc_EndSync METHOD_SyncSvc_EndSync +#define NAME_FullEnumSyncSvc_EndSync NAME_SyncSvc_EndSync + + +#endif /*_FULLENUMSYNCSERVICE_H_*/ diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscovery.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscovery.h new file mode 100644 index 0000000000000000000000000000000000000000..8ee410fa8676b6996ea1d3dbc2162856ee407fb7 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscovery.h @@ -0,0 +1,179 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + + +#ifndef __functiondiscovery_h__ +#define __functiondiscovery_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __FunctionDiscovery_FWD_DEFINED__ +#define __FunctionDiscovery_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FunctionDiscovery FunctionDiscovery; +#else +typedef struct FunctionDiscovery FunctionDiscovery; +#endif /* __cplusplus */ + +#endif /* __FunctionDiscovery_FWD_DEFINED__ */ + + +#ifndef __PropertyStore_FWD_DEFINED__ +#define __PropertyStore_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class PropertyStore PropertyStore; +#else +typedef struct PropertyStore PropertyStore; +#endif /* __cplusplus */ + +#endif /* __PropertyStore_FWD_DEFINED__ */ + + +#ifndef __FunctionInstanceCollection_FWD_DEFINED__ +#define __FunctionInstanceCollection_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class FunctionInstanceCollection FunctionInstanceCollection; +#else +typedef struct FunctionInstanceCollection FunctionInstanceCollection; +#endif /* __cplusplus */ + +#endif /* __FunctionInstanceCollection_FWD_DEFINED__ */ + + +#ifndef __PropertyStoreCollection_FWD_DEFINED__ +#define __PropertyStoreCollection_FWD_DEFINED__ + +#ifdef __cplusplus +typedef class PropertyStoreCollection PropertyStoreCollection; +#else +typedef struct PropertyStoreCollection PropertyStoreCollection; +#endif /* __cplusplus */ + +#endif /* __PropertyStoreCollection_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" +#include "propsys.h" +#include "FunctionDiscoveryAPI.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_functiondiscovery_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +extern RPC_IF_HANDLE __MIDL_itf_functiondiscovery_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_functiondiscovery_0000_0000_v0_0_s_ifspec; + + +#ifndef __FctnDiscLib_LIBRARY_DEFINED__ +#define __FctnDiscLib_LIBRARY_DEFINED__ + +/* library FctnDiscLib */ +/* [helpstring][version][uuid] */ + + +EXTERN_C const IID LIBID_FctnDiscLib; + +EXTERN_C const CLSID CLSID_FunctionDiscovery; + +#ifdef __cplusplus + +class DECLSPEC_UUID("C72BE2EC-8E90-452c-B29A-AB8FF1C071FC") +FunctionDiscovery; +#endif + +EXTERN_C const CLSID CLSID_PropertyStore; + +#ifdef __cplusplus + +class DECLSPEC_UUID("e4796550-df61-448b-9193-13fc1341b163") +PropertyStore; +#endif + +EXTERN_C const CLSID CLSID_FunctionInstanceCollection; + +#ifdef __cplusplus + +class DECLSPEC_UUID("ba818ce5-b55f-443f-ad39-2fe89be6191f") +FunctionInstanceCollection; +#endif + +EXTERN_C const CLSID CLSID_PropertyStoreCollection; + +#ifdef __cplusplus + +class DECLSPEC_UUID("EDD36029-D753-4862-AA5B-5BCCAD2A4D29") +PropertyStoreCollection; +#endif +#endif /* __FctnDiscLib_LIBRARY_DEFINED__ */ + +/* interface __MIDL_itf_functiondiscovery_0000_0001 */ +/* [local] */ + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_functiondiscovery_0000_0001_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_functiondiscovery_0000_0001_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscovery.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscovery.idl new file mode 100644 index 0000000000000000000000000000000000000000..02c5f96bfc421c5e479f34e7350b39959ff9bb35 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscovery.idl @@ -0,0 +1,67 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; +import "ocidl.idl"; +import "propsys.idl"; +import "FunctionDiscoveryAPI.idl"; + +[ + uuid(A1CCFEB3-EBFA-44b7-9D53-CAF2D18A1782), + version(1.0), + helpstring("Function Discovery 1.0 Type Library") +] +library FctnDiscLib +{ + importlib("stdole32.tlb"); + importlib("stdole2.tlb"); + /// Function Discovery + [ + uuid(C72BE2EC-8E90-452c-B29A-AB8FF1C071FC), + helpstring("Function Discovery Class") + ] + coclass FunctionDiscovery + { + [default] interface IFunctionDiscovery; + }; + + /// Property Store + [ + uuid(e4796550-df61-448b-9193-13fc1341b163), + helpstring("Property Store") + ] + coclass PropertyStore + { + [default] interface IPropertyStore; + }; + + /// Function Instance Collection + [ + uuid(ba818ce5-b55f-443f-ad39-2fe89be6191f), + helpstring("Function Instance Collection Class") + ] + coclass FunctionInstanceCollection + { + [default] interface IFunctionInstanceCollection; + }; + + // Property Store Collection + [ + uuid(EDD36029-D753-4862-AA5B-5BCCAD2A4D29), + helpstring("Property Store Collection Class") + ] + coclass PropertyStoreCollection + { + [default] interface IPropertyStoreCollection; + }; +}; + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryapi.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryapi.h new file mode 100644 index 0000000000000000000000000000000000000000..c8058103972455c33286ab6cbb9724b5356c5b1d --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryapi.h @@ -0,0 +1,1197 @@ + + +/* this ALWAYS GENERATED file contains the definitions for the interfaces */ + + + /* File created by MIDL compiler version 8.01.0628 */ +/* @@MIDL_FILE_HEADING( ) */ + + + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 501 +#endif + +/* verify that the version is high enough to compile this file*/ +#ifndef __REQUIRED_RPCSAL_H_VERSION__ +#define __REQUIRED_RPCSAL_H_VERSION__ 100 +#endif + +#include "rpc.h" +#include "rpcndr.h" + +#ifndef __RPCNDR_H_VERSION__ +#error this stub requires an updated version of +#endif /* __RPCNDR_H_VERSION__ */ + +#ifndef COM_NO_WINDOWS_H +#include "windows.h" +#include "ole2.h" +#endif /*COM_NO_WINDOWS_H*/ + +#ifndef __functiondiscoveryapi_h__ +#define __functiondiscoveryapi_h__ + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#ifndef DECLSPEC_XFGVIRT +#if defined(_CONTROL_FLOW_GUARD_XFG) +#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func)) +#else +#define DECLSPEC_XFGVIRT(base, func) +#endif +#endif + +/* Forward Declarations */ + +#ifndef __IFunctionDiscoveryNotification_FWD_DEFINED__ +#define __IFunctionDiscoveryNotification_FWD_DEFINED__ +typedef interface IFunctionDiscoveryNotification IFunctionDiscoveryNotification; + +#endif /* __IFunctionDiscoveryNotification_FWD_DEFINED__ */ + + +#ifndef __IFunctionDiscovery_FWD_DEFINED__ +#define __IFunctionDiscovery_FWD_DEFINED__ +typedef interface IFunctionDiscovery IFunctionDiscovery; + +#endif /* __IFunctionDiscovery_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstance_FWD_DEFINED__ +#define __IFunctionInstance_FWD_DEFINED__ +typedef interface IFunctionInstance IFunctionInstance; + +#endif /* __IFunctionInstance_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstanceCollection_FWD_DEFINED__ +#define __IFunctionInstanceCollection_FWD_DEFINED__ +typedef interface IFunctionInstanceCollection IFunctionInstanceCollection; + +#endif /* __IFunctionInstanceCollection_FWD_DEFINED__ */ + + +#ifndef __IPropertyStoreCollection_FWD_DEFINED__ +#define __IPropertyStoreCollection_FWD_DEFINED__ +typedef interface IPropertyStoreCollection IPropertyStoreCollection; + +#endif /* __IPropertyStoreCollection_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstanceQuery_FWD_DEFINED__ +#define __IFunctionInstanceQuery_FWD_DEFINED__ +typedef interface IFunctionInstanceQuery IFunctionInstanceQuery; + +#endif /* __IFunctionInstanceQuery_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstanceCollectionQuery_FWD_DEFINED__ +#define __IFunctionInstanceCollectionQuery_FWD_DEFINED__ +typedef interface IFunctionInstanceCollectionQuery IFunctionInstanceCollectionQuery; + +#endif /* __IFunctionInstanceCollectionQuery_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstanceQuery2_FWD_DEFINED__ +#define __IFunctionInstanceQuery2_FWD_DEFINED__ +typedef interface IFunctionInstanceQuery2 IFunctionInstanceQuery2; + +#endif /* __IFunctionInstanceQuery2_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstanceCollectionQuery2_FWD_DEFINED__ +#define __IFunctionInstanceCollectionQuery2_FWD_DEFINED__ +typedef interface IFunctionInstanceCollectionQuery2 IFunctionInstanceCollectionQuery2; + +#endif /* __IFunctionInstanceCollectionQuery2_FWD_DEFINED__ */ + + +#ifndef __IFunctionInstanceCollectionQueryCollection_FWD_DEFINED__ +#define __IFunctionInstanceCollectionQueryCollection_FWD_DEFINED__ +typedef interface IFunctionInstanceCollectionQueryCollection IFunctionInstanceCollectionQueryCollection; + +#endif /* __IFunctionInstanceCollectionQueryCollection_FWD_DEFINED__ */ + + +#ifndef __IFunctionDiscoveryProviderRefresh_FWD_DEFINED__ +#define __IFunctionDiscoveryProviderRefresh_FWD_DEFINED__ +typedef interface IFunctionDiscoveryProviderRefresh IFunctionDiscoveryProviderRefresh; + +#endif /* __IFunctionDiscoveryProviderRefresh_FWD_DEFINED__ */ + + +/* header files for imported files */ +#include "oaidl.h" +#include "ocidl.h" +#include "propsys.h" + +#ifdef __cplusplus +extern "C"{ +#endif + + +/* interface __MIDL_itf_functiondiscoveryapi_0000_0000 */ +/* [local] */ + +#include +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#pragma once +#pragma warning(push) +#pragma warning(disable:4001) +#pragma once +#pragma warning(push) +#pragma warning(disable:4001) +#pragma once +#pragma warning(pop) +#pragma warning(pop) +#pragma region Desktop Family +typedef +enum tagPropertyConstraint + { + QC_EQUALS = 0, + QC_NOTEQUAL = 1, + QC_LESSTHAN = 2, + QC_LESSTHANOREQUAL = 3, + QC_GREATERTHAN = 4, + QC_GREATERTHANOREQUAL = 5, + QC_STARTSWITH = 6, + QC_EXISTS = 7, + QC_DOESNOTEXIST = 8, + QC_CONTAINS = 9 + } PropertyConstraint; + +#pragma endregion +//#if ( WINVER >= 0x0600 ) +#ifndef FD_LONGHORN +#define FD_LONGHORN 1 +#endif +#ifndef FDPropertyConstraint +#define FDPropertyConstraint +#endif +#include "FunctionDiscoveryCategories.h" +#include "FunctionDiscoveryError.h" +#include "FunctionDiscoveryKeys.h" +#include "FunctionDiscoveryServiceIDs.h" +#include "FunctionDiscoveryConstraints.h" + + + + + + + +typedef DWORDLONG FDQUERYCONTEXT; + +typedef +enum tagSystemVisibilityFlags + { + SVF_SYSTEM = 0, + SVF_USER = 1 + } SystemVisibilityFlags; + +typedef +enum tagQueryUpdateAction + { + QUA_ADD = 0, + QUA_REMOVE = 1, + QUA_CHANGE = 2 + } QueryUpdateAction; + +typedef +enum tagQueryCategoryType + { + QCT_PROVIDER = 0, + QCT_LAYERED = 1 + } QueryCategoryType; + + + +extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0000_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0000_v0_0_s_ifspec; + +#ifndef __IFunctionDiscoveryNotification_INTERFACE_DEFINED__ +#define __IFunctionDiscoveryNotification_INTERFACE_DEFINED__ + +/* interface IFunctionDiscoveryNotification */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IFunctionDiscoveryNotification; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("5f6c1ba8-5330-422e-a368-572b244d3f87") + IFunctionDiscoveryNotification : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE OnUpdate( + /* [in] */ QueryUpdateAction enumQueryUpdateAction, + /* [in] */ FDQUERYCONTEXT fdqcQueryContext, + /* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnError( + /* [in] */ HRESULT hr, + /* [in] */ FDQUERYCONTEXT fdqcQueryContext, + /* [string][in] */ __RPC__in_string const WCHAR *pszProvider) = 0; + + virtual HRESULT STDMETHODCALLTYPE OnEvent( + /* [in] */ DWORD dwEventID, + /* [in] */ FDQUERYCONTEXT fdqcQueryContext, + /* [string][in] */ __RPC__in_string const WCHAR *pszProvider) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFunctionDiscoveryNotificationVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFunctionDiscoveryNotification * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFunctionDiscoveryNotification * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFunctionDiscoveryNotification * This); + + DECLSPEC_XFGVIRT(IFunctionDiscoveryNotification, OnUpdate) + HRESULT ( STDMETHODCALLTYPE *OnUpdate )( + __RPC__in IFunctionDiscoveryNotification * This, + /* [in] */ QueryUpdateAction enumQueryUpdateAction, + /* [in] */ FDQUERYCONTEXT fdqcQueryContext, + /* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionDiscoveryNotification, OnError) + HRESULT ( STDMETHODCALLTYPE *OnError )( + __RPC__in IFunctionDiscoveryNotification * This, + /* [in] */ HRESULT hr, + /* [in] */ FDQUERYCONTEXT fdqcQueryContext, + /* [string][in] */ __RPC__in_string const WCHAR *pszProvider); + + DECLSPEC_XFGVIRT(IFunctionDiscoveryNotification, OnEvent) + HRESULT ( STDMETHODCALLTYPE *OnEvent )( + __RPC__in IFunctionDiscoveryNotification * This, + /* [in] */ DWORD dwEventID, + /* [in] */ FDQUERYCONTEXT fdqcQueryContext, + /* [string][in] */ __RPC__in_string const WCHAR *pszProvider); + + END_INTERFACE + } IFunctionDiscoveryNotificationVtbl; + + interface IFunctionDiscoveryNotification + { + CONST_VTBL struct IFunctionDiscoveryNotificationVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFunctionDiscoveryNotification_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFunctionDiscoveryNotification_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFunctionDiscoveryNotification_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFunctionDiscoveryNotification_OnUpdate(This,enumQueryUpdateAction,fdqcQueryContext,pIFunctionInstance) \ + ( (This)->lpVtbl -> OnUpdate(This,enumQueryUpdateAction,fdqcQueryContext,pIFunctionInstance) ) + +#define IFunctionDiscoveryNotification_OnError(This,hr,fdqcQueryContext,pszProvider) \ + ( (This)->lpVtbl -> OnError(This,hr,fdqcQueryContext,pszProvider) ) + +#define IFunctionDiscoveryNotification_OnEvent(This,dwEventID,fdqcQueryContext,pszProvider) \ + ( (This)->lpVtbl -> OnEvent(This,dwEventID,fdqcQueryContext,pszProvider) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFunctionDiscoveryNotification_INTERFACE_DEFINED__ */ + + +#ifndef __IFunctionDiscovery_INTERFACE_DEFINED__ +#define __IFunctionDiscovery_INTERFACE_DEFINED__ + +/* interface IFunctionDiscovery */ +/* [restricted][unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IFunctionDiscovery; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("4df99b70-e148-4432-b004-4c9eeb535a5e") + IFunctionDiscovery : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetInstanceCollection( + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [in] */ BOOL fIncludeAllSubCategories, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetInstance( + /* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstanceCollectionQuery( + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [in] */ BOOL fIncludeAllSubCategories, + /* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification, + /* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollectionQuery **ppIFunctionInstanceCollectionQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE CreateInstanceQuery( + /* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity, + /* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification, + /* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceQuery **ppIFunctionInstanceQuery) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddInstance( + /* [in] */ SystemVisibilityFlags enumSystemVisibility, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE RemoveInstance( + /* [in] */ SystemVisibilityFlags enumSystemVisibility, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFunctionDiscoveryVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFunctionDiscovery * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFunctionDiscovery * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFunctionDiscovery * This); + + DECLSPEC_XFGVIRT(IFunctionDiscovery, GetInstanceCollection) + HRESULT ( STDMETHODCALLTYPE *GetInstanceCollection )( + __RPC__in IFunctionDiscovery * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [in] */ BOOL fIncludeAllSubCategories, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection); + + DECLSPEC_XFGVIRT(IFunctionDiscovery, GetInstance) + HRESULT ( STDMETHODCALLTYPE *GetInstance )( + __RPC__in IFunctionDiscovery * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionDiscovery, CreateInstanceCollectionQuery) + HRESULT ( STDMETHODCALLTYPE *CreateInstanceCollectionQuery )( + __RPC__in IFunctionDiscovery * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [in] */ BOOL fIncludeAllSubCategories, + /* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification, + /* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceCollectionQuery **ppIFunctionInstanceCollectionQuery); + + DECLSPEC_XFGVIRT(IFunctionDiscovery, CreateInstanceQuery) + HRESULT ( STDMETHODCALLTYPE *CreateInstanceQuery )( + __RPC__in IFunctionDiscovery * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszFunctionInstanceIdentity, + /* [in] */ __RPC__in_opt IFunctionDiscoveryNotification *pIFunctionDiscoveryNotification, + /* [unique][out][in] */ __RPC__inout_opt FDQUERYCONTEXT *pfdqcQueryContext, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstanceQuery **ppIFunctionInstanceQuery); + + DECLSPEC_XFGVIRT(IFunctionDiscovery, AddInstance) + HRESULT ( STDMETHODCALLTYPE *AddInstance )( + __RPC__in IFunctionDiscovery * This, + /* [in] */ SystemVisibilityFlags enumSystemVisibility, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionDiscovery, RemoveInstance) + HRESULT ( STDMETHODCALLTYPE *RemoveInstance )( + __RPC__in IFunctionDiscovery * This, + /* [in] */ SystemVisibilityFlags enumSystemVisibility, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategory, + /* [unique][string][in] */ __RPC__in_opt_string const WCHAR *pszSubCategory, + /* [string][in] */ __RPC__in_string const WCHAR *pszCategoryIdentity); + + END_INTERFACE + } IFunctionDiscoveryVtbl; + + interface IFunctionDiscovery + { + CONST_VTBL struct IFunctionDiscoveryVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFunctionDiscovery_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFunctionDiscovery_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFunctionDiscovery_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFunctionDiscovery_GetInstanceCollection(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,ppIFunctionInstanceCollection) \ + ( (This)->lpVtbl -> GetInstanceCollection(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,ppIFunctionInstanceCollection) ) + +#define IFunctionDiscovery_GetInstance(This,pszFunctionInstanceIdentity,ppIFunctionInstance) \ + ( (This)->lpVtbl -> GetInstance(This,pszFunctionInstanceIdentity,ppIFunctionInstance) ) + +#define IFunctionDiscovery_CreateInstanceCollectionQuery(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceCollectionQuery) \ + ( (This)->lpVtbl -> CreateInstanceCollectionQuery(This,pszCategory,pszSubCategory,fIncludeAllSubCategories,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceCollectionQuery) ) + +#define IFunctionDiscovery_CreateInstanceQuery(This,pszFunctionInstanceIdentity,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceQuery) \ + ( (This)->lpVtbl -> CreateInstanceQuery(This,pszFunctionInstanceIdentity,pIFunctionDiscoveryNotification,pfdqcQueryContext,ppIFunctionInstanceQuery) ) + +#define IFunctionDiscovery_AddInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity,ppIFunctionInstance) \ + ( (This)->lpVtbl -> AddInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity,ppIFunctionInstance) ) + +#define IFunctionDiscovery_RemoveInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity) \ + ( (This)->lpVtbl -> RemoveInstance(This,enumSystemVisibility,pszCategory,pszSubCategory,pszCategoryIdentity) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFunctionDiscovery_INTERFACE_DEFINED__ */ + + +#ifndef __IFunctionInstance_INTERFACE_DEFINED__ +#define __IFunctionInstance_INTERFACE_DEFINED__ + +/* interface IFunctionInstance */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IFunctionInstance; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("33591c10-0bed-4f02-b0ab-1530d5533ee9") + IFunctionInstance : public IServiceProvider + { + public: + virtual HRESULT STDMETHODCALLTYPE GetID( + /* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemIdentity) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetProviderInstanceID( + /* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemProviderInstanceIdentity) = 0; + + virtual HRESULT STDMETHODCALLTYPE OpenPropertyStore( + /* [in] */ DWORD dwStgAccess, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetCategory( + /* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemCategory, + /* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemSubCategory) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFunctionInstanceVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFunctionInstance * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFunctionInstance * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFunctionInstance * This); + + DECLSPEC_XFGVIRT(IServiceProvider, QueryService) + /* [local] */ HRESULT ( STDMETHODCALLTYPE *QueryService )( + IFunctionInstance * This, + /* [annotation][in] */ + _In_ REFGUID guidService, + /* [annotation][in] */ + _In_ REFIID riid, + /* [annotation][out] */ + _Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IFunctionInstance, GetID) + HRESULT ( STDMETHODCALLTYPE *GetID )( + __RPC__in IFunctionInstance * This, + /* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemIdentity); + + DECLSPEC_XFGVIRT(IFunctionInstance, GetProviderInstanceID) + HRESULT ( STDMETHODCALLTYPE *GetProviderInstanceID )( + __RPC__in IFunctionInstance * This, + /* [retval][string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemProviderInstanceIdentity); + + DECLSPEC_XFGVIRT(IFunctionInstance, OpenPropertyStore) + HRESULT ( STDMETHODCALLTYPE *OpenPropertyStore )( + __RPC__in IFunctionInstance * This, + /* [in] */ DWORD dwStgAccess, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore); + + DECLSPEC_XFGVIRT(IFunctionInstance, GetCategory) + HRESULT ( STDMETHODCALLTYPE *GetCategory )( + __RPC__in IFunctionInstance * This, + /* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemCategory, + /* [string][out] */ __RPC__deref_out_opt_string WCHAR **ppszCoMemSubCategory); + + END_INTERFACE + } IFunctionInstanceVtbl; + + interface IFunctionInstance + { + CONST_VTBL struct IFunctionInstanceVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFunctionInstance_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFunctionInstance_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFunctionInstance_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFunctionInstance_QueryService(This,guidService,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryService(This,guidService,riid,ppvObject) ) + + +#define IFunctionInstance_GetID(This,ppszCoMemIdentity) \ + ( (This)->lpVtbl -> GetID(This,ppszCoMemIdentity) ) + +#define IFunctionInstance_GetProviderInstanceID(This,ppszCoMemProviderInstanceIdentity) \ + ( (This)->lpVtbl -> GetProviderInstanceID(This,ppszCoMemProviderInstanceIdentity) ) + +#define IFunctionInstance_OpenPropertyStore(This,dwStgAccess,ppIPropertyStore) \ + ( (This)->lpVtbl -> OpenPropertyStore(This,dwStgAccess,ppIPropertyStore) ) + +#define IFunctionInstance_GetCategory(This,ppszCoMemCategory,ppszCoMemSubCategory) \ + ( (This)->lpVtbl -> GetCategory(This,ppszCoMemCategory,ppszCoMemSubCategory) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFunctionInstance_INTERFACE_DEFINED__ */ + + +#ifndef __IFunctionInstanceCollection_INTERFACE_DEFINED__ +#define __IFunctionInstanceCollection_INTERFACE_DEFINED__ + +/* interface IFunctionInstanceCollection */ +/* [restricted][unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IFunctionInstanceCollection; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("f0a3d895-855c-42a2-948d-2f97d450ecb1") + IFunctionInstanceCollection : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetCount( + /* [retval][out] */ __RPC__out DWORD *pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get( + /* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity, + /* [out] */ __RPC__out DWORD *pdwIndex, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + /* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + /* [in] */ DWORD dwIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFunctionInstanceCollectionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFunctionInstanceCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFunctionInstanceCollection * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFunctionInstanceCollection * This); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, GetCount) + HRESULT ( STDMETHODCALLTYPE *GetCount )( + __RPC__in IFunctionInstanceCollection * This, + /* [retval][out] */ __RPC__out DWORD *pdwCount); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, Get) + HRESULT ( STDMETHODCALLTYPE *Get )( + __RPC__in IFunctionInstanceCollection * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity, + /* [out] */ __RPC__out DWORD *pdwIndex, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, Item) + HRESULT ( STDMETHODCALLTYPE *Item )( + __RPC__in IFunctionInstanceCollection * This, + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, Add) + HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IFunctionInstanceCollection * This, + /* [in] */ __RPC__in_opt IFunctionInstance *pIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, Remove) + HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IFunctionInstanceCollection * This, + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, Delete) + HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IFunctionInstanceCollection * This, + /* [in] */ DWORD dwIndex); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollection, DeleteAll) + HRESULT ( STDMETHODCALLTYPE *DeleteAll )( + __RPC__in IFunctionInstanceCollection * This); + + END_INTERFACE + } IFunctionInstanceCollectionVtbl; + + interface IFunctionInstanceCollection + { + CONST_VTBL struct IFunctionInstanceCollectionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFunctionInstanceCollection_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFunctionInstanceCollection_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFunctionInstanceCollection_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFunctionInstanceCollection_GetCount(This,pdwCount) \ + ( (This)->lpVtbl -> GetCount(This,pdwCount) ) + +#define IFunctionInstanceCollection_Get(This,pszInstanceIdentity,pdwIndex,ppIFunctionInstance) \ + ( (This)->lpVtbl -> Get(This,pszInstanceIdentity,pdwIndex,ppIFunctionInstance) ) + +#define IFunctionInstanceCollection_Item(This,dwIndex,ppIFunctionInstance) \ + ( (This)->lpVtbl -> Item(This,dwIndex,ppIFunctionInstance) ) + +#define IFunctionInstanceCollection_Add(This,pIFunctionInstance) \ + ( (This)->lpVtbl -> Add(This,pIFunctionInstance) ) + +#define IFunctionInstanceCollection_Remove(This,dwIndex,ppIFunctionInstance) \ + ( (This)->lpVtbl -> Remove(This,dwIndex,ppIFunctionInstance) ) + +#define IFunctionInstanceCollection_Delete(This,dwIndex) \ + ( (This)->lpVtbl -> Delete(This,dwIndex) ) + +#define IFunctionInstanceCollection_DeleteAll(This) \ + ( (This)->lpVtbl -> DeleteAll(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFunctionInstanceCollection_INTERFACE_DEFINED__ */ + + +#ifndef __IPropertyStoreCollection_INTERFACE_DEFINED__ +#define __IPropertyStoreCollection_INTERFACE_DEFINED__ + +/* interface IPropertyStoreCollection */ +/* [unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IPropertyStoreCollection; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("D14D9C30-12D2-42d8-BCE4-C60C2BB226FA") + IPropertyStoreCollection : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE GetCount( + /* [retval][out] */ __RPC__out LPDWORD pdwCount) = 0; + + virtual HRESULT STDMETHODCALLTYPE Get( + /* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity, + /* [out] */ __RPC__out LPDWORD pdwIndex, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE Item( + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE Add( + /* [in] */ __RPC__in_opt IPropertyStore *pIPropertyStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE Remove( + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **pIPropertyStore) = 0; + + virtual HRESULT STDMETHODCALLTYPE Delete( + /* [in] */ DWORD dwIndex) = 0; + + virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IPropertyStoreCollectionVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IPropertyStoreCollection * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IPropertyStoreCollection * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IPropertyStoreCollection * This); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, GetCount) + HRESULT ( STDMETHODCALLTYPE *GetCount )( + __RPC__in IPropertyStoreCollection * This, + /* [retval][out] */ __RPC__out LPDWORD pdwCount); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, Get) + HRESULT ( STDMETHODCALLTYPE *Get )( + __RPC__in IPropertyStoreCollection * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszInstanceIdentity, + /* [out] */ __RPC__out LPDWORD pdwIndex, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, Item) + HRESULT ( STDMETHODCALLTYPE *Item )( + __RPC__in IPropertyStoreCollection * This, + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **ppIPropertyStore); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, Add) + HRESULT ( STDMETHODCALLTYPE *Add )( + __RPC__in IPropertyStoreCollection * This, + /* [in] */ __RPC__in_opt IPropertyStore *pIPropertyStore); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, Remove) + HRESULT ( STDMETHODCALLTYPE *Remove )( + __RPC__in IPropertyStoreCollection * This, + /* [in] */ DWORD dwIndex, + /* [retval][out] */ __RPC__deref_out_opt IPropertyStore **pIPropertyStore); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, Delete) + HRESULT ( STDMETHODCALLTYPE *Delete )( + __RPC__in IPropertyStoreCollection * This, + /* [in] */ DWORD dwIndex); + + DECLSPEC_XFGVIRT(IPropertyStoreCollection, DeleteAll) + HRESULT ( STDMETHODCALLTYPE *DeleteAll )( + __RPC__in IPropertyStoreCollection * This); + + END_INTERFACE + } IPropertyStoreCollectionVtbl; + + interface IPropertyStoreCollection + { + CONST_VTBL struct IPropertyStoreCollectionVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IPropertyStoreCollection_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IPropertyStoreCollection_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IPropertyStoreCollection_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IPropertyStoreCollection_GetCount(This,pdwCount) \ + ( (This)->lpVtbl -> GetCount(This,pdwCount) ) + +#define IPropertyStoreCollection_Get(This,pszInstanceIdentity,pdwIndex,ppIPropertyStore) \ + ( (This)->lpVtbl -> Get(This,pszInstanceIdentity,pdwIndex,ppIPropertyStore) ) + +#define IPropertyStoreCollection_Item(This,dwIndex,ppIPropertyStore) \ + ( (This)->lpVtbl -> Item(This,dwIndex,ppIPropertyStore) ) + +#define IPropertyStoreCollection_Add(This,pIPropertyStore) \ + ( (This)->lpVtbl -> Add(This,pIPropertyStore) ) + +#define IPropertyStoreCollection_Remove(This,dwIndex,pIPropertyStore) \ + ( (This)->lpVtbl -> Remove(This,dwIndex,pIPropertyStore) ) + +#define IPropertyStoreCollection_Delete(This,dwIndex) \ + ( (This)->lpVtbl -> Delete(This,dwIndex) ) + +#define IPropertyStoreCollection_DeleteAll(This) \ + ( (This)->lpVtbl -> DeleteAll(This) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IPropertyStoreCollection_INTERFACE_DEFINED__ */ + + +#ifndef __IFunctionInstanceQuery_INTERFACE_DEFINED__ +#define __IFunctionInstanceQuery_INTERFACE_DEFINED__ + +/* interface IFunctionInstanceQuery */ +/* [restricted][unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IFunctionInstanceQuery; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("6242bc6b-90ec-4b37-bb46-e229fd84ed95") + IFunctionInstanceQuery : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE Execute( + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFunctionInstanceQueryVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFunctionInstanceQuery * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFunctionInstanceQuery * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFunctionInstanceQuery * This); + + DECLSPEC_XFGVIRT(IFunctionInstanceQuery, Execute) + HRESULT ( STDMETHODCALLTYPE *Execute )( + __RPC__in IFunctionInstanceQuery * This, + /* [retval][out] */ __RPC__deref_out_opt IFunctionInstance **ppIFunctionInstance); + + END_INTERFACE + } IFunctionInstanceQueryVtbl; + + interface IFunctionInstanceQuery + { + CONST_VTBL struct IFunctionInstanceQueryVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFunctionInstanceQuery_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFunctionInstanceQuery_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFunctionInstanceQuery_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFunctionInstanceQuery_Execute(This,ppIFunctionInstance) \ + ( (This)->lpVtbl -> Execute(This,ppIFunctionInstance) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFunctionInstanceQuery_INTERFACE_DEFINED__ */ + + +#ifndef __IFunctionInstanceCollectionQuery_INTERFACE_DEFINED__ +#define __IFunctionInstanceCollectionQuery_INTERFACE_DEFINED__ + +/* interface IFunctionInstanceCollectionQuery */ +/* [restricted][unique][helpstring][uuid][object] */ + + +EXTERN_C const IID IID_IFunctionInstanceCollectionQuery; + +#if defined(__cplusplus) && !defined(CINTERFACE) + + MIDL_INTERFACE("57cc6fd2-c09a-4289-bb72-25f04142058e") + IFunctionInstanceCollectionQuery : public IUnknown + { + public: + virtual HRESULT STDMETHODCALLTYPE AddQueryConstraint( + /* [string][in] */ __RPC__in_string const WCHAR *pszConstraintName, + /* [string][in] */ __RPC__in_string const WCHAR *pszConstraintValue) = 0; + + virtual HRESULT STDMETHODCALLTYPE AddPropertyConstraint( + /* [in] */ __RPC__in REFPROPERTYKEY Key, + /* [in] */ __RPC__in const PROPVARIANT *pv, + /* [in] */ PropertyConstraint enumPropertyConstraint) = 0; + + virtual HRESULT STDMETHODCALLTYPE Execute( + /* [out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection) = 0; + + }; + + +#else /* C style interface */ + + typedef struct IFunctionInstanceCollectionQueryVtbl + { + BEGIN_INTERFACE + + DECLSPEC_XFGVIRT(IUnknown, QueryInterface) + HRESULT ( STDMETHODCALLTYPE *QueryInterface )( + __RPC__in IFunctionInstanceCollectionQuery * This, + /* [in] */ __RPC__in REFIID riid, + /* [annotation][iid_is][out] */ + _COM_Outptr_ void **ppvObject); + + DECLSPEC_XFGVIRT(IUnknown, AddRef) + ULONG ( STDMETHODCALLTYPE *AddRef )( + __RPC__in IFunctionInstanceCollectionQuery * This); + + DECLSPEC_XFGVIRT(IUnknown, Release) + ULONG ( STDMETHODCALLTYPE *Release )( + __RPC__in IFunctionInstanceCollectionQuery * This); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollectionQuery, AddQueryConstraint) + HRESULT ( STDMETHODCALLTYPE *AddQueryConstraint )( + __RPC__in IFunctionInstanceCollectionQuery * This, + /* [string][in] */ __RPC__in_string const WCHAR *pszConstraintName, + /* [string][in] */ __RPC__in_string const WCHAR *pszConstraintValue); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollectionQuery, AddPropertyConstraint) + HRESULT ( STDMETHODCALLTYPE *AddPropertyConstraint )( + __RPC__in IFunctionInstanceCollectionQuery * This, + /* [in] */ __RPC__in REFPROPERTYKEY Key, + /* [in] */ __RPC__in const PROPVARIANT *pv, + /* [in] */ PropertyConstraint enumPropertyConstraint); + + DECLSPEC_XFGVIRT(IFunctionInstanceCollectionQuery, Execute) + HRESULT ( STDMETHODCALLTYPE *Execute )( + __RPC__in IFunctionInstanceCollectionQuery * This, + /* [out] */ __RPC__deref_out_opt IFunctionInstanceCollection **ppIFunctionInstanceCollection); + + END_INTERFACE + } IFunctionInstanceCollectionQueryVtbl; + + interface IFunctionInstanceCollectionQuery + { + CONST_VTBL struct IFunctionInstanceCollectionQueryVtbl *lpVtbl; + }; + + + +#ifdef COBJMACROS + + +#define IFunctionInstanceCollectionQuery_QueryInterface(This,riid,ppvObject) \ + ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) + +#define IFunctionInstanceCollectionQuery_AddRef(This) \ + ( (This)->lpVtbl -> AddRef(This) ) + +#define IFunctionInstanceCollectionQuery_Release(This) \ + ( (This)->lpVtbl -> Release(This) ) + + +#define IFunctionInstanceCollectionQuery_AddQueryConstraint(This,pszConstraintName,pszConstraintValue) \ + ( (This)->lpVtbl -> AddQueryConstraint(This,pszConstraintName,pszConstraintValue) ) + +#define IFunctionInstanceCollectionQuery_AddPropertyConstraint(This,Key,pv,enumPropertyConstraint) \ + ( (This)->lpVtbl -> AddPropertyConstraint(This,Key,pv,enumPropertyConstraint) ) + +#define IFunctionInstanceCollectionQuery_Execute(This,ppIFunctionInstanceCollection) \ + ( (This)->lpVtbl -> Execute(This,ppIFunctionInstanceCollection) ) + +#endif /* COBJMACROS */ + + +#endif /* C style interface */ + + + + +#endif /* __IFunctionInstanceCollectionQuery_INTERFACE_DEFINED__ */ + + +/* interface __MIDL_itf_functiondiscoveryapi_0000_0007 */ +/* [local] */ + +#include "FunctionDiscoveryNotification.h" +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + + +extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0011_v0_0_c_ifspec; +extern RPC_IF_HANDLE __MIDL_itf_functiondiscoveryapi_0000_0011_v0_0_s_ifspec; + +/* Additional Prototypes for ALL interfaces */ + +unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); +unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); +void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); + +unsigned long __RPC_USER LPSAFEARRAY_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in LPSAFEARRAY * ); +unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out LPSAFEARRAY * ); +void __RPC_USER LPSAFEARRAY_UserFree64( __RPC__in unsigned long *, __RPC__in LPSAFEARRAY * ); + +/* end of Additional Prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif + + + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryapi.idl b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryapi.idl new file mode 100644 index 0000000000000000000000000000000000000000..5d2aa6ce967cae26d2d62f3a7f22a428d6b63e5d --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryapi.idl @@ -0,0 +1,257 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + +cpp_quote("#include ") + +#pragma region Desktop Family +cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") + +import "oaidl.idl"; +import "ocidl.idl"; +import "propsys.idl"; +#include "FunctionDiscoveryConstraints.h" + +cpp_quote("//#if ( WINVER >= 0x0600 )") +cpp_quote("#ifndef FD_LONGHORN") +cpp_quote("#define FD_LONGHORN 1") +cpp_quote("#endif") +cpp_quote("#ifndef FDPropertyConstraint") +cpp_quote("#define FDPropertyConstraint") +cpp_quote("#endif") + +cpp_quote("#include \"FunctionDiscoveryCategories.h\"") +cpp_quote("#include \"FunctionDiscoveryError.h\"") +cpp_quote("#include \"FunctionDiscoveryKeys.h\"") +cpp_quote("#include \"FunctionDiscoveryServiceIDs.h\"") +cpp_quote("#include \"FunctionDiscoveryConstraints.h\"") + +interface IFunctionDiscovery; +interface IFunctionInstance; +interface IFunctionInstanceCollection; +interface IFunctionInstanceQuery; +interface IFunctionInstanceCollectionQuery; +interface IPropertyStoreCollection; +interface IFunctionInstanceCollectionQueryCollection; + +typedef DWORDLONG FDQUERYCONTEXT; + +typedef enum tagSystemVisibilityFlags +{ + SVF_SYSTEM = 0, + SVF_USER = 1 +} SystemVisibilityFlags; + +typedef enum tagQueryUpdateAction +{ + QUA_ADD = 0, + QUA_REMOVE = 1, + QUA_CHANGE = 2 +} QueryUpdateAction; + +typedef enum tagQueryCategoryType +{ + QCT_PROVIDER = 0, + QCT_LAYERED = 1 +} QueryCategoryType; + + +// This interface should be implemented by clients performing async queries... +[ + object, + uuid(5f6c1ba8-5330-422e-a368-572b244d3f87), + helpstring("IFunctionDiscoveryNotification Interface"), + pointer_default(unique) +] +interface IFunctionDiscoveryNotification : IUnknown +{ + HRESULT OnUpdate( + [in] QueryUpdateAction enumQueryUpdateAction, + [in] FDQUERYCONTEXT fdqcQueryContext, + [in] IFunctionInstance * pIFunctionInstance); + HRESULT OnError( + [in] HRESULT hr, + [in] FDQUERYCONTEXT fdqcQueryContext, + [in, string] const WCHAR * pszProvider); + HRESULT OnEvent( + [in] DWORD dwEventID, + [in] FDQUERYCONTEXT fdqcQueryContext, + [in, string] const WCHAR * pszProvider); +}; + + +[ + object, + uuid(4df99b70-e148-4432-b004-4c9eeb535a5e), + helpstring("IFunctionDiscovery Interface"), + pointer_default(unique), + restricted +] +interface IFunctionDiscovery : IUnknown +{ + // Discovery + HRESULT GetInstanceCollection( + [in, string] const WCHAR * pszCategory, + [in, string, unique] const WCHAR * pszSubCategory, + [in] BOOL fIncludeAllSubCategories, + [out, retval] IFunctionInstanceCollection ** ppIFunctionInstanceCollection); + + HRESULT GetInstance( + [in, string] const WCHAR * pszFunctionInstanceIdentity, + [out, retval] IFunctionInstance ** ppIFunctionInstance); + + HRESULT CreateInstanceCollectionQuery( + [in, string] const WCHAR * pszCategory, + [in, string, unique] const WCHAR * pszSubCategory, + [in] BOOL fIncludeAllSubCategories, + [in] IFunctionDiscoveryNotification * pIFunctionDiscoveryNotification, + [in, out, unique] FDQUERYCONTEXT * pfdqcQueryContext, + [out, retval] IFunctionInstanceCollectionQuery ** ppIFunctionInstanceCollectionQuery); + + HRESULT CreateInstanceQuery( + [in, string] const WCHAR * pszFunctionInstanceIdentity, + [in] IFunctionDiscoveryNotification * pIFunctionDiscoveryNotification, + [in, out, unique] FDQUERYCONTEXT * pfdqcQueryContext, + [out, retval] IFunctionInstanceQuery ** ppIFunctionInstanceQuery); + + // Provider Specific + HRESULT AddInstance( + [in] SystemVisibilityFlags enumSystemVisibility, + [in, string] const WCHAR * pszCategory, + [in, string, unique] const WCHAR * pszSubCategory, + [in, string] const WCHAR * pszCategoryIdentity, + [out, retval] IFunctionInstance ** ppIFunctionInstance ); + + HRESULT RemoveInstance( + [in] SystemVisibilityFlags enumSystemVisibility, + [in, string] const WCHAR * pszCategory, + [in, string, unique] const WCHAR * pszSubCategory, + [in, string] const WCHAR * pszCategoryIdentity); +}; + + +[ + object, + uuid(33591c10-0bed-4f02-b0ab-1530d5533ee9), + helpstring("IFunctionInstance Interface"), + pointer_default(unique) +] +interface IFunctionInstance : IServiceProvider +{ + // Meta Data + HRESULT GetID( + [out, string, retval] WCHAR ** ppszCoMemIdentity); + + HRESULT GetProviderInstanceID( + [out, string, retval] WCHAR ** ppszCoMemProviderInstanceIdentity); + + HRESULT OpenPropertyStore( + [in] DWORD dwStgAccess, + [out, retval] IPropertyStore ** ppIPropertyStore); + + // Meta Data + HRESULT GetCategory( + [out, string] WCHAR ** ppszCoMemCategory, + [out, string] WCHAR ** ppszCoMemSubCategory); + +}; + + +[ + object, + uuid(f0a3d895-855c-42a2-948d-2f97d450ecb1), + helpstring("IFunctionInstanceCollection Interface"), + pointer_default(unique), + restricted +] +interface IFunctionInstanceCollection : IUnknown +{ + HRESULT GetCount( + [out, retval] DWORD * pdwCount ); + HRESULT Get( + [in, string] const WCHAR * pszInstanceIdentity, + [out] DWORD * pdwIndex, + [out, retval] IFunctionInstance ** ppIFunctionInstance ); + HRESULT Item( + [in] DWORD dwIndex, + [out, retval] IFunctionInstance ** ppIFunctionInstance ); + HRESULT Add( + [in] IFunctionInstance * pIFunctionInstance ); + HRESULT Remove( + [in] DWORD dwIndex, + [out, retval] IFunctionInstance ** ppIFunctionInstance ); + HRESULT Delete( + [in] DWORD dwIndex ); + HRESULT DeleteAll(); +}; + +[ + object, + uuid(D14D9C30-12D2-42d8-BCE4-C60C2BB226FA), + helpstring("IPropertyStoreCollection Interface"), + pointer_default(unique) +] +interface IPropertyStoreCollection : IUnknown +{ + HRESULT GetCount( + [out, retval] LPDWORD pdwCount ); + HRESULT Get( + [in, string] const WCHAR * pszInstanceIdentity, + [out] LPDWORD pdwIndex, + [out, retval] IPropertyStore** ppIPropertyStore); + HRESULT Item( + [in] DWORD dwIndex, + [out, retval] IPropertyStore ** ppIPropertyStore); + HRESULT Add( + [in] IPropertyStore * pIPropertyStore); + HRESULT Remove( + [in] DWORD dwIndex, + [out, retval] IPropertyStore** pIPropertyStore); + HRESULT Delete( + [in] DWORD dwIndex ); + HRESULT DeleteAll(); +}; + + +///////////////////////////////// +// Query interfaces +///////////////////////////////// +[ + object, + uuid(6242bc6b-90ec-4b37-bb46-e229fd84ed95), + helpstring("IFunctionInstanceQuery Interface"), + pointer_default(unique), + restricted +] +interface IFunctionInstanceQuery : IUnknown +{ + HRESULT Execute( + [out, retval] IFunctionInstance ** ppIFunctionInstance ); +}; + +[ + object, + uuid(57cc6fd2-c09a-4289-bb72-25f04142058e), + helpstring("IFunctionInstanceCollectionQuery Interface"), + pointer_default(unique), + restricted +] +interface IFunctionInstanceCollectionQuery : IUnknown +{ + HRESULT AddQueryConstraint( + [in, string] const WCHAR * pszConstraintName, + [in, string] const WCHAR * pszConstraintValue ); + HRESULT AddPropertyConstraint( + [in] REFPROPERTYKEY Key, + [in] const PROPVARIANT * pv, + [in] PropertyConstraint enumPropertyConstraint); + HRESULT Execute( + [out] IFunctionInstanceCollection ** ppIFunctionInstanceCollection ); +}; + +cpp_quote("#include \"FunctionDiscoveryNotification.h\"") + + +cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */") +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoverycategories.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoverycategories.h new file mode 100644 index 0000000000000000000000000000000000000000..5bef3deb3c715e75c2821099d4b90ffe27031d15 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoverycategories.h @@ -0,0 +1,72 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + +// ***************************************************************************** +// Important: Anything added here should also be added to FunctionDiscoveryManagedKeys.h +// ***************************************************************************** + +#pragma once +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#define FD_SUBKEY L"SOFTWARE\\Microsoft\\Function Discovery\\" +#define FD_SUBKEY_CATEGORIES FD_SUBKEY L"Categories\\" + +// ***************************************************************************** +// Function Discovery Categories +// ***************************************************************************** +// Important: Anything added here should also be added to FunctionDiscoveryManagedKeys.h +// ***************************************************************************** + +// Provider Categories +// Windows Vista +#define FCTN_CATEGORY_PNP L"Provider\\Microsoft.Base.PnP" +#define FCTN_CATEGORY_REGISTRY L"Provider\\Microsoft.Base.Registry" +#define FCTN_CATEGORY_SSDP L"Provider\\Microsoft.Networking.SSDP" +#define FCTN_CATEGORY_WSDISCOVERY L"Provider\\Microsoft.Networking.WSD" +#define FCTN_CATEGORY_NETBIOS L"Provider\\Microsoft.Networking.Netbios" +#define FCTN_CATEGORY_WCN L"Provider\\Microsoft.Networking.WCN" +#define FCTN_CATEGORY_PUBLICATION L"Provider\\Microsoft.Base.Publication" +#define FCTN_CATEGORY_PNPXASSOCIATION L"Provider\\Microsoft.PnPX.Association" +// Wireless Update Release +#define FCTN_CATEGORY_BT L"Provider\\Microsoft.Devices.Bluetooth" +#define FCTN_CATEGORY_WUSB L"Provider\\Microsoft.Devices.WirelessUSB" +#define FCTN_CATEGORY_DEVICEDISPLAYOBJECTS L"Provider\\Microsoft.Base.DeviceDisplayObjects" +#define FCTN_CATEGORY_DEVQUERYOBJECTS L"Provider\\Microsoft.Base.DevQueryObjects" + +// Layered Categories +// Windows Vista +#define FCTN_CATEGORY_NETWORKDEVICES L"Layered\\Microsoft.Networking.Devices" +#define FCTN_CATEGORY_DEVICES L"Layered\\Microsoft.Base.Devices" +#define FCTN_CATEGORY_DEVICEFUNCTIONENUMERATORS L"Layered\\Microsoft.Devices.FunctionEnumerators" +#define FCTN_CATEGORY_DEVICEPAIRING L"Layered\\Microsoft.Base.DevicePairing" + +// ***************************************************************************** +// Function Discovery SubCategories +// ***************************************************************************** +// Important: Anything added here should also be added to FunctionDiscoveryManagedKeys.h +// ***************************************************************************** + +// Subcategories of Devices FCTN_CATEGORY_DEVICES +#define FCTN_SUBCAT_DEVICES_WSDPRINTERS L"WSDPrinters" + +// Subcategories of Devices FCTN_CATEGORY_NETWORKDEVICES +#define FCTN_SUBCAT_NETWORKDEVICES_SSDP L"SSDP" +#define FCTN_SUBCAT_NETWORKDEVICES_WSD L"WSD" + +// Subcategories of Registry +#define FCTN_SUBCAT_REG_PUBLICATION L"Publication" +#define FCTN_SUBCAT_REG_DIRECTED L"Directed" + +// ***************************************************************************** +// Important: Anything added here should also be added to FunctionDiscoveryManagedKeys.h +// ***************************************************************************** + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryconstraints.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryconstraints.h new file mode 100644 index 0000000000000000000000000000000000000000..0c40a3382bd48c3ff3ba32b92e94331d7378fcba --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryconstraints.h @@ -0,0 +1,154 @@ +#pragma once + +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + + +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +/////////////////////////////////////////////////////////////////////////////// +// QUERY Constraint defines +/////////////////////////////////////////////////////////////////////////////// + +#define MAX_FDCONSTRAINTNAME_LENGTH 100 +#define MAX_FDCONSTRAINTVALUE_LENGTH 1000 + +// Common Provider specific Constraints +#define FD_QUERYCONSTRAINT_PROVIDERINSTANCEID L"ProviderInstanceID" +#define FD_QUERYCONSTRAINT_SUBCATEGORY L"Subcategory" +#define FD_QUERYCONSTRAINT_RECURSESUBCATEGORY L"RecurseSubcategory" +#define FD_QUERYCONSTRAINT_VISIBILITY L"Visibility" + // FD_CONSTRAINTVALUE_VISIBILITY_DEFAULT you want just default instances (visible as defined by the provider) + // FD_CONSTRAINTVALUE_VISIBILITY_ALL (default) you want both visible and not visible/hidden instances (as defined by the provider) +#define FD_QUERYCONSTRAINT_COMCLSCONTEXT L"COMClsContext" +#define FD_QUERYCONSTRAINT_ROUTINGSCOPE L"RoutingScope" + +// Common Provider specific Constraints values +#define FD_CONSTRAINTVALUE_TRUE L"TRUE" +#define FD_CONSTRAINTVALUE_FALSE L"FALSE" +#define FD_CONSTRAINTVALUE_RECURSESUBCATEGORY_TRUE FD_CONSTRAINTVALUE_TRUE +#define FD_CONSTRAINTVALUE_VISIBILITY_DEFAULT L"0" +#define FD_CONSTRAINTVALUE_VISIBILITY_ALL L"1" +#define FD_CONSTRAINTVALUE_COMCLSCONTEXT_INPROC_SERVER L"1" +#define FD_CONSTRAINTVALUE_COMCLSCONTEXT_LOCAL_SERVER L"4" + +#define FD_CONSTRAINTVALUE_PAIRED L"Paired" +#define FD_CONSTRAINTVALUE_UNPAIRED L"UnPaired" +#define FD_CONSTRAINTVALUE_ALL L"All" + +#define FD_CONSTRAINTVALUE_ROUTINGSCOPE_ALL L"All" +#define FD_CONSTRAINTVALUE_ROUTINGSCOPE_DIRECT L"Direct" + +/////////////////////////////////////////////////////////////////////////////// +// Provider inquiry constraints +#define FD_QUERYCONSTRAINT_PAIRING_STATE L"PairingState" + // if unset, provider default is FD_CONSTRAINTVALUE_PAIRED + // FD_CONSTRAINTVALUE_PAIRED will return all paired devices + // FD_CONSTRAINTVALUE_UNPAIRED will return all unpaired devices within wireless or wired range + // FD_CONSTRAINTVALUE_ALL will return all devices cached and within wireless or wired range +#define FD_QUERYCONSTRAINT_INQUIRY_TIMEOUT L"InquiryModeTimeout" // #seconds 6-600 supported, default is 300 + +/////////////////////////////////////////////////////////////////////////////// +// PNP Provider specific Constraints +#define PROVIDERPNP_QUERYCONSTRAINT_INTERFACECLASS L"InterfaceClass" +#define PROVIDERPNP_QUERYCONSTRAINT_NOTPRESENT L"NotPresent" +#define PROVIDERPNP_QUERYCONSTRAINT_NOTIFICATIONSONLY L"NotifyOnly" + // PNP_CONSTRAINTVALUE_NOTPRESENT you want "not present" instances as well + // "FALSE" (default) you want only DIGCF_PRESENT instances. +// PNP Provider specific Constraints values +#define PNP_CONSTRAINTVALUE_NOTPRESENT FD_CONSTRAINTVALUE_TRUE +#define PNP_CONSTRAINTVALUE_NOTIFICATIONSONLY FD_CONSTRAINTVALUE_TRUE + +/////////////////////////////////////////////////////////////////////////////// +// SSDP Provider specific Constraints +#define PROVIDERSSDP_QUERYCONSTRAINT_TYPE L"Type" +#define PROVIDERSSDP_QUERYCONSTRAINT_CUSTOMXMLPROPERTY L"CustomXmlProperty" + +// SSDP Provider specific Constraints values +#define SSDP_CONSTRAINTVALUE_TYPE_ALL L"ssdp:all" +#define SSDP_CONSTRAINTVALUE_TYPE_ROOT L"upnp:rootdevice" +#define SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"urn:schemas-upnp-org:device:" +#define SSDP_CONSTRAINTVALUE_TYPE_SVC_PREFIX L"urn:schemas-upnp-org:service:" + +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_LIGHTING SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"Lighting:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_REMINDER SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"Reminder:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_POWERDEVICE SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"PowerDevice:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_IGD SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"InternetGatewayDevice:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_WANDEVICE SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"WANDevice:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_LANDEVICE SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"LANDevice:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_WANCONNDEVICE SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"WANConnectionDevice:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_LUXMETER SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"Luxmeter:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_MDARNDR SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"MediaRenderer:1" +#define SSDP_CONSTRAINTVALUE_TYPE_DEV_MDASRVR SSDP_CONSTRAINTVALUE_TYPE_DEVICE_PREFIX L"MediaServer:1" + +#define SSDP_CONSTRAINTVALUE_TYPE_SVC_SCANNER SSDP_CONSTRAINTVALUE_TYPE_SVC_PREFIX L"Scanner:1" +#define SSDP_CONSTRAINTVALUE_TYPE_SVC_DIMMING SSDP_CONSTRAINTVALUE_TYPE_SVC_PREFIX L"DimmingService:1" + +/////////////////////////////////////////////////////////////////////////////// +// WSD Provider specific Constraints +#define PROVIDERWSD_QUERYCONSTRAINT_DIRECTEDADDRESS L"RemoteAddress" +#define PROVIDERWSD_QUERYCONSTRAINT_TYPE L"Type" +#define PROVIDERWSD_QUERYCONSTRAINT_SCOPE L"Scope" +#define PROVIDERWSD_QUERYCONSTRAINT_SECURITY_REQUIREMENTS L"SecurityRequirements" +#define PROVIDERWSD_QUERYCONSTRAINT_SSL_CERT_FOR_CLIENT_AUTH L"SSLClientAuthCert" +#define PROVIDERWSD_QUERYCONSTRAINT_SSL_CERTHASH_FOR_SERVER_AUTH L"SSLServerAuthCertHash" + +// WSD provider specific Constraint values +#define WSD_CONSTRAINTVALUE_REQUIRE_SECURECHANNEL L"1" +#define WSD_CONSTRAINTVALUE_REQUIRE_SECURECHANNEL_AND_COMPACTSIGNATURE L"2" +#define WSD_CONSTRAINTVALUE_NO_TRUST_VERIFICATION L"3" + +/////////////////////////////////////////////////////////////////////////////// +// NetBios Provider specific Constraints +#define PROVIDERWNET_QUERYCONSTRAINT_TYPE L"Type" +#define PROVIDERWNET_QUERYCONSTRAINT_PROPERTIES L"Properties" +#define PROVIDERWNET_QUERYCONSTRAINT_RESOURCETYPE L"ResourceType" + +#define WNET_CONSTRAINTVALUE_TYPE_ALL L"All" +#define WNET_CONSTRAINTVALUE_TYPE_SERVER L"Server" // Default +#define WNET_CONSTRAINTVALUE_TYPE_DOMAIN L"Domain" + +#define WNET_CONSTRAINTVALUE_PROPERTIES_ALL L"All" +#define WNET_CONSTRAINTVALUE_PROPERTIES_LIMITED L"Limited" // Default + +#define WNET_CONSTRAINTVALUE_RESOURCETYPE_DISK L"Disk" // All non-printer shares (dwDisplayType == RESOURCEDISPLAYTYPE_SHARE and dwType != RESOURCETYPE_PRINT) +#define WNET_CONSTRAINTVALUE_RESOURCETYPE_PRINTER L"Printer" // All printer shares (dwDisplayType == RESOURCEDISPLAYTYPE_SHARE and dwType == RESOURCETYPE_PRINT) +#define WNET_CONSTRAINTVALUE_RESOURCETYPE_DISKORPRINTER L"DiskOrPrinter" // All shares (dwDisplayType == RESOURCEDISPLAYTYPE_SHARE) + +#define ONLINE_PROVIDER_DEVICES_QUERYCONSTRAINT_OWNERNAME L"OwnerName" + +/////////////////////////////////////////////////////////////////////////////// +// Device Display Object Provider specific Constraints +#define PROVIDERDDO_QUERYCONSTRAINT_DEVICEFUNCTIONDISPLAYOBJECTS L"DeviceFunctionDisplayObjects" +#define PROVIDERDDO_QUERYCONSTRAINT_ONLYCONNECTEDDEVICES L"OnlyConnectedDevices" +#define PROVIDERDDO_QUERYCONSTRAINT_DEVICEINTERFACES L"DeviceInterfaces" + +/////////////////////////////////////////////////////////////////////////////// +// PROPERTY Constraint defines +/////////////////////////////////////////////////////////////////////////////// + +#ifndef FDPropertyConstraint +typedef enum tagPropertyConstraint +{ + QC_EQUALS = 0, + QC_NOTEQUAL = 1, + QC_LESSTHAN = 2, + QC_LESSTHANOREQUAL = 3, + QC_GREATERTHAN = 4, + QC_GREATERTHANOREQUAL = 5, + QC_STARTSWITH = 6, // Strings only + QC_EXISTS = 7, + QC_DOESNOTEXIST = 8, + QC_CONTAINS = 9 // Strings and VT_VECTOR only +} PropertyConstraint; +#endif + + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion + diff --git a/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryerror.h b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryerror.h new file mode 100644 index 0000000000000000000000000000000000000000..730a29e42c39da62a77626d657b797bffe504167 --- /dev/null +++ b/miniMSVC/Windows Kits/10/Include/10.0.26100.0/um/functiondiscoveryerror.h @@ -0,0 +1,83 @@ +// +// Copyright (C) Microsoft. All rights reserved. +// +#pragma once +#include + +#pragma region Desktop Family +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + + +#include + +// Error codes +// +// + +// MessageId: E_FDPAIRING_NOCONNECTION +// +// MessageText: +// +// The device has rejected the connection. +// +#define E_FDPAIRING_NOCONNECTION _HRESULT_TYPEDEF_(0x8FD00001L) + +// MessageId: E_FDPAIRING_NOCONNECTION +// +// MessageText: +// +// The device has indicated a hardware failure. +// +#define E_FDPAIRING_HWFAILURE _HRESULT_TYPEDEF_(0x8FD00002L) + +// MessageId: E_FDPAIRING_AUTHFAILURE +// +// MessageText: +// +// The device authentication has failed. Either the device has rejected the authentication or you rejected the authentication. +// +#define E_FDPAIRING_AUTHFAILURE _HRESULT_TYPEDEF_(0x8FD00003L) + +// MessageId: E_FDPAIRING_CONNECTTIMEOUT +// +// MessageText: +// +// The time to finish the authentication has expired on the device. +// +#define E_FDPAIRING_CONNECTTIMEOUT _HRESULT_TYPEDEF_(0x8FD00004L) + +// MessageId: E_FDPAIRING_TOOMANYCONNECTIONS +// +// MessageText: +// +// The device has indicated that it cannot accept more incoming connections. +// +#define E_FDPAIRING_TOOMANYCONNECTIONS _HRESULT_TYPEDEF_(0x8FD00005L) + +// MessageId: E_FDPAIRING_AUTHNOTALLOWED +// +// MessageText: +// +// The device has indicated that the authentication is not allowed. +// +#define E_FDPAIRING_AUTHNOTALLOWED _HRESULT_TYPEDEF_(0x8FD00006L) + +// MessageId: E_FDPAIRING_AUTHNOTALLOWED +// +// MessageText: +// +// The Pnp-X Bus Enumerator service is disabled. +// +#define E_FDPAIRING_IPBUSDISABLED _HRESULT_TYPEDEF_(0x8FD00007L) + +// MessageId: E_FDPAIRING_NOPROFILES +// +// MessageText: +// +// Windows does not have any network profiles for this device to use. +// +#define E_FDPAIRING_NOPROFILES _HRESULT_TYPEDEF_(0x8FD00008L) + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ +#pragma endregion +