The IPrograms::_NewEnum method, in Configuration Manager, enumerates through the Program Class objects in the collection.
[IDL] HRESULT _NewEnum( IUnknown** pVal ); |
Parameters
- pVal
- Data type: IUnknownQualifiers: [out, retval]Pointer to IUnknown for a collection of Program Class objects.
Return Value
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Remarks
This method is used in a For Each operation, such as the For Each operator in VBScript.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Send comments about this topic to Microsoft.