2.2.33.1 DN_NAMETABLE_ENTRY_INFO

Information on a name table entry. The number of DN_NAMETABLE_ENTRY_INFO structures in this packet is specified in the dwEntryCount field.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dpnid

dpnidOwner

dwFlags

dwVersion

dwVersionNotUsed

dwDNETVersion

dwNameOffset

dwNameSize

dwDataOffset

dwDataSize

dwURLOffset

dwURLSize

dpnid (4 bytes): A 32-bit integer that specifies the DirectPlay identifier. This value MUST be calculated as described in section 2.2.1.

dpnidOwner (4 bytes): A 32-bit integer that provides the DirectPlay identifier for the owner.

dwFlags (4 bytes): A 32-bit integer that specifies the name table entry flags. Entries are OR'd together.<11>

Value

Meaning

0x00000001

The name table entry is the local player.

0x00000002

The name table entry is the host.

0x00000100

The name table entry is a peer. In peer-to-peer mode, the name table entry representing the host of the game session is also marked as a peer.

0x00001000

The name table entry is connecting.

0x00002000

The name table entry is to make the member available for use.

0x00004000

The name table entry to indicate disconnecting.

0x00010000

The name table entry to indicate connection to the application.

0x00020000

The name table entry to indicate that the application was given a created player.

0x00040000

The name table entry to indicate the need to destroy the player.

0x00080000

The name table entry to indicate that the player is in use.

dwVersion (4 bytes): A 32-bit integer that specifies the version number of the name table.

dwVersionNotUsed (4 bytes): This field MUST be set to 0 when sending and ignored on receipt.

dwDNETVersion (4 bytes): A 32-bit integer that provides the DirectPlay version. This field MUST be set to the appropriate DirectPlay version.<12>

dwNameOffset (4 bytes): A 32-bit integer that provides the offset, in bytes, from the end of the dwPacketType field to the name field. This value MUST NOT be 0.

dwNameSize (4 bytes): A 32-bit integer that provides the size, in bytes, of the name field. This value MUST NOT be 0.

dwDataOffset (4 bytes): A 32-bit integer that provides the offset, in bytes, from the end of the dwPacketType field to the data field.

dwDataSize (4 bytes): A 32-bit integer that provides the size, in bytes, of the data field.

dwURLOffset (4 bytes): A 32-bit integer that provides the offset, in bytes, from the end of the dwPacketType field to the url field.

dwURLSize (4 bytes): A 32-bit integer that provides the size, in bytes, of the url field.