CONFIGMG_Get_DevNode_Key


CONFIGRET CONFIGMG_Get_DevNode_Key(DEVNODE dnDevNode, PFARCHAR pszSubKey, PFARVOID Buffer, ULONG BufferLen, ULONG ulFlags)

Retrieves the the string of registry key from a device node.

dnDevNode

Handle of a device node.

pszSubKey

Name of the subkey. Can be NULL if none.

Buffer

Address of the buffer that receives the registry key. The length is always less than or equal MAX_VMM_REG_KEY_LEN.

BufferLen

Size of the buffer.

ulFlags

Must be a combination of the following:

CM_REGISTRY_HARDWARE

Select the hardware branch.

CM_REGISTRY_SOFTWARE

Select the software branch.

CM_REGISTRY_USER

Use HKEY_CURRENT_USER.

CM_REGISTRY_CONFIG

Use HKEY_CURRENT_CONFIG.


See also CONFIGMG_Get_DevNode_Key_Size