Microsoft DirectX 8.1 (Visual Basic)

DirectPlayVoiceServer8.Initialize

Initializes the DirectPlayVoiceClient8 object by associating the DirectPlayVoiceServer8 object with a Microsoft® DirectPlay® object.

Initialize(DplayObj As Unknown, lFlags As Long)

Parts

DplayObj
Pointer to the IUnknown interface for the DirectPlay object that this DirectPlayVoiceServer8 object should use.
lFlags
Reserved. Must be 0.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DVERR_INVALIDPARAM
DVERR_ALREADYINITIALIZED
DVERR_INVALIDPOINTER
DVERR_TRANSPORTNOTINIT
DVERR_NOCALLBACK
DVERR_GENERIC