ReactOS 0.4.15-dev-7918-g2a2556c
fxdevicebaseum.cpp
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5Module Name:
6
7 FxDeviceBaseUm.cpp
8
9Abstract:
10
11 This is the class implementation for the base device class.
12
13Author:
14
15
16
17Environment:
18
19 User mode only
20
21Revision History:
22
23
24
25--*/
26
27#include "coreprivshared.hpp"
28
29extern "C" {
30#include "FxDeviceBaseUm.tmh"
31}
32
36 __in const GUID* InterfaceType,
42 )
43/*++
44
45Routine Description:
46 Send an IRP_MJPNP/IRP_MN_QUERY_INTERFACE irp to a device object and its
47 attached stack.
48
49Arguments:
50 InterfaceType - The type of interface to query for
51
52 Interface - The interface to fill out
53
54 Size - Size of Interface in bytes
55
56 Version - Version of the interface to be queried
57
58 InterfaceSpecificData - Addtional interface data to be queried
59
60 TargetDevice - device in the stack to send the query to. If NULL, the top
61 of the stack will receive the query.
62
63Return Value:
64 NTSTATUS as indicated by the handler of the QI with in the device stack,
65 STATUS_NOT_SUPPORTED if the QI is not handled.
66
67 --*/
68{
75
76 //
77 // Query interface is not implemented for UMDF yet
78 //
80}
81
LONG NTSTATUS
Definition: precomp.h:26
_Must_inspect_result_ NTSTATUS QueryForInterface(__in const GUID *InterfaceType, __out PINTERFACE Interface, __in USHORT Size, __in USHORT Version, __in PVOID InterfaceSpecificData, __in_opt MdDeviceObject TargetDevice=NULL)
#define __in
Definition: dbghelp.h:35
#define __in_opt
Definition: dbghelp.h:38
#define __out
Definition: dbghelp.h:62
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
unsigned short USHORT
Definition: pedump.c:61
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition: wdffdo.h:465
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
Definition: wdffdo.h:463
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
Definition: wdffdo.h:469
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT _In_opt_ PVOID InterfaceSpecificData
Definition: wdffdo.h:472
_Must_inspect_result_ __drv_aliasesMem PDEVICE_OBJECT _In_ PDEVICE_OBJECT TargetDevice
Definition: iofuncs.h:691