I am using RAPI.dll for other functions like creating and finding files
but I did'nt find any function for browsing the device in Open dialog.
I am listing the functions of RAPI which I am able to find. Can you
please tell me which function to use or there is some other function to
do this.
function CeRapiInit : LongInt;
function CeRapiUnInit : LongInt;
function CeFindAllFiles (Path : PWideChar; Attr : DWORD;
var Count : DWord; var FindData :
PCe_Find_Data_array)
:BOOL;
procedure RapiFreeBuffer ( p : Pointer );
function CeRapiInitEx ( var RInit : TRapiInit ) : LongInt ;
function CeCreateDatabase ( lpszName : LPWSTR; dwDbaseType : DWORD;
wNumSortOrder : WORD;
var rgSortSpecs : TSortOrderSpec) : CeOID ;
function CeDeleteDatabase ( oidDBase : CeOId) : BOOL ;
function CeDeleteRecord ( hDatabase : THandle; oidRecord : CeOID) : BOOL
;
function CeFindFirstDatabase (dwDbaseType:DWORD):THandle ;
function CeFindNextDatabase(hEnum:THandle):CeOID ;
function CeOidGetInfo(oid:CeOID; var poidInfo:TCeOIDINFO):BOOL ;
function CeOpenDatabase(var poid:CeOID; lpszName:LPWSTR;
propid:CePROPID;
dwFlags:DWORD; hwndNotify:HWND):THandle ;
function CeReadRecordProps (hDbase:THandle; dwFlags:DWORD;var cPropID
:WORD;
var rgPropID :PCe_PropID_array;
Buffer:Pointer;
var cbBuffer:DWORD):CeOID ;
function CeSeekDatabase (hDatabase:THandle; dwSeekType:DWORD;
dwValue:LongInt;
dwIndex:PDWORD):CeOID ;
function CeSetDatabaseInfo (oidDbase:CeOID; var
NewInfo:TCeDBaseInfo):BOOL ;
function CeWriteRecordProps(hDbase:THandle; oidRecord:CeOID;
cPropID:WORD;
PropVal:TCePROPVAL):CeOID ;
function CeFindFirstFile(lpFileName:LPCWSTR;
lpFindFileData:PCe_FIND_DATA):THandle ;
function CeFindNextFile(hFindFile:THandle;
lpFindFileData:PCe_FIND_DATA):BOOL ;
function CeFindClose ( hFindFile:THandle):BOOL ;
function CeGetFileAttributes ( lpFileName:LPCWSTR):DWORD ;
function CeSetFileAttributes ( FileName:LPCWSTR;
dwFileAttributes:DWORD):BOOL ;
function CeCreateFile ( lpFileName:LPCWSTR; dwDesiredAccess:DWORD;
dwShareMode: DWORD;
lpSecurityAttributes: PSecurityAttributes;
dwCreationDistribution:DWORD;
dwFlagsAndAttributes:DWORD;
hTemplateFile:THandle):THandle ;
function CeReadFile ( hFile:THandle; lpBuffer:Pointer;
nNumberOfBytesToRead:DWORD;
var NumberOfBytesRead :DWORD;
Overlapped:POVERLAPPED):BOOL ;
function CeWriteFile ( hFile:THandle; Buffer:Pointer;
NumberOfBytesToWrite:DWORD;
var NumberOfBytesWritten:DWORD;
OverLapped:POVERLAPPED):BOOL ;
function CeCloseHandle ( hObject:THandle):BOOL ;
function CeFindAllDatabases(dwDbaseType:DWORD; wFlags:WORD;
var cFindData:DWORD;
var ppFindData:PCeDB_File_Data_Array):BOOL ;
function CeGetLastError : DWORD ;
function GetRapiError : LongInt ;
function CeSetFilePointer ( hFile:THandle; DistanceToMove:LongInt;
DistanceToMoveHigh:PULONG;
dwMoveMethod:DWORD):DWORD ;
function CeSetEndOfFile ( hFile:THandle):BOOL ;
function CeCreateDirectory (lpPathName:LPCWSTR;
lpSecurityAttributes:PSecurityAttributes):BOOL ;
function CeRemoveDirectory (PathName:LPCWSTR):BOOL ;
function CeCreateProcess (
lpApplicationName:LPCWSTR;lpCommandLine:LPCWSTR;
lpProcessAttributes:PSecurityAttributes;
lpThreadAttributes:PSecurityAttributes;
bInheritHandles :BOOL;dwCreateFlags :DWORD;
lpEnvironment:Pointer; lpCurrentDirectory
:LPWSTR;
lpStartupInfo:PSTARTUPINFO;
lpProcessInformation:PProcessInformation):BOOL ;
function CeMoveFile ( lpExistingFileName:LPCWSTR;
lpNewFileName:LPCWSTR):BOOL ;
function CeCopyFile ( lpExistingFileName:LPCWSTR; lpNewFileName:LPCWSTR;
bFailIfExists:BOOL):BOOL ;
function CeDeleteFile ( lpFileName:LPCWSTR):BOOL ;
function CeGetFileSize ( hFile:THandle; lpFileSizeHigh:PDWORD):DWORD ;
function CeRegOpenKeyEx ( hKey:HKEY; SubKey:LPCWSTR; Reserved:DWORD;
samDesired:REGSAM; pResult:PHKEY):LongInt ;
function CeRegEnumKeyEx ( hKey:HKEY; dwIndex:DWORD; KeyName:LPWSTR;
chName:PDWORD;
reserved:PDWORD; szClass:LPWSTR;
cchClass:PDWORD;
ftLastWrite:PFILETIME):LongInt ;
function CeRegCreateKeyEx ( hKey:HKEY; lpSzSubKey:LPCWSTR;
dwReserved:DWORD;
lpszClass:LPWSTR; dwOption:DWORD;
samDesired:REGSAM;
lpSecurityAttributes:PSecurityAttributes;
phkResult:PHKEY;
lpdwDisposition:PDWORD):LongInt ;
function CeRegCloseKey ( hKey:HKEY):LongInt ;
function CeRegDeleteKey ( hKey:HKEY; lpszSubKey:LPCWSTR):LongInt ;
function CeRegEnumValue ( hKey:HKEY; dwIndex:DWORD; lpszName:LPWSTR;
lpcchName:PDWORD; lpReserved:PDWORD;
lpszClass:PDWORD;
lpcchClass:PBYTE;
lpftLastWrite:PDWORD):LongInt ;
function CeRegDeleteValue ( hKey:HKEY; lpszValueName:LPCWSTR):LongInt ;
function CeRegQueryInfoKey (hKey:HKEY; ClassName:LPWSTR;
cchClass:PDWORD;
Reserved:PDWORD; cSubKeys:PDWORD;
cchMaxSubKeyLen:PDWORD;
cchMaxClassLen:PDWORD; cValues:PDWORD;
cchMaxValueNameLen:PDWORD;
cbMaxValueData:PDWORD;
cbSecurityDescriptor:PDWORD;
LastWriteTime:PFILETIME):LongInt ;
function CeRegQueryValueEx ( hKey:HKEY; ValueName:LPCWSTR;
Reserved:PDWORD; pType:PDWORD;
pData:PBYTE; cbData:PDWORD):LongInt ;
function CeRegSetValueEx ( hKey:HKEY; ValueName:LPCWSTR;
reserved:DWORD;
dwType:DWORD; pData:PBYTE;
cbData:DWORD):LongInt ;
function CeGetStoreInformation ( lpsi:PSTORE_INFORMATION):BOOL ;
function CeGetSystemMetrics ( nIndex:Integer):Integer ;
function CeGetDesktopDeviceCaps ( nIndedx:Integer):LongInt ;
procedure CeGetSystemInfo ( lpSystemInfo:PSystemInfo);
function CeSHCreateShortcut ( ShortCut:LPWSTR; Target:LPWSTR):DWORD ;
function CeSHGetShortcutTarget ( ShortCut:LPWSTR; Target:LPWSTR;
cbMax:integer):BOOL ;
function CeCheckPassword ( lpszPassword:LPWSTR):BOOL ;
function CeGetFileTime ( hFile:THandle; lpCreationTime:PFILETIME;
lpLastAccessTime:PFILETIME;
lpLastWriteTime:PFILETIME):BOOL ;
function CeSetFileTime ( hFile:THandle; CreationTime:PFILETIME;
LastAccessTime:PFILETIME;
lastWriteTime:PFILETIME):BOOL ;
function CeGetVersionEx ( lpVersionInfo:PCeOSVERSIONINFO ):BOOL ;
function CeGetWindow ( hWnd:HWND; uCmd:UINT):HWND ;
function CeGetWindowLong ( hWnd:HWND; nIndex:integer):LongInt ;
function CeGetWindowText ( hWnd:HWND; lpString:LPWSTR;
nMaxCount:integer):Integer ;
function CeGetClassName ( hWnd:HWND; lpClassName:LPWSTR;
nMaxCount:integer):Integer ;
procedure CeGlobalMemoryStatus ( lpmst:PMemoryStatus);
function CeGetSystemPowerStatusEx ( pStatus:PSYSTEM_POWER_STATUS_EX;
fUpdate:BOOL):BOOL ;
function DesktopToDevice(DesktopLocation, TableList: string; Sync: BOOL;
Overwrite: Integer; DeviceLocation:
string):Longint;
Regards
uttam
-----Original Message-----
From: Richard Phillips [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 20:09
To: Borland's Delphi Discussion List
Subject: Re: Pocket PC Application: How to browse the explorer
ondesktopusing program
Search the MSDN for RAPI.
RAPI provides calls for browsing the device as well as several other
handy
functions.
Note that if you intend extensive support, the DLL mapping is different
for
many of the versions of the rapi.dll and you'll want to dynamically load
the
DLL to support the differnet mappings.
Regards,
Richard
----- Original Message -----
From: "Uttam Kumar Kotdiya" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 04, 2005 11:52 PM
Subject: FW: Pocket PC Application: How to browse the explorer on
desktopusing program
>
>
> Hi All,
> I am developing an Pocket PC(WinCE) application. For interfacing
> between desktop and Pocket PC (WinCE), I am using Remote API
(RAPI.dll).
>
>
> I am facing a problem to browse the Pocket PC(WinCE) explorer on
> desktop, to select the Pocket PC(WinCE) folder path from desktop with
> programmatically. By Active sync I can access and browse the explore
> offline, but my requirement is to browse the Pocket PC(WinCE) explorer
> using desktop application. Is there an API is available to find out
the
> available folder structure at Pocket PC(WinCE) or browse the Pocket
> PC(WinCE) explore on desktop application?
>
>
> Help is needed.
>
> Regards
> Uttam
>
>
>
>
>
>
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
> http://groups.yahoo.com/group/indug/
>
> <*> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> <*> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
>
>
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi