struttura FILE_NAME_INFORMATION (ntddk.h)

La struttura FILE_NAME_INFORMATION viene usata come argomento per le routine ZwQueryInformationFile e ZwSetInformationFile .

Sintassi

typedef struct _FILE_NAME_INFORMATION {
  ULONG FileNameLength;
  WCHAR FileName[1];
} FILE_NAME_INFORMATION, *PFILE_NAME_INFORMATION;

Members

FileNameLength

Specifica la lunghezza, in byte, della stringa del nome file.

FileName[1]

Specifica il primo carattere della stringa del nome file. Questo è seguito in memoria dal resto della stringa.

Commenti

La routine ZwQueryInformationFile usa questa struttura per restituire la stringa del nome file al chiamante. Per altre informazioni sul formato del nome restituito, vedi ZwQueryInformationFile.

I chiamanti di ZwSetInformationFile possono usare questa struttura per specificare un nuovo nome breve per un file.

Requisiti

Requisito Valore
Intestazione ntddk.h (include Ntddk.h)

Vedi anche

ZwQueryInformationFile

ZwSetInformationFile