IApplicationDesignModeSettings2::SetIsOnLockScreen method (shobjidl_core.h)

This method determines whether or not the application, in design mode, can display information on the Windows 8 lock screen.

Syntax

HRESULT SetIsOnLockScreen(
  [in] BOOL isOnLockScreen
);

Parameters

[in] isOnLockScreen

Type: BOOL

When set to TRUE, the application will display information on the lock screen. When set to FALSE, information will not be displayed.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
Library Twinapi.lib
DLL Twinapi.dll

See also

IApplicationDesignModeSettings2