mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
352 B
39 lines
352 B
/*++
|
|
|
|
Copyright (c) 1994 Microsoft Corporation
|
|
All rights reserved.
|
|
|
|
Module Name:
|
|
|
|
common.inl
|
|
|
|
Abstract:
|
|
|
|
Defines common inlines
|
|
|
|
Author:
|
|
|
|
Albert Ting (AlbertT) 21-May-1994
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
inline
|
|
DWORD
|
|
DWordAlign(
|
|
DWORD dw
|
|
)
|
|
{
|
|
return ((dw)+3)&~3;
|
|
}
|
|
|
|
inline
|
|
DWORD
|
|
Align(
|
|
DWORD dw
|
|
)
|
|
{
|
|
return (dw+7)&~7;
|
|
}
|
|
|