#include <oskit/com/lock_mgr.h>OSKIT_COMDECL oskit_lock_mgr_allocate_lock(oskit_lock_mgr_t *lmgr, [out] oskit_lock_t *out_lock);
This method returns an oskit_lock_t COM interface in out_lock.
- lmgr
- The lock manager COM interface.
- out_lock
- The oskit_lock COM interface for the new lock.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.