win32service.LockServiceDatabase

int = LockServiceDatabase(sc_handle)

Locks the service database.

Parameters

sc_handle : PySC_HANDLE

A handle to the SCM.