- Timestamp:
- Aug 25, 1999, 1:25:47 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/disk.cpp
r100 r682 1 /* $Id: disk.cpp,v 1. 4 1999-06-10 20:47:58 phallerExp $ */1 /* $Id: disk.cpp,v 1.5 1999-08-25 11:25:47 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 //****************************************************************************** 24 24 //****************************************************************************** 25 BOOL WIN32API SetVolumeLabelW(LP WSTR lpRootPathName, LPWSTR lpVolumeName)25 BOOL WIN32API SetVolumeLabelW(LPCWSTR lpRootPathName, LPCWSTR lpVolumeName) 26 26 { 27 27 char *asciiroot, *asciivolname; … … 29 29 30 30 dprintf(("KERNEL32: OS2SetVolumeLabelW\n")); 31 asciiroot = UnicodeToAsciiString( lpRootPathName);32 asciivolname = UnicodeToAsciiString( lpVolumeName);31 asciiroot = UnicodeToAsciiString((LPWSTR)lpRootPathName); 32 asciivolname = UnicodeToAsciiString((LPWSTR)lpVolumeName); 33 33 rc = O32_SetVolumeLabel(asciiroot, asciivolname); 34 34 FreeAsciiString(asciivolname);
Note:
See TracChangeset
for help on using the changeset viewer.