GetUserData
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains user data. This function is called by Proc.
Prototype
1 | int32_t GetUserData(void *data, size_t size, size_t offset = 0U) const |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
data |
Input/Output |
Pointer to the user data. |
size |
Input |
Length of the user data. Value range: (0, 64]. |
offset |
Input |
Offset of the user data, which must comply with the following restriction: [0, 64), size + offset <= 64 |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Troubleshooting
None
Constraints
None
Parent topic: Class MetaContext