#include <wdm.h>
#include "cbm_driver.h"
Go to the source code of this file.
Functions | |
| NTSTATUS | cbm_registry_open_for_read (OUT PHANDLE HandleKey, IN PUNICODE_STRING Path) |
| Open a registry path for reading. | |
| NTSTATUS | cbm_registry_open_hardwarekey (OUT PHANDLE HandleKey, OUT PDEVICE_OBJECT *Pdo, IN PDEVICE_EXTENSION Pdx) |
| Open the hardware key for another driver. | |
| NTSTATUS | cbm_registry_close (IN HANDLE HandleKey) |
| Close a registry key. | |
| NTSTATUS | cbm_registry_close_hardwarekey (IN HANDLE HandleKey, IN PDEVICE_OBJECT Pdo) |
| Close a hardware registry key. | |
| NTSTATUS | cbm_registry_read_ulong (IN HANDLE HandleKey, IN PCWSTR KeyName, OUT PULONG Value) |
| Read a ULONG value out of a registry key. | |
| NTSTATUS | cbm_registry_write_ulong (IN HANDLE HandleKey, IN PCWSTR KeyName, IN ULONG Value) |
| Write a ULONG value out of a registry key. | |
**************************************************************
Definition in file util-reg.c.
|
|
Close a registry key. This function closes a registry key.
Definition at line 231 of file util-reg.c. References FUNC_ENTER. Referenced by cbm_init_registry(), and cbm_registry_close_hardwarekey(). |
|
||||||||||||
|
Close a hardware registry key. This function closes a registry key pointing to a hardware registry key.
Definition at line 261 of file util-reg.c. References cbm_registry_close(), and FUNC_ENTER. Referenced by ParPortAllowInterruptIoctl(). |
|
||||||||||||
|
Open a registry path for reading. This function opens a registry key ("path"). This way, its entries can be read afterwards.
Definition at line 44 of file util-reg.c. References DBG_PREFIX, FUNC_ENTER, and FUNC_PARAM. Referenced by cbm_init_registry(). |
|
||||||||||||||||
|
Open the hardware key for another driver. This function opens a the "hardware" registry key for the parallel port driver.
Thanks to Doron Holan [MS] for pointing out how to do it (MsgId:<O6weQL8qEHA.3428@TK2MSFTNGP11.phx.gbl> on microsoft.public.development.device.drivers, http://groups.google.com/groups?selm=O6weQL8qEHA.3428%40TK2MSFTNGP11.phx.gbl Definition at line 96 of file util-reg.c. References CbmOpenDeviceRegistryKey(), DBG_ASSERT, and FUNC_ENTER. Referenced by ParPortAllowInterruptIoctl(). |
|
||||||||||||||||
|
Read a ULONG value out of a registry key. This function reads a ULONG value out of the registry.
Definition at line 300 of file util-reg.c. References DBG_PREFIX, FUNC_ENTER, and FUNC_PARAM. Referenced by cbm_init_registry(), and ParPortAllowInterruptIoctl(). |
|
||||||||||||||||
|
Write a ULONG value out of a registry key. This function writes a ULONG value to the registry.
Definition at line 357 of file util-reg.c. References DBG_PREFIX, FUNC_ENTER, and FUNC_PARAM. Referenced by ParPortAllowInterruptIoctl(). |
1.4.2