LDKGCtx
typedef void *LDKGCtx;
typedef void *LDKGCtx;
typedef enum{
LDK_OS_DIALOG_RESULT_NONE=0,
LDK_OS_DIALOG_RESULT_OK,
LDK_OS_DIALOG_RESULT_CANCEL,
LDK_OS_DIALOG_RESULT_YES,
LDK_OS_DIALOG_RESULT_NO,
}LDKOSDialogResult;
typedef struct LDKOSProcess LDKOSProcess;
typedef struct LDKOSProcessDesc{
const char *executable;
const char *arguments;
const char *working_directory;
bool new_console;
}LDKOSProcessDesc;
typedef struct LDKOSProcessResult{
bool started;
bool completed;
u32 exit_code;
u32 os_error;
}LDKOSProcessResult;
Initialize the OS.
LDK_API bool ldk_os_initialize(void);
True if the operation succeeds; false otherwise.
Shut down the OS.
LDK_API void ldk_os_terminate(void);