Condividi tramite


struttura FILE_NAME_INFORMATION (ntddk.h)

La struttura FILE_NAME_INFORMATION viene utilizzata 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;

Membri

FileNameLength

Specifica la lunghezza, espressa 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.

Osservazioni

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

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

Fabbisogno

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

Vedere anche

ZwQueryInformationFile

ZwSetInformationFile