Skip to content

File Windows/ClientPlatformSpecific.cpp

FileList > api > cppSDK > SDKClient > PlatformSpecific > Windows > ClientPlatformSpecific.cpp

Go to the source code of this file

  • #include "ClientPlatformSpecific.hpp"
  • #include "ManusSDK.h"
  • #include <algorithm>
  • #include <codecvt>
  • #include <filesystem>
  • #include <fstream>
  • #include <locale>
  • #include <ShlObj_core.h>
  • #include "spdlog/spdlog.h"
  • #include <sstream>
  • #include <Windows.h>

Public Attributes

Type Name
bool g_PreviousKeyState = = { false }
All keys till F24 key.

Public Functions

Type Name
std::string UTF16WstringToUTF8String (const std::wstring & p_Wstring)
std::wstring UTF8StringtoUTF16Wstring (const std::string & p_String)

Public Static Functions

Type Name
bool DoesWindowHaveFocus (void)
std::string GetStringForError (int p_ErrorNumber)
Get a string describing the error with the given error number. The string is formatted so that it can be appended to an error message.
BOOL __stdcall ProcessConsoleShutdown (DWORD p_fdwCtrlType)
SDK Shutdown.

Macros

Type Name
define NOMINMAX
define WIN32_LEAN_AND_MEAN

Public Attributes Documentation

variable g_PreviousKeyState

bool g_PreviousKeyState[0x87];

Public Functions Documentation

function UTF16WstringToUTF8String

std::string UTF16WstringToUTF8String (
    const std::wstring & p_Wstring
) 

function UTF8StringtoUTF16Wstring

std::wstring UTF8StringtoUTF16Wstring (
    const std::string & p_String
) 

Public Static Functions Documentation

function DoesWindowHaveFocus

static bool DoesWindowHaveFocus (
    void
) 

function GetStringForError

static std::string GetStringForError (
    int p_ErrorNumber
) 

function ProcessConsoleShutdown

SDK Shutdown.

static BOOL __stdcall ProcessConsoleShutdown (
    DWORD p_fdwCtrlType
) 

Parameters:

  • p_fdwCtrlType

Returns:

Macro Definition Documentation

define NOMINMAX

#define NOMINMAX 

define WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN 

The documentation for this class was generated from the following file api/cppSDK/SDKClient/PlatformSpecific/Windows/ClientPlatformSpecific.cpp