Share via


LockWorkstation method of the MDM_Client class

Locks the device.

Windows 10: This method is currently not supported in Windows 10.

Windows 8: This method is supported beginning with Windows 8.1.

Syntax

uint32 LockWorkstation();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM
Header
Winuser.h
MOF
MDMSettingsProv.mof
DLL
MDMSettingsProv.dll

See also

MDM_Client