DPN_MSGID_RETURN_BUFFER Message

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

DPN_MSGID_RETURN_BUFFER Message


Microsoft® DirectPlay® generates the DPN_MSGID_RETURN_BUFFER message when DirectPlay is done with a user buffer.

The DPNMSG_RETURN_BUFFER structure contains information for the DPN_MSGID_RETURN_BUFFER message.

Syntax

typedef struct _DPNMSG_RETURN_BUFFER {
    DWORD dwSize;
    HRESULT hResultCode;
    PVOID pvBuffer;
    PVOID pvUserContext;
}  DPNMSG_RETURN_BUFFER, *PDPNMSG_RETURN_BUFFER;

Members

dwSize
Size of this structure.
hResultCode
Return value of the operation. This will be set to DPNERR_ENUMRESPONSETOOLARGE if the response to a DPN_MSGID_ENUM_HOSTS_QUERY message is too large.
pvBuffer
Pointer to the buffer being returned.
pvUserContext
Context value associated with the buffer.

Remarks

Return from the message callback function with DPN_OK.

Message Information

Headerdplay8.h
Minimum operating systems Windows 98, Pocket PC 2002

© 2003 Microsoft Corporation. All rights reserved.