Scroll to navigation

SafeArrayAccessData(3w) Wine API SafeArrayAccessData(3w)

NAME

SafeArrayAccessData (OLEAUT32.23)

SYNOPSIS

HRESULT SafeArrayAccessData
(
SAFEARRAY* psa,
void** ppvData
)
 

DESCRIPTION

Lock a SafeArray and return a pointer to its data.
 

PARAMS

psa [In] Array to get the data pointer from.
ppvData [Out] Destination for the arrays data pointer.
 

RETURNS

Success: S_OK. ppvData contains the arrays data pointer, and the array is locked.
Failure: An HRESULT error code indicating the error.
 

NOTES

See SafeArray(3w).
 

IMPLEMENTATION

Declared in "oleauto.h".
Implemented in "dlls/oleaut32/safearray.c".
Debug channel "variant".
Oct 2012 Wine API