Condividi tramite


Funzione NtManagePartition (wdm.h)

La funzione ntManagePartition ottiene e imposta le informazioni per una partizione.

Sintassi

__kernel_entry NTSYSCALLAPI NTSTATUS NtManagePartition(
  [in]           HANDLE                      TargetHandle,
  [in, optional] HANDLE                      SourceHandle,
  [in]           PARTITION_INFORMATION_CLASS PartitionInformationClass,
  [in, out]      PVOID                       PartitionInformation,
  [in]           ULONG                       PartitionInformationLength
);

Parametri

[in] TargetHandle

Fornisce un handle a una partizione.

[in, optional] SourceHandle

Facoltativamente, fornisce un handle a una partizione di origine. Questo handle viene usato solo per classi di informazioni specifiche.

[in] PartitionInformationClass

Fornisce la classe di informazioni sull'oggetto partizione che deve essere gestita.

[in, out] PartitionInformation

Fornisce un puntatore a un buffer che contiene le informazioni specificate. Il formato e il contenuto del buffer dipendono dalla classe di partizione.

[in] PartitionInformationLength

Fornisce la lunghezza, in byte, del buffer delle informazioni sulla partizione.

Valore restituito

Restituisce un valore NTSTATUS appropriato.

Fabbisogno

Requisito Valore
server minimo supportato Windows Server 2022
intestazione wdm.h