Open topic with navigation
WR_SemTest
This function verifies the Network Semaphore File is still open.
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_SemTest(ByValsem_handle As Long)
As Long
- C/C++:
- LONG WR_SemTest(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 is still valid.
- 5
- The Network Semaphore File is no longer valid.