Re: [GINAHOOK] Pass logon data to Winlogon



Dnia Tue, 20 Dec 2005 00:17:39 +0100, fedo05 napisał(a):

> Thanks again Jakub.
>
> But, I'm searching for IDC_WKSTALOCKED_USERNAME , IDC_WKSTALOCKED_PASSWORD and IDC_WKSTALOCKED_DOMAIN ,
> especially IDC_WKSTALOCKED_PASSWORD .
>
> I already know the IDD (dialog identifiers) that you post..
>
> However I need a method to pass logon data in GINA_CONTEXT for GinaHook... I prefer to avoid to write data
> into IDC, because it's dangerous, as said..
>
> What I have to do for sending data with my struct and closing standard Microsoft dialog when this struct is
> ready for Winlogon?

Remember that in WkstaLocked/LoggedOff SAS functions MSGINA calls
LsaLogonUser (function from hell) which otherwise you'd have to call on
your own.
And MSGina is so much stateful that it is strongly not recommended to wrap
it only for some functions and not for other... I believe someone from MSFT
pointed that on this newsgroup.

--
Jakub Gwóźdź
gwozdziu@xxxxxx
.



Relevant Pages

  • Re: Problems dereferensing my C structures (custom types)
    ... implementation, at file scope. ... This declaration probably is at file ... _tbl_certificate is not a legal name for that struct. ... (Identifiers beginning with __ or _ and a capital letter are reserved ...
    (comp.lang.c)
  • Re: Question about a struct declaration
    ... Identifiers beginning with _ and a lower-case letter are ... but most struct types (a.o.t. ... namespaces for struct identifiers and for normal ones, so "struct dummy" ...
    (comp.lang.c)
  • Re: problems with ANSI C grammar for yacc
    ... The problem is that structure members inhabit a different name space ... from ordinary identifiers. ... So foo in the typedef is in the fourth name space but foo in the struct ...
    (comp.lang.c)
  • Re: Array in struct
    ... > typedef struct _ATTRLIST ... don't begin your identifiers with under- ... (Personally, I don't see why you use both a struct tag and a typedef, ... some like to reserve those for macro names, but I use mixed case for ...
    (comp.lang.c)
  • Re: problems with ANSI C grammar for yacc
    ... >>from ordinary identifiers. ... >>So foo in the typedef is in the fourth name space but foo in the struct ... The official ISO 'C' standard says 4 - that is the authority on the ... You can buy a copy of the ISO standard for a recommended £34.95 in the ...
    (comp.lang.c)