PSET_RESOURCE_LOCKED_MODE_ROUTINE callback function (resapi.h)

Reports that locked mode was configured for a resource.

Syntax

PSET_RESOURCE_LOCKED_MODE_ROUTINE PsetResourceLockedModeRoutine;

DWORD PsetResourceLockedModeRoutine(
  [in] RESOURCE_HANDLE ResourceHandle,
  [in] BOOL LockedModeEnabled,
  [in] DWORD LockedModeReason
)
{...}

Parameters

[in] ResourceHandle

A handle to the resource to configure.

[in] LockedModeEnabled

TRUE to enable locked mode; otherwise FALSE.

[in] LockedModeReason

A flag that specifies the reason that locked mode was configured.

Return value

Returns ERROR_SUCCESS (0), if the operation succeeds; otherwise returns a system error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header resapi.h

See also

Resource DLL Callback Functions