Microsoft DirectX 8.0 (C++)

DPN_MSGID_RETURN_BUFFER

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

DPNMSG_RETURN_BUFFER

The DPNMSG_RETURN_BUFFER structure contains information for the DPN_MSGID_RETURN_BUFFER system message.

typedef struct {
    DWORD      dwSize;
    HRESULT    hResultCode;
    PVOID      pvBuffer;
    PVOID      pUserContext;
} DPNMSG_RETURN_BUFFER, *PDPNMSG_RETURN_BUFFER;
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.
pUserContext
Context value associated with the buffer.

Requirements

  Windows NT/2000: Available as a redistributable for Windows 2000 and later.
  Windows 95/98: Available as a redistributable for Windows 95 and later.
  Header: Declared in Dplay8.h.