Condividi tramite


PInvokeLog 

The PInvokeLog managed debugging assistant (MDA) is activated for each unique platform invoke signature used during execution.

Effect on the Runtime

This MDA has no effect on the CLR.

Output

A message indicating the platform invoke signature used during execution.

Configuration

Each match element filters the .dll files to which platform invoke calls are made.

<mdaConfig>
  <assistants>
    <pInvokeLog>
      <filter>
        <match dllName="user32.dll"/>
        <match dllName="kernel32.dll"/>
      </filter>
    </pInvokeLog>
  </assistants>
</mdaConfig>

See Also

Concepts

Diagnosing Errors with Managed Debugging Assistants
Consuming Unmanaged DLL Functions