Open topic with navigation
WR_SemClose
This function closes the Network Semaphore File.
Network Floating Licensing is no longer supported. If network licensing is required, the Protection PLUS 5 SDK supports network licensing capabilities.
Syntax
- Visual Basic
- Declare Function WR_SemClose(ByVal sem_handle As Long)
As Long
- C/C++:
- LONG WR_SemClose(PPLFHANDLE sem_handle);
Arguments
- sem_handle
- The handle to the Network Semaphore File given by WR_SemOpen().
Returns
If the call fails, any of the API Error Codes may be returned.
- -2
- The application has not been wrapped.
- -1
- The API is not available. Please check your wizard settings. See the Testing section in the API Setup topic for more information.
- 1
- The Network Semaphore File was successfully closed.