ReactOS 0.4.15-dev-8241-g63935f8
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 11 of file port_wavertstream.cpp.

Function Documentation

◆ NewPortWaveRTStream()

NTSTATUS NewPortWaveRTStream ( PPORTWAVERTSTREAM OutStream)

Definition at line 157 of file port_wavertstream.cpp.

159{
162 if (!This)
164
165 Status = This->QueryInterface(IID_IPortWaveRTStream, (PVOID*)OutStream);
166
167 if (!NT_SUCCESS(Status))
168 {
169 delete This;
170 return Status;
171 }
172
173 *OutStream = (PPORTWAVERTSTREAM)This;
174 return Status;
175}
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