rapi is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for cefindnextfile in other DLLs exists, click on Find References to the right.
This function continues a file search from a previous call to the
public static extern bool CeFindNextFile(
ref CE_FIND_DATA lpFindFileData);
CE_FIND_DATA structure info at
function info on msdn at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeFindNextFileRAPI.asp Tips & Tricks:
Please add some!
short ERROR_NO_MORE_FILES = 18
CE_FIND_DATA findData = new CE_FIND_DATA();
int hResult = CeFindFirstFile("\\temp\\*", ref findData);
if(hResult != -1)
// Do whatever you want with findData
}while(CeFindNextFile(hResult, ref findData));
Alternative Managed API:
This function searches a directory for a file whose name matches the specified filename. It examines subdirectory names as well as filenames.
10/20/2009 10:46:44 AM - -18.104.22.168
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and
edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).