ReactOS 0.4.16-dev-297-gc569aee
rtminiport.cpp File Reference
#include "rtminiport.h"
#include "rtstream.h"
Include dependency graph for rtminiport.cpp:

Go to the source code of this file.

Macros

#define STR_MODULENAME   "AC97 RT Miniport: "
 

Functions

 IMP_CMiniport (CAC97MiniportWaveRT, IID_IMiniportRT) NTSTATUS CreateAC97MiniportWaveRT(OUT PUNKNOWN *Unknown
 
IN IN PUNKNOWN UnknownOuter _When_ ((PoolType &NonPagedPoolMustSucceed) !=0, __drv_reportError("Must succeed pool allocations are forbidden. " "Allocation failures cause a system crash")) IN POOL_TYPE PoolType)
 
 STDMETHODIMP_ (NTSTATUS) CAC97MiniportWaveRT
 

Variables

IN REFCLSID
 
IN IN PUNKNOWN UnknownOuter OPTIONAL
 

Macro Definition Documentation

◆ STR_MODULENAME

#define STR_MODULENAME   "AC97 RT Miniport: "

Definition at line 11 of file rtminiport.cpp.

Function Documentation

◆ _When_()

IN IN PUNKNOWN UnknownOuter _When_ ( (PoolType &NonPagedPoolMustSucceed) !  = 0,
__drv_reportError("Must succeed pool allocations are forbidden. " "Allocation failures cause a system crash")   
)

Definition at line 35 of file rtminiport.cpp.

40{
41 PAGED_CODE ();
42
44
45 DOUT (DBG_PRINT, ("[CreateMiniportWaveRT]"));
46
47 STD_CREATE_BODY_WITH_TAG_(CAC97MiniportWaveRT,Unknown,UnknownOuter,PoolType,
49}
#define PAGED_CODE()
#define DOUT(lvl, strings)
Definition: debug.h:82
@ Unknown
Definition: i8042prt.h:114
#define ASSERT(a)
Definition: mode.c:44
IMiniportWaveRT * PMINIPORTWAVERT
Definition: portcls.h:1983
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3815
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG PoolTag
Definition: wdfmemory.h:164
#define DBG_PRINT(ppi, ch, level)
Definition: win32kdebug.h:169

◆ IMP_CMiniport()

IMP_CMiniport ( CAC97MiniportWaveRT  ,
IID_IMiniportRT   
)

◆ STDMETHODIMP_()

STDMETHODIMP_ ( NTSTATUS  )

Definition at line 58 of file rtminiport.cpp.

64{
65 PAGED_CODE ();
66
67 return CMiniport::Init(
68 UnknownAdapter,
70 Port_
71 );
72}
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
Definition: wdfresource.h:309

Variable Documentation

◆ OPTIONAL

IN IN PUNKNOWN UnknownOuter OPTIONAL

Definition at line 34 of file rtminiport.cpp.

◆ REFCLSID

IN REFCLSID

Definition at line 33 of file rtminiport.cpp.