Beispiel #1
0
 internal static uint MsiRecordSetString(int hRecord, uint iField, string szValue)
 {
     if (!RemotingEnabled || !RemotableNativeMethods.IsRemoteHandle(hRecord))
     {
         return(NativeMethods.MsiRecordSetString(hRecord, iField, szValue));
     }
     else
     {
         return(RemotableNativeMethods.MsiFunc_IIS(
                    RemoteMsiFunctionId.MsiRecordSetString,
                    RemotableNativeMethods.GetRemoteHandle(hRecord),
                    (int)iField,
                    szValue));
     }
 }