WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
Loading...
Searching...
No Matches
Engine Lifecycle

Functions

WSCWResult WSCW_Init ()
 Initialize CEF engine.
void WSCW_Shutdown ()
 Shut down CEF engine and destroy all browsers.
void WSCW_DoMessageLoopWork ()
 Pump CEF message loop.

Detailed Description

Function Documentation

◆ WSCW_Init()

WSCWResult WSCW_Init ( )

Initialize CEF engine.

Must be called once from the main thread before any other WSCW call. CEF subprocess executable path is auto-detected from the DLL directory.

Returns
WSCW_OK on success.

◆ WSCW_Shutdown()

void WSCW_Shutdown ( )

Shut down CEF engine and destroy all browsers.

Call once at application exit. Must be called from the main thread.

◆ WSCW_DoMessageLoopWork()

void WSCW_DoMessageLoopWork ( )

Pump CEF message loop.

Must be called periodically from the main thread (e.g. in a timer or idle handler). Processes pending CEF work including rendering and IPC. Recommended interval: 16 ms (~60 Hz).