Skip to content

Commit

Permalink
fix x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau committed Jun 10, 2024
1 parent 5ced887 commit 0da8710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
8 changes: 4 additions & 4 deletions dll/MsRdpEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

#include <MsRdpEx/Detours.h>

#include "RdpDvcClient.h"

#include <stdarg.h>
#include <comutil.h>

#include "RdpDvcClient.h"

static HMODULE g_hModule = NULL;

static bool g_AxHookEnabled = true;
Expand Down Expand Up @@ -93,13 +93,13 @@ HRESULT STDAPICALLTYPE MsRdpEx_DllGetClassObject(REFCLSID rclsid, REFIID riid, L
return DllGetClassObject(rclsid, riid, ppv);
}

HRESULT DllRegisterServer()
HRESULT STDAPICALLTYPE DllRegisterServer()
{
MsRdpEx_LogPrint(DEBUG, "DllRegisterServer");
return S_OK;
}

HRESULT DllUnregisterServer()
HRESULT STDAPICALLTYPE DllUnregisterServer()
{
MsRdpEx_LogPrint(DEBUG, "DllUnregisterServer");
return S_OK;
Expand Down
7 changes: 0 additions & 7 deletions dll/RdpDvcClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@

#include "MsRdpEx.h"

#include <comdef.h>
#include <atlbase.h>
#include <oleidl.h>
#include <commctrl.h>

#include <tsvirtualchannels.h>

class CRdpDvcClient :
Expand Down Expand Up @@ -80,8 +75,6 @@ class CRdpDvcPlugin :
IWTSVirtualChannel* m_pChannel = NULL;
};

extern "C" const GUID CLSID_IMsRdpExDVCPlugin;

HRESULT STDAPICALLTYPE DllGetClassObject_DvcPlugin(REFCLSID rclsid, REFIID riid, LPVOID* ppv, void* instance);

#endif /* MSRDPEX_DVC_CLIENT_H */

0 comments on commit 0da8710

Please sign in to comment.