VirtualBox

Changeset 27871 in vbox


Ignore:
Timestamp:
Mar 31, 2010 9:49:40 AM (15 years ago)
Author:
vboxsync
Message:

Main: win build fix.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/NATEngineImpl.cpp

    r27868 r27871  
    255255
    256256STDMETHODIMP
    257 NATEngine::AddRedirect(IN_BSTR aName, uint32_t aProto, IN_BSTR aBindIp, uint16_t aHostPort, IN_BSTR aGuestIP, uint16_t aGuestPort)
     257NATEngine::AddRedirect(IN_BSTR aName, ULONG aProto, IN_BSTR aBindIp, USHORT aHostPort, IN_BSTR aGuestIP, USHORT aGuestPort)
    258258{
    259259
     
    407407
    408408STDMETHODIMP
    409 NATEngine::COMSETTER(HostIP) (CBSTR aBindIP)
     409NATEngine::COMSETTER(HostIP) (IN_BSTR aBindIP)
    410410{
    411411    AutoCaller autoCaller(this);
  • trunk/src/VBox/Main/include/NATEngineImpl.h

    r27868 r27871  
    9797    HRESULT saveSettings(settings::NAT &data);
    9898
    99     STDMETHOD(COMSETTER(Network)) (CBSTR aNetwork);
     99    STDMETHOD(COMSETTER(Network)) (IN_BSTR aNetwork);
    100100    STDMETHOD(COMGETTER(Network)) (BSTR *aNetwork);
    101     STDMETHOD(COMSETTER(HostIP)) (CBSTR aBindIP);
     101    STDMETHOD(COMSETTER(HostIP)) (IN_BSTR aBindIP);
    102102    STDMETHOD(COMGETTER(HostIP)) (BSTR *aBindIP);
    103103    /* TFTP attributes */
    104     STDMETHOD(COMSETTER(TftpPrefix)) (CBSTR aTftpPrefix);
     104    STDMETHOD(COMSETTER(TftpPrefix)) (IN_BSTR aTftpPrefix);
    105105    STDMETHOD(COMGETTER(TftpPrefix)) (BSTR *aTftpPrefix);
    106     STDMETHOD(COMSETTER(TftpBootFile)) (CBSTR aTftpBootFile);
     106    STDMETHOD(COMSETTER(TftpBootFile)) (IN_BSTR aTftpBootFile);
    107107    STDMETHOD(COMGETTER(TftpBootFile)) (BSTR *aTftpBootFile);
    108     STDMETHOD(COMSETTER(TftpNextServer)) (CBSTR aTftpNextServer);
     108    STDMETHOD(COMSETTER(TftpNextServer)) (IN_BSTR aTftpNextServer);
    109109    STDMETHOD(COMGETTER(TftpNextServer)) (BSTR *aTftpNextServer);
    110110    /* DNS attributes */
     
    120120
    121121    STDMETHOD(COMGETTER(Redirects)) (ComSafeArrayOut (BSTR, aNatRules));
    122     STDMETHOD(AddRedirect)(IN_BSTR aName, uint32_t aProto, IN_BSTR aBindIp, uint16_t aHostPort, IN_BSTR aGuestIP, uint16_t aGuestPort);
     122    STDMETHOD(AddRedirect)(IN_BSTR aName, ULONG aProto, IN_BSTR aBindIp, USHORT aHostPort, IN_BSTR aGuestIP, USHORT aGuestPort);
    123123    STDMETHOD(RemoveRedirect)(IN_BSTR aName);
    124124
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