MSMQQueue.Reset (Windows CE 5.0)
This method returns the cursor to the start of the queue.
HRESULT Reset(void);
Parameters
None.
Return Values
The following table describes the common return values.
Value | Description |
---|---|
S_OK | Success |
E_INVALIDARG | One or more arguments are invalid |
E_NOTIMPL | The function contains no implementation |
E_OUTOFMEMORY | Out of memory |
Remarks
When navigating the queue using the cursor, the MSMQQueue.Reset method moves the cursor to the front of the queue. To move the cursor from the front of the queue to the first message in the queue, call MSMQQueue.PeekCurrent or MSMQQueue.ReceiveCurrent.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mqoai.h.
Link Library: Mqoa.lib.
Send Feedback on this topic to the authors