Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Calling a DLL Function

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.

Callback Functions

Provides basic information about callback functions.

How to: Implement Callback Functions

Describes how to implement callback functions in managed code.

Related Sections

Consuming Unmanaged DLL Functions

Describes how to call unmanaged DLL functions using platform invoke.

Marshaling Data with Platform Invoke

Describes how to declare method parameters and pass arguments to functions exported by unmanaged libraries.

Community Additions

© 2015 Microsoft