Synchronize with trunk r58528.
[reactos.git] / dll / win32 / psapi / internal.h
1 /*
2 * epsapi.h
3 *
4 * Process Status Helper API, native interface
5 *
6 * This file is part of the ReactOS Operating System.
7 *
8 * Contributors:
9 * Created by KJK::Hyperion <noog@libero.it>
10 *
11 * THIS SOFTWARE IS NOT COPYRIGHTED
12 *
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
15 *
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 */
22
23 #ifndef __INTERNAL_PSAPI_H_INCLUDED__
24 #define __INTERNAL_PSAPI_H_INCLUDED__
25
26 #ifndef SetLastErrorByStatus
27 #define SetLastErrorByStatus(__S__) \
28 ((void)SetLastError(RtlNtStatusToDosError(__S__)))
29 #endif /* SetLastErrorByStatus */
30
31 #endif /* __INTERNAL_PSAPI_H_INCLUDED__ */
32
33 /* EOF */