From 97cf5197cf5b882b2c689d8dc2b555f2edf8f418 Mon Sep 17 00:00:00 2001 From: Dave Wilson Date: Tue, 17 Mar 2015 19:50:07 -0700 Subject: Initial publish --- wpd/WpdServiceSampleDriver/WpdObjectManagement.h | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 wpd/WpdServiceSampleDriver/WpdObjectManagement.h (limited to 'wpd/WpdServiceSampleDriver/WpdObjectManagement.h') diff --git a/wpd/WpdServiceSampleDriver/WpdObjectManagement.h b/wpd/WpdServiceSampleDriver/WpdObjectManagement.h new file mode 100644 index 00000000..b7a8413c --- /dev/null +++ b/wpd/WpdServiceSampleDriver/WpdObjectManagement.h @@ -0,0 +1,27 @@ +#pragma once + +class WpdObjectManagement +{ +public: + WpdObjectManagement(); + ~WpdObjectManagement(); + + HRESULT Initialize(_In_ FakeDevice* m_pDevice); + + HRESULT DispatchWpdMessage( + _In_ REFPROPERTYKEY Command, + _In_ IPortableDeviceValues* pParams, + _In_ IPortableDeviceValues* pResults); + + + HRESULT OnCreateObjectWithPropertiesOnly( + _In_ IPortableDeviceValues* pParams, + _In_ IPortableDeviceValues* pResults); + + HRESULT OnDelete( + _In_ IPortableDeviceValues* pParams, + _In_ IPortableDeviceValues* pResults); + +private: + FakeDevice* m_pDevice; +}; -- cgit v1.3.1