ReactOS  0.4.15-dev-4914-g2220e56
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 }
#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
Status
Definition: gdiplustypes.h:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define NULL
Definition: types.h:112

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