[This is preliminary documentation and subject to change.]
The GetOption method retrieves the specified option, or command, from the item.
HRESULT GetOption (
long iOptionNumber,
long* plID,
BSTR* pstrText
);
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.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Import Library: User-defined.
Unicode: Yes.
IEPGItem::NumOptions, IEPGItem::OptionPrompt