ReactOS 0.4.15-dev-5666-gc548b97
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 12 of file unregister.cpp.

Function Documentation

◆ NewIUnregisterSubdevice()

NTSTATUS NTAPI NewIUnregisterSubdevice ( OUT PUNREGISTERSUBDEVICE OutDevice)

Definition at line 122 of file unregister.cpp.

124{
127 if (!This)
129
130 Status = This->QueryInterface(IID_IUnregisterSubdevice, (PVOID*)OutDevice);
131 if (!NT_SUCCESS(Status))
132 {
133 delete This;
134 return Status;
135 }
136
137 *OutDevice = (PUNREGISTERSUBDEVICE)This;
138 return Status;
139}
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().