DirectPlay Animated Header -- DPMSG_SECUREMESSAGE DirectPlay Animated Header -- DPMSG_SECUREMESSAGE* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: DPMSG_HOST
*Next Topic: DPMSG_SESSIONLOST


DPMSG_SECUREMESSAGE


DirectPlay generates this message 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;
Members
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.
See Also

IDirectPlay3::Send

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page