The WCN_VALUE_TYPE_PRIMARY_DEVICE_TYPE structure contains information that identifies the device type by category, sub-category, and a manufacturer specific OUI (Organization ID).
Specifies the primary device type category. This data is supplied in network byte order.
Value
Meaning
WCN_VALUE_DT_CATEGORY_COMPUTER
0x1
Indicates a computer.
WCN_VALUE_DT_CATEGORY_INPUT_DEVICE
0x2
Indicates an input device.
WCN_VALUE_DT_CATEGORY_PRINTER
0x3
Indicates a printer.
WCN_VALUE_DT_CATEGORY_CAMERA
0x4
Indicates a camera.
WCN_VALUE_DT_CATEGORY_STORAGE
0x5
Indicates a storage device.
WCN_VALUE_DT_CATEGORY_NETWORK_INFRASTRUCTURE
0x6
Indicates a network.
WCN_VALUE_DT_CATEGORY_DISPLAY
0x7
Indicates a display.
WCN_VALUE_DT_CATEGORY_MULTIMEDIA_DEVICE
0x8
Indicates a multimedia device.
WCN_VALUE_DT_CATEGORY_GAMING_DEVICE
0x9
Indicates a gaming device.
WCN_VALUE_DT_CATEGORY_TELEPHONE
0xa
Indicates a telephone.
WCN_VALUE_DT_CATEGORY_AUDIO_DEVICE
0xb
Indicates an audio device.
Note Only available in Windows 8.
WCN_VALUE_DT_CATEGORY_OTHER
0xff
Indicates an unspecified device.
Note Only available in Windows 8.
SubCategoryOUI
Specifies the unique manufacturer OUI associated with the device.
Value
Meaning
WCN_VALUE_DT_SUBTYPE_WIFI_OUI
0x50f204
Indicates the specific manufacturer Organization ID (OUI) for a wireless device.
SubCategory
Specifies the primary device type sub-category. This data is supplied in network byte order. If SubCategoryOUI is equal to WCN_VALUE_DT_SUBTYPE_WIFI_OUI, then any of the values below are valid. Otherwise, the SubCategory has been defined by the vendor.
The following values are possible when the Category member is set to WCN_VALUE_DT_CATEGORY_COMPUTER.
Value
Meaning
WCN_VALUE_DT_SUBTYPE_COMPUTER_PC
0x1
Indicates a personal computer.
WCN_VALUE_DT_SUBTYPE_COMPUTER_SERVER
0x2
Indicates a server.
WCN_VALUE_DT_SUBTYPE_COMPUTER_MEDIACENTER
0x3
Indicates a media center.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_COMPUTER_ULTRAMOBILEPC
0x4
Indicates an Ultra-Mobile PC.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_COMPUTER_NOTEBOOK
0x5
Indicates a notebook computer.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_COMPUTER_DESKTOP
0x6
Indicates a desktop computer.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_COMPUTER_MID
0x7
Indicates a mobile Internet device.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_COMPUTER_NETBOOK
0x8
Indicates a netbook.
Note Only available in Windows 8.
The following values are possible when the Category member is set to WCN_VALUE_DT_CATEGORY_INPUT_DEVICE.
Value
Meaning
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_KEYBOARD
0x1
Indicates a keyboard.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_MOUSE
0x2
Indicates a mouse.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_JOYSTICK
0x3
Indicates a joystick.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_TRACKBALL
0x4
Indicates a trackball.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_GAMECONTROLLER
0x5
Indicates a game controller.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_REMOTE
0x6
Indicates a remote control.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_TOUCHSCREEN
0x7
Indicates a touch screen.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_BIOMETRICREADER
0x8
Indicates a biometric reader.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_INPUT_DEVICE_BARCODEREADER
0x9
Indicates a barcode reader.
Note Only available in Windows 8.
The following values are possible when the Category member is set to WCN_VALUE_DT_CATEGORY_PRINTER.
Value
Meaning
WCN_VALUE_DT_SUBTYPE_PRINTER_PRINTER
0x1
Indicates a printer.
WCN_VALUE_DT_SUBTYPE_PRINTER_SCANNER
0x2
Indicates a scanner.
WCN_VALUE_DT_SUBTYPE_PRINTER_FAX
0x3
Indicates a fax machine.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_PRINTER_COPIER
0x4
Indicates a copier.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_PRINTER_ALLINONE
0x4
Indicates an all-in-one printer.
Note Only available in Windows 8.
The following values are possible when the Category member is set to WCN_VALUE_DT_CATEGORY_CAMERA.
Value
Meaning
WCN_VALUE_DT_SUBTYPE_CAMERA_STILL_CAMERA
0x1
Indicates a still-shot camera.
WCN_VALUE_DT_SUBTYPE_CAMERA_VIDEO_CAMERA
0x2
Indicates a video camera.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_CAMERA_WEB_CAMERA
0x3
Indicates a web camera.
Note Only available in Windows 8.
WCN_VALUE_DT_SUBTYPE_CAMERA_SECURITY_CAMERA
0x4
Indicates a security camera.
Note Only available in Windows 8.
The following values are possible when the Category member is set to WCN_VALUE_DT_CATEGORY_NETWORK_STORAGE.
Value
Meaning
WCN_VALUE_DT_SUBTYPE_STORAGE_NAS
0x1
Indicates a network storage device.
The following values are possible when the Category member is set to WCN_VALUE_DT_CATEGORY_NETWORK_INFRASTRUCTURE.