ISdpStream::Validate (Compact 2013)
3/26/2014
This method parses the provided raw SDP stream, ensuring the stream is valid and well formed.
Syntax
HRESULT Validate(
UCHAR* pStream,
ULONG size,
ULONG_PTR* pErrorByte
);
Parameters
- pStream
[in] Pointer to the stream to validate.
- size
[in] Number of bytes in the stream specified by the pStream parameter.
- pErrorByte
[out] Offset of the incorrect byte if an error is in the stream.
Return Value
Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.