DisableGPUForVirtualization method of the Msvm_Synthetic3DService class

Disables a physical GPU for virtualization.

Syntax

uint32 DisableGPUForVirtualization(
  [in]  Msvm_Physical3dGraphicsProcessor REF PhysicalGPU,
  [out] CIM_ConcreteJob                  REF Job
);

Parameters

PhysicalGPU [in]

A reference to an instance of the Msvm_Physical3dGraphicsProcessor class that represents the physical GPU to be disabled.

Job [out]

If the operation is performed asynchronously, this method will return 4096, and this parameter will contain a reference to an object derived from CIM_ConcreteJob.

Return value

This method returns one of the following values.

Completed with No Error (0)

Not supported (1)

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Virtualization\V2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe

See also

Msvm_Synthetic3DService