6 * Process Status Helper API, native interface
8 * This file is part of the ReactOS Operating System.
11 * Created by KJK::Hyperion <noog@libero.it>
13 * THIS SOFTWARE IS NOT COPYRIGHTED
15 * This source code is offered for use in the public domain. You may
16 * use, modify or distribute it freely.
18 * This code is distributed in the hope that it will be useful but
19 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
20 * DISCLAMED. This includes but is not limited to warranties of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25 #ifndef __INTERNAL_PSAPI_H_INCLUDED__
26 #define __INTERNAL_PSAPI_H_INCLUDED__
28 #ifndef SetLastErrorByStatus
29 #define SetLastErrorByStatus(__S__) \
30 ((void)SetLastError(RtlNtStatusToDosError(__S__)))
31 #endif /* SetLastErrorByStatus */
33 #endif /* __INTERNAL_PSAPI_H_INCLUDED__ */