Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |