ReactOS  0.4.13-dev-482-ge57f103
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 181 of file port_wavertstream.cpp.

183 {
186  if (!This)
188 
189  Status = This->QueryInterface(IID_IPortWaveRTStream, (PVOID*)OutStream);
190 
191  if (!NT_SUCCESS(Status))
192  {
193  delete This;
194  return Status;
195  }
196 
197  *OutStream = (PPORTWAVERTSTREAM)This;
198  return Status;
199 }
IPortWaveRTStream * PPORTWAVERTSTREAM
Definition: portcls.h:1791
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define TAG_PORTCLASS
Definition: private.hpp:24
LONG NTSTATUS
Definition: precomp.h:26
smooth NULL
Definition: ftsmooth.c:416
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
Status
Definition: gdiplustypes.h:24