CONFIGMG_Set_Private_DWord


CONFIGRET CONFIGMG_Set_Private_DWord(DEVNODE dnInDevNode, DEVNODE dnForDevNode, ULONG ulValue, ULONG ulFlags)

Sets the private value a device node has in another device node.

dnInDevNode

Handle of the device node in which the private value will be stored.

dnForDevNode

Handle of the device node that will use this information. This device node must be either the same as dnInDevNode or an ancestor of dnInDevNode.

ulValue

The private value to be stored. is the value to store.

ulFlags

Must be zero.

Neither dnInDevNode nor dnForDevNode may specify the root of the hardware tree.

This function is typically used by an enumerator to set information that will be retrieved using the CONFIGMG_Get_Private_DWord function. The private double-word value is typically a pointer to a structure.

The device node specified by the dnForDevNode parameter is responsible for cleaning up when the device node is removed.

See also CONFIGMG_Get_Private_DWord