source: trunk/dll/pathutil.h@ 1438

Last change on this file since 1438 was 1438, checked in by Gregg Young, 16 years ago

Improved drivebar changes; Added AddBackslashToPath() to remove repeatative code. replaced "
" with PCSZ variable; ANY_OBJ added the DosAlloc... (experimental)

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1
2/***********************************************************************
3
4 $Id: pathutil.h 1438 2009-06-28 20:47: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 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
14
15***********************************************************************/
16
17#if !defined(PATHUTIL_H)
18
19#define PATHUTIL_H
20
21#if !defined(OS2_INCLUDED)
22#include <os2.h>
23#endif
24
25PSZ AddBackslashToPath(PSZ pszPathName);
26PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
27PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
28PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName);
29PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
30
31#define MAXCOMLINESTRGDEFAULT (1024) /* used to build command line strings */
32#define CMDLNLNGTH_MIN (299)
33#define CMDLNLNGTH_MAX (32768)
34
35#ifdef DEFINE_GLOBALS
36#define DATADEF
37#else
38#define DATADEF extern
39#endif
40
41DATADEF ULONG MaxComLineStrg;
42
43#endif // PATHUTIL_H
Note: See TracBrowser for help on using the repository browser.