VirtualBox

Changeset 63075 in vbox


Ignore:
Timestamp:
Aug 5, 2016 10:49:49 PM (8 years ago)
Author:
vboxsync
Message:

GA/NT/SharedFolders: warnings

Location:
trunk/src/VBox/Additions/WINNT/SharedFolders/driver
Files:
2 edited

Legend:

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

    r63073 r63075  
    157157static LPSTR __stdcall Fake_PsGetProcessImageFileName(PEPROCESS pProcess)
    158158{
     159    RT_NOREF(pProcess);
    159160    Log(("Fake_PsGetProcessImageFileName: %p\n", pProcess));
    160161    return "Fake_PsGetProcessImageFileName";
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/path.c

    r62522 r63075  
    5858    ULONG CreateDisposition;
    5959    SHFLCREATEPARMS *pCreateParms = NULL;
     60
     61    RT_NOREF(EaBuffer);
    6062
    6163    if (EaLength)
     
    475477    PMRX_VBOX_FOBX pVBoxFobx;
    476478
     479    RT_NOREF(__C_Fobx); /* RxCaptureFobx */
     480
    477481    Log(("VBOXSF: MRxCreate: name ptr %p length=%d, SrvOpen->Flags 0x%08X\n",
    478482         RemainingName, RemainingName->Length, SrvOpen->Flags));
     
    605609}
    606610
    607 NTSTATUS VBoxMRxComputeNewBufferingState(IN OUT PMRX_SRV_OPEN pMRxSrvOpen,
    608                                          IN PVOID pMRxContext,
    609                                          OUT PULONG pNewBufferingState)
    610 {
     611NTSTATUS VBoxMRxComputeNewBufferingState(IN OUT PMRX_SRV_OPEN pMRxSrvOpen, IN PVOID pMRxContext, OUT PULONG pNewBufferingState)
     612{
     613    RT_NOREF(pMRxSrvOpen, pMRxContext, pNewBufferingState);
    611614    Log(("VBOXSF: MRxComputeNewBufferingState\n"));
    612615    return STATUS_NOT_SUPPORTED;
     
    615618NTSTATUS VBoxMRxDeallocateForFcb(IN OUT PMRX_FCB pFcb)
    616619{
     620    RT_NOREF(pFcb);
    617621    Log(("VBOXSF: MRxDeallocateForFcb\n"));
    618622    return STATUS_SUCCESS;
     
    621625NTSTATUS VBoxMRxDeallocateForFobx(IN OUT PMRX_FOBX pFobx)
    622626{
     627    RT_NOREF(pFobx);
    623628    Log(("VBOXSF: MRxDeallocateForFobx\n"));
    624629    return STATUS_SUCCESS;
     
    627632NTSTATUS VBoxMRxTruncate(IN PRX_CONTEXT RxContext)
    628633{
     634    RT_NOREF(RxContext);
    629635    Log(("VBOXSF: MRxTruncate\n"));
    630636    return STATUS_NOT_IMPLEMENTED;
     
    635641    PMRX_VBOX_FOBX pVBoxFobx = VBoxMRxGetFileObjectExtension(RxContext->pFobx);
    636642
    637     Log(("VBOXSF: MRxCleanupFobx: pVBoxFobx = %p, Handle = 0x%RX64\n",
    638           pVBoxFobx, pVBoxFobx? pVBoxFobx->hFile: 0));
     643    Log(("VBOXSF: MRxCleanupFobx: pVBoxFobx = %p, Handle = 0x%RX64\n", pVBoxFobx, pVBoxFobx? pVBoxFobx->hFile: 0));
    639644
    640645    if (!pVBoxFobx)
     
    646651NTSTATUS VBoxMRxForceClosed(IN PMRX_SRV_OPEN pSrvOpen)
    647652{
     653    RT_NOREF(pSrvOpen);
    648654    Log(("VBOXSF: MRxForceClosed\n"));
    649655    return STATUS_NOT_IMPLEMENTED;
     
    770776    PMRX_SRV_OPEN pSrvOpen = capFobx->pSrvOpen;
    771777
    772     int vboxRC = 0;
    773778    PUNICODE_STRING RemainingName = NULL;
    774779
     
    858863
    859864NTSTATUS vbsfRename(IN PRX_CONTEXT RxContext,
    860                        IN FILE_INFORMATION_CLASS FileInformationClass,
    861                        IN PVOID pBuffer,
    862                        IN ULONG BufferLength)
     865                    IN FILE_INFORMATION_CLASS FileInformationClass,
     866                    IN PVOID pBuffer,
     867                    IN ULONG BufferLength)
    863868{
    864869    NTSTATUS Status = STATUS_SUCCESS;
     
    879884    ULONG flags;
    880885
     886    RT_NOREF(FileInformationClass, pBuffer, BufferLength);
     887
    881888    Assert(FileInformationClass == FileRenameInformation);
    882889
     
    931938NTSTATUS VBoxMRxShouldTryToCollapseThisOpen(IN PRX_CONTEXT RxContext)
    932939{
     940    RT_NOREF(RxContext);
    933941    Log(("VBOXSF: MRxShouldTryToCollapseThisOpen\n"));
    934942    return STATUS_MORE_PROCESSING_REQUIRED;
     
    937945NTSTATUS VBoxMRxCollapseOpen(IN OUT PRX_CONTEXT RxContext)
    938946{
     947    RT_NOREF(RxContext);
    939948    Log(("VBOXSF: MRxCollapseOpen\n"));
    940949    return STATUS_MORE_PROCESSING_REQUIRED;
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