forked from gaojunxin/TSPlug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TSMyUser32DllFuntion.h
46 lines (17 loc) · 1.04 KB
/
TSMyUser32DllFuntion.h
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
//#if !defined(TSMYUSER32DLLFUNTION_H)
//#define TSMYUSER32DLLFUNTION_H
#pragma once
typedef bool (_stdcall * myGetCursorPos)( LPPOINT lpPoint);
typedef bool (_stdcall * myClientToScreen)(HWND hWnd,LPPOINT lpPoint);
typedef bool (_stdcall * myScreenToClient)( HWND hWnd,LPPOINT lpPoint);
typedef HWND (_stdcall *myGetWindow)(HWND hWnd,UINT uCmd );
typedef HWND (_stdcall *myFindWindow)( LPCTSTR lpClassName, LPCTSTR lpWindowName );
typedef HWND (_stdcall *myWindowFromPoint)( POINT Point );
typedef LONG (_stdcall *myGetWindowLong)( HWND hWnd, int nIndex);
typedef HWND (_stdcall *myFindWindowEx)( HWND hwndParent,HWND hwndChildAfter,LPCTSTR lpszClass,LPCTSTR lpszWindow);
typedef LRESULT (_stdcall *mySendMessage)(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam );
typedef bool (_stdcall *myPostMessage)(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM lParam );
typedef DWORD (_stdcall *myGetWindowThreadProcessId)( HWND hWnd, LPDWORD lpdwProcessId );
typedef BOOL (_stdcall *myIsWindow)( HWND hWnd );
bool InitialMyUser32Dll();
//#endif