SFFDISK_DPCMD enumeration (sffdisk.h)

The SFFDISK_DPCMD enumeration lists the operations performed by an IOCTL_SFFDISK_DEVICE_PASSWORD request.

Syntax

typedef enum  {
  SFFDISK_DP_IS_SUPPORTED,
  SFFDISK_DP_SET_PASSWORD,
  SFFDISK_DP_LOCK_DEVICE,
  SFFDISK_DP_UNLOCK_DEVICE,
  SFFDISK_DP_RESET_DEVICE_ALL_DATA
} SFFDISK_DPCMD;

Constants

 
SFFDISK_DP_IS_SUPPORTED
The operation requests verification from the card that it supports command class 7.
SFFDISK_DP_SET_PASSWORD
The operation sets the password.
SFFDISK_DP_LOCK_DEVICE
The operation locks the device.
SFFDISK_DP_UNLOCK_DEVICE
The operation unlocks the device.
SFFDISK_DP_RESET_DEVICE_ALL_DATA
The operation resets the device.

Requirements

   
Header sffdisk.h (include Sffdisk.h)

See also

SFFDISK_DEVICE_PASSWORD_DATA