Esempio n. 1
0
 internal static uint MsiCloseHandle(int hAny)
 {
     if (!RemotingEnabled || !RemotableNativeMethods.IsRemoteHandle(hAny))
     {
         return(NativeMethods.MsiCloseHandle(hAny));
     }
     else
     {
         return(RemotableNativeMethods.MsiFunc_III(
                    RemoteMsiFunctionId.MsiCloseHandle, RemotableNativeMethods.GetRemoteHandle(hAny), 0, 0));
     }
 }