mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
21 lines
378 B
C
21 lines
378 B
C
#pragma once
|
|
|
|
#define _KSDDK_
|
|
|
|
#define WIN32_NO_STATUS
|
|
#define _INC_WINDOWS
|
|
#define COM_NO_WINDOWS_H
|
|
#include <stdarg.h>
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
|
|
#include <ndk/iofuncs.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
#include <ks.h>
|
|
|
|
#define ROUND_DOWN(n, align) \
|
|
(((ULONG)n) & ~((align) - 1l))
|
|
|
|
#define ROUND_UP(n, align) \
|
|
ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
|