One of the following values:
A non-zero value if the mutex was successfully unlocked.
0 if the mutex was NULL or was not locked by the calling thread.