MSMQQueue.Reset (Windows Embedded CE 6.0)
1/6/2010
This method returns the cursor to the start of the queue.
Syntax
HRESULT Reset(void);
Parameters
None.
Return Value
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
Header | mqoai.h |
Library | mqoa.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |