CONFIGMG_Get_Alloc_Log_Conf
CONFIGRET CONFIGMG_Get_Alloc_Log_Conf(PCMCONFIG pccBuffer, DEVNODE dnDevNode, ULONG ulFlags)
Get the allocated (or boot) resources in a nice table format.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_DEVNODE, CR_INVALID_FLAG, CR_INVALID_POINTER, or CR_NO_MORE_LOG_CONF.
- pccBuffer
- is a pointer to a CMCONFIG struct (which can be on the stack) to be filled by this function with the currently allocated config.
- dnDevNode
- Device node that a device driver wants to know what are the allocated (or boot) resources.
- ulFlags
- must be one of CM_GET_ALLOC_CONFIG_ALLOC or CM_GET_ALLOC_CONFIG_BOOT_ALLOC.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_POINTER, CR_INVALID_DEVNODE or CR_INVALID_FLAG.
This call is done when a device driver wants to easily know what its configuration is.
This function is synchronous and must not be called from within an interrupt handler.