COPYDATASTRUCT structure (winuser.h)

Contains data to be passed to another application by the WM_COPYDATA message.

Syntax

typedef struct tagCOPYDATASTRUCT {
  ULONG_PTR dwData;
  DWORD     cbData;
  PVOID     lpData;
} COPYDATASTRUCT, *PCOPYDATASTRUCT;

Members

dwData

Type: ULONG_PTR

The type of the data to be passed to the receiving application. The receiving application defines the valid types.

cbData

Type: DWORD

The size, in bytes, of the data pointed to by the lpData member.

lpData

Type: PVOID

The data to be passed to the receiving application. This member can be NULL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winuser.h (include Windows.h)

See also

WM_COPYDATA