ReactOS  0.4.15-dev-2534-geba00d1
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
#define ASSERT(a)
Definition: mode.c:45
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3810
#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 }
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4061
#define P(row, col)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdfdevice.h:3810
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262