|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
|
| Header File
| windef.h
| Unicode
| No
| Platform Notes
| None
|
|
|
max
The max macro compares two values and returns the larger one. The data type can be
any numeric data type, signed or unsigned. The data type of the arguments and the
return value is the same.
max(
value1,
| // low-order word
| value2
| // high-order word
| );
|
|
Parameters
Specifies the first of two values.
Specifies the second of two values.
Return Values
The return value is the greater of the two specified values.
Remarks
The max macro is defined as follows:
#define max(a, b) (((a) > (b)) ? (a) : (b))
See Also
min
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|