SafeArrayGetLBound function (oleauto.h)

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

Syntax

HRESULT SafeArrayGetLBound(
  SAFEARRAY *psa,
  UINT      nDim,
  LONG      *plLbound
);

Parameters

psa

An array descriptor created by SafeArrayCreate.

nDim

The array dimension for which to get the lower bound.

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

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