ISdpStream::RetrieveElementInfo (Compact 2013)
3/26/2014
This method retrieves element information from the stream in a pointer-alignment-safe manner.
Syntax
HRESULT RetrieveElementInfo(
UCHAR* pStream,
SDP_TYPE* pElementType,
SDP_SPECIFICTYPE* pElementSpecificType,
ULONG* pElementSize,
ULONG* pStorageSize,
UCHAR** ppData
);
Parameters
- pStream
[in] Pointer to the stream containing the element.
- pElementType
[out] Destination pointer for the type of the element.
- pElementSpecificType
[out] Destination pointer for the specific type of the element.
- pElementSize
[out] Destination pointer for the size of the element.
- pStorageSize
[out] Destination pointer for the storage size.
- ppData
[out] Destination pointer for the data in the element.
Return Value
Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.