Compartir a través de


IpcCloseHandle function

Closes a handle to an Rights Management Services SDK 2.1 object and frees any resources associated with it.

Syntax

HRESULT WINAPI IpcCloseHandle(
  _In_ IPC_HANDLE handle
);

Parameters

handle [in]

The handle to close.

Return value

If the function succeeds, the return value is S_OK. If the function fails, it returns an HRESULT value that indicates the error.

For more information, see Error codes for a description of all RMS SDK 2.1 return values.

Remarks

This function clears up sensitive data from memory and allows the RMS SDK 2.1 system to keep an accurate reference count on objects used.

Requirements

Minimum supported client
Windows Vista with SP2
Minimum supported server
Windows Server 2008
Header
Ipcbase.h (include Msipc.h)
Library
Msipc.lib
DLL
Msipc.dll

See also

Error codes