CONFIGMG_Get_DevNode_Key_Size

CONFIGRET CONFIGMG_Get_DevNode_Key_Size(PFARULONG pulLen, DEVNODE dnDevNode, PFARCHAR pszSubKey, ULONG ulFlags)
 

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

pulLen
Address that receives the length of the registry key. This length does not include the null-terminating character. This address is filled with zeroes if there is no identifier. The length is always less than or equal MAX_VMM_REG_KEY_LEN.
dnDevNode
Handle of a device node.
pszSubKey
Name of the subkey. Can be NULL if none.
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