Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets features of the PInvoke signature of the method referenced by the specified token.
HRESULT DefinePinvokeMap (
[in] mdToken tk,
[in] DWORD dwMappingFlags,
[in] LPCWSTR szImportName,
[in] mdModuleRef mrImportDLL
);
Parameters
Parameter | Description |
---|---|
tk |
[in] The token for the target method. |
dwMappingFlags |
[in] Flags used by PInvoke to do the mapping. |
szImportName |
[in] The name of the target export method in an unmanaged DLL. |
mrImportDLL |
[in] The token for the target native DLL. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in Mscoree.dll
.NET Framework Version: 2.0, 1.1, 1.0