Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Sets features of the PInvoke signature of the method referenced by the specified token.
Syntax
HRESULT DefinePinvokeMap (
[in] mdToken tk,
[in] DWORD dwMappingFlags,
[in] LPCWSTR szImportName,
[in] mdModuleRef mrImportDLL
);
Parameters
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: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib