DPLMSG_SETPROPERTYRESPONSE

Message sent by a lobby to an application as confirmation of a DPLMSG_SETPROPERTY message. The message that is being confirmed is identified by the dwRequestID parameter.

typedef struct {

DWORD dwType;

DWORD dwRequestID

GUID guidPlayer;

GUID guidPropertyTag;

HRESULT hr;

} DPLMSG_SETPROPERTYRESPONSE, FAR *LPDPLMSG_SETPROPERTYRESPONSE;

Members

dwType

Identifies the message. This value is DPSYS_ SETPROPERTYRESPONSE.

dwRequestID

The ID that identifies the DPLMSG_SETPROPERTY message being confirmed.

guidPlayer

GUID identifying the player that this property was set for (if applicable). If the property is not player-specific, this member is GUID_NULL. This must be the same as the GUID from the DPLMSG_SETPROPERTY message.

guidPropertyTag

A GUID identifying the property that was set. This must be the same as the GUID from the DPLMSG_SETPROPERTY message.

hr

Result of the confirmation. One of the following values:

DP_OK - the property was set correctly.

DPERR_ACCESSDENIED - an attempt was made to set a property the lobby will not allow to be changed.

DPERR_UNKNOWN - the property is unknown to the lobby.

See Also

DPLMSG_SETPROPERTY