Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Server.Host

Specifies the host for the client/server session.

Host(AppDesc As DPN_APPLICATION_DESC, _
    Address As DirectPlay8Address)

Parts

AppDesc
DPN_APPLICATION_DESC type that describes the application.
Address
DirectPlay8Address object that specifies the address of a service-provider device or a service provider on which to host the application.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_INVALIDPARAM