IWbemObjectAccess::Lock method (wbemcli.h)
The Lock method prevents other threads from updating an IWbemObjectAccess object until it is unlocked.
Syntax
HRESULT Lock(
long lFlags
);
Parameters
lFlags
Reserved. This parameter is currently ignored and is reserved for future use.
Return value
This method returns WBEM_S_NO_ERROR if successful.
Requirements
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 |