[Mobies-commit] [commit] r3620 - UDM/trunk/include

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Fri Jan 28 15:57:50 CST 2011


Author: ksmyth
Date: Fri Jan 28 15:57:50 2011
New Revision: 3620

Log:
Note P/Invoke syntax for Gmeid2UdmId

Modified:
   UDM/trunk/include/UdmGme.h

Modified: UDM/trunk/include/UdmGme.h
==============================================================================
--- UDM/trunk/include/UdmGme.h	Fri Jan 28 15:54:51 2011	(r3619)
+++ UDM/trunk/include/UdmGme.h	Fri Jan 28 15:57:50 2011	(r3620)
@@ -153,6 +153,10 @@
 
 	// Id conversion routines
 	UDM_DLL string UdmId2GmeId(Udm::Object::uniqueId_type udmId);
+
+	// PInvoke Syntax
+	// [DllImport("UdmDll_3_2_VS10.dll", CallingConvention = CallingConvention.Cdecl, EntryPoint = "?GmeId2UdmId at UdmGme@@YAJPB_W at Z")]
+	// static extern Int32 GmeId2UdmId([MarshalAs(UnmanagedType.BStr)] string gmeId);
 	UDM_DLL Udm::Object::uniqueId_type GmeId2UdmId(const wchar_t* gmeId);
 	UDM_DLL Udm::Object::uniqueId_type GmeId2UdmId(const char* gmeId);
 


More information about the Mobies-commit mailing list