VirtualBox

儲存庫 vbox 的更動 63047


忽略:
時間撮記:
2016-8-5 下午02:41:35 (8 年 以前)
作者:
vboxsync
訊息:

GA/NT/Graphics: warnings

位置:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm
檔案:
修改 4 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPIOCTL.cpp

    r62522 r63047  
    4141BOOLEAN VBoxMPResetDevice(PVBOXMP_DEVEXT pExt, PSTATUS_BLOCK pStatus)
    4242{
     43    RT_NOREF(pStatus);
    4344    LOGF_ENTER();
    4445
     
    278279BOOLEAN VBoxMPSetColorRegisters(PVBOXMP_DEVEXT pExt, PVIDEO_CLUT pClut, PSTATUS_BLOCK pStatus)
    279280{
     281    RT_NOREF(pExt);
    280282    LONG entry;
    281283
     
    411413BOOLEAN VBoxMPQueryPointerCapabilities(PVBOXMP_DEVEXT pExt, PVIDEO_POINTER_CAPABILITIES pCaps, PSTATUS_BLOCK pStatus)
    412414{
     415    RT_NOREF(pExt);
    413416    LOGF_ENTER();
    414417
     
    420423    pCaps->MaxHeight = 64;
    421424    /* Not used by our display driver */
    422     pCaps->HWPtrBitmapStart = -1;
    423     pCaps->HWPtrBitmapEnd   = -1;
     425    pCaps->HWPtrBitmapStart = ~(ULONG)0;
     426    pCaps->HWPtrBitmapEnd   = ~(ULONG)0;
    424427
    425428    LOGF_LEAVE();
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPInternal.cpp

    r62522 r63047  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox XPDM Miniport internal functions
     
    8685    unsigned i;
    8786
    88     for (i=0, pExt=pPrimaryExt; i<cViews && pExt; i++, pExt=pExt->pNext)
     87    for (i = 0, pExt=pPrimaryExt; i < cViews && pExt; i++, pExt = pExt->pNext)
    8988    {
    9089        p[i].u32ViewIndex     = pExt->iDevice;
     
    10099    }
    101100
    102     if (i == VBoxCommonFromDeviceExt(pPrimaryExt)->cDisplays && pExt == NULL)
     101    if (i == (unsigned)VBoxCommonFromDeviceExt(pPrimaryExt)->cDisplays && pExt == NULL)
    103102    {
    104103        return VINF_SUCCESS;
     
    111110void VBoxCreateDisplays(PVBOXMP_DEVEXT pExt, PVIDEO_PORT_CONFIG_INFO pConfigInfo)
    112111{
     112    RT_NOREF(pConfigInfo);
    113113    LOGF_ENTER();
    114114
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPRegistry.cpp

    r62522 r63047  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox XPDM Miniport registry related functions
     
    2019
    2120static VP_STATUS
    22 VBoxMPQueryNamedValueCB(PVOID HwDeviceExtension, PVOID Context,
    23                         PWSTR ValueName, PVOID ValueData, ULONG ValueLength)
     21VBoxMPQueryNamedValueCB(PVOID HwDeviceExtension, PVOID Context, PWSTR ValueName, PVOID ValueData, ULONG ValueLength)
    2422{
     23    RT_NOREF(HwDeviceExtension, ValueName);
    2524    PAGED_CODE();
    2625
     
    4544VP_STATUS VBoxMPCmnRegFini(IN VBOXMPCMNREGISTRY Reg)
    4645{
     46    RT_NOREF(Reg);
    4747    return NO_ERROR;
    4848}
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPVideoPortAPI.cpp

    r62522 r63047  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox XPDM Miniport video port api
     
    2322vboxWaitForSingleObjectVoid(IN PVOID  HwDeviceExtension, IN PVOID  Object, IN PLARGE_INTEGER  Timeout  OPTIONAL)
    2423{
     24    RT_NOREF(HwDeviceExtension, Object, Timeout);
    2525    WARN(("stub called"));
    2626    return ERROR_INVALID_FUNCTION;
     
    2929static LONG vboxSetEventVoid(IN PVOID  HwDeviceExtension, IN PEVENT  pEvent)
    3030{
     31    RT_NOREF(HwDeviceExtension, pEvent);
    3132    WARN(("stub called"));
    3233    return 0;
     
    3536static VOID vboxClearEventVoid(IN PVOID  HwDeviceExtension, IN PEVENT  pEvent)
    3637{
     38    RT_NOREF(HwDeviceExtension, pEvent);
    3739    WARN(("stub called"));
    3840}
     
    4143vboxCreateEventVoid(IN PVOID  HwDeviceExtension, IN ULONG  EventFlag, IN PVOID  Unused, OUT PEVENT  *ppEvent)
    4244{
     45    RT_NOREF(HwDeviceExtension, EventFlag, Unused, ppEvent);
    4346    WARN(("stub called"));
    4447    return ERROR_INVALID_FUNCTION;
     
    4851vboxDeleteEventVoid(IN PVOID  HwDeviceExtension, IN PEVENT  pEvent)
    4952{
     53    RT_NOREF(HwDeviceExtension, pEvent);
    5054    WARN(("stub called"));
    5155    return ERROR_INVALID_FUNCTION;
     
    5559vboxAllocatePoolVoid(IN PVOID  HwDeviceExtension, IN VBOXVP_POOL_TYPE  PoolType, IN size_t  NumberOfBytes, IN ULONG  Tag)
    5660{
     61    RT_NOREF(HwDeviceExtension, PoolType, NumberOfBytes, Tag);
    5762    WARN(("stub called"));
    5863    return NULL;
     
    6166static VOID vboxFreePoolVoid(IN PVOID  HwDeviceExtension, IN PVOID  Ptr)
    6267{
     68    RT_NOREF(HwDeviceExtension, Ptr);
    6369    WARN(("stub called"));
    6470}
     
    6773vboxQueueDpcVoid(IN PVOID  HwDeviceExtension, IN PMINIPORT_DPC_ROUTINE  CallbackRoutine, IN PVOID  Context)
    6874{
     75    RT_NOREF(HwDeviceExtension, CallbackRoutine, Context);
    6976    WARN(("stub called"));
    7077    return FALSE;
     
    7279
    7380static VBOXVP_STATUS
    74 vboxCreateSecondaryDisplayVoid(IN PVOID HwDeviceExtension, IN OUT PVOID SecondaryDeviceExtension, IN ULONG ulFlag)
     81vboxCreateSecondaryDisplayVoid(IN PVOID HwDeviceExtension, IN OUT PVOID SecondaryDeviceExtension, IN ULONG fFlag)
    7582{
     83    RT_NOREF(HwDeviceExtension, SecondaryDeviceExtension, fFlag);
    7684    WARN(("stub called"));
    7785    return ERROR_INVALID_FUNCTION;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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