Zephyr API 3.6.99
Loading...
Searching...
No Matches
msos_desc.h File Reference

MS OS 2.0 descriptor definitions. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  msosv2_descriptor_set_header
 
struct  msosv2_configuration_subset_header
 
struct  msosv2_function_subset_header
 
struct  msosv2_compatible_id
 
struct  msosv2_guids_property
 
struct  msosv2_resume_time
 
struct  msosv2_model_id
 
struct  msosv2_ccgp_device
 
struct  msosv2_vendor_revision
 

Macros

#define DEVICE_INTERFACE_GUIDS_PROPERTY_NAME
 

Enumerations

enum  msosv2_descriptor_index { MS_OS_20_DESCRIPTOR_INDEX = 0x07 , MS_OS_20_SET_ALT_ENUMERATION = 0x08 }
 
enum  msosv2_descriptor_type {
  MS_OS_20_SET_HEADER_DESCRIPTOR = 0x00 , MS_OS_20_SUBSET_HEADER_CONFIGURATION = 0x01 , MS_OS_20_SUBSET_HEADER_FUNCTION = 0x02 , MS_OS_20_FEATURE_COMPATIBLE_ID = 0x03 ,
  MS_OS_20_FEATURE_REG_PROPERTY = 0x04 , MS_OS_20_FEATURE_MIN_RESUME_TIME = 0x05 , MS_OS_20_FEATURE_MODEL_ID = 0x06 , MS_OS_20_FEATURE_CCGP_DEVICE = 0x07 ,
  MS_OS_20_FEATURE_VENDOR_REVISION = 0x08
}
 
enum  msosv2_property_data_type {
  MS_OS_20_PROPERTY_DATA_RESERVED = 0 , MS_OS_20_PROPERTY_DATA_REG_SZ = 1 , MS_OS_20_PROPERTY_DATA_REG_EXPAND_SZ = 2 , MS_OS_20_PROPERTY_DATA_REG_BINARY = 3 ,
  MS_OS_20_PROPERTY_DATA_REG_DWORD_LITTLE_ENDIAN = 4 , MS_OS_20_PROPERTY_DATA_REG_DWORD_BIG_ENDIAN = 5 , MS_OS_20_PROPERTY_DATA_REG_LINK = 6 , MS_OS_20_PROPERTY_DATA_REG_MULTI_SZ = 7
}
 

Detailed Description

MS OS 2.0 descriptor definitions.

Macro Definition Documentation

◆ DEVICE_INTERFACE_GUIDS_PROPERTY_NAME

#define DEVICE_INTERFACE_GUIDS_PROPERTY_NAME
Value:
'D', 0x00, 'e', 0x00, 'v', 0x00, 'i', 0x00, 'c', 0x00, 'e', 0x00, \
'I', 0x00, 'n', 0x00, 't', 0x00, 'e', 0x00, 'r', 0x00, 'f', 0x00, \
'a', 0x00, 'c', 0x00, 'e', 0x00, 'G', 0x00, 'U', 0x00, 'I', 0x00, \
'D', 0x00, 's', 0x00, 0x00, 0x00

Enumeration Type Documentation

◆ msosv2_descriptor_index

Enumerator
MS_OS_20_DESCRIPTOR_INDEX 
MS_OS_20_SET_ALT_ENUMERATION 

◆ msosv2_descriptor_type

Enumerator
MS_OS_20_SET_HEADER_DESCRIPTOR 
MS_OS_20_SUBSET_HEADER_CONFIGURATION 
MS_OS_20_SUBSET_HEADER_FUNCTION 
MS_OS_20_FEATURE_COMPATIBLE_ID 
MS_OS_20_FEATURE_REG_PROPERTY 
MS_OS_20_FEATURE_MIN_RESUME_TIME 
MS_OS_20_FEATURE_MODEL_ID 
MS_OS_20_FEATURE_CCGP_DEVICE 
MS_OS_20_FEATURE_VENDOR_REVISION 

◆ msosv2_property_data_type

Enumerator
MS_OS_20_PROPERTY_DATA_RESERVED 
MS_OS_20_PROPERTY_DATA_REG_SZ 
MS_OS_20_PROPERTY_DATA_REG_EXPAND_SZ 
MS_OS_20_PROPERTY_DATA_REG_BINARY 
MS_OS_20_PROPERTY_DATA_REG_DWORD_LITTLE_ENDIAN 
MS_OS_20_PROPERTY_DATA_REG_DWORD_BIG_ENDIAN 
MS_OS_20_PROPERTY_DATA_REG_LINK 
MS_OS_20_PROPERTY_DATA_REG_MULTI_SZ