Reading Message Examples

 

Updated: July 19, 2016

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The following examples show how to read a message from a destination queue synchronously and asynchronously.

For an example ofUsing
Reading messages in the specified queue synchronouslyC/C++ Code Example: Reading Messages Synchronously

 C/C++ COM Code Example: Reading Messages Synchronously

 Visual Basic Code Example: Reading Messages Synchronously
Reading messages asynchronouslyC/C++ Code Example: Reading Messages Asynchronously Using a Callback Function

 C/C++ Code Example: Reading Messages Asynchronously Using Completion Ports

 C/C++ COM Code Example: Reading Messages Asynchronously

 Visual Basic Code Example: Reading Messages Asynchronously
Reading messages by lookup identifierC/C++ Code Example: Reading Messages By Lookup Identifier

 Visual Basic Code Example: Reading Messages By Lookup Identifier

Community Additions

ADD
Show: