Platform SDK: DirectX

IDirectPlay4::Initialize

The IDirectPlay4::Initialize method this method is provided for compliance with the COM protocol.

HRESULT Initialize(
  LPGUID lpGUID
);

Parameters

lpGUID
Pointer to the globally unique identifier (GUID) used as the interface identifier.

Return Values

The method returns DPERR_ALREADYINITIALIZED.

Remarks

Because the DirectPlay object is initialized when it is created, this method always returns the DPERR_ALREADYINITIALIZED return value.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.
  Import Library: Use dplayx.lib.

See Also

IUnknown::AddRef, IUnknown::QueryInterface