PktmonApi.dll does not contain the functions specified in the documentation

Robert Altner 0 Reputation points
2024-09-03T12:24:32.49+00:00

Hello,

I am trying to use the PktmonApi.dll as described here. The information box states that there is no header and instead you load the DLL at runtime and pull out the function addresses using GetProcAddress. On the reference page it lists a bunch of functions that are not actually present in the DLL. It is impossible to get their addresses, and looking at the DLL using a tool like Dependency Walker shows that the functions in the DLL are completely different. enter image description here

The documentation does not mention these functions anywhere. It seems like they correspond to PktMon's CLI commands, but I am fully unable to use them since I don't know their signatures or what structures they expect. The docs are just completely wrong.

Can anyone provide actual documentation for this API? Or even better a header file?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,653 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Robert Altner 0 Reputation points
    2024-09-04T07:41:40.0566667+00:00

    I talked about this to a couple people involved with maintaining SDK documentation, and the answer is that the documentation already documents new SDK features that have not been deployed yet.


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.