LockMedia method of the Msvm_DiskDrive class
Locks or unlocks the media.
Syntax
uint32 LockMedia(
[in] boolean Lock
);
Parameters
-
Lock [in]
-
true to lock the media; false to release the media.
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.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\virtualization\v2 |
MOF |
|
DLL |
|