PP_SEMCLOSE()

Closes the Network Semaphore File

Applies to:

Win32, Win64

Syntax-VB:

Declare Function pp_semclose(ByVal semhandle As Long) As Long

Syntax-C:

LONG pp_semclose(LONG semhandle)

Arguments:

<semhandle> is the handle to the semaphore file given by pp_semopen()

Returns:

Refer to pp_errorstr() for a table of possible return codes and their meaning. Typically, PP_SUCCESS [1] (file was closed) is returned.

Description:

Closes the Network Semaphore File previously opened with pp_semopen().

Example:

Refer to pp_semopen() for an example of using this function.

See Also:

PP_SEMOPEN(), PP_SEMUSED(), and PP_SEMCOUNT()

Related Topics