|
Reference Guide
interface IRequests
The interface to a collection of requests. Request objects contain data that are used with PARAGON-based products.
Definition
- interface IRequests : IDispatch
-
- {
-
-
- HRESULT Add([in] IRequest* req);
-
- HRESULT AddRequest([in] long address, [in] long subaddress, [in] VARIANT_BOOL absolute, [in] long n, [in, size_is(n)] unsigned char* data);
-
- HRESULT AddRequestSafe([in] long address, [in] long subaddress, [in] VARIANT_BOOL absolute, [in] SAFEARRAY(unsigned char)* data, [in, defaultvalue(-1)] long n);
-
- HRESULT Clear();
-
- [propget]
-
- HRESULT Count([out, retval] long* rval);
-
- [id(0), propget]
-
- HRESULT Item([in] long index, [out, retval] IRequest** rval);
- };
-
Descriptions
| HRESULT Add([in] IRequest* req); |
Adds an existing request to the queue.
|
| HRESULT AddRequest([in] long address, [in] long subaddress, [in] VARIANT_BOOL absolute, [in] long n, [in, size_is(n)] unsigned char* data); |
Creates a request object and adds it to the queue. This method is intended for use with C and C++.
|
| HRESULT AddRequestSafe([in] long address, [in] long subaddress, [in] VARIANT_BOOL absolute, [in] SAFEARRAY(unsigned char)* data, [in, defaultvalue(-1)] long n); |
Creates a request object and adds it to the queue. This method is intended for use with Visual Basic, Matlab, and other development environments that implement arrays as SAFEARRAY structures.
|
| HRESULT Clear(); |
Clears the request queue.
|
| HRESULT Count([out, retval] long* rval); |
The number of requests in the queue.
|
[id(0), propget]
HRESULT Item([in] long index, [out, retval] IRequest** rval); |
Given an integer index, returns one of the Requests.
|
|