Share via


IMLQuery::GetResultCount (Compact 7)

3/12/2014

This method returns the number of rows in the results set that the IMLCore::RunQuery object returned for this query.

Syntax

HRESULT GetResultCount(
  ULONG *pcResults
);

Parameters

  • pcResults
    [out] Pointer to the number of rows in the results set for this 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

The pcResults parameter is invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLQuery