Prototype: new_function_name( MQeStorageAdapterNew_in_ * pInput , MQeStorageAdapterNew_out_ * pOutput);
Required actions: The function pointers to the read(), write(), list(), erase() and free() functions must be set. Any errors must be reported in the error structure
Optional actions: MQe passes to the adapter a string containing a location to be used as a root location for all subsequent read and write operations to the adapter. The adapter should keep this for future reference. The adapter may also create a structure for its own use, by putting a pointer cast to MQEVOID * in the output structure variable pPrivateData - this information is then passed to the adapter in subsequent function calls.
Data Fields | |
MQEVERSION | version |
MQeStringHndl | hLocation |
|
MQEVERSION containing the version of this structure. |
|
MQeString containing the location to be used as the root for all subsequent read and write calls. The string is held in the format x:\DIR\DIR\etc. This format conforms to a standard PC style directory structure but may need 'mangling' for other platforms. |