In this work, we study the influence of the magnetic proximity effect (MPE) in Pt on the total magnetic moment of thin film trilayer systems consisting of the ferromagnet (FM) Co adjacent to the heavy metals (HMs) Pt and Ta. We investigate the trilayer systems HM1/FM/HM2 with different stacking order as well as a reference bilayer without any MPE. X-ray resonant magnetic reflectivity (XRMR) is a powerful tool to probe induced magnetism, especially when buried at interfaces in a multilayer. By using XRMR, we are able to obtain magnetic depth profiles of the structural, optical and magnetic parameters. By fitting the experimental data with a Gaussian-like magnetooptic profile taking the structural roughness at the interface into account, we can extract the magnetic moment of the spin-polarized layer. Comparing the obtained moments to the measured total moment of the sample, we can determine the impact of the MPE on the total magnetic moment of the system. Such information can be critical for analyzing spin transport experiments, including spin-orbit torque and spin Hall angle measurements, where the saturation magnetization Ms has to be taken into account. Therefore, by combining magnetization measurements and XRMR methods we were able to get a complete picture of the magnetic moment distribution in these trilayer systems containing spin-polarized Pt.