ISdpStream::Retrieve* (Windows Embedded CE 6.0)
1/6/2010
This method retrieves data of a specified type (*) from the stream in a pointer-alignment-safe manner.
Syntax
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 Value
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
Header | bthapi.h, bthapi.idl |
Library | Btdrt.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |