public sealed class WindowsPlatformSupplementWhat Windows knows that SDL does not.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Four services, replaced for four different reasons: the shell has file pickers and SDL 2 has none; the clipboard carries images and application-defined formats and SDL carries text; the scheduler will pin a thread and tell us which cores are the fast ones; and the power status has a battery-saver flag nobody else reports.
Only the dialogs are disposed, and only for their gate. Nothing here holds an operating-system handle beyond the call that uses it — the clipboard opens and closes within each operation, and a file dialog's apartment ends with the thread that ran it.
Fields and properties (1)
public string NameA name for logs and crash reports: "Windows", "macOS".
Methods (2)
public PlatformServices Augment(in PlatformServices baseline)Replaces what this operating system can do better, and keeps the rest.
public void Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Used by (1)
- DesktopSupplementsVixen.Platform.Desktop