Changeset 115 for trunk/include/helpers/dosh.h
- Timestamp:
- Nov 1, 2001, 6:37:28 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dosh.h
r113 r115 61 61 const char* pcszName); 62 62 63 PVOID doshRequestSharedMem( const char *pcszName);63 PVOID doshRequestSharedMem(PCSZ pcszName); 64 64 65 65 /* ****************************************************************** … … 172 172 173 173 VOID XWPENTRY doshEnumDrives(PSZ pszBuffer, 174 const char *pcszFileSystem,174 PCSZ pcszFileSystem, 175 175 BOOL fSkipRemoveables); 176 176 typedef VOID XWPENTRY DOSHENUMDRIVES(PSZ pszBuffer, 177 const char *pcszFileSystem,177 PCSZ pcszFileSystem, 178 178 BOOL fSkipRemoveables); 179 179 typedef DOSHENUMDRIVES *PDOSHENUMDRIVES; … … 304 304 /* ****************************************************************** 305 305 * 306 * File name parsing 307 * 308 ********************************************************************/ 309 310 APIRET doshGetDriveSpec(PCSZ pcszFullFile, 311 PSZ pszDrive, 312 PULONG pulDriveLen, 313 PBOOL pfIsUNC); 314 315 PSZ doshGetExtension(PCSZ pcszFilename); 316 317 /* ****************************************************************** 318 * 306 319 * File helpers 307 320 * 308 321 ********************************************************************/ 309 310 PSZ doshGetExtension(const char *pcszFilename);311 322 312 323 BOOL doshIsFileOnFAT(const char* pcszFileName); … … 329 340 ULONG ulAttr); 330 341 331 APIRET doshOpenExisting( const char *pcszFilename,342 APIRET doshOpenExisting(PCSZ pcszFilename, 332 343 ULONG ulOpenFlags, 333 344 HFILE *phf); … … 363 374 #define XOPEN_READWRITE_NEW 3 364 375 365 APIRET doshOpen( const char *pcszFilename,376 APIRET doshOpen(PCSZ pcszFilename, 366 377 ULONG ulOpenMode, 367 378 PULONG pcbFile, … … 378 389 APIRET doshClose(PXFILE *ppFile); 379 390 380 APIRET doshLoadTextFile( const char *pcszFile,391 APIRET doshLoadTextFile(PCSZ pcszFile, 381 392 PSZ* ppszContent); 382 393 … … 384 395 385 396 APIRET doshCreateTempFileName(PSZ pszTempFileName, 386 const char *pcszDir,387 const char *pcszPrefix,388 const char *pcszExt);397 PCSZ pcszDir, 398 PCSZ pcszPrefix, 399 PCSZ pcszExt); 389 400 390 401 APIRET doshWriteTextFile(const char* pszFile, … … 400 411 ********************************************************************/ 401 412 402 BOOL doshQueryDirExist( const char *pcszDir);403 404 APIRET doshCreatePath( const char *pcszPath,413 BOOL doshQueryDirExist(PCSZ pcszDir); 414 415 APIRET doshCreatePath(PCSZ pcszPath, 405 416 BOOL fHidden); 406 417 407 418 APIRET doshQueryCurrentDir(PSZ pszBuf); 408 419 409 APIRET doshSetCurrentDir( const char *pcszDir);420 APIRET doshSetCurrentDir(PCSZ pcszDir); 410 421 411 422 #define DOSHDELDIR_RECURSE 0x0001 412 423 #define DOSHDELDIR_DELETEFILES 0x0002 413 424 414 APIRET doshDeleteDir( const char *pcszDir,425 APIRET doshDeleteDir(PCSZ pcszDir, 415 426 ULONG flFlags, 416 427 PULONG pulDirs, … … 431 442 typedef DOSHMYTID *PDOSHMYTID; 432 443 433 APIRET doshExecVIO( const char *pcszExecWithArgs,444 APIRET doshExecVIO(PCSZ pcszExecWithArgs, 434 445 PLONG plExitCode); 435 446 436 APIRET doshQuickStartSession( const char *pcszPath,437 const char *pcszParams,447 APIRET doshQuickStartSession(PCSZ pcszPath, 448 PCSZ pcszParams, 438 449 BOOL fForeground, 439 450 USHORT usPgmCtl, … … 845 856 APIRET doshExecFreeResources(PFSYSRESOURCE paResources); 846 857 847 APIRET doshSearchPath( const char *pcszPath,848 const char *pcszFile,858 APIRET doshSearchPath(PCSZ pcszPath, 859 PCSZ pcszFile, 849 860 PSZ pszExecutable, 850 861 ULONG cbExecutable); 851 862 852 APIRET doshFindExecutable( const char *pcszCommand,863 APIRET doshFindExecutable(PCSZ pcszCommand, 853 864 PSZ pszExecutable, 854 865 ULONG cbExecutable, 855 const char **papcszExtensions,866 PCSZ *papcszExtensions, 856 867 ULONG cExtensions); 857 868
Note:
See TracChangeset
for help on using the changeset viewer.