Microsoft DirectX 8.1 (C++)

IChannel::get_Service

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_Service method retrieves the Service object associated with this Channel object.

Syntax

HRESULT get_Service(
  IService**  ppservice
);

Parameters

ppservice

[out]  Address of a variable to receive the IService interface of the retrieved object.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.
S_FALSE No object was found.
E_POINTER Data cannot be read from or written to a supplied address.

See Also