Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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.
Copy Code | |
---|---|
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 |
Windows Mobile | Windows Mobile Version 5.0 and later |