* On Sun, 11 Mar 2012, Dmitry Timoshkov wrote:
A widely used approach to open/load device drivers under win9x is
/* Check if already loaded in system.ini */ hvxd = CreateFile("\\.\mydevice", 0, 0, 0, 0, 0, 0); if (hvxd == INVALID_HANDLE_VALUE) /* Load dynamically from PATH */ hvxd = CreateFile("\\.\path\to\mydevice.vxd", 0, 0, 0, CREATE_NEW, FILE_FLAG_DELETE_ON_CLOSE, 0);
First call never succeeds under Wine, and some device drivers refuse to load more than once.
Are there any proof one can see? What application does behave like this? Where has this source excerpt come from?
S.