WCN_VALUE_TYPE_DEVICE_PASSWORD_ID enumeration (wcntypes.h)
The WCN_VALUE_TYPE_DEVICE_PASSWORD_ID enumeration defines values that specify the origin or 'type' of a password.
Syntax
typedef enum tagWCN_VALUE_TYPE_DEVICE_PASSWORD_ID {
WCN_VALUE_DP_DEFAULT = 0,
WCN_VALUE_DP_USER_SPECIFIED = 0x1,
WCN_VALUE_DP_MACHINE_SPECIFIED = 0x2,
WCN_VALUE_DP_REKEY = 0x3,
WCN_VALUE_DP_PUSHBUTTON = 0x4,
WCN_VALUE_DP_REGISTRAR_SPECIFIED = 0x5,
WCN_VALUE_DP_NFC_CONNECTION_HANDOVER = 0x7,
WCN_VALUE_DP_WFD_SERVICES = 0x8,
WCN_VALUE_DP_OUTOFBAND_MIN = 0x10,
WCN_VALUE_DP_OUTOFBAND_MAX = 0xffff
} WCN_VALUE_TYPE_DEVICE_PASSWORD_ID;
Constants
WCN_VALUE_DP_DEFAULT Value: 0 The PIN password, obtained from the label, or display will be used. This password may correspond to the label, display, or a user-defined password that has been configured to replace the original device password. To authenticate with the default password ID, call IWCNDevice::SetPassword with the PIN password type defined by WCN_PASSWORD_TYPE. |
WCN_VALUE_DP_USER_SPECIFIED Value: 0x1 The user has overridden the default password with a manually selected value. Note Not supported in Windows 7. |
WCN_VALUE_DP_MACHINE_SPECIFIED Value: 0x2 The default PIN password has been overridden by a strong, machine-generated device password value. Note Not supported in Windows 7. |
WCN_VALUE_DP_REKEY Value: 0x3 The 256-bit rekeying password associated with the device will be used. Note Not supported in Windows 7. |
WCN_VALUE_DP_PUSHBUTTON Value: 0x4 A password entered via a push button interface will be used. To authenticate with the default password ID, call IWCNDevice::SetPassword with the push button password type defined by WCN_PASSWORD_TYPE. |
WCN_VALUE_DP_REGISTRAR_SPECIFIED Value: 0x5 A PIN has been obtained from the Registrar via a display or other out-of-band method. Note Not supported in Windows 7. |
WCN_VALUE_DP_NFC_CONNECTION_HANDOVER Value: 0x7 |
WCN_VALUE_DP_WFD_SERVICES Value: 0x8 |
WCN_VALUE_DP_OUTOFBAND_MIN Value: 0x10 |
WCN_VALUE_DP_OUTOFBAND_MAX Value: 0xffff |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | wcntypes.h |