Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
|