SetupApi 日志函数
2021-11-19
42
0
从Windows Vista开始,即插即用(PnP)设备安装应用程序、类安装程序和协同安装程序可以使用以下函数将日志条目写入SetupAPI文本日志。
Function | Description |
---|---|
SetupGetThreadLogToken | Retrieves the log token for the thread that called SetupGetThreadLogToken. |
SetupSetThreadLogToken | Sets the log token for the thread that called SetupSetThreadLogToken. |
SetupWriteTextLog | Writes a log entry in a SetupAPI text log. |
SetupWriteTextLogError | Writes information about a SetupAPI-specific error or a Win32 error in SetupAPI text log. |
SetupWriteTextLogInfLine | Writes a log entry in a SetupAPI text log that contains the text of a specified INF file line. |