ReactOS  0.4.15-dev-5153-gfece68b
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 }
IPortWaveRTStream * PPORTWAVERTSTREAM
Definition: portcls.h:1845
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define TAG_PORTCLASS
Definition: private.hpp:24
LONG NTSTATUS
Definition: precomp.h:26
Status
Definition: gdiplustypes.h:24
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define NULL
Definition: types.h:112