Partager via


Reading Message Examples

 

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 of Using
Reading messages in the specified queue synchronously C/C++ Code Example: Reading Messages Synchronously

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

 Visual Basic Code Example: Reading Messages Synchronously
Reading messages asynchronously C/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 identifier C/C++ Code Example: Reading Messages By Lookup Identifier

 Visual Basic Code Example: Reading Messages By Lookup Identifier