| Last change
 on this file since 1426 was             1398, checked in by Gregg Young, 17 years ago | 
        
          | 
Move embeded strings to PCSZ variables or string table; Eliminate Error2 functions Runtime_Error with NULL format string returns "No data" error. Change declares from PSZ to PCSZ in functions where the variable isn't changed. Added btm as an executable file type in several additional places. Use fProtectOnly to prevent attempt to execute Dos and Win programs on "Protect only" installs in several additional places.
 | 
        
          | 
              
Property                 svn:eolstyle
 set to                 native
Property                 svn:keywords
 set to                 Id | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 |  | 
|---|
| 2 | /*********************************************************************** | 
|---|
| 3 |  | 
|---|
| 4 | $Id: pathutil.h 1398 2009-02-21 17:43:00Z gyoung $ | 
|---|
| 5 |  | 
|---|
| 6 | Path handling utility functions | 
|---|
| 7 |  | 
|---|
| 8 | Copyright (c) 1993-98 M. Kimes | 
|---|
| 9 | Copyright (c) 2001, 2009 Steven H. Levine | 
|---|
| 10 |  | 
|---|
| 11 | 05 Jan 08 SHL Move from fm3dll.h to here | 
|---|
| 12 | 29 Feb 08 GKY Changes to enable user settable command line length | 
|---|
| 13 |  | 
|---|
| 14 | ***********************************************************************/ | 
|---|
| 15 |  | 
|---|
| 16 | #if !defined(PATHUTIL_H) | 
|---|
| 17 |  | 
|---|
| 18 | #define PATHUTIL_H | 
|---|
| 19 |  | 
|---|
| 20 | #if !defined(OS2_INCLUDED) | 
|---|
| 21 | #include <os2.h> | 
|---|
| 22 | #endif | 
|---|
| 23 |  | 
|---|
| 24 | PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName); | 
|---|
| 25 | PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName); | 
|---|
| 26 | PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName); | 
|---|
| 27 | PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_); | 
|---|
| 28 |  | 
|---|
| 29 | #define MAXCOMLINESTRGDEFAULT (1024)                    /* used to build command line strings */ | 
|---|
| 30 | #define CMDLNLNGTH_MIN (299) | 
|---|
| 31 | #define CMDLNLNGTH_MAX (32768) | 
|---|
| 32 |  | 
|---|
| 33 | #ifdef DEFINE_GLOBALS | 
|---|
| 34 | #define DATADEF | 
|---|
| 35 | #else | 
|---|
| 36 | #define DATADEF extern | 
|---|
| 37 | #endif | 
|---|
| 38 |  | 
|---|
| 39 | DATADEF ULONG MaxComLineStrg; | 
|---|
| 40 |  | 
|---|
| 41 | #endif // PATHUTIL_H | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.