IGenericDescriptor::Initialize method (mpeg2psiparser.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.
The Initialize method initializes the object. This method is called internally by the various methods that return IGenericDescriptor interface pointers, so applications typically should not call it.
Syntax
HRESULT Initialize(
[in] BYTE *pbDesc,
[in] INT bCount
);
Parameters
[in] pbDesc
Pointer to a buffer that contains the raw descriptor data.
[in] bCount
Specifies the size of the buffer, in bytes.
Return value
The method returns an HRESULT. Possible values include those in the following table.
Return code | Description |
---|---|
|
Insufficient memory. |
|
The object is already initialized. |
|
Invalid or malformed descriptor. |
|
NULL pointer argument. |
|
The method succeeded. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mpeg2psiparser.h |