#define ERROR_SEM_IS_SET 102L
MessageId: ERROR_SEM_IS_SET MessageText: The semaphore is set and cannot be closed.