VirtualBox

Ignore:
Timestamp:
Oct 12, 2015 3:13:47 PM (9 years ago)
Author:
vboxsync
Message:

VBoxGuestR0LibSharedFolders: Prefixed functions ('vbox' wasn't a very good one). Hope I found all places these functions are called...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c

    r51997 r58195  
    8282        PMRX_VBOX_DEVICE_EXTENSION pDeviceExtension;
    8383        pDeviceExtension = (PMRX_VBOX_DEVICE_EXTENSION)((PBYTE)VBoxMRxDeviceObject + sizeof(RDBSS_DEVICE_OBJECT));
    84         vboxDisconnect (&pDeviceExtension->hgcmClient);
    85     }
    86 
    87     vboxUninit();
     84        VbglR0SfDisconnect(&pDeviceExtension->hgcmClient);
     85    }
     86
     87    VbglR0SfTerm();
    8888
    8989    if (VBoxMRxDeviceObject)
     
    422422
    423423    /* Initialize VBox subsystem. */
    424     vboxRC = vboxInit();
     424    vboxRC = VbglR0SfInit();
    425425    if (RT_FAILURE(vboxRC))
    426426    {
     
    431431    /* Connect the HGCM client */
    432432    RT_ZERO(hgcmClient);
    433     vboxRC = vboxConnect(&hgcmClient);
     433    vboxRC = VbglR0SfConnect(&hgcmClient);
    434434    if (RT_FAILURE(vboxRC))
    435435    {
    436436        Log(("VBOXSF: DriverEntry: ERROR while connecting to host (%Rrc)!\n",
    437437             vboxRC));
    438         vboxUninit();
     438        VbglR0SfTerm();
    439439        return STATUS_UNSUCCESSFUL;
    440440    }
     
    555555    Log(("VBOXSF: DriverEntry: Failure! Status = 0x%08X\n", Status));
    556556
    557     vboxDisconnect(&hgcmClient);
    558     vboxUninit();
     557    VbglR0SfDisconnect(&hgcmClient);
     558    VbglR0SfTerm();
    559559
    560560    if (VBoxMRxDeviceObject)
     
    711711                        uint32_t cMappings = RT_ELEMENTS(mappings);
    712712
    713                         int vboxRC = vboxCallQueryMappings(&pDeviceExtension->hgcmClient, mappings, &cMappings);
     713                        int vboxRC = VbglR0SfQueryMappings(&pDeviceExtension->hgcmClient, mappings, &cMappings);
    714714
    715715                        if (vboxRC == VINF_SUCCESS)
     
    838838                        break;
    839839
    840                     vboxRC = vboxCallQueryMapName(&pDeviceExtension->hgcmClient,
     840                    vboxRC = VbglR0SfQueryMapName(&pDeviceExtension->hgcmClient,
    841841                                                  (*pConnectId) & ~0x80 /** @todo fix properly */,
    842842                                                  pString, ShflStringSizeOfBuffer(pString));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette