Skip to main content

Module callback_env

Module callback_env 

Source
Expand description

SDK-equivalent helpers for [TP_CALLBACK_ENVIRON_V3].

The Windows SDK’s callback-environment functions are header-only inline helpers that windows-sys does not emit. This module provides Rust equivalents: a properly initialized CallbackEnviron wrapper and typed mutation methods matching SetThreadpoolCallback*.

Structs§

CallbackEnviron
Equivalent to InitializeThreadpoolEnvironment / DestroyThreadpoolEnvironment.

Enums§

CallbackPriority
Priority at which the thread pool schedules callbacks created with a CallbackEnviron.