how to write or create a text log section header and footer in setupapi.app.log

Paulpen Xu 0 Reputation points
2024-10-25T08:33:10.86+00:00

I want to add a text log section to setupapi.app.log,but I only find api **SetupWriteTextLog **and **SetupWriteTextLogError **to write text log section body, how can I create a heander and footer?

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,951 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daisy Zhou 25,681 Reputation points Microsoft Vendor
    2024-10-28T07:16:41.64+00:00

    Hello Paulpen Xu,

    Thank you for posting in Q&A forum.

     For header and footer , you could follow these two official links for your reference:

    Format of a Text Log Section Header - Windows drivers | Microsoft Learn

    Format of a Text Log Section Footer - Windows drivers | Microsoft Learn

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.