Guest User

Untitled

a guest
Oct 18th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. [return: MarshalAs(UnmanagedType.LPWStr)]
  2. [DllExport("Test", CallingConvention = CallingConvention.Cdecl)]
  3. public static string Test(
  4. [MarshalAs(UnmanagedType.LPWStr)] string firstName,
  5. [MarshalAs(UnmanagedType.LPWStr)] string lastName)
  6. {
  7. return string.Format("Hello {0} {1}", firstName, lastName);
  8. }
Add Comment
Please, Sign In to add comment