Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The AddNew property returns a newly created Service object created with values specified by the arguments of this method. The new object is added to the collection.
Syntax
objServices.AddNew(punkTuneRequest As Unknown,
bstrProviderName As String,
bstrProviderDescription As String,
bstrProviderNetworkName As String,
dtStart As Date,
dtEnd As Date) As Service
Parameters
punkTuneRequest
[in] Specifies a TuneRequest object.
bstrProviderName
[in] Specifies the service provider name.
bstrProviderDescription
[in] Specifies the service provider description.
bstrProviderNetworkName
[in] Specifies the service provider network name.
dtStart
[in] Specifies the start time of the service.
dtEnd
[in] Specifies the end time of the service.
Error Codes
If the property fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
This property returns a Service object.
Remarks
All of the input arguments are added as properties of the newly created Service object.
This method is valid only for collections retrieved by using GuideStore.Services.
See Also