IMLDSPlugin::GetFileList (Compact 7)
3/12/2014
This method calls the IMLDSItemSink::ProcessFile method back for each file.
Syntax
HRESULT GetFileList(
MLDataSource datasource,
IMLSortOrder *sortOrder,
MLRange range,
IMLPropertySet *pPropertySetWanted,
BSTR folderName,
MLQueryFlags flags
);
Parameters
- datasource
[in] Structure of type MLDataSource that contains the name and ID of the data source.
- sortOrder
[in] Pointer to the IMLSortOrder interface for this request.
- range
[in] Structure of type MLRange that specifies the range of items to return.
- pPropertySetWanted
[in] Pointer to an IMLPropertySet interface that contains a list of requested properties. This pointer can be NULL.
- folderName
[in] Name of the folder to start enumerating.
- flags
[in] Structure of type MLQueryFlags that controls the enumeration for this request.
Return Values
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_POINTER |
The sortOrder, or pPropertySetWanted parameter is invalid. |
E_FAIL |
The method was not successful. |
E_OUTOFMEMORY |
An out-of-memory error occurred. |
Requirements
Header |
mlibdll_plugin.h, |
Library |
mlibdll.lib |