-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathCWhatsUpDummyServer.h
More file actions
45 lines (30 loc) · 902 Bytes
/
CWhatsUpDummyServer.h
File metadata and controls
45 lines (30 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// ------------------------------
// Decompiled by Deathway
// Date : 2007-03-09
// ------------------------------
#ifndef WHATSUPDUMMYSERVER_H
#define WHATSUPDUMMYSERVER_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef _WIN64
typedef WNDPROC (__stdcall *WhatsUpDummyServerProc)(HWND, unsigned int, long, unsigned int);
#else
typedef long (__stdcall *WhatsUpDummyServerProc)(HWND, unsigned int, unsigned int, long);
#endif
#define WINSOCK_REQUESTED_VERSION 0x202
class CWhatsUpDummyServer
{
public:
CWhatsUpDummyServer();
~CWhatsUpDummyServer();
int Start(HWND hWnd, WORD wPort);
static LRESULT __cdecl ParentWndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam);
static WhatsUpDummyServerProc m_lpOldProc;
private:
SOCKET m_sckDUMMY; // 0
WORD m_wPORT; // 4
HWND m_hParentWnd; // 8
};
//extern static WNDPROC CWhatsUpDummyServer::m_lpOldProc;
#endif