1
0
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:
Simon Tatham 2022-01-03 11:15:07 +00:00
parent 4ecb40a60d
commit 2a36f968e9
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;
};