forked from nakkag/CLCL
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSendKey.h
More file actions
39 lines (31 loc) · 686 Bytes
/
SendKey.h
File metadata and controls
39 lines (31 loc) · 686 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
/*
* CLCL
*
* SendKey.h
*
* Copyright (C) 1996-2019 by Ohno Tomoaki. All rights reserved.
* https://www.nakka.com/
* nakka@nakka.com
*/
#ifndef _INC_SENDKEY_H
#define _INC_SENDKEY_H
/* Include Files */
/* Define */
#define DEFAULT_COPY_WAIT 100
#define DEFAULT_PASTE_WAIT 100
/* Struct */
typedef struct _SENDKEY_INFO {
TCHAR *title; // Window title
TCHAR *class_name; // Window class name
UINT copy_modifiers;
UINT copy_virtkey;
int copy_wait;
UINT paste_modifiers;
UINT paste_virtkey;
int paste_wait;
} SENDKEY_INFO;
/* Function Prototypes */
BOOL sendkey_copy(const HWND hWnd);
BOOL sendkey_paste(const HWND hWnd);
#endif
/* End of source */