- Timestamp:
- Mar 26, 2016 12:57:01 PM (9 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp
r58358 r60193 529 529 } 530 530 531 staticDECLINLINE(BOOLEAN) vboxWddmDalCheckAddRc(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_RESOURCE pRc, BOOLEAN fWrite)531 DECLINLINE(BOOLEAN) vboxWddmDalCheckAddRc(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_RESOURCE pRc, BOOLEAN fWrite) 532 532 { 533 533 BOOLEAN fChanged = FALSE; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h
r57633 r60193 171 171 default: Assert(0); return "Unknown"; 172 172 173 staticDECLINLINE(const char*) vboxDispLogD3DRcType(D3DRESOURCETYPE enmType)173 DECLINLINE(const char*) vboxDispLogD3DRcType(D3DRESOURCETYPE enmType) 174 174 { 175 175 switch (enmType) -
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/vboxext.c
r46521 r60193 725 725 } 726 726 727 staticDECLINLINE(uint32_t) vboxExtHashIdx(uint32_t u32Hash)727 DECLINLINE(uint32_t) vboxExtHashIdx(uint32_t u32Hash) 728 728 { 729 729 return u32Hash % VBOXEXT_HASHMAP_NUM_BUCKETS; -
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r58374 r60193 533 533 534 534 535 staticDECLINLINE(bool) supHardNtVpIsModuleNameMatch(PSUPHNTVPIMAGE pImage, const char *pszModule)535 DECLINLINE(bool) supHardNtVpIsModuleNameMatch(PSUPHNTVPIMAGE pImage, const char *pszModule) 536 536 { 537 537 if (pImage->fDll) -
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h
r56293 r60193 3 3 * VBoxUsbDev.h - USB device. 4 4 */ 5 5 6 /* 6 7 * Copyright (C) 2011-2015 Oracle Corporation … … 14 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 16 */ 17 16 18 #ifndef ___VBoxUsbDev_h___ 17 19 #define ___VBoxUsbDev_h___ … … 85 87 86 88 /* pnp state api */ 87 staticDECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateGet(PVBOXUSBDEV_EXT pDevExt)89 DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateGet(PVBOXUSBDEV_EXT pDevExt) 88 90 { 89 91 return (ENMVBOXUSB_PNPSTATE)ASMAtomicUoReadU32((volatile uint32_t*)&pDevExt->DdiState.PnPState.Curr); 90 92 } 91 93 92 staticDECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateSet(PVBOXUSBDEV_EXT pDevExt, ENMVBOXUSB_PNPSTATE enmState)94 DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateSet(PVBOXUSBDEV_EXT pDevExt, ENMVBOXUSB_PNPSTATE enmState) 93 95 { 94 96 KIRQL Irql; … … 104 106 } 105 107 106 staticDECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateRestore(PVBOXUSBDEV_EXT pDevExt)108 DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateRestore(PVBOXUSBDEV_EXT pDevExt) 107 109 { 108 110 ENMVBOXUSB_PNPSTATE enmNewState, enmOldState; … … 120 122 } 121 123 122 staticDECLINLINE(VOID) vboxUsbPnPStateInit(PVBOXUSBDEV_EXT pDevExt)124 DECLINLINE(VOID) vboxUsbPnPStateInit(PVBOXUSBDEV_EXT pDevExt) 123 125 { 124 126 pDevExt->DdiState.PnPState.Curr = pDevExt->DdiState.PnPState.Prev = ENMVBOXUSB_PNPSTATE_START_PENDING; 125 127 } 126 128 127 staticDECLINLINE(VOID) vboxUsbDdiStateInit(PVBOXUSBDEV_EXT pDevExt)129 DECLINLINE(VOID) vboxUsbDdiStateInit(PVBOXUSBDEV_EXT pDevExt) 128 130 { 129 131 KeInitializeSpinLock(&pDevExt->DdiState.Lock); … … 133 135 } 134 136 135 staticDECLINLINE(bool) vboxUsbDdiStateRetainIfStarted(PVBOXUSBDEV_EXT pDevExt)137 DECLINLINE(bool) vboxUsbDdiStateRetainIfStarted(PVBOXUSBDEV_EXT pDevExt) 136 138 { 137 139 KIRQL oldIrql; … … 154 156 * NOTE: never returns ENMVBOXUSB_PNPSTATE_REMOVED 155 157 * */ 156 staticDECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbDdiStateRetainIfNotRemoved(PVBOXUSBDEV_EXT pDevExt)158 DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbDdiStateRetainIfNotRemoved(PVBOXUSBDEV_EXT pDevExt) 157 159 { 158 160 KIRQL oldIrql; … … 168 170 } 169 171 170 staticDECLINLINE(uint32_t) vboxUsbDdiStateRetain(PVBOXUSBDEV_EXT pDevExt)172 DECLINLINE(uint32_t) vboxUsbDdiStateRetain(PVBOXUSBDEV_EXT pDevExt) 171 173 { 172 174 return VBoxDrvToolRefRetain(&pDevExt->DdiState.Ref); 173 175 } 174 176 175 staticDECLINLINE(uint32_t) vboxUsbDdiStateRelease(PVBOXUSBDEV_EXT pDevExt)177 DECLINLINE(uint32_t) vboxUsbDdiStateRelease(PVBOXUSBDEV_EXT pDevExt) 176 178 { 177 179 return VBoxDrvToolRefRelease(&pDevExt->DdiState.Ref); 178 180 } 179 181 180 staticDECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitCompleted(PVBOXUSBDEV_EXT pDevExt)182 DECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitCompleted(PVBOXUSBDEV_EXT pDevExt) 181 183 { 182 184 VBoxDrvToolRefRelease(&pDevExt->DdiState.Ref); … … 184 186 } 185 187 186 staticDECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitRemoved(PVBOXUSBDEV_EXT pDevExt)188 DECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitRemoved(PVBOXUSBDEV_EXT pDevExt) 187 189 { 188 190 VBoxDrvToolRefRelease(&pDevExt->DdiState.Ref); -
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r59566 r60193 1596 1596 * @param pwszTypeLibVersion The type library version string. 1597 1597 */ 1598 staticDECLINLINE(bool) vbpsIsTypeLibVersionToRemove(PCRTUTF16 pwszTypeLibVersion)1598 DECLINLINE(bool) vbpsIsTypeLibVersionToRemove(PCRTUTF16 pwszTypeLibVersion) 1599 1599 { 1600 1600 AssertCompile(RT_ELEMENTS(g_apwszTypelibVersions) == 2); … … 1700 1700 * @param pwszTypeLibId The type library ID as a bracketed string. 1701 1701 */ 1702 staticDECLINLINE(bool) vbpsIsTypeLibIdToRemove(PRTUTF16 pwszTypeLibId)1702 DECLINLINE(bool) vbpsIsTypeLibIdToRemove(PRTUTF16 pwszTypeLibId) 1703 1703 { 1704 1704 #ifdef VBOX_STRICT … … 1751 1751 * @param pwszProxyStubId The proxy stub class ID. 1752 1752 */ 1753 staticDECLINLINE(bool) vbpsIsProxyStubClsIdToRemove(PRTUTF16 pwszProxyStubId)1753 DECLINLINE(bool) vbpsIsProxyStubClsIdToRemove(PRTUTF16 pwszProxyStubId) 1754 1754 { 1755 1755 #ifdef VBOX_STRICT
Note:
See TracChangeset
for help on using the changeset viewer.