"WindowSetupDesc Passing Example (C# Side)"

// C#
 
[DllImport(NATIVE_DLL_NAME, CallingConvention = CallingConvention.Cdecl,
    EntryPoint = "CreateNewWindow")]
public static extern void CreateNewWindow(
    WindowSetupDesc windowDesc
);


Code snippet taken from "P/Invoke Tips".