[This is preliminary documentation and subject to change.]
The HasEnhancement method gets a value indicating whether the episode has enhancements. If the episode has enhancements, this method retrieves identifiers specifying the enhancement.
HRESULT HasEnhancement(
VARIANT_BOOL *pf,
long * lTSEnhMappingID,
long * lEpiEnhMappingID
);
You can pass in NULL for either or both of the enhancement identifiers. In this case, HasEnhancement will still return a value that indicates whether the episode has enhancements, however it does not get values for the identifiers. The following code is an example of this usage:
pEPGEpisode->HasEnhancement(&fHasEnh, NULL, NULL)
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.