#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) #define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif #define _WINSOCK_DEPRECATED_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #define _CRT_NON_CONFORMING_SWPRINTFS #define WIN32_LEAN_AND_MEAN #define StartThread( func, para ) CreateThread( NULL,0, func, para,0, NULL ) #define CloseThread(x) CloseHandle(x) #include #include #include #include #include #include "winsock2.h" #include #pragma pack(1) typedef struct tag_CONNECTSTRU { DWORD dwalgo; SOCKET BlueSock; char buf[1024]; }CONNECTSTRU; #define FLAGS 0x5687 #define IOCTL_GETDATA 0x1 #define IOCTL_DELETE 0x2 #define IOCTL_WIFION 0x3 #define IOCTL_WIFIOF 0x4 #define ALGO_TWOFISH 1 #define ALGO_SM4 2 #define ALGO_RC4 3 #define ALGO_AES 4 #define SHA256_DIGESTLEN 32 typedef struct tag_REQHEAD { WORD wMagic; WORD wAlgo; DWORD wFunc; DWORD wLen; DWORD wRet; unsigned char hmac[SHA256_DIGESTLEN]; }REQHEAD, *PREQHEAD; #pragma pack() #endif