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 and unlocks the media in a removeable access device.
Syntax
uint32 LockMedia(
[in] boolean Lock
);
Parameters
-
Lock [in]
-
If TRUE, locks the media. If FALSE, releases the media.
Return value
Returns a 0 on success; otherwise, returns an error.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 8.1 |
| Minimum supported server |
Windows Server 2012 R2 |
| Namespace |
Root\virtualization\v2 |
| MOF |
|
| DLL |
|