plain WDM device, one per FDO
More...
#include <dxd_device.h>
|
| | device (::DEVICE_OBJECT *wdm_device, ::DEVICE_OBJECT *wdm_pdo, ::DEVICE_OBJECT *wdm_bus) |
| virtual os_result | ioctl (unsigned int ioctl, const void *, size_t size_in, void *out, size_t size_out, size_t &size) |
| | control I/O handler, reached through client::ioctl()
|
| virtual | ~device ()=default |
|
| virtual client * | client_create () |
| virtual void | conclude () |
| | device remove hook, called while the stack below still serves: the last word to the hardware
|
| virtual os_result | launch () |
| | device start hook, called before any client can reach the device
|
| virtual void | unplugged () |
| | surprise removal hook, called with removed set: the hardware side goes at once, what open handles hold waits for their close and the remove
|
|
| bool | removed {} |
| | the device vanished: the stack below no longer answers //////////////////////////////////////////////////////////////////////////// user client factory
|
| struct dxd::device:: { ... } | wdm |
plain WDM device, one per FDO
The KMDF bound counterpart of this class, its client and its driver is dxd::kmdf(kmdf/dxd_device.h) - both offer the same ioctl()/client contract, so classes built on either(dxd::stream::device, the bus devices) name only that.
◆ device()
| dxd::device::device |
( |
::DEVICE_OBJECT * | wdm_device, |
|
|
::DEVICE_OBJECT * | wdm_pdo, |
|
|
::DEVICE_OBJECT * | wdm_bus ) |
|
inline |
◆ ~device()
| virtual dxd::device::~device |
( |
| ) |
|
|
virtualdefault |
◆ client_create()
| virtual client * dxd::device::client_create |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ conclude()
| virtual void dxd::device::conclude |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ ioctl()
| virtual os_result dxd::device::ioctl |
( |
unsigned int | ioctl, |
|
|
const void * | , |
|
|
size_t | size_in, |
|
|
void * | out, |
|
|
size_t | size_out, |
|
|
size_t & | size ) |
|
inlinevirtual |
◆ launch()
◆ unplugged()
| virtual void dxd::device::unplugged |
( |
| ) |
|
|
inlineprotectedvirtual |
surprise removal hook, called with removed set: the hardware side goes at once, what open handles hold waits for their close and the remove
Reimplemented in dxd::adapter::device.
◆ adapter
◆ removed
| bool dxd::device::removed {} |
|
protected |
the device vanished: the stack below no longer answers //////////////////////////////////////////////////////////////////////////// user client factory
◆ status
◆ wdm
| struct { ... } dxd::device::wdm |
The documentation for this class was generated from the following file: