summaryrefslogtreecommitdiff
path: root/wpd/WpdServiceSampleDriver/WpdObjectManagement.h
diff options
context:
space:
mode:
Diffstat (limited to 'wpd/WpdServiceSampleDriver/WpdObjectManagement.h')
-rw-r--r--wpd/WpdServiceSampleDriver/WpdObjectManagement.h27
1 files changed, 27 insertions, 0 deletions
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;
+};