N64: Hid jabo's window
This commit is contained in:
parent
7c5c47bedb
commit
ebf8bea920
|
@ -17,7 +17,8 @@
|
||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
|
||||||
#define LOG(x) { std::ofstream myfile; myfile.open ("jabo_wrapper_log.txt", std::ios::app); myfile << x << "\n"; myfile.close(); }
|
//#define LOG(x) { std::ofstream myfile; myfile.open ("jabo_wrapper_log.txt", std::ios::app); myfile << x << "\n"; myfile.close(); }
|
||||||
|
#define LOG(x)
|
||||||
|
|
||||||
namespace OldAPI
|
namespace OldAPI
|
||||||
{
|
{
|
||||||
|
@ -576,7 +577,7 @@ DWORD WINAPI ThreadProc( LPVOID lpParam )
|
||||||
char *pString = (char *)(lpParam);
|
char *pString = (char *)(lpParam);
|
||||||
RegisterDLLWindowClass("InjectedDLLWindowClass");
|
RegisterDLLWindowClass("InjectedDLLWindowClass");
|
||||||
hWnd_jabo = CreateWindowEx (0, "InjectedDLLWindowClass", pString, WS_OVERLAPPEDWINDOW, 300, 300, 400, 300, NULL, NULL,inj_hModule, NULL );
|
hWnd_jabo = CreateWindowEx (0, "InjectedDLLWindowClass", pString, WS_OVERLAPPEDWINDOW, 300, 300, 400, 300, NULL, NULL,inj_hModule, NULL );
|
||||||
ShowWindow (hWnd_jabo, SW_SHOWNORMAL);
|
ShowWindow (hWnd_jabo, SW_HIDE);
|
||||||
while (GetMessage (&messages, NULL, 0, 0))
|
while (GetMessage (&messages, NULL, 0, 0))
|
||||||
{
|
{
|
||||||
TranslateMessage(&messages);
|
TranslateMessage(&messages);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue