Ignore:
Timestamp:
Oct 19, 2011, 11:26:02 AM (14 years ago)
Author:
dmik
Message:

Replace "\" with "/" in include statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/osliblvm.cpp

    r21583 r21720  
    2121#include <win32type.h>
    2222#include <winconst.h>
    23 #include <win\winioctl.h>
     23#include <win/winioctl.h>
    2424#include "osliblvm.h"
    2525
     
    8989    rc = DosQueryProcAddr(hModLVM, 0, "Write_Sectors", (PFN *)&pfnWrite_Sectors);
    9090    if(rc) goto fail;
    91    
     91
    9292    return TRUE;
    9393
     
    267267    Volume_Control_Array *volctrl;
    268268    CARDINAL32            lasterror;
    269    
     269
    270270    if(!hModLVM) {
    271271        dprintf(("LVM dll not loaded -> fail"));
     
    310310//******************************************************************************
    311311//******************************************************************************
    312 BOOL OSLibLVMQueryVolumeName(HANDLE hVolumeControlData, ULONG *pVolIndex, 
     312BOOL OSLibLVMQueryVolumeName(HANDLE hVolumeControlData, ULONG *pVolIndex,
    313313                             LPSTR lpszVolumeName, DWORD cchBufferLength)
    314314{
     
    346346static Volume_Information_Record OSLibLVMFindVolumeByDriveLetter(ULONG driveLetter,
    347347                                                                 Volume_Control_Record *pVolRec,
    348                                                                  CARDINAL32 *lasterror) 
     348                                                                 CARDINAL32 *lasterror)
    349349{
    350350    Volume_Control_Array      *volctrl;
     
    384384static Volume_Information_Record OSLibLVMFindVolumeByName(LPSTR pszVolName,
    385385                                                          Volume_Control_Record *pVolRec,
    386                                                           CARDINAL32 *lasterror) 
     386                                                          CARDINAL32 *lasterror)
    387387{
    388388    Volume_Control_Array      *volctrl;
     
    564564//            - -1 if volume wasn't found
    565565//            - 0 if volume is present, but not mounted
    566 //   
     566//
    567567//******************************************************************************
    568568CHAR OSLibLVMQueryDriveFromVolumeName(LPCSTR lpszVolume)
     
    596596//******************************************************************************
    597597//******************************************************************************
    598 DWORD OSLibLVMQueryVolumeSerialAndName(LPSTR lpszVolume, LPDWORD lpVolumeSerialNumber, 
     598DWORD OSLibLVMQueryVolumeSerialAndName(LPSTR lpszVolume, LPDWORD lpVolumeSerialNumber,
    599599                                       LPSTR lpVolumeNameBuffer, DWORD nVolumeNameSize)
    600600{
     
    621621//******************************************************************************
    622622//******************************************************************************
    623 BOOL OSLibLVMGetVolumeNameForVolumeMountPoint(LPCSTR lpszVolumeMountPoint, 
    624                                               LPSTR lpszVolumeName, 
     623BOOL OSLibLVMGetVolumeNameForVolumeMountPoint(LPCSTR lpszVolumeMountPoint,
     624                                              LPSTR lpszVolumeName,
    625625                                              DWORD cchBufferLength)
    626626{
     
    665665    strncpy(lpszOS2VolumeName, &lpszWin32VolumeName[sizeof(VOLUME_NAME_PREFIX)-1+1], cchBufferLength-1);  //-zero term + starting '{'
    666666    length -= sizeof(VOLUME_NAME_PREFIX)-1+1;
    667     if(lpszOS2VolumeName[length-2] == '}') 
     667    if(lpszOS2VolumeName[length-2] == '}')
    668668    {
    669669        lpszOS2VolumeName[length-2] = 0;
     
    671671    }
    672672    else
    673     if(lpszOS2VolumeName[length-1] == '}') 
     673    if(lpszOS2VolumeName[length-1] == '}')
    674674    {
    675675        lpszOS2VolumeName[length-1] = 0;
Note: See TracChangeset for help on using the changeset viewer.