NPA_MutexUnlock

Releases a mutex lock.

Thread Context:Non-Blocking
Requirements:Only the owner of the mutex can release the mutex.

Syntax

    LONG NPA_MutexUnlock (
       LONG   mutexHandle
    );
    
    

Parameters

mutexHandle
(IN) Mutex handle obtained form NPA_MutexAlloc.

Return Values

The following table lists return values and descriptions.

0x0000

Successfully released mutex.

0x011C

The thread was not the mutex owner.

0x1010

Invalid mutex handle.

Remarks

Releases the mutually exclusive lock.