https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/stiusd/nf-stiusd-istidevicecontrol-writetoerrorlog?redirectedfrom=MSDN
IStiDeviceControl::WriteToErrorLog (stiusd.h) - Windows drivers | Microsoft Learn
The IStiDeviceControl::WriteToErrorLog method allows a user-mode still image minidriver to write a message into the still image error log.
windows drivershmicrosoftlearn