mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Centralise definition of AGENT_COPYDATA_ID.
How have I not noticed for years that it was separately defined in the client and server code?!
This commit is contained in:
parent
4ecb40a60d
commit
2a36f968e9
@ -12,8 +12,6 @@
|
||||
#include "security-api.h"
|
||||
#include "cryptoapi.h"
|
||||
|
||||
#define AGENT_COPYDATA_ID 0x804e50ba /* random goop */
|
||||
|
||||
static bool wm_copydata_agent_exists(void)
|
||||
{
|
||||
HWND hwnd;
|
||||
|
@ -30,8 +30,6 @@
|
||||
#define WM_SYSTRAY (WM_APP + 6)
|
||||
#define WM_SYSTRAY2 (WM_APP + 7)
|
||||
|
||||
#define AGENT_COPYDATA_ID 0x804e50ba /* random goop */
|
||||
|
||||
#define APPNAME "Pageant"
|
||||
|
||||
/* Titles and class names for invisible windows. IPCWINTITLE and
|
||||
|
@ -35,6 +35,10 @@
|
||||
#define BUILDINFO_PLATFORM "Windows"
|
||||
#endif
|
||||
|
||||
/* Randomly-chosen dwData value identifying a WM_COPYDATA message as
|
||||
* being a Pageant transaction */
|
||||
#define AGENT_COPYDATA_ID 0x804e50ba
|
||||
|
||||
struct Filename {
|
||||
char *path;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user