CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2001
    Posts
    260

    Logon using smart card. WlxSetOption(...)

    Dear developers,
    I have just programmed with winlogon using smart card. But events of smart card (such as insertted,removed...) is not detected. I have read documents in MSDN library. It say that i must use WlxSetOption(WLX_OPTION_USE_SMART_CARD) function to access the events. (Ex : when i removed smart card, the computer could log off).
    But, Visual Studio 6.0 has not the above function(in Winwlx.h). I have installed sevice pack 3,4 and 5 for Visual Studio 6.0 but the function was not found,too.
    Please tell me how to detect removing,inserting event of smart card.
    Help me as soon as possible.

    Thank you in advance.
    VanTA.



  2. #2
    Join Date
    Apr 2000
    Location
    San Francisco, California, USA
    Posts
    4,467

    Re: Logon using smart card. WlxSetOption(...)

    You should install the Platform SDK available at
    http://www.microsoft.com/msdownload/...msdk/sdkupdate

    Russian Software Developer Network - http://www.rsdn.ru
    Russian Software Development Network -- http://www.rsdn.ru

  3. #3
    Join Date
    Aug 2001
    Posts
    260

    Re: Logon using smart card. WlxSetOption(...)

    Hi,
    Thank you for your answering,but I did not find WlxSetOption() function in SDK. Please reply to me again
    Thank you.
    Vanta.



  4. #4
    Join Date
    May 2000
    Location
    USA,Utah
    Posts
    1,303

    Re: Logon using smart card. WlxSetOption(...)

    WlxSetOption is not in Winwlx.h. Its found in the Gina dll.

    Regards,
    Brandon Parker

  5. #5
    Join Date
    Apr 2000
    Location
    San Francisco, California, USA
    Posts
    4,467

    Re: Logon using smart card. WlxSetOption(...)

    The GINA DLL receives a pointer to WlxSetOption function in its WlxInitialize
    routine through WLX_DISPATCH_VERSION_1_3 structure. The definition of this
    structure is available in the Platform SDK.


    Russian Software Developer Network - http://www.rsdn.ru
    Russian Software Development Network -- http://www.rsdn.ru

  6. #6
    Join Date
    Aug 2001
    Posts
    260

    Re: Logon using smart card. WlxSetOption(...)


    Now I am using WLX_DISPATCH_VERSION_1_1 structure. ( I saw winwlx.h : _WLX_DISPATCH_VERSION_1_0 and _WLX_DISPATCH_VERSION_1_1). I cannot updated SDK because that webpage is out of service temporarily. Now I am urgent. Please help me how to get WLX_DISPATCH_VERSION_1_3 structure. ( I searched om my computer but it not dound ). another way ?
    Thank you.




  7. #7
    Join Date
    Nov 2001
    Location
    Croatia, Europe
    Posts
    11

    Re: Logon using smart card. WlxSetOption(...)

    That must be a relly old Platform SDK that you are using if there is no 1_3 structure. This structure is included in msgina DLL for Win2000 (and WinNT SP6?). If you still cannot find a newre version of winwlx.h, I can email it to you. But I am not sure whether you need some other files.


  8. #8
    Join Date
    Aug 2001
    Posts
    260

    new ! Re: Logon using smart card. WlxSetOption(...)

    Dear sir,
    Thank you for your answering.
    My OS : 2000,Visual Studio 6.0 (1998).
    I am using Platform SDK? Realy I searched in winwlx.h but I did not find out 1_3 structure.. Would you help me to have a that stucture? (You can send to me a newer version of winwlx.h included 1_3 structure).
    Please help me as soon as posibble.
    Thank you very much.
    Vanta.
    PS : You can send to me winwlx.h through e-mail add : vthieuanh@yahoo.com.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured