常用方法
常用方法
常用方法
常用方法
internal static uint MsiGetTargetPath(int hInstall, string szFolder, StringBuilder szPathBuf, ref uint cchPathBuf) { if (!RemotingEnabled || !RemotableNativeMethods.IsRemoteHandle(hInstall)) { return(NativeMethods.MsiGetTargetPath(hInstall, szFolder, szPathBuf, ref cchPathBuf)); } else { return(RemotableNativeMethods.MsiFunc_IS_S( RemoteMsiFunctionId.MsiGetTargetPath, RemotableNativeMethods.GetRemoteHandle(hInstall), szFolder, szPathBuf, ref cchPathBuf)); } }