IDBStorage::LookupMultipleData
The LookupMultipleData retrieves multiple rows of data.
Syntax
HRESULT LookupMultipleData(
VARIANT vtReserved,// in
VARIANT *pvtColumns,// in
VARIANT *pvtValues,// in
VARIANT *pvtRet// out
);
Parameters
- vtReserved
- Reserved for future use. LookupData ignores any value stored in this parameter.
- pvtColumns
- A VARIANT that identifies the columns in which to search for the data. This VARIANT can be either a SimpleList or a SAFEARRAY.
- pvtValues
- A VARIANT that identifies the values for which to search. Like the pvtColumns parameter, this parameter can be either a SimpleList or a SAFEARRAY.
- pvtRet
- If successful, pvtRet Points to a VARIANT that contains the result of the lookup. This VARIANT's pdispValue references an IDispatch interface on a SimpleList object that consists of one or more Dictionary objects, one for each row of data returned.
Include File
<commerce.h>
Return Value
Value |
Description |
S_OK |
The function succeeded. If the function fails, an HRESULT indicating failure is returned, and pvtRet is set to NULL. |
|
|
Related Topic
IDBStorage::LookupData
© 1997-2000 Microsoft Corporation. All rights reserved.