Export (0) Print
Expand All

IWbemObjectAccess::Lock method

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Esscli.dll;
Fastprox.dll;
Wbemess.dll

See also

IWbemObjectAccess

 

 

Show:
© 2014 Microsoft