summaryrefslogtreecommitdiff
path: root/wpd/WpdServiceSampleDriver/WpdObjectProperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'wpd/WpdServiceSampleDriver/WpdObjectProperties.h')
-rw-r--r--wpd/WpdServiceSampleDriver/WpdObjectProperties.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/wpd/WpdServiceSampleDriver/WpdObjectProperties.h b/wpd/WpdServiceSampleDriver/WpdObjectProperties.h
new file mode 100644
index 00000000..95a0f94c
--- /dev/null
+++ b/wpd/WpdServiceSampleDriver/WpdObjectProperties.h
@@ -0,0 +1,42 @@
+#pragma once
+
+class WpdObjectProperties
+{
+public:
+ WpdObjectProperties();
+ virtual ~WpdObjectProperties();
+
+ HRESULT Initialize(_In_ FakeDevice* pDevice);
+
+ HRESULT DispatchWpdMessage(
+ _In_ REFPROPERTYKEY Command,
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+ HRESULT OnGetSupportedProperties(
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+ HRESULT OnGetPropertyValues(
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+ HRESULT OnGetAllPropertyValues(
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+ HRESULT OnSetPropertyValues(
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+ HRESULT OnGetPropertyAttributes(
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+ HRESULT OnDeleteProperties(
+ _In_ IPortableDeviceValues* pParams,
+ _In_ IPortableDeviceValues* pResults);
+
+private:
+ FakeDevice* m_pDevice;
+};