DEVELOPER_DRIVE_ENABLEMENT_STATE enumeration (sysinfoapi.h)

An enum of possible values for the developer drive enablement state.

Syntax

typedef enum DEVELOPER_DRIVE_ENABLEMENT_STATE {
  DeveloperDriveEnablementStateError,
  DeveloperDriveEnabled,
  DeveloperDriveDisabledBySystemPolicy,
  DeveloperDriveDisabledByGroupPolicy
} ;

Constants

 
DeveloperDriveEnablementStateError
Indicates that there was an error determining the developer drive enablement state. After this is returned, call GetLastError to get the error value.
DeveloperDriveEnabled
Indicates that the developer drive is enabled.
DeveloperDriveDisabledBySystemPolicy
Indicates that the developer drive is disabled by system policy.
DeveloperDriveDisabledByGroupPolicy
Indicates that the developer drive is disabled by group policy.

Requirements

Requirement Value
Minimum supported client Windows 11 23H2 [desktop apps only]
Header sysinfoapi.h (include Windows.h)

See also

GetDeveloperDriveEnablementState