RtvdbInitialize
RtvdbInitialize initializes the variable database library for the current process.
Syntax
DWORD RtvdbInitialize();
Return Values
| Error code | Meaning |
|---|---|
|
ERROR_SUCCESS |
The function succeeded. |
|
ERROR_ALREADY_EXISTS |
The calling process has already called RtvdbInitialize. |
|
ERROR_NOT_ENOUGH_MEMORY |
Memory allocation failed. |
|
ERROR_INVALID_HANDLE |
Failed to open the synchronization lock. |
|
ERROR_ABANDONED_WAIT_0 |
Failed to acquire the synchronization lock. |
Remarks
Each process that requires access to the variable database functions must call this function once.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtvdbApi.h |
RtvdbApi_W64.lib (Windows), RtvdbApi.lib (RTSS) |