summaryrefslogtreecommitdiff
path: root/wpd/WpdWudfSampleDriver/WpdStorage.h
blob: a20c8e0615794f421d46ff5f4fc2d0aa9c010a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

class WpdStorage
{
public:
    WpdStorage();
    ~WpdStorage();

    HRESULT Initialize(_In_ FakeDevice *pFakeDevice);

    HRESULT DispatchWpdMessage(_In_ REFPROPERTYKEY          Command,
                               _In_ IPortableDeviceValues*  pParams,
                               _In_ IPortableDeviceValues*  pResults);

    HRESULT OnFormat(_In_ IPortableDeviceValues*  pParams,
                     _In_ IPortableDeviceValues*  pResults);

    HRESULT OnMoveObject(_In_ IPortableDeviceValues*  pParams,
                         _In_ IPortableDeviceValues*  pResults);

private:

    FakeDevice*                     m_pFakeDevice;
};