VirtualBox

Ignore:
Timestamp:
Nov 27, 2018 2:14:41 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126975
Message:

HGCM: Added fRequestor and fRestoring to VBOXHGCMSVCFNTABLE::pfnConnect. bugref:9105

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r75737 r75773  
    334334    /**
    335335     * @interface_method_impl{VBOXHGCMSVCFNTABLE,pfnConnect}
     336     * Stub implementation of pfnConnect.
     337     */
     338    static DECLCALLBACK(int) svcConnect(void * /* pvService */,
     339                                        uint32_t /* u32ClientID */,
     340                                        void * /* pvClient */,
     341                                        uint32_t /*fRequestor*/,
     342                                        bool /*fRestoring*/)
     343    {
     344        return VINF_SUCCESS;
     345    }
     346
     347    /**
     348     * @interface_method_impl{VBOXHGCMSVCFNTABLE,pfnConnect}
    336349     * Stub implementation of pfnConnect and pfnDisconnect.
    337350     */
    338     static DECLCALLBACK(int) svcConnectDisconnect(void * /* pvService */,
    339                                                   uint32_t /* u32ClientID */,
    340                                                   void * /* pvClient */)
     351    static DECLCALLBACK(int) svcDisconnect(void * /* pvService */,
     352                                           uint32_t /* u32ClientID */,
     353                                           void * /* pvClient */)
    341354    {
    342355        return VINF_SUCCESS;
     
    17081721
    17091722                ptable->pfnUnload             = Service::svcUnload;
    1710                 ptable->pfnConnect            = Service::svcConnectDisconnect;
    1711                 ptable->pfnDisconnect         = Service::svcConnectDisconnect;
     1723                ptable->pfnConnect            = Service::svcConnect;
     1724                ptable->pfnDisconnect         = Service::svcDisconnect;
    17121725                ptable->pfnCall               = Service::svcCall;
    17131726                ptable->pfnHostCall           = Service::svcHostCall;
Note: See TracChangeset for help on using the changeset viewer.

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