[DllImport("rapi.dll", CharSet=CharSet.Unicode)]
public static extern IntPtr CeFindFirstFile(
string lpFileName,
ref CE_FIND_DATA lpFindFileData);
<DllImport("rapi.dll", CharSet:=CharSet.Unicode, SetLastError:=True)>
Public Function CeFindFirstFile(
ByVal s As String,
ByRef results As CE_FIND_DATA) As Integer
End Function
CE_FIND_DATA structure info at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceobjst/html/cerefWIN32_FIND_DATA.asp
function info on msdn at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeFindFirstFileRAPI.asp
Please add some!
CE_FIND_DATA findData = new CE_FIND_DATA();
IntPtr ret = CeFindFirstFile("\\windows\\test.dll",ref findData)