Microsoft DirectX 8.1 (C++)

IScheduleEntry::putref_Program

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

The putref_Program method specifies the Program object for this entry.

Syntax

HRESULT put_Program(
  IProgram*  pprog
);

Parameters

pprog

[in]  Specifies the IProgram interface of the Program object to be associated with the entry.

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.
E_POINTER Data cannot be read from or written to a supplied address.

See Also