IWbemObjectAccess::Lock method (wbemcli.h)
The Lock method prevents other threads from updating an IWbemObjectAccess object until it is unlocked.
HRESULT Lock(
long lFlags
);
lFlags
Reserved. This parameter is currently ignored and is reserved for future use.
This method returns WBEM_S_NO_ERROR if successful.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wbemcli.h (include Wbemidl.h) |
Library | Wbemuuid.lib |
DLL | Esscli.dll; Fastprox.dll; Wbemess.dll |