Unmarshal a string from the receive buffer in standard C form (with a NULL terminating character).
For strings that may contain embedded NULL characters (valid for some wide-character string encodings), use DOSValue_Get_BLOB instead.
- Parameters
-
len | The max length of the buffer passed to the function, including the NULL terminator. |
buf | Pointer to an array of at least len bytes to hold the value, including the NULL terminator. Only valid if DOSSTATUS_SUCCESS is returned. Must not be NULL. |
- Returns
- DOSSTATUS_SUCCESS if everything went ok; otherwise error.