@node-ctypes/winrt - v0.1.0
    Preparing search index...

    Examples

    Runnable TypeScript examples built on @node-ctypes/winrt. Build the package and generate projections for all examples in one step:

    npm run build
    npm run demo:gen:all
    Example Generate Run What it demonstrates
    Hello WinUI 3 npm run demo:hello-winui3:gen npm run demo:hello-winui3 Minimal class App extends Application with override onLaunched() + XAML Window (counterpart to pywinrt/samples/winui3/hello_app.py)
    Async WinUI 3 npm run demo:async-winui3:gen npm run demo:async-winui3 WinUI 3 (AppWindow + DesktopWindowXamlSource + startWin32MessageLoop) with onClick(async () => ...) (timers/promises, fetch, WinRT *Async())
    WinUI 3 Controls Gallery npm run demo:winui3:gen npm run demo:winui3 Native class GalleryApp extends Application, new Window(), new MicaBackdrop(), NavigationView, Light/Dark {ThemeResource} and 30 Fluent v2 controls
    Windows Hello npm run demo:hello:gen npm run demo:hello (or -- --verify) UserConsentVerifier biometric / PIN availability check and interactive verification prompt
    OCR Image npm run demo:ocr:gen node examples/ocr-image/index.ts <image.png> StorageFile + BitmapDecoder + Windows.Media.Ocr.OcrEngine extracting text and word bounds from PNG/JPG
    Toast Notification npm run demo:toast:gen npm run demo:toast Native Windows toast notifications via XmlDocument + ToastNotificationManager
    Bluetooth LE Scanner npm run demo:ble:gen npm run demo:ble Live BLE advertisement scanning via BluetoothLEAdvertisementWatcher and onReceived WinRT events

    For conceptual walkthroughs and full API guides, see Guides.