EnableGPUForVirtualization method of the Msvm_Synthetic3DService class
Enables a physical GPU for virtualization.
Syntax
uint32 EnableGPUForVirtualization(
[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 enabled.
-
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 |
|
DLL |
|