diff options
| author | Wei Mao <[email protected]> | 2023-01-11 18:21:11 -0800 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2023-01-13 00:25:06 -0800 |
| commit | b617d6b6b37a1db17fa120065ab3189e91fbb440 (patch) | |
| tree | 1567a035ca630f36eb0a7bfd6cd7e75170155124 /usb/umdf_fx2/driver/ControlQueue.h | |
| parent | 5c647868e2f8968e2a490bc02da304020405fcce (diff) | |
[UMDF v1] Remove usb/umdf_filter_kmdf, usb/umdf_filter_umdf, usb/umdf_fx2
Diffstat (limited to 'usb/umdf_fx2/driver/ControlQueue.h')
| -rw-r--r-- | usb/umdf_fx2/driver/ControlQueue.h | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/usb/umdf_fx2/driver/ControlQueue.h b/usb/umdf_fx2/driver/ControlQueue.h deleted file mode 100644 index 251521e1..00000000 --- a/usb/umdf_fx2/driver/ControlQueue.h +++ /dev/null @@ -1,101 +0,0 @@ -/*++ - -Copyright (c) Microsoft Corporation, All Rights Reserved - -Module Name: - - ControlQueue.h - -Abstract: - - This file defines the queue callback object for handling device I/O - control requests. This is a serialized queue. - -Environment: - - Windows User-Mode Driver Framework (WUDF) - ---*/ - -#pragma once - -// -// Queue Callback Object. -// - -class CMyControlQueue : public IQueueCallbackDeviceIoControl, - public CMyQueue -{ - HRESULT - Initialize( - VOID - ); - -public: - - CMyControlQueue( - _In_ PCMyDevice Device - ); - - virtual - ~CMyControlQueue( - VOID - ) - { - return; - } - - static - HRESULT - CreateInstance( - _In_ PCMyDevice Device, - _Out_ PCMyControlQueue *Queue - ); - - HRESULT - Configure( - VOID - ) - { - return S_OK; - } - - IQueueCallbackDeviceIoControl * - QueryIQueueCallbackDeviceIoControl( - VOID - ) - { - AddRef(); - return static_cast<IQueueCallbackDeviceIoControl *>(this); - } - - // - // IUnknown - // - - STDMETHOD_(ULONG,AddRef) (VOID) {return CUnknown::AddRef();} - - _At_(this, __drv_freesMem(object)) - STDMETHOD_(ULONG,Release) (VOID) {return CUnknown::Release();} - - STDMETHOD_(HRESULT, QueryInterface)( - _In_ REFIID InterfaceId, - _Out_ PVOID *Object - ); - - // - // Wdf Callbacks - // - - // - // IQueueCallbackDeviceIoControl - // - STDMETHOD_ (void, OnDeviceIoControl)( - _In_ IWDFIoQueue *pWdfQueue, - _In_ IWDFIoRequest *pWdfRequest, - _In_ ULONG ControlCode, - _In_ SIZE_T InputBufferSizeInBytes, - _In_ SIZE_T OutputBufferSizeInBytes - ); -}; - |
