ITocEntry::SetSubEntries method (wmcodecdsp.h)

The SetSubEntries identifies a set of entries as being subentries of this entry.

Syntax

HRESULT SetSubEntries(
  [in] DWORD dwNumSubEntries,
  [in] WORD  *pwSubEntryIndices
);

Parameters

[in] dwNumSubEntries

The number of indices in the array pointed to by pwSubEntryIndices.

[in] pwSubEntryIndices

Pointer to an array of WORDs. Each WORD in the array specifies the index of an entry that is to be considered a subentry of this entry.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcodecdsp.h
DLL Wmvdspa.dll

See also

GetSubEntries

ITocEntry