ReactOS  0.4.13-dev-455-g28ed234
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 143 of file unregister.cpp.

145 {
148  if (!This)
150 
151  Status = This->QueryInterface(IID_IUnregisterSubdevice, (PVOID*)OutDevice);
152  if (!NT_SUCCESS(Status))
153  {
154  delete This;
155  return Status;
156  }
157 
158  *OutDevice = (PUNREGISTERSUBDEVICE)This;
159  return Status;
160 }
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define TAG_PORTCLASS
Definition: private.hpp:24
LONG NTSTATUS
Definition: precomp.h:26
IUnregisterSubdevice * PUNREGISTERSUBDEVICE
Definition: portcls.h:633
smooth NULL
Definition: ftsmooth.c:416
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
Status
Definition: gdiplustypes.h:24

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