SaferCloseLevel function

The SaferCloseLevel function closes a SAFER_LEVEL_HANDLE that was opened by using the
SaferIdentifyLevel function or the SaferCreateLevel function.

Syntax

BOOL SaferCloseLevel(
  SAFER_LEVEL_HANDLE hLevelHandle
);

Parameters

hLevelHandle

The SAFER_LEVEL_HANDLE to be closed.

Return Value

TRUE if the function succeeds; otherwise, FALSE. For extended error information, call GetLastError.

Requirements

   
Windows version Windows XP [desktop apps only] Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winsafer.h
Library Advapi32.lib
DLL Advapi32.dll