Skip to content

Latest commit

 

History

History
83 lines (49 loc) · 1.59 KB

msvm-dvddrive-lockmedia.md

File metadata and controls

83 lines (49 loc) · 1.59 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
LockMedia method of the Msvm_DVDDrive class - Locks or releases the media.
924bc20a-901b-4618-be49-eaacf80c9465
LockMedia method of the Msvm_DVDDrive class
reference
05/31/2018
APIRef
kbSyntax
Msvm_DVDDrive.LockMedia
COM
vmms.exe

LockMedia method of the Msvm_DVDDrive class

Locks or releases 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
WindowsVirtualization.V2.mof
DLL
Vmms.exe

See also

Msvm_DVDDrive