Platform SDK: DirectX

DPMSG_SECUREMESSAGE

DirectPlay generates the DPMSG_SECUREMESSAGE structure when it receives a signed or encrypted message from another player.

typedef struct {
    DWORD   dwType;
    DWORD   dwFlags;
    DPID    dpIdFrom;
    LPVOID  lpData;
    DWORD   dwDataSize;
} DPMSG_SECUREMESSAGE, FAR *LPDPMSG_SECUREMESSAGE;
dwType
Identifies the system message type. This is DPSYS_SECUREMESSAGE.
dwFlags
Flags indicating how the message was secured by the sender. One of the following values:
DPSEND_SIGNED
The message was signed by the sender and the signature was successfully verified.
DPSEND_ENCRYPTED
The messages was encrypted by the sender and successfully decrypted.
dpIdFrom
The DPID of the player that sent the secure message.
lpData
Pointer to a buffer containing the fully verified message.
dwDataSize
Size of the buffer containing the message.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.

See Also

IDirectPlay4::Send