Поделиться через


SetOneTimeBootSource method of the MSFT_PCSVDevice class

Sets the one time boot source for the next boot on this computer system. Implemented.

Syntax

uint32 SetOneTimeBootSource(
  [in]      string              StructuredBootString,
  [in, out] CIM_ConcreteJob REF Job
);

Parameters

StructuredBootString [in]

A string representing the boot source for next boot.

Job [in, out]

On return contains a reference to the job, but can be null if the task is completed.

Return value

This method returns one of the following values.

Completed with No Error (0)

Not Supported (1)

Failed (2)

Reserved (3 4095)

Job Started (4096)

DMTF Reserved (4097 32767)

Vendor Reserved (32768 65535)

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\HardwareManagement
MOF
PCSVDevice.mof
DLL
PCSVDevice.dll

See also

MSFT_PCSVDevice