ReactOS  0.4.15-dev-1647-g91fceab
ksuser.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define _KSDDK_
4 
5 #define WIN32_NO_STATUS
6 #define _INC_WINDOWS
7 #define COM_NO_WINDOWS_H
8 #include <stdarg.h>
9 #include <windef.h>
10 #include <winbase.h>
11 
12 #include <ndk/iofuncs.h>
13 #include <ndk/rtlfuncs.h>
14 
15 #include <ks.h>
16 
17 #define ROUND_DOWN(n, align) \
18  (((ULONG)n) & ~((align) - 1l))
19 
20 #define ROUND_UP(n, align) \
21  ROUND_DOWN(((ULONG)n) + (align) - 1, (align))