wincerapi.FindFiles

list = FindFiles(fileSpec)

Retrieves a list of matching filenames on the CE device. An interface to the API CeFindFirstFile/CeFindNextFile functions.

Parameters

fileSpec : PyUnicode

A string that specifies a valid directory or path and filename, which can contain wildcard characters (* and ?).

Win32 API References

Search for CeFindFirstFile at msdn, google or google groups.

Search for FindNextFile at msdn, google or google groups.

Search for CloseHandle at msdn, google or google groups.

Return Value

The return value is a list of tuples, in the same format as the WIN32_FIND_DATA structure:

Items

[0] int : attributes

File Attributes. A combination of the win32com.FILE_ATTRIBUTE_* flags.

[1] PyTime : createTime

File creation time.

[2] PyTime : accessTime

File access time.

[3] PyTime : writeTime

Time of last file write

[4] int : nFileSizeHigh

high order word of file size.

[5] int : nFileSizeLow

low order word of file size.

[6] int : OID

The object identifier for the file

[7] int : zero

Filler

[8] string : fileName

The name of the file.

[9] None : altName

Always None