win32event.CreateMutex

PyHANDLE = CreateMutex(MutexAttributes, InitialOwner , Name )

Creates a mutex

Parameters

MutexAttributes : PySECURITY_ATTRIBUTES

Specifies inheritance and security descriptor for object, or None for defaults

InitialOwner : bool

flag for initial ownership

Name : PyUnicode

Mutex-object name, or None

Return Value

The result is a handle to the created object