Rename BixV Reader to VivoKey Smart Reader
This commit is contained in:
36
virtualsmartcard/win32/VivoKeySmartReader/Queue.h
Normal file
36
virtualsmartcard/win32/VivoKeySmartReader/Queue.h
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
class ATL_NO_VTABLE CMyQueue :
|
||||
public CComObjectRootEx<CComMultiThreadModel>,
|
||||
public IQueueCallbackDeviceIoControl
|
||||
{
|
||||
public:
|
||||
virtual ~CMyQueue();
|
||||
|
||||
DECLARE_NOT_AGGREGATABLE(CMyQueue)
|
||||
|
||||
BEGIN_COM_MAP(CMyQueue)
|
||||
COM_INTERFACE_ENTRY(IQueueCallbackDeviceIoControl)
|
||||
END_COM_MAP()
|
||||
|
||||
static HRESULT CreateInstance(__in IWDFDevice* pWdfDevice, CMyDevice* pMyDevice);
|
||||
|
||||
protected:
|
||||
CMyQueue();
|
||||
|
||||
// COM Interface methods
|
||||
public:
|
||||
// IQueueCallbackDeviceIoControl
|
||||
STDMETHOD_ (void, OnDeviceIoControl)(
|
||||
__in IWDFIoQueue* pQueue,
|
||||
__in IWDFIoRequest* pRequest,
|
||||
__in ULONG ControlCode,
|
||||
SIZE_T InputBufferSizeInBytes,
|
||||
SIZE_T OutputBufferSizeInBytes
|
||||
);
|
||||
|
||||
private:
|
||||
CMyDevice* m_pParentDevice; // Parent device object
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user