大网数据广告活动
账户与安全

Building and Testing a GINA DLL

· 52CE 我爱测

All functions, prototypes, structures, and constants are defined in the Winwlx.h header file.

All functions, prototypes, structures, and constants are defined in the Winwlx.h header file.

Note:
GINA DLLs are ignored in Windows Vista.

To test a GINA DLL, use the Winlogon.exe from a checked version of the operating system, which is available with the Microsoft Windows Driver Development Kit (DDK). The checked version of Winlogon supports debugging GINAs as follows:

  • You can use the following syntax to create a section in Win.ini to specify Winlogon debugging options.

    [WinlogonDebug]
    LogFile=C:\Winlogon.log
    DebugFlags=Flag1 [, Flag2 ...]
    

    If specified, LogFile should contain the fully qualified name of the file that will be used to log debugging information. If the file does not exist, it will be created.

    The DebugFlags options specify which kinds of debugging information to write to the log file, or debugger. DebugFlags can contain one or more of the following flags.

    Debugging flag Description
    CoolSwitch The CTRL+ALT+SHIFT+TAB key combination will cause a debug break in Winlogon.
    Error Print errors.
    Init Print initialization and progress messages.
    Notify Print notification package messages.
    SAS Print information about secure attention sequence (SAS) notifications.
    State Print messages when Winlogon changes state.
    Timeout Print messages when a time limit is set or a time limit is reached.
    Trace Print verbose trace information.
    Warn Print warnings.

  • To start the checked version of Winlogon in a debugger, add the following entry to the registry:

    HKEY_LOCAL_MACHINE
       Software
          Microsoft
             Windows NT
                CurrentVersion
                   Image File Execution Options
                      winlogon.exe
                         Debugger = ntsd -d<dl>
    <dt>
    
    

Data type </dt> <dd>                     REG_SZ</dd> </dl> ```

Note: You must use the Windows symbolic debugger (NTSD) to debug Winlogon.

Related topics

Loading and Running a GINA DLL

GINA Export Functions

GINA Structures

Terminal Services GINA Functions

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。