Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The QueryMPEInfo method returns the multi-protocol encapsulation (MPE) information in the PMT, if any.
Syntax
HRESULT QueryMPEInfo(
[out] MPE_ELEMENT **ppMPEList,
[out] UINT *puiCount
);
Parameters
ppMPEList [out]
Address of a variable that receives a pointer to an array of MPE_ELEMENT structures. The client must free the array by calling the CoTaskMemFree function.puiCount [out]
Receives the number of elements returned in ppMPEList.
Return Value
The method returns an HRESULT. Possible values include those in the following table.
Return code | Description |
---|---|
E_OUTOFMEMORY |
Insufficient memory. |
E_POINTER |
NULL pointer argument. |
MPEG2_E_MALFORMED_TABLE |
Malformed table. |
MPEG2_S_MPE_INFO_FOUND |
MPE information was found in the PMT. |
MPEG2_S_MPE_INFO_NOT_FOUND |
MPE information was not found in the PMT. |
Remarks
If the method succeeds, it returns one of the two success codes listed in the previous table. It returns MPEG2_S_MPE_INFO_FOUND if the PMT contains MPE information, or MPEG2_S_MPE_INFO_NOT_FOUND if the PMT does not contain any MPE information.
Requirements
Header | Declared in Mpeg2PsiParser.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008