BOOL _NutPathToWin32(const char *Pathname, char *win32path, BOOL absname);
You should ensure that the buffer that win32path points to is at least as large as the buffer that pathname points to. Buffers should be allocated with PATH_MAX+1 characters.
Points to the path name to be converted.
Points to a buffer that contains the converted path name.
When TRUE, this function converts a relative path to an absolute path.
pathname or win32path is an invalid pointer
pathname is invalid or nonexistent.
The length of pathname exceeds PATH_MAX or the length of a pathname component exceeds NAME_MAX while _POSIX_NO_TRUNC is in effect.
The buffer that pathname points to is empty.
PTC MKS Toolkit UNIX APIs extension.
Refer to File Management in the Windows Concepts chapter of the PTC MKS Toolkit UNIX to Windows Porting Guide for more information about the various path name formats supported by the NuTCRACKER Platform.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.