_MulUnsignedHigh

This function returns the high-order 32-bit result of multiplying two unsigned arguments.

unsigned long __cdecl _MulUnsignedHigh(
  unsigned long arg1,
  unsigned long arg2
);

Parameters

  • arg1
    [in] The first argument in the product.
  • arg2
    [in] The second argument in the product.

Return Values

The unsigned long integer result of multiplying arg1 and arg2.

Remarks

This function may be useful for detecting overflow or for multiplying integers scaled to represent [0..1).

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Cmnintrin.h.

See Also

Common Intrinsic Functions

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.