コード例 #1
0
 public static void instproxy_status_get_name(PlistHandle status, out string name)
 {
     System.Runtime.InteropServices.ICustomMarshaler nameMarshaler = NativeStringMarshaler.GetInstance(null);
     System.IntPtr nameNative = System.IntPtr.Zero;
     InstallationProxyNativeMethods.instproxy_status_get_name(status, out nameNative);
     name = ((string)nameMarshaler.MarshalNativeToManaged(nameNative));
     nameMarshaler.CleanUpNativeData(nameNative);
 }
コード例 #2
0
 /// <summary>
 /// Gets the name of a status.
 /// </summary>
 /// <param name="status">
 /// The dictionary status response to use.
 /// </param>
 /// <param name="name">
 /// Pointer to store the name of the status.
 /// </param>
 public virtual void instproxy_status_get_name(PlistHandle status, out string name)
 {
     InstallationProxyNativeMethods.instproxy_status_get_name(status, out name);
 }