Compartir a través de


ISdpStream::Retrieve* (Windows CE 5.0)

Send Feedback

This method retrieves data of a specified type (*) from the stream in a pointer-alignment-safe manner.

HRESULT Retrieve*(UCHAR* pStream,OutputType* outputElement);

Parameters

  • pStream
    [in] Pointer to the stream containing the data.
  • outputElement
    [out] Destination pointer for the retrieved data.

Return Values

None.

Remarks

The following table shows possible syntax for this method.

Retrieve

method (*)

Output type Output element
Uuid128 GUID *pUuid128
Uint16 USHORT *pUint16
Uint32 ULONG *pUint32
Uint64 ULONGLONG *pUint64
Uint128 PSDP_ULARGE_INTEGER_16 *pUint128
Int16 SHORT *pInt16
Int32 LONG *pInt32
Int64 LONGLONG *pInt64
Int128 PSDP_LARGE_INTEGER_16 *pInt128

For example, to retrieve Uint64, use the following syntax.

HRESULT RetrieveUint64(
  UCHAR* pStream,
  ULONGLONG* pUint64
);

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Bthapi.h, Bthapi.idl.
Link Library: Btdrt.lib.

See Also

ISdpStream

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.