FindFirstFileFindFirstFile*
*



Contents  *



Index  *Topic Contents
*Previous Topic: FindClose
*Next Topic: FindNextFile

FindFirstFile

HRESULT FindFirstFile(
	[in, string] 	LPCWSTR			wsSearchFile
	[out] 		LPWIN32_FIND_DATAW 	pFindFileData
	[out] 		LPHANDLE		pSearchHandle
	);

Searches a directory for a file whose name matches the specified file name on the destination site identified by this object. It examines subdirectory names as well as file names.

wsSearchFile
Address of a null-terminated string that contains the file name to find.
pFindFileData
Address of a WIN32_FIND_DATA structure that receives information about the file or subdirectory that has been found.
pSearchHandle
Address of a variable that receives a handle that can be used for subsequent calls to the FindNextFile and FindClose functions.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.