Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
592 B

/*
* util.h
*/
char *CompressedFileName(char *name);
void ConvertBackslashes(LPSTR sz);
void EnsureTrailingBackslash(char *sz);
void EnsureTrailingChar(char *sz, char c);
void EnsureTrailingCR(char *sz);
void EnsureTrailingSlash(char *sz);
DWORD FileStatus(LPCSTR file);
void pathcat(char *path, const char *node, DWORD size);
void pathcpy(LPSTR trg, LPCSTR path, LPCSTR node, DWORD size);
char *FormatStatus(HRESULT status);
BOOL EnsurePathExists(LPCSTR DirPath, LPSTR ExistingPath, DWORD ExistingPathSize);
BOOL UndoPath(LPCSTR DirPath, LPCSTR BasePath);