Changeset 682 for trunk/src


Ignore:
Timestamp:
Aug 25, 1999, 1:25:47 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

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 phaller Exp $ */
     1/* $Id: disk.cpp,v 1.5 1999-08-25 11:25:47 sandervl Exp $ */
    22
    33/*
     
    2323//******************************************************************************
    2424//******************************************************************************
    25 BOOL WIN32API SetVolumeLabelW(LPWSTR lpRootPathName, LPWSTR lpVolumeName)
     25BOOL WIN32API SetVolumeLabelW(LPCWSTR lpRootPathName, LPCWSTR lpVolumeName)
    2626{
    2727  char *asciiroot, *asciivolname;
     
    2929
    3030    dprintf(("KERNEL32:  OS2SetVolumeLabelW\n"));
    31     asciiroot    = UnicodeToAsciiString(lpRootPathName);
    32     asciivolname = UnicodeToAsciiString(lpVolumeName);
     31    asciiroot    = UnicodeToAsciiString((LPWSTR)lpRootPathName);
     32    asciivolname = UnicodeToAsciiString((LPWSTR)lpVolumeName);
    3333    rc = O32_SetVolumeLabel(asciiroot, asciivolname);
    3434    FreeAsciiString(asciivolname);
Note: See TracChangeset for help on using the changeset viewer.