mirror of
https://github.com/x64dbg/docs.git
synced 2026-11-09 21:11:25 -10:00
27 lines
410 B
Markdown
27 lines
410 B
Markdown
# DbgValToString
|
|
|
|
Set the variable to the value.
|
|
|
|
```c++
|
|
bool DbgValToString(const char* string, duint value);
|
|
```
|
|
|
|
## Parameters
|
|
|
|
`string` The name of the thing to set in UTF-8 encoding.
|
|
|
|
`value` The value to set.
|
|
|
|
## Return Value
|
|
|
|
`true` if the value was set successfully, `false` otherwise.
|
|
|
|
## Example
|
|
|
|
```c++
|
|
DbgValToString("eax", 1);
|
|
```
|
|
|
|
## Related functions
|
|
|
|
- [DbgValFromString](./DbgValFromString.md) |