extractBinMember
Retrieves a member's contents.
int putBinMember(int RAMid, char instanceID [256], char memberID [256],
char** contents, int* length, int* moreData, int start,
void** params, void*** customReturn, char error [256])
Variable | Function | Description |
---|---|---|
int RAMid | Input | Tells CARMA which RAM should be worked on. This
ID was obtained after running getRAMList or getRAMList2 . |
char instanceID[256] | Input | The instance containing the member being extracted. |
char memberID[256] | Input | The ID of the member that is being extracted. |
char** contents | Output | Pointer to the member’s contents. |
int* length | Output | The length of the member’s contents. |
int* moreData | Output | If extract should be called again because there is more data, set the value of the variable to which this points to 1; otherwise assign the value to which it points to 0. |
int start | Input | The byte location of the file to start extracting from. |
void** params | Input | Pointer to an array of custom parameters (see Handling custom parameters and return values). |
void*** customReturn | Output | Used to reference an array of custom return values (see Handling custom parameters and return values). |
char error[256] | Output | If an error occurs, this should be filled with a description of the error. |