VirtualBox

Ignore:
Timestamp:
Oct 18, 2024 7:03:23 AM (3 months ago)
Author:
vboxsync
Message:

Additions/VBoxTray: More cleanup (renaming). ​bugref:10763

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxLA.cpp

    r106449 r106466  
    12311231 * @interface_method_impl{VBOXTRAYSVCDESC,pfnInit}
    12321232 */
    1233 DECLCALLBACK(int) vbtrLAInit(const PVBOXTRAYSVCENV pEnv, void **ppInstance)
     1233DECLCALLBACK(int) vbtrLAInit(const PVBOXTRAYSVCENV pEnv, void **ppvInstance)
    12341234{
    12351235    AssertPtrReturn(pEnv, VERR_INVALID_POINTER);
    1236     AssertPtrReturn(ppInstance, VERR_INVALID_POINTER);
     1236    AssertPtrReturn(ppvInstance, VERR_INVALID_POINTER);
    12371237
    12381238    LogFlowFuncEnter();
     
    12791279    *(void **)&pCtx->pfnProcessIdToSessionId = RTLdrGetSystemSymbol("kernel32.dll", "ProcessIdToSessionId");
    12801280
    1281     *ppInstance = pCtx;
     1281    *ppvInstance = pCtx;
    12821282    LogFlowFuncLeaveRC(VINF_SUCCESS);
    12831283    return VINF_SUCCESS;
     
    12871287 * @interface_method_impl{VBOXTRAYSVCDESC,pfnDestroy}
    12881288 */
    1289 DECLCALLBACK(void) vbtrLADestroy(void *pInstance)
    1290 {
    1291     AssertPtrReturnVoid(pInstance);
    1292 
    1293     LogFlowFunc(("Destroying pInstance=%p\n", pInstance));
    1294 
    1295     PVBOXLACONTEXT pCtx = (PVBOXLACONTEXT)pInstance;
     1289DECLCALLBACK(void) vbtrLADestroy(void *pvInstance)
     1290{
     1291    AssertPtrReturnVoid(pvInstance);
     1292
     1293    LogFlowFunc(("Destroying pvInstance=%p\n", pvInstance));
     1294
     1295    PVBOXLACONTEXT pCtx = (PVBOXLACONTEXT)pvInstance;
    12961296    AssertPtr(pCtx);
    12971297
     
    13101310 * @interface_method_impl{VBOXTRAYSVCDESC,pfnWorker}
    13111311 */
    1312 DECLCALLBACK(int) vbtrLAWorker(void *pInstance, bool volatile *pfShutdown)
    1313 {
    1314     AssertPtr(pInstance);
    1315     LogFlowFunc(("pInstance=%p\n", pInstance));
     1312DECLCALLBACK(int) vbtrLAWorker(void *pvInstance, bool volatile *pfShutdown)
     1313{
     1314    AssertPtr(pvInstance);
     1315    LogFlowFunc(("pvInstance=%p\n", pvInstance));
    13161316
    13171317    /*
     
    13211321    RTThreadUserSignal(RTThreadSelf());
    13221322
    1323     PVBOXLACONTEXT pCtx = (PVBOXLACONTEXT)pInstance;
     1323    PVBOXLACONTEXT pCtx = (PVBOXLACONTEXT)pvInstance;
    13241324
    13251325    /*
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