DdeSetQualityOfService

[DllImport("user32.dll", SetLastError = true)]
public static extern bool DdeSetQualityOfService(
   IntPtr hwndClient,
   ref SECURITY_QUALITY_OF_SERVICE pqosNew,
   ref SECURITY_QUALITY_OF_SERVICE pqosPrev
);

Microsoft documentation: Link

Last updated