IoSetSystemPartition routine

The IoSetSystemPartition routine sets the boot partition for the system.

Syntax


NTSTATUS IoSetSystemPartition(
  _In_ PUNICODE_STRING VolumeNameString
);

Parameters

VolumeNameString [in]

Pointer to a Unicode string that specifies the MS-DOS name of the system partition.

Return value

STATUS_SUCCESS if the boot partition can be set, or an error code on failure.

Remarks

The specified partition must contain the boot loader.

Requirements

Target platform

Universal

Version

Available in Windows XP and later versions of Windows.

Header

Ntddk.h (include Ntddk.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

 

 

Send comments about this topic to Microsoft

Show: