5#include "../Foundation/Result.h"
6#include "../Foundation/UniqueHandle.h"
13#if SC_PLATFORM_WINDOWS
19 static constexpr void* Invalid = __builtin_constant_p(-1) ? (
void*)-1 : (
void*)-1;
21 static constexpr void* Invalid = (
void*)-1;
23 static Result releaseHandle(Handle& handle);
31 static Result releaseHandle(Handle& handle);
33 static constexpr Handle Invalid = 0;
#define SC_COMPILER_EXPORT
Macro for symbol visibility in non-MSVC compilers.
Definition: Compiler.h:78
int int32_t
Platform independent (4) bytes signed int.
Definition: PrimitiveTypes.h:46
Definition: ProcessDescriptor.h:44
Wraps an OS Process descriptor.
Definition: ProcessDescriptor.h:42
Move only handle that has a special tag value flagging its invalid state.
Definition: UniqueHandle.h:67