Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_ItemWithServiceAtTime method retrieves a ScheduleEntry object by service and time.
Syntax
HRESULT get_ItemWithServiceAtTime(
IService* pservice,
DATE dt,
IScheduleEntry** ppVal
);
Parameters
pservice
[in] Specifies the IService interface of a Service object.
dt
[in] Specifies the date and time.
ppVal
[out] Address of a variable to receive the IScheduleEntry interface pointer 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. |
E_INVALIDARG | A matching object was not found. |
E_POINTER | Data cannot be read from or written to a supplied address. |
See Also