Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IEFindFirstFile

IEFindFirstFile function

Calls the standard FindFirstFile function from a higher-integrity user context. Searches a directory for a file or subdirectory with a name that matches a specific name.

Syntax


HANDLE IEFindFirstFile(
  _In_ LPCWSTR           lpFileName,
  _In_ LPWIN32_FIND_DATA lpFindFileData
);

Parameters

lpFileName [in]

The directory or path, and the file name, which can include wildcard characters, for example, an asterisk (*) or a question mark (?).

lpFindFileData [in]

A pointer to the WIN32_FIND_DATA structure that receives information about a found file or subdirectory.

Return value

If the function succeeds, the return value is a search handle used in a subsequent call to IWPSiteW::FindNextFile or IWPSiteW::FindClose. If the function fails, the return value is INVALID_HANDLE_VALUE. To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 8

Header

Iepmapi.h

Library

Iepmapi.lib

DLL

Ieframe.dll

See also

FindFirstFile

 

 

Show:
© 2015 Microsoft