Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/12/2014
This method counts the number of media items that match the given IMLQuery.
Syntax
HRESULT CountItems(
IMLQuery *pQuery,
ULONG *pcCount
);
Parameters
- pQuery
[in] Pointer to the IMLQuery object.
- pcCount
[out] Pointer to the number of media items in the query.
Return Values
Returns the HRESULT values shown in the following table.
| Value | Description |
|---|---|
S_OK |
The method was successful. |
E_INVALIDARG |
One or more parameters are invalid. |
E_POINTER |
A pointer parameter is invalid. |
E_FAIL |
The method was not successful. |
E_OUTOFMEMORY |
An out of memory error occurred. |
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |