Share via


ICatalogReadWriteLock::EnterReadLock method

method EnterReadLock - creates a read lock

Syntax

HRESULT EnterReadLock(
  [in]          long         timeout,
  [out, retval] VARIANT_BOOL *pRetVal
);

Parameters

timeout [in]

pRetVal [out, retval]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
IDL
Windows.Help.Runtime.idl

See also

ICatalogReadWriteLock