CS_DES structure (cfgmgr32.h)
The CS_DES structure is used for specifying a resource list that describes device class-specific resource usage for a device instance. For more information about resource lists, see Hardware Resources.
Syntax
typedef struct CS_Des_s {
DWORD CSD_SignatureLength;
DWORD CSD_LegacyDataOffset;
DWORD CSD_LegacyDataSize;
DWORD CSD_Flags;
GUID CSD_ClassGuid;
BYTE CSD_Signature[ANYSIZE_ARRAY];
} CS_DES, *PCS_DES;
Members
CSD_SignatureLength
The number of elements in the byte array specified by CSD_Signature.
CSD_LegacyDataOffset
Offset, in bytes, from the beginning of the CSD_Signature array to the beginning of a block of data. For example, if the data block follows the signature array, and if the signature array length is 16 bytes, then the value for CSD_LegacyDataOffset should be 16.
CSD_LegacyDataSize
Length, in bytes, of the data block whose offset is specified by CSD_LegacyDataOffset.
CSD_Flags
Not used.
CSD_ClassGuid
A globally unique identifier (GUID) identifying a device setup class. If both CSD_SignatureLength and CSD_LegacyDataSize are zero, the GUID is null.
CSD_Signature[ANYSIZE_ARRAY]
A byte array containing a class-specific signature.
Remarks
The data block identified by CSD_LegacyDataSize and CSD_LegacyDataOffset can contain legacy, class-specific data, as stored in the DeviceSpecificData member of a CM_PARTIAL_RESOURCE_DESCRIPTOR structure, if the structure's Type member is CmResourceTypeDeviceSpecific.
The class-specific signature identified by CSD_SignatureLength and CSD_Signature can contain additional class-specific device identification information.
Requirements
Requirement | Value |
---|---|
Header | cfgmgr32.h (include Cfgmgr32.h) |