Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The ItemWithProviderName property retrieves a Service object from the collection by name.
Syntax
objServices.ItemWithProviderName(bstrProviderName As String) As Service
Parameters
bstrProviderName
[in] Specifies the provider name.
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.
See Also