?? gamespy.cpp
字號(hào):
// GameSpy.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#pragma data_seg(".share")
volatile int g_application_count = 0;
#pragma data_seg()
#pragma comment(linker, "/section:.share,rws")
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
if(g_application_count > 0)
{
//MessageBox(0, "a", "", 0);
return 1;
}
g_application_count ++;
if(InitSocket())
{
_beginthread(CheckGameQuit, 0, 0);
DoSniffing();
WSACleanup();
return 0;
}
else
{
return 2;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -