http://msdn.microsoft.com/en-us/library/ms685066.aspx
BOOL WINAPI ReleaseMutex(
__in HANDLE hMutex
);
Parameters
hMutex [in]
A handle to the mutex object. The CreateMutex or OpenMutex function returns this handle.
|
After calling CreateMutex you get a handle of the newly created mutex. Store it in a variable and pass as an argument to the ReleaseMutex function when you no longer need it.
Check MSDN for additional details.