次の方法で共有


IEnumScript::Next (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the script in the enumeration.

Syntax

HRESULT Next( 
  ULONG celt,
  PSCRIPTINFO rgelt,
  ULONG* pceltFetched
);

Parameters

  • celt
    [in] Unsigned integer that indicates the number of SCRIPTINFO structures the client application wants returned. This parameter also specifies the number of SCRIPTINFO structures that have been allocated in the array specified by the rgelt parameter.
  • rgelt
    [out] Pointer to an array in which to return the SCRIPTINFO structures. The client application is responsible for freeing the memory allocated in the array.
  • pceltFetched
    [out] Pointer to an unsigned long integer that receives the number of SCRIPTINFO structures actually returned in the array specified by the rgelt parameter. This number can be smaller than the value specified in the celt parameter.

Return Value

The following table shows the possible return values for this method.

Value Description

S_OK

The SCRIPTINFO array has been successfully returned.

S_FALSE

No more information is available; for example, the end of the enumeration sequence has been reached.

E_FAIL

There is an error in the arguments or an internal error has occurred.

Requirements

Header mlang.h, mlang.idl
Library mlang.dll
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IEnumScript