mirror of
https://github.com/reactos/reactos.git
synced 2026-05-22 23:30:07 +08:00
- Initialize the device extension `IsVgaDriver` field with a single `IntIsVgaSaveDriver()` call when the video device extension is first initialized in `IntVideoPortCreateAdapterDeviceObject()`. - The `IsVgaDriver` field can then be used wherever we previously invoked `IntIsVgaSaveDriver()` (see e.g. in resource.c) NOTE: It may be possible to move the `IsVgaDriver` field to the driver extension structure instead, if it's not possible for miniport drivers to influence this during calls `VideoPortInitialize()` with a custom-made registry path (2nd parameter) containing a "\\VgaSave" substring... (To be investigated.) Addendum to commits08a6834075and0511e9d869.