IMSVidAudioRendererDevices::get__NewEnum method (segment.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The get__NewEnum method retrieves an enumerator for the collection.
HRESULT get__NewEnum(
[out] IEnumVARIANT **pD
);
[out] pD
Pointer to a variable that receives an IEnumVARIANT interface pointer.
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
|
Success. |
|
Insufficient memory. |
|
NULL pointer argument. |
This method is provided so that Automation clients can iterate through the collection using a For...Each
loop.
The returned IEnumVARIANT interface is not thread safe, because it is intended primarily for use by Automation clients. Clients should not call methods on the interface from more than one thread. (C++ applications should generally use the IMSVidAudioRendererDevices::get_Item method instead.)
If the method succeeds, the IEnumVARIANT interface has an outstanding reference count. The caller must release the interface.
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | segment.h (include Msvidctl.h) |