Microsoft DirectX 8.1 (C++) |
The AlignUp method rounds a value up to a specified alignment boundary.
Syntax
LONGLONG AlignUp(
LONGLONG ll,
LONG lAlign
);
Parameters
ll
Specifies the number to align.
lAlign
Specifies the alignment boundary.
Return Values
Returns the aligned result.
See Also