source: trunk/dll/pathutil.h@ 1398

Last change on this file since 1398 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
RevLine 
[907]1
2/***********************************************************************
3
[1199]4 $Id: pathutil.h 1398 2009-02-21 17:43:00Z gyoung $
[907]5
6 Path handling utility functions
7
8 Copyright (c) 1993-98 M. Kimes
[1394]9 Copyright (c) 2001, 2009 Steven H. Levine
[907]10
11 05 Jan 08 SHL Move from fm3dll.h to here
[985]12 29 Feb 08 GKY Changes to enable user settable command line length
[907]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
[1398]24PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
25PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
[1394]26PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName);
[920]27PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
[907]28
[1394]29#define MAXCOMLINESTRGDEFAULT (1024) /* used to build command line strings */
[985]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
39DATADEF ULONG MaxComLineStrg;
40
[907]41#endif // PATHUTIL_H
Note: See TracBrowser for help on using the repository browser.