ReactOS  0.4.15-dev-313-g8fde48b
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()"));
38  ASSERT (Unknown);
39  STD_CREATE_BODY_(CCMIAdapter, Unknown, UnknownOuter, PoolType, PCMIADAPTER);
40 }
#define DBGPRINT(...)
Definition: pdo.c:21
ICMIAdapter * PCMIADAPTER
Definition: interfaces.hpp:260
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Must_inspect_result_ _In_ FLT_CONTEXT_TYPE _In_ SIZE_T _In_ POOL_TYPE PoolType
Definition: fltkernel.h:1444
#define PAGED_CODE()

◆ operator new()

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

Definition at line 19 of file miniport.cpp.

23 {
25  if (P)
27  return P;
28 }
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define P(row, col)
IN ULONG IN ULONG Tag
Definition: evtlib.h:159
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:261
_Must_inspect_result_ _In_ FLT_CONTEXT_TYPE _In_ SIZE_T _In_ POOL_TYPE PoolType
Definition: fltkernel.h:1444