struttura SFFDISK_DEVICE_PASSWORD_DATA (sffdisk.h)
La struttura SFFDISK_DEVICE_PASSWORD_DATA viene usata insieme a un IOCTL_SFFDISK_DEVICE_PASSWORD per modificare la password in una scheda Secure Digital (SD).
Sintassi
typedef struct _SFFDISK_DEVICE_PASSWORD_DATA {
USHORT Size;
USHORT Reserved;
SFFDISK_DPCMD Command;
ULONG_PTR Information;
UCHAR PasswordLength;
UCHAR NewPasswordLength;
UCHAR Data[0];
} SFFDISK_DEVICE_PASSWORD_DATA, *PSFFDISK_DEVICE_PASSWORD_DATA;
Membri
Size
Dimensione, in byte, di questa struttura.
Reserved
Riservato.
Command
Contiene una struttura di tipo SFFDISK_DPCMD che definisce il tipo di operazione.
Information
Nell'output questo membro contiene il valore restituito per l'operazione.
PasswordLength
Lunghezza, in byte, della password corrente.
NewPasswordLength
Lunghezza, in byte, della nuova password.
Data[0]
Buffer usato dal chiamante per passare sia la vecchia che la nuova password. La password corrente (precedente) si trova all'inizio del buffer e viene immediatamente seguita dalla nuova password.
Fabbisogno
Requisito | Valore |
---|---|
intestazione | sffdisk.h |