Partager via


ISdpStream::RetrieveRecords (Compact 2013)

3/26/2014

This method retrieves records from the stream in a pointer-alignment-safe manner.

Syntax

HRESULT RetrieveRecords(
  UCHAR* pStream, 
  ULONG size, 
  ISdpRecord** ppSdpRecords, 
  ULONG* pNumRecords
);

Parameters

  • pStream
    [in] Pointer to the stream containing the record.
  • size
    [in] Size of the record to retrieve.
  • ppSdpRecords
    [out] Pointer to the SDP records.
  • pNumRecords
    [out] Pointer to the number of SDP records.

Return Value

Returns S_OK on success; otherwise returns standard HRESULT values as appropriate.

See Also

Reference

ISdpStream