GetSystemDisk method of the BcdStore class

Returns the device path to the Windows system disk.

Syntax

boolean GetSystemDisk(
  [out] string Disk
);

Parameters

Disk [out]

The device path to the Windows system disk.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Bcd.mof

See also

BcdStore