IEPGItem::NumOptions

[This is preliminary documentation and subject to change.]

The NumOptions method counts the number of commands that can run on an item.

HRESULT NumOptions (
  long* pNumOptions  
);
 

Parameters

pNumOptions
Pointer to a long that receives the total number of options.

Return Values

Returns an HRESULT indicating success or failure. If the method succeeds it returns S_OK. Otherwise it returns an error code. For specific error code values see Winerror.h.

Remarks

The available options for a broadcast vary over time. For example, you can watch an episode that is on now, but you can only set a reminder for one that is on later.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Import Library: User-defined.
  Unicode: Yes.

See Also

IEPGItem::GetOption, IEPGItem::OptionPrompt