FGenericPlatformMisc::GetSystemErrorMessage

Returns the last system error code in string form.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp

Syntax

static const TCHAR * GetSystemErrorMessage
(
    TCHAR * OutBuffer,
    int32 BufferCount,
    int32 Error
)

Remarks

Returns the last system error code in string form. NOTE: Only one return value is valid at a time!

Parameters

Parameter

Description

OutBuffer

the buffer to be filled with the error message

BufferLength

the size of the buffer in character count

Error

the error code to convert to string form

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss