CONFIGMG_ISAPNP_To_CM
CONFIGRET CONFIGMG_ISAPNP_To_CM(PBYTE pBuffer, DEVNODE dnDevNode, ULONG ulLogDev, ULONG ulFlags)
Converts ISAPNP requirements and adds them to a specified device node.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_DEVNODE_HAS_REQS, CR_INVALID_DATA, CR_INVALID_DEVNODE, CR_OUT_OF_MEMORY, CR_NO_SUCH_LOG_DEV, CR_INVALID_FLAG or CR_INVALID_POINTER.
- pBuffer
- Address of a buffer that contains the ISAPNP requirement information. This information normally starts with a Plug and Play version number tag.
- dnDevNode
- Device node that receives the converted requirements. This device node must not already contain a logical configuration (requirements).
- ulLogDev
- Logical device number starting with 0.
- ulFlags
- Must be either CM_ISAPNP_ADD_RES_DES if using this API to convert resource data into a BASIC_LOG_CONF, CM_ISAPNP_ADD_BOOT_RES_DES if using this API to convert resource data into a BOOT_LOG_CONF. Otherwise it must be CM_ISAPNP_SETUP to do a setup on those values.