ReactOS 0.4.15-dev-7931-gfd331f1
common.hpp File Reference
#include "stdunk.h"
#include "portcls.h"
#include "dmusicks.h"
#include "ksdebug.h"
#include "kcom.h"
#include "interfaces.hpp"
#include "debug.hpp"
#include "cmireg.hpp"
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CCMIAdapter
 

Functions

PVOID __cdecl operator new (size_t size, POOL_TYPE pool_type, ULONG tag)
 
NTSTATUS NewCMIAdapter (PUNKNOWN *Unknown, REFCLSID, PUNKNOWN UnknownOuter, POOL_TYPE PoolType)
 

Function Documentation

◆ NewCMIAdapter()

NTSTATUS NewCMIAdapter ( PUNKNOWN Unknown,
REFCLSID  ,
PUNKNOWN  UnknownOuter,
POOL_TYPE  PoolType 
)

Definition at line 34 of file common.cpp.

35{
36 PAGED_CODE();
37 DBGPRINT(("NewCMIAdapter()"));
39 STD_CREATE_BODY_(CCMIAdapter, Unknown, UnknownOuter, PoolType, PCMIADAPTER);
40}
#define PAGED_CODE()
#define DBGPRINT(...)
Definition: pdo.c:21
ICMIAdapter * PCMIADAPTER
Definition: interfaces.hpp:261
@ Unknown
Definition: i8042prt.h:114
#define ASSERT(a)
Definition: mode.c:44
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3815

◆ operator new()

PVOID __cdecl operator new ( size_t  size,
POOL_TYPE  pool_type,
ULONG  tag 
)

Definition at line 16 of file miniport.cpp.

20{
22 if (P)
24 return P;
25}
#define P(row, col)
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4065
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533