ReactOS 0.4.15-dev-5865-g640e228
port_wavertstream.cpp File Reference
#include "private.hpp"
#include <debug.h>
Include dependency graph for port_wavertstream.cpp:

Go to the source code of this file.

Classes

class  CPortWaveRTStreamInit
 

Macros

#define NDEBUG
 

Functions

NTSTATUS NewPortWaveRTStream (PPORTWAVERTSTREAM *OutStream)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file port_wavertstream.cpp.

Function Documentation

◆ NewPortWaveRTStream()

NTSTATUS NewPortWaveRTStream ( PPORTWAVERTSTREAM OutStream)

Definition at line 162 of file port_wavertstream.cpp.

164{
167 if (!This)
169
170 Status = This->QueryInterface(IID_IPortWaveRTStream, (PVOID*)OutStream);
171
172 if (!NT_SUCCESS(Status))
173 {
174 delete This;
175 return Status;
176 }
177
178 *OutStream = (PPORTWAVERTSTREAM)This;
179 return Status;
180}
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
IPortWaveRTStream * PPORTWAVERTSTREAM
Definition: portcls.h:1847
#define TAG_PORTCLASS
Definition: private.hpp:24
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158