ReactOS 0.4.15-dev-7942-gd23573b
unregister.cpp File Reference
#include "private.hpp"
#include <debug.h>
Include dependency graph for unregister.cpp:

Go to the source code of this file.

Classes

class  CUnregisterSubdevice
 

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI NewIUnregisterSubdevice (OUT PUNREGISTERSUBDEVICE *OutDevice)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file unregister.cpp.

Function Documentation

◆ NewIUnregisterSubdevice()

NTSTATUS NTAPI NewIUnregisterSubdevice ( OUT PUNREGISTERSUBDEVICE OutDevice)

Definition at line 119 of file unregister.cpp.

121{
124 if (!This)
126
127 Status = This->QueryInterface(IID_IUnregisterSubdevice, (PVOID*)OutDevice);
128 if (!NT_SUCCESS(Status))
129 {
130 delete This;
131 return Status;
132 }
133
134 *OutDevice = (PUNREGISTERSUBDEVICE)This;
135 return Status;
136}
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define NonPagedPool
Definition: env_spec_w32.h:307
Status
Definition: gdiplustypes.h:25
IUnregisterSubdevice * PUNREGISTERSUBDEVICE
Definition: portcls.h:635
#define TAG_PORTCLASS
Definition: private.hpp:24
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158

Referenced by CPortDMus::QueryInterface(), CPortTopology::QueryInterface(), CPortWaveCyclic::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveRT::QueryInterface().