CryptMsgDuplicate

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptMsgDuplicate(
   IntPtr hCryptMsg,
   ref IntPtr phCryptMsg
);

Microsoft documentation: Link

Last updated