ReactOS 0.4.15-dev-8231-g29a56f3
minwave.hpp File Reference
#include "common.hpp"
#include "property.h"
Include dependency graph for minwave.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMiniportWaveCMI
 
class  CMiniportWaveStreamCMI
 

Macros

#define PC_IMPLEMENTATION
 

Functions

NTSTATUS CreateMiniportWaveStreamCMI (CMiniportWaveStreamCMI **MiniportWaveStreamCMI, PUNKNOWN pUnknownOuter, POOL_TYPE PoolType)
 

Macro Definition Documentation

◆ PC_IMPLEMENTATION

#define PC_IMPLEMENTATION

Definition at line 31 of file minwave.hpp.

Function Documentation

◆ CreateMiniportWaveStreamCMI()

NTSTATUS CreateMiniportWaveStreamCMI ( CMiniportWaveStreamCMI **  MiniportWaveStreamCMI,
PUNKNOWN  pUnknownOuter,
POOL_TYPE  PoolType 
)

Definition at line 906 of file minwave.cpp.

907{
908 PAGED_CODE();
909 DBGPRINT(("CreateMiniportWaveStreamCMI"));
910
911#ifdef WAVERT
912 *MiniportWaveStreamCMI = new (PoolType, 'gnaa') CMiniportWaveStreamCMI(NULL);
913#else
914 *MiniportWaveStreamCMI = new (PoolType, 'gnaa') CMiniportWaveStreamCMI(pUnknownOuter);
915#endif
916 if (*MiniportWaveStreamCMI) {
917 (*MiniportWaveStreamCMI)->AddRef();
918 return STATUS_SUCCESS;
919 }
920
922}
#define PAGED_CODE()
#define DBGPRINT(...)
Definition: pdo.c:21
#define NULL
Definition: types.h:112
#define STATUS_SUCCESS
Definition: shellext.h:65
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3815