IDeviceEnum::Next

This method retrieves the next element in the enumeration sequence.

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

Parameters

  • celt
    [in] The element to be retrieved.
  • rgelt
    [out] The OBEX device being returned.
  • pceltFetched
    [in, out] Creates a memory block to be filled with a value from the property bag.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

Pocket PC Platforms: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: obex.h
Library: obexguid.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.