DLL Functions (Compact 2013)

3/28/2014

The following table shows the DLL functions and the purpose of each.

Function

Description

CeSetProcessVersion

Sets the version of the process.

DisableThreadLibraryCalls

Disables the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notifications for the dynamic-link library (DLL) specified by the hLibModule parameter.

DllMain

Is an optional method of entry into a DLL.

FreeLibrary

Decrements the reference count of the loaded DLL module.

FreeLibraryAndExitThread

Decrements the reference count of a loaded DLL by one, and then calls ExitThread to terminate the calling thread.

GetModuleFileName

Obtains a module file name.

GetModuleHandle

Returns a module handle for the specified module if the file is mapped into the address space of the calling process.

GetModuleInformation

Retrieves information about the specified module in the MODULEINFO structure.

GetProcAddress

Returns the address of the specified exported DLL function.

LoadLibrary

Maps the specified DLL file into the address space of the calling process.

LoadLibraryEx

Maps a specified executable module into the address space of the calling process.

See Also

Reference

DLL Reference