ITocEntry::GetSubEntries method (wmcodecdsp.h)
The GetSubEntries method gets an array of subentry indices that were set by a previous call to SetSubEntries.
HRESULT GetSubEntries( [in, out] DWORD *pdwNumSubEntries, [out] WORD *pwSubEntryIndices );
[in, out] pdwNumSubEntries
If pwSubEntryIndices is NULL, this is an output parameter that receives the number of subentries associated with this entry. If pwSubEntryIndices is not NULL, this is an input parameter that specifies the number of DWORDs in the caller-allocated array pointed to by pwSubEntryIndices.
NULL, or a pointer to a caller-allocated array of DWORDs that receives the subentry indices.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
||The method returns this error code if pwSubEntryIndices is not NULL and the number of subentries is larger than the number specified by pdwNumSubEntries. In that case, pdwNumSubEntries serves as an output parameter and receives the number of available subentry indices.|
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|