event trace for windows in a service。

filan lu 1 Reputation point
2022-05-19T07:10:56.957+00:00

I develop a window service for etw. but it do not work when I create the sevice with SERVICE_WIN32_SHARE_PROCESS . The api tdhGetEventInforMation return 1168. It work well with SERVICE_WIN32_OWN_PROCESS.
I have no idea what this represents. Thank you for providing any information.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,734 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 21,561 Reputation points MVP
    2022-06-02T08:23:48.037+00:00
    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.