Export (0) Print
Expand All

Calling a DLL Function

Although calling unmanaged DLL functions is nearly identical to calling other managed code, there are differences that can make DLL functions seem confusing at first. This section introduces topics that describe some of the unusual calling-related issues.

In This Section

Passing Structures
Identifies the issues of passing data structures with a predefined layout.
Implementing Callback Functions
Describes how to implement callback functions in managed code.

See Also

Consuming Unmanaged DLL Functions
Describes how to call unmanaged DLL functions using platform invoke.
Marshaling Data with Platform Invoke
Demonstrates how to construct .NET-based declarations to be used with platform invoke.
Show:
© 2014 Microsoft