mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
22 lines
378 B
C
22 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))
|