#include <cKernel.h>
Common base for devices.
- Note
- oddly similar to _DEVOBJ_EXTENSION but DeviceObjectExtension is not the same as DeviceExtension!? MS has a class called CDeviceObject in MSJ ??
◆ AttachToDeviceStack()
CKeDeviceObject* GrayKernel::CKeDeviceExt::AttachToDeviceStack |
( |
PDEVICE_OBJECT |
pDeviceObjectAttach | ) |
|
|
inline |
- Note
- IoAttachDeviceToDeviceStackSafe() would solve the theoretic race condition here. Must call IoDetachDevice() later
◆ DeleteDevice()
void GrayKernel::CKeDeviceExt::DeleteDevice |
( |
| ) |
|
|
inline |
◆ Flag_Init_Clear()
void GrayKernel::CKeDeviceExt::Flag_Init_Clear |
( |
| ) |
|
|
inline |
We are finished with the Init.
◆ get_DeviceObject()
◆ GetDeviceExt()
static CKeDeviceExt* GrayKernel::CKeDeviceExt::GetDeviceExt |
( |
PDEVICE_OBJECT |
pDeviceObj | ) |
|
|
inlinestatic |
◆ InitDeviceExt()
void GrayKernel::CKeDeviceExt::InitDeviceExt |
( |
USHORT |
uSize, |
|
|
PDEVICE_OBJECT |
pDeviceObj |
|
) |
| |
|
inline |
◆ IsDeviceValid() [1/2]
bool GrayKernel::CKeDeviceExt::IsDeviceValid |
( |
| ) |
const |
|
inline |
◆ IsDeviceValid() [2/2]
bool GrayKernel::CKeDeviceExt::IsDeviceValid |
( |
IN PDEVICE_OBJECT |
_pDeviceObject | ) |
const |
|
inline |
◆ CKeDeviceExt_SIGNATURE
const ULONG GrayKernel::CKeDeviceExt::CKeDeviceExt_SIGNATURE = 0x1FE04322 |
|
static |
The documentation for this struct was generated from the following file: