[GINAHOOK] Pass logon data to Winlogon



Hi,

in my GinaHook, I'd like to pass username/password/domain to winlogon without use standard Microsoft
interface.

Now, I retrieve data from my database on external device and then I write them into
IDC_WLXLOGGEDOUTSAS_USERNAME , etc... and then send WM_COMMAND (1) to MSGINA LoggedOutDlgProc.

This system works, but it's dangerous because MSGINA GUI changes with Windows version or Service Pack..

Besides, I cannot find the IDC... for Lock dialog and then I cannot do the unlock..

I have defined my GINA_CONTEXT struct, but I'm not using it now..

How I can initialize my custom GINA_CONTEXT with account's data, pass it to Winlogon and then close
automatically the standard Microsoft dialogs ?

I done this in custom Gina (no HOOK), but with the Hook doesn't seems function!

Thanks




.