ObexFindFileFirst

This function connects to a remote device and finds the first file that matches the text used as the basis for the search function.

HANDLE ObexFindFileFirst (
  HANDLE hConnect, 
  WCHAR * szPattern, 
  WIN32_FIND_DATA * pwfd 
);

Parameters

  • hConnect
    [in] Connection handle.
  • szPattern
    [in] Pointer to the file name to be found.
  • pwfd
    [in] Pointer to the WIN32_FIND_DATA structure that contains the data file.

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: obexserver.h
Library: obexguid.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.