SafeArrayGetLBound function (oleauto.h)

Gets the lower bound for any dimension of the specified safe array.

Syntax

HRESULT SafeArrayGetLBound(
  [in]  SAFEARRAY *psa,
  [in]  UINT      nDim,
  [out] LONG      *plLbound
);

Parameters

[in] psa

An array descriptor created by SafeArrayCreate.

[in] nDim

The array dimension for which to get the lower bound.

[out] plLbound

The lower bound.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One of the arguments is not valid.
DISP_E_BADINDEX
The specified index is out of bounds.

Requirements

Requirement Value
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll