diff options
| author | zlockard <[email protected]> | 2024-01-31 13:45:54 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-31 13:45:54 -0800 |
| commit | 24f280dc4a700f00f5fbb8f13815b941620adb8e (patch) | |
| tree | 63243812757e456aadf9fb4cbf07277b1d22eccf /wpd/WpdServiceSampleDriver/FakeContactsService.h | |
| parent | c657bc76ca6cf64660e12efe2d07a100055d98c0 (diff) | |
Fixes for sample build errors and updates to the execution script to use new build flags (#1078)
* Fixes for sample build errors
* Fix additional sample
* Add additional sample
* Updated comments in Build-Sample.ps1
* Adjusting exclusions.csv to be accurate for GE. Still issues for NI that we need to understand better
* Merge from develop branch
* Merge from develop branch
* Merge from develop branch
* Delete WPD samples
* Separate infverif additional options for old vs new WDK
* Delete WPD samples entry in our CODEOWNERS file
* Fix spelling error
* For 22621 WDK Remove the /samples flag
---------
Co-authored-by: Zac Lockard <[email protected]>
Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
Diffstat (limited to 'wpd/WpdServiceSampleDriver/FakeContactsService.h')
| -rw-r--r-- | wpd/WpdServiceSampleDriver/FakeContactsService.h | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/wpd/WpdServiceSampleDriver/FakeContactsService.h b/wpd/WpdServiceSampleDriver/FakeContactsService.h deleted file mode 100644 index 23522c07..00000000 --- a/wpd/WpdServiceSampleDriver/FakeContactsService.h +++ /dev/null @@ -1,101 +0,0 @@ -#pragma once - -/** - * This class represents an abstraction of a contacts service that implements - * the full enumeration sync model. - * Driver implementors should replace this with their own - * device I/O classes/libraries. - */ - -class FakeContactsService -{ -public: - FakeContactsService() : RequestFilename(CONTACTS_SERVICE_OBJECT_ID) - { - } - - ~FakeContactsService() - { - } - - // Capabilities - HRESULT GetSupportedCommands( - _In_ IPortableDeviceKeyCollection* pCommands); - - HRESULT GetCommandOptions( - _In_ REFPROPERTYKEY Command, - _In_ IPortableDeviceValues* pOptions); - - HRESULT GetSupportedMethods( - _In_ IPortableDevicePropVariantCollection* pMethods); - - BOOL IsMethodSupported( - _In_ REFGUID Method); - - HRESULT GetSupportedMethodsByFormat( - _In_ REFGUID Format, - _In_ IPortableDevicePropVariantCollection* pMethods); - - HRESULT GetMethodAttributes( - _In_ REFGUID Method, - _In_ IPortableDeviceValues* pAttributes); - - HRESULT GetMethodParameterAttributes( - _In_ REFPROPERTYKEY Parameter, - _In_ IPortableDeviceValues* pAttributes); - - HRESULT GetSupportedFormats( - _In_ IPortableDevicePropVariantCollection* pFormats); - - HRESULT GetFormatAttributes( - _In_ REFGUID Format, - _In_ IPortableDeviceValues* pAttributes); - - HRESULT GetSupportedFormatProperties( - _In_ REFGUID Format, - _In_ IPortableDeviceKeyCollection* pKeys); - - HRESULT GetPropertyAttributes( - _In_ REFGUID Format, - _In_ REFPROPERTYKEY Property, - _In_ IPortableDeviceValues* pAttributes); - - HRESULT GetSupportedEvents( - _In_ IPortableDevicePropVariantCollection* pEvents); - - HRESULT GetEventAttributes( - _In_ REFGUID Event, - _In_ IPortableDeviceValues* pAttributes); - - HRESULT GetEventParameterAttributes( - _In_ REFPROPERTYKEY Parameter, - _In_ IPortableDeviceValues* pAttributes); - - HRESULT GetInheritedServices( - const DWORD dwInheritanceType, - _In_ IPortableDevicePropVariantCollection* pServices); - - // Methods - HRESULT OnBeginSync( - _In_ IPortableDeviceValues* pParams, - _In_ IPortableDeviceValues* pResults); - - HRESULT OnEndSync( - _In_ IPortableDeviceValues* pParams, - _In_ IPortableDeviceValues* pResults); - - HRESULT OnMyCustomMethod( - _In_ IPortableDeviceValues* pParams, - _In_ IPortableDeviceValues* pResults, - _In_ IPortableDeviceValues* pEventParameters); - - LPCWSTR GetRequestFilename() - { - return RequestFilename.GetString(); - } - -private: - CAtlStringW RequestFilename; -}; - - |
