public static Guid CreateCallout( IntPtr sessionHandle, Guid key, Guid providerId, DisplayData displayData, Layer layer) { var id = key; AssertSuccess(() => PInvoke.CreateCallout( sessionHandle, ref displayData, ref providerId, (uint)layer, ref id)); return(id); }