adapter driver skeleton
More...
#include <dxd_port.h>
|
| adapter (::DRIVER_OBJECT *wdm_driver, ::UNICODE_STRING *registry, const wchar_t *name, const dxd::guid &guid=0) |
|
| operator const::HANDLE () const |
|
template<typename type_t > |
os_result | query (const::UNICODE_STRING &key, type_t &value) |
|
template<typename key_t , typename type_t > |
os_result | query (key_t *key, type_t &value) |
|
os_result | remove () |
|
os_result | set (const::UNICODE_STRING &key, const char *value) |
|
os_result | set (const::UNICODE_STRING &key, const wchar_t *value) |
|
os_result | set (const::UNICODE_STRING &key, const::GUID &value) |
|
os_result | set (const::UNICODE_STRING &key, const::UNICODE_STRING &value) |
|
os_result | set (const::UNICODE_STRING &key, unsigned int value) |
|
template<typename key_t , typename type_t > |
os_result | set (key_t *key, const type_t &value) |
|
template<typename type_t > |
unsigned long | type () |
|
template<
class miniport_t = ::IMiniport>
class dxd::adapter< miniport_t >
adapter driver skeleton
◆ adapter()
template<
class miniport_t = ::IMiniport>
dxd::adapter< miniport_t >::adapter |
( |
::DRIVER_OBJECT * | wdm_driver, |
|
|
::UNICODE_STRING * | registry, |
|
|
const wchar_t * | name, |
|
|
const dxd::guid & guid | = 0 ) |
|
inline |
< GUID identifying the type of port
< interface that is being requested and can be one of the following: CLSID_PortDMus, CLSID_PortMidi, CLSID_PortTopology, CLSID_PortWaveCyclic, CLSID_PortWavePci
- Parameters
-
wdm_driver | A pointer to a DRIVER_OBJECT structure that represents the driver's WDM driver object. |
registry | A pointer to an UNICODE_STRING structure that specifies the path to the driver's Parameters key in the registry. |
name | An internal unique name |
◆ create_miniport() [1/2]
os_result dxd::adapter<::IMiniport >::create_miniport |
( |
const wchar_t * | , |
|
|
::IResourceList * | , |
|
|
unsigned int | ) |
|
protected |
abstract IMiniport factory
◆ create_miniport() [2/2]
template<
class miniport_t >
os_result dxd::adapter< miniport_t >::create_miniport |
( |
const wchar_t * | name, |
|
|
::IResourceList * | wdm_reslist, |
|
|
unsigned int | port ) |
|
protectedvirtual |
miniport factory
Ignores by default subdevice index parameters and creates the miniport with outer unknown zero for compatibilty with Microsofts IMiniport interfaces.
◆ launch()
template<
class miniport_t = ::IMiniport>
◆ operator const::HANDLE()
dxd::wdm::registry::operator const::HANDLE |
( |
| ) |
const |
|
inlineinherited |
◆ query() [1/2]
template<typename type_t >
os_result dxd::wdm::registry::query |
( |
const::UNICODE_STRING & | key, |
|
|
type_t & | value ) |
|
inlineinherited |
◆ query() [2/2]
template<typename key_t , typename type_t >
os_result dxd::wdm::registry::query |
( |
key_t * | key, |
|
|
type_t & | value ) |
|
inlineinherited |
◆ remove()
◆ set() [1/6]
os_result dxd::wdm::registry::set |
( |
const::UNICODE_STRING & | key, |
|
|
const char * | value ) |
|
inlineinherited |
◆ set() [2/6]
os_result dxd::wdm::registry::set |
( |
const::UNICODE_STRING & | key, |
|
|
const wchar_t * | value ) |
|
inlineinherited |
◆ set() [3/6]
os_result dxd::wdm::registry::set |
( |
const::UNICODE_STRING & | key, |
|
|
const::GUID & | value ) |
|
inlineinherited |
◆ set() [4/6]
os_result dxd::wdm::registry::set |
( |
const::UNICODE_STRING & | key, |
|
|
const::UNICODE_STRING & | value ) |
|
inlineinherited |
◆ set() [5/6]
os_result dxd::wdm::registry::set |
( |
const::UNICODE_STRING & | key, |
|
|
unsigned int | value ) |
|
inlineinherited |
◆ set() [6/6]
template<typename key_t , typename type_t >
os_result dxd::wdm::registry::set |
( |
key_t * | key, |
|
|
const type_t & | value ) |
|
inlineinherited |
◆ type()
template<typename type_t >
unsigned long dxd::wdm::registry::type |
( |
| ) |
|
|
inherited |
◆ guid
template<
class miniport_t = ::IMiniport>
◆ name
template<
class miniport_t = ::IMiniport>
◆ ports
template<
class miniport_t = ::IMiniport>
◆ status
template<
class miniport_t = ::IMiniport>
◆ wdm_bus
template<
class miniport_t = ::IMiniport>
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_bus = nullptr |
|
protected |
◆ wdm_device
template<
class miniport_t = ::IMiniport>
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_device = nullptr |
|
protected |
◆ wdm_pdo
template<
class miniport_t = ::IMiniport>
::DEVICE_OBJECT* dxd::adapter< miniport_t >::wdm_pdo = nullptr |
|
protected |
The documentation for this class was generated from the following file: