Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FWindowsPlatformProcess Struct Reference

#include <WindowsPlatformProcess.h>

+ Inheritance diagram for FWindowsPlatformProcess:
+ Collaboration diagram for FWindowsPlatformProcess:

Classes

class  FProcEnumerator
 
struct  FProcEnumInfo
 
struct  FWindowsSemaphore
 

Static Public Member Functions

static voidGetDllHandle (const TCHAR *Filename)
 
static void FreeDllHandle (void *DllHandle)
 
static voidGetDllExport (void *DllHandle, const TCHAR *ProcName)
 
static void AddDllDirectory (const TCHAR *Directory)
 
static void GetDllDirectories (TArray< FString > &OutDllDirectories)
 
static void PushDllDirectory (const TCHAR *Directory)
 
static void PopDllDirectory (const TCHAR *Directory)
 
static uint32 GetCurrentProcessId ()
 
static uint32 GetCurrentCoreNumber ()
 
static void SetThreadAffinityMask (uint64 AffinityMask)
 
static void SetThreadName (const TCHAR *ThreadName)
 
static const TCHAR * BaseDir ()
 
static const TCHAR * UserDir ()
 
static const TCHAR * UserTempDir ()
 
static const TCHAR * UserSettingsDir ()
 
static const TCHAR * ApplicationSettingsDir ()
 
static const TCHAR * ComputerName ()
 
static const TCHAR * UserName (bool bOnlyAlphaNumeric=true)
 
static void SetCurrentWorkingDirectoryToBaseDir ()
 
static FString GetCurrentWorkingDirectory ()
 
static const FString ShaderWorkingDir ()
 
static const TCHAR * ExecutablePath ()
 
static const TCHAR * ExecutableName (bool bRemoveExtension=true)
 
static FString GenerateApplicationPath (const FString &AppName, EBuildConfiguration BuildConfiguration)
 
static const TCHAR * GetModuleExtension ()
 
static const TCHAR * GetBinariesSubdirectory ()
 
static const FString GetModulesDirectory ()
 
static bool CanLaunchURL (const TCHAR *URL)
 
static void LaunchURL (const TCHAR *URL, const TCHAR *Parms, FString *Error)
 
static FProcHandle CreateProc (const TCHAR *URL, const TCHAR *Parms, bool bLaunchDetached, bool bLaunchHidden, bool bLaunchReallyHidden, uint32 *OutProcessID, int32 PriorityModifier, const TCHAR *OptionalWorkingDirectory, void *PipeWriteChild, void *PipeReadChild=nullptr)
 
static FProcHandle CreateProc (const TCHAR *URL, const TCHAR *Parms, bool bLaunchDetached, bool bLaunchHidden, bool bLaunchReallyHidden, uint32 *OutProcessID, int32 PriorityModifier, const TCHAR *OptionalWorkingDirectory, void *PipeWriteChild, void *PipeReadChild, void *PipeStdErrChild)
 
static bool SetProcPriority (FProcHandle &InProcHandle, int32 PriorityModifier)
 
static FProcHandle OpenProcess (uint32 ProcessID)
 
static bool IsProcRunning (FProcHandle &ProcessHandle)
 
static void WaitForProc (FProcHandle &ProcessHandle)
 
static void CloseProc (FProcHandle &ProcessHandle)
 
static void TerminateProc (FProcHandle &ProcessHandle, bool KillTree=false)
 
static void TerminateProcTreeWithPredicate (FProcHandle &ProcessHandle, TFunctionRef< bool(uint32 ProcessId, const TCHAR *ApplicationName)> Predicate)
 
static bool GetProcReturnCode (FProcHandle &ProcHandle, int32 *ReturnCode)
 
static bool GetApplicationMemoryUsage (uint32 ProcessId, SIZE_T *OutMemoryUsage)
 
static bool GetPerFrameProcessorUsage (uint32 ProcessId, float &ProcessUsageFraction, float &IdleUsageFraction)
 
static bool IsApplicationRunning (uint32 ProcessId)
 
static bool IsApplicationRunning (const TCHAR *ProcName)
 
static FString GetApplicationName (uint32 ProcessId)
 
static bool ExecProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode, FString *OutStdOut, FString *OutStdErr, const TCHAR *OptionalWorkingDirectory=NULL, bool bShouldEndWithParentProcess=false)
 
static bool ExecElevatedProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode)
 
static FProcHandle CreateElevatedProcess (const TCHAR *URL, const TCHAR *Params)
 
static bool LaunchFileInDefaultExternalApplication (const TCHAR *FileName, const TCHAR *Parms=NULL, ELaunchVerb::Type Verb=ELaunchVerb::Open, bool bPromptToOpenOnFailure=true)
 
static void ExploreFolder (const TCHAR *FilePath)
 
static bool ResolveNetworkPath (FString InUNCPath, FString &OutPath)
 
static void Sleep (float Seconds)
 
static void SleepNoStats (float Seconds)
 
static void SleepInfinite ()
 
static void YieldThread ()
 
static class FEventCreateSynchEvent (bool bIsManualReset=false)
 
static class FRunnableThreadCreateRunnableThread ()
 
static void ClosePipe (void *ReadPipe, void *WritePipe)
 
static bool CreatePipe (void *&ReadPipe, void *&WritePipe, bool bWritePipeLocal=false)
 
static FString ReadPipe (void *ReadPipe)
 
static bool ReadPipeToArray (void *ReadPipe, TArray< uint8 > &Output)
 
static bool WritePipe (void *WritePipe, const FString &Message, FString *OutWritten=nullptr)
 
static bool WritePipe (void *WritePipe, const uint8 *Data, const int32 DataLength, int32 *OutDataLength=nullptr)
 
static FSemaphoreNewInterprocessSynchObject (const FString &Name, bool bCreate, uint32 MaxLocks=1)
 
static FSemaphoreNewInterprocessSynchObject (const TCHAR *Name, bool bCreate, uint32 MaxLocks=1)
 
static bool DeleteInterprocessSynchObject (FSemaphore *Object)
 
static bool Daemonize ()
 
static void SetupGameThread ()
 
static void SetupAudioThread ()
 
static void TeardownAudioThread ()
 
static bool IsFirstInstance ()
 
static void CeaseBeingFirstInstance ()
 Releases locks that we held for IsFirstInstance check.
 
- Static Public Member Functions inherited from FGenericPlatformProcess
static voidGetDllHandle (const TCHAR *Filename)
 
static void FreeDllHandle (void *DllHandle)
 
static voidGetDllExport (void *DllHandle, const TCHAR *ProcName)
 
static FORCEINLINE void AddDllDirectory (const TCHAR *Directory)
 
static FORCEINLINE void PushDllDirectory (const TCHAR *Directory)
 
static FORCEINLINE void PopDllDirectory (const TCHAR *Directory)
 
static FORCEINLINE void GetDllDirectories (TArray< FString > &OutDllDirectories)
 
static uint32 GetCurrentProcessId ()
 
static uint32 GetCurrentCoreNumber ()
 
static void SetThreadAffinityMask (uint64 AffinityMask)
 
static void SetThreadPriority (EThreadPriority NewPriority)
 
static void SetThreadName (const TCHAR *ThreadName)
 
static uint32 GetStackSize ()
 
static void DumpThreadInfo (const TCHAR *MarkerName)
 
static void SetupGameThread ()
 
static void SetupRenderThread ()
 
static void SetupRHIThread ()
 
static void SetupAudioThread ()
 
static void TeardownAudioThread ()
 
static bool ShouldSaveToUserDir ()
 
static const TCHAR * BaseDir ()
 
static const TCHAR * UserDir ()
 
static const TCHAR * UserSettingsDir ()
 
static const TCHAR * UserTempDir ()
 
static const TCHAR * UserHomeDir ()
 
static const TCHAR * ApplicationSettingsDir ()
 
static const TCHAR * ComputerName ()
 
static const TCHAR * UserName (bool bOnlyAlphaNumeric=true)
 
static const TCHAR * ShaderDir ()
 
static void SetShaderDir (const TCHAR *Where)
 
static void SetCurrentWorkingDirectoryToBaseDir ()
 
static FString GetCurrentWorkingDirectory ()
 
static bool SetProcessLimits (EProcessResource::Type Resource, uint64 Limit)
 
static const FString ShaderWorkingDir ()
 
static void CleanShaderWorkingDir ()
 
static const TCHAR * ExecutablePath ()
 
static const TCHAR * ExecutableName (bool bRemoveExtension=true)
 
static FString GenerateApplicationPath (const FString &AppName, EBuildConfiguration BuildConfiguration)
 
static const TCHAR * GetModulePrefix ()
 
static const TCHAR * GetModuleExtension ()
 
static const TCHAR * GetBinariesSubdirectory ()
 
static const FString GetModulesDirectory ()
 
static void LaunchURL (const TCHAR *URL, const TCHAR *Parms, FString *Error)
 
static bool LaunchURLFiltered (const TCHAR *URL, const TCHAR *Parms, FString *Error, const UE::Core::FURLRequestFilter &Filter)
 
static bool CanLaunchURL (const TCHAR *URL)
 
static FString GetGameBundleId ()
 
static FProcHandle CreateProc (const TCHAR *URL, const TCHAR *Parms, bool bLaunchDetached, bool bLaunchHidden, bool bLaunchReallyHidden, uint32 *OutProcessID, int32 PriorityModifier, const TCHAR *OptionalWorkingDirectory, void *PipeWriteChild, void *PipeReadChild=nullptr)
 
static FProcHandle CreateProc (const TCHAR *URL, const TCHAR *Parms, bool bLaunchDetached, bool bLaunchHidden, bool bLaunchReallyHidden, uint32 *OutProcessID, int32 PriorityModifier, const TCHAR *OptionalWorkingDirectory, void *PipeWriteChild, void *PipeReadChild, void *PipeStdErrChild)
 
static FProcHandle OpenProcess (uint32 ProcessID)
 
static bool IsProcRunning (FProcHandle &ProcessHandle)
 
static void WaitForProc (FProcHandle &ProcessHandle)
 
static void CloseProc (FProcHandle &ProcessHandle)
 
static void TerminateProc (FProcHandle &ProcessHandle, bool KillTree=false)
 
static void TerminateProcTreeWithPredicate (FProcHandle &ProcessHandle, TFunctionRef< bool(uint32 ProcessId, const TCHAR *ApplicationName)> Predicate)
 
static EWaitAndForkResult WaitAndFork ()
 
static bool GetProcReturnCode (FProcHandle &ProcHandle, int32 *ReturnCode)
 
static bool IsApplicationRunning (uint32 ProcessId)
 
static bool IsApplicationRunning (const TCHAR *ProcName)
 
static FString GetApplicationName (uint32 ProcessId)
 
static bool GetApplicationMemoryUsage (uint32 ProcessId, SIZE_T *OutMemoryUsage)
 
static bool ExecProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode, FString *OutStdOut, FString *OutStdErr, const TCHAR *OptionalWorkingDirectory=NULL, bool bShouldEndWithParentProcess=false)
 
static bool ExecElevatedProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode)
 
static bool LaunchFileInDefaultExternalApplication (const TCHAR *FileName, const TCHAR *Parms=NULL, ELaunchVerb::Type Verb=ELaunchVerb::Open, bool bPromptToOpenOnFailure=true)
 
static void ExploreFolder (const TCHAR *FilePath)
 
static void ConditionalSleep (TFunctionRef< bool()> Condition, float SleepTime=0.0f)
 
static class FEventCreateSynchEvent (bool bIsManualReset=false)
 
static class FEventGetSynchEventFromPool (bool bIsManualReset=false)
 
static void FlushPoolSyncEvents ()
 
static void ReturnSynchEventToPool (FEvent *Event)
 
static class FRunnableThreadCreateRunnableThread ()
 
static void ClosePipe (void *ReadPipe, void *WritePipe)
 
static bool CreatePipe (void *&ReadPipe, void *&WritePipe, bool bWritePipeLocal=false)
 
static FString ReadPipe (void *ReadPipe)
 
static bool ReadPipeToArray (void *ReadPipe, TArray< uint8 > &Output)
 
static bool WritePipe (void *WritePipe, const FString &Message, FString *OutWritten=nullptr)
 
static bool WritePipe (void *WritePipe, const uint8 *Data, const int32 DataLength, int32 *OutDataLength=nullptr)
 
static bool SupportsMultithreading ()
 
static void SetRealTimeMode ()
 
static FSemaphoreNewInterprocessSynchObject (const FString &Name, bool bCreate, uint32 MaxLocks=1)
 
static FSemaphoreNewInterprocessSynchObject (const TCHAR *Name, bool bCreate, uint32 MaxLocks=1)
 
static bool DeleteInterprocessSynchObject (FSemaphore *Object)
 
static bool Daemonize ()
 
static bool IsFirstInstance ()
 
static void TearDown ()
 
static bool SkipWaitForStats ()
 
static ENamedThreads::Type GetDesiredThreadForUObjectReferenceCollector ()
 
static void ModifyThreadAssignmentForUObjectReferenceCollector (int32 &NumThreads, int32 &NumBackgroundThreads, ENamedThreads::Type &NormalThreadName, ENamedThreads::Type &BackgroundThreadName)
 
static FORCEINLINE void Yield ()
 
static FORCEINLINE void YieldCycles (uint64 Cycles)
 

Static Protected Member Functions

static void ReadFromPipes (FString *OutStrings[], Windows::HANDLE InPipes[], int32 PipeCount)
 

Static Private Member Functions

static voidLoadLibraryWithSearchPaths (const FString &FileName, const TArray< FString > &SearchPaths)
 
static bool ResolveImport (const FString &Name, const TArray< FString > &SearchPaths, FString &OutFileName)
 
static void ResolveMissingImportsRecursive (const FString &FileName, const TArray< FString > &SearchPaths, TArray< FString > &ImportFileNames, TSet< FString > &VisitedImportNames)
 

Static Private Attributes

static TArray< FStringDllDirectoryStack
 
static TArray< FStringDllDirectories
 
static TMap< FName, TArray< FString > > SearchPathDllCache
 

Additional Inherited Members

- Public Types inherited from FGenericPlatformProcess
enum class  EWaitAndForkResult : uint8 { Error , Parent , Child }
 

Detailed Description

Windows implementation of the Process OS functions.

Definition at line 31 of file WindowsPlatformProcess.h.

Member Function Documentation

◆ AddDllDirectory()

static void FWindowsPlatformProcess::AddDllDirectory ( const TCHAR * Directory)
static

◆ ApplicationSettingsDir()

static const TCHAR * FWindowsPlatformProcess::ApplicationSettingsDir ( )
static

◆ BaseDir()

static const TCHAR * FWindowsPlatformProcess::BaseDir ( )
static

◆ CanLaunchURL()

static bool FWindowsPlatformProcess::CanLaunchURL ( const TCHAR * URL)
static

◆ CeaseBeingFirstInstance()

static void FWindowsPlatformProcess::CeaseBeingFirstInstance ( )
static

Releases locks that we held for IsFirstInstance check.

◆ ClosePipe()

static void FWindowsPlatformProcess::ClosePipe ( void * ReadPipe,
void * WritePipe )
static

◆ CloseProc()

static void FWindowsPlatformProcess::CloseProc ( FProcHandle & ProcessHandle)
static

◆ ComputerName()

static const TCHAR * FWindowsPlatformProcess::ComputerName ( )
static
+ Here is the caller graph for this function:

◆ CreateElevatedProcess()

static FProcHandle FWindowsPlatformProcess::CreateElevatedProcess ( const TCHAR * URL,
const TCHAR * Params )
static

◆ CreatePipe()

static bool FWindowsPlatformProcess::CreatePipe ( void *& ReadPipe,
void *& WritePipe,
bool bWritePipeLocal = false )
static

◆ CreateProc() [1/2]

static FProcHandle FWindowsPlatformProcess::CreateProc ( const TCHAR * URL,
const TCHAR * Parms,
bool bLaunchDetached,
bool bLaunchHidden,
bool bLaunchReallyHidden,
uint32 * OutProcessID,
int32 PriorityModifier,
const TCHAR * OptionalWorkingDirectory,
void * PipeWriteChild,
void * PipeReadChild,
void * PipeStdErrChild )
static

◆ CreateProc() [2/2]

static FProcHandle FWindowsPlatformProcess::CreateProc ( const TCHAR * URL,
const TCHAR * Parms,
bool bLaunchDetached,
bool bLaunchHidden,
bool bLaunchReallyHidden,
uint32 * OutProcessID,
int32 PriorityModifier,
const TCHAR * OptionalWorkingDirectory,
void * PipeWriteChild,
void * PipeReadChild = nullptr )
static

◆ CreateRunnableThread()

static class FRunnableThread * FWindowsPlatformProcess::CreateRunnableThread ( )
static

◆ CreateSynchEvent()

static class FEvent * FWindowsPlatformProcess::CreateSynchEvent ( bool bIsManualReset = false)
static

◆ Daemonize()

static bool FWindowsPlatformProcess::Daemonize ( )
static

◆ DeleteInterprocessSynchObject()

static bool FWindowsPlatformProcess::DeleteInterprocessSynchObject ( FSemaphore * Object)
static

◆ ExecElevatedProcess()

static bool FWindowsPlatformProcess::ExecElevatedProcess ( const TCHAR * URL,
const TCHAR * Params,
int32 * OutReturnCode )
static

◆ ExecProcess()

static bool FWindowsPlatformProcess::ExecProcess ( const TCHAR * URL,
const TCHAR * Params,
int32 * OutReturnCode,
FString * OutStdOut,
FString * OutStdErr,
const TCHAR * OptionalWorkingDirectory = NULL,
bool bShouldEndWithParentProcess = false )
static

◆ ExecutableName()

static const TCHAR * FWindowsPlatformProcess::ExecutableName ( bool bRemoveExtension = true)
static
+ Here is the caller graph for this function:

◆ ExecutablePath()

static const TCHAR * FWindowsPlatformProcess::ExecutablePath ( )
static

◆ ExploreFolder()

static void FWindowsPlatformProcess::ExploreFolder ( const TCHAR * FilePath)
static

◆ FreeDllHandle()

static void FWindowsPlatformProcess::FreeDllHandle ( void * DllHandle)
static

◆ GenerateApplicationPath()

static FString FWindowsPlatformProcess::GenerateApplicationPath ( const FString & AppName,
EBuildConfiguration BuildConfiguration )
static

◆ GetApplicationMemoryUsage()

static bool FWindowsPlatformProcess::GetApplicationMemoryUsage ( uint32 ProcessId,
SIZE_T * OutMemoryUsage )
static

◆ GetApplicationName()

static FString FWindowsPlatformProcess::GetApplicationName ( uint32 ProcessId)
static

◆ GetBinariesSubdirectory()

static const TCHAR * FWindowsPlatformProcess::GetBinariesSubdirectory ( )
static

◆ GetCurrentCoreNumber()

static uint32 FWindowsPlatformProcess::GetCurrentCoreNumber ( )
static

◆ GetCurrentProcessId()

static uint32 FWindowsPlatformProcess::GetCurrentProcessId ( )
static
+ Here is the caller graph for this function:

◆ GetCurrentWorkingDirectory()

static FString FWindowsPlatformProcess::GetCurrentWorkingDirectory ( )
static

◆ GetDllDirectories()

static void FWindowsPlatformProcess::GetDllDirectories ( TArray< FString > & OutDllDirectories)
static

◆ GetDllExport()

static void * FWindowsPlatformProcess::GetDllExport ( void * DllHandle,
const TCHAR * ProcName )
static

◆ GetDllHandle()

static void * FWindowsPlatformProcess::GetDllHandle ( const TCHAR * Filename)
static

◆ GetModuleExtension()

static const TCHAR * FWindowsPlatformProcess::GetModuleExtension ( )
static

◆ GetModulesDirectory()

static const FString FWindowsPlatformProcess::GetModulesDirectory ( )
static

◆ GetPerFrameProcessorUsage()

static bool FWindowsPlatformProcess::GetPerFrameProcessorUsage ( uint32 ProcessId,
float & ProcessUsageFraction,
float & IdleUsageFraction )
static

◆ GetProcReturnCode()

static bool FWindowsPlatformProcess::GetProcReturnCode ( FProcHandle & ProcHandle,
int32 * ReturnCode )
static

◆ IsApplicationRunning() [1/2]

static bool FWindowsPlatformProcess::IsApplicationRunning ( const TCHAR * ProcName)
static

◆ IsApplicationRunning() [2/2]

static bool FWindowsPlatformProcess::IsApplicationRunning ( uint32 ProcessId)
static

◆ IsFirstInstance()

static bool FWindowsPlatformProcess::IsFirstInstance ( )
static

◆ IsProcRunning()

static bool FWindowsPlatformProcess::IsProcRunning ( FProcHandle & ProcessHandle)
static

◆ LaunchFileInDefaultExternalApplication()

static bool FWindowsPlatformProcess::LaunchFileInDefaultExternalApplication ( const TCHAR * FileName,
const TCHAR * Parms = NULL,
ELaunchVerb::Type Verb = ELaunchVerb::Open,
bool bPromptToOpenOnFailure = true )
static

◆ LaunchURL()

static void FWindowsPlatformProcess::LaunchURL ( const TCHAR * URL,
const TCHAR * Parms,
FString * Error )
static

◆ LoadLibraryWithSearchPaths()

static void * FWindowsPlatformProcess::LoadLibraryWithSearchPaths ( const FString & FileName,
const TArray< FString > & SearchPaths )
staticprivate

Replacement implementation of the Win32 LoadLibrary function which searches the given list of directories for dependent imports, and attempts to load them from the correct location first. The normal LoadLibrary function (pre-Win8) only searches a limited list of locations.

Parameters
FileNamePath to the library to load
SearchPathsSearch directories to scan for imports

◆ NewInterprocessSynchObject() [1/2]

static FSemaphore * FWindowsPlatformProcess::NewInterprocessSynchObject ( const FString & Name,
bool bCreate,
uint32 MaxLocks = 1 )
static

◆ NewInterprocessSynchObject() [2/2]

static FSemaphore * FWindowsPlatformProcess::NewInterprocessSynchObject ( const TCHAR * Name,
bool bCreate,
uint32 MaxLocks = 1 )
static

◆ OpenProcess()

static FProcHandle FWindowsPlatformProcess::OpenProcess ( uint32 ProcessID)
static

◆ PopDllDirectory()

static void FWindowsPlatformProcess::PopDllDirectory ( const TCHAR * Directory)
static

◆ PushDllDirectory()

static void FWindowsPlatformProcess::PushDllDirectory ( const TCHAR * Directory)
static

◆ ReadFromPipes()

static void FWindowsPlatformProcess::ReadFromPipes ( FString * OutStrings[],
Windows::HANDLE InPipes[],
int32 PipeCount )
staticprotected

Reads from a collection of anonymous pipes.

Parameters
OutStringsWill hold the read data.
InPipesThe pipes to read from.
PipeCountThe number of pipes.

◆ ReadPipe()

static FString FWindowsPlatformProcess::ReadPipe ( void * ReadPipe)
static

◆ ReadPipeToArray()

static bool FWindowsPlatformProcess::ReadPipeToArray ( void * ReadPipe,
TArray< uint8 > & Output )
static

◆ ResolveImport()

static bool FWindowsPlatformProcess::ResolveImport ( const FString & Name,
const TArray< FString > & SearchPaths,
FString & OutFileName )
staticprivate

Resolve an individual import.

Parameters
ImportNameName of the imported module
OutFileNameOn success, receives the path to the imported file
Returns
true if an import was found.

◆ ResolveMissingImportsRecursive()

static void FWindowsPlatformProcess::ResolveMissingImportsRecursive ( const FString & FileName,
const TArray< FString > & SearchPaths,
TArray< FString > & ImportFileNames,
TSet< FString > & VisitedImportNames )
staticprivate

Resolve all the imports for the given library, searching through a set of directories.

Parameters
FileNamePath to the library to load
SearchPathsSearch directories to scan for imports
ImportFileNamesArray which is filled with a list of the resolved imports found in the given search directories
VisitedImportNamesArray which stores a list of imports which have been checked

◆ ResolveNetworkPath()

static bool FWindowsPlatformProcess::ResolveNetworkPath ( FString InUNCPath,
FString & OutPath )
static

◆ SetCurrentWorkingDirectoryToBaseDir()

static void FWindowsPlatformProcess::SetCurrentWorkingDirectoryToBaseDir ( )
static

◆ SetProcPriority()

static bool FWindowsPlatformProcess::SetProcPriority ( FProcHandle & InProcHandle,
int32 PriorityModifier )
static

◆ SetThreadAffinityMask()

static void FWindowsPlatformProcess::SetThreadAffinityMask ( uint64 AffinityMask)
static

◆ SetThreadName()

static void FWindowsPlatformProcess::SetThreadName ( const TCHAR * ThreadName)
static

◆ SetupAudioThread()

static void FWindowsPlatformProcess::SetupAudioThread ( )
static

◆ SetupGameThread()

static void FWindowsPlatformProcess::SetupGameThread ( )
static

◆ ShaderWorkingDir()

static const FString FWindowsPlatformProcess::ShaderWorkingDir ( )
static

◆ Sleep()

static void FWindowsPlatformProcess::Sleep ( float Seconds)
static

◆ SleepInfinite()

static void FWindowsPlatformProcess::SleepInfinite ( )
static

◆ SleepNoStats()

static void FWindowsPlatformProcess::SleepNoStats ( float Seconds)
static
+ Here is the caller graph for this function:

◆ TeardownAudioThread()

static void FWindowsPlatformProcess::TeardownAudioThread ( )
static

◆ TerminateProc()

static void FWindowsPlatformProcess::TerminateProc ( FProcHandle & ProcessHandle,
bool KillTree = false )
static

◆ TerminateProcTreeWithPredicate()

static void FWindowsPlatformProcess::TerminateProcTreeWithPredicate ( FProcHandle & ProcessHandle,
TFunctionRef< bool(uint32 ProcessId, const TCHAR *ApplicationName)> Predicate )
static

◆ UserDir()

static const TCHAR * FWindowsPlatformProcess::UserDir ( )
static

◆ UserName()

static const TCHAR * FWindowsPlatformProcess::UserName ( bool bOnlyAlphaNumeric = true)
static

◆ UserSettingsDir()

static const TCHAR * FWindowsPlatformProcess::UserSettingsDir ( )
static

◆ UserTempDir()

static const TCHAR * FWindowsPlatformProcess::UserTempDir ( )
static

◆ WaitForProc()

static void FWindowsPlatformProcess::WaitForProc ( FProcHandle & ProcessHandle)
static

◆ WritePipe() [1/2]

static bool FWindowsPlatformProcess::WritePipe ( void * WritePipe,
const FString & Message,
FString * OutWritten = nullptr )
static

◆ WritePipe() [2/2]

static bool FWindowsPlatformProcess::WritePipe ( void * WritePipe,
const uint8 * Data,
const int32 DataLength,
int32 * OutDataLength = nullptr )
static

◆ YieldThread()

static void FWindowsPlatformProcess::YieldThread ( )
static

Member Data Documentation

◆ DllDirectories

TArray<FString> FWindowsPlatformProcess::DllDirectories
staticprivate

All the DLL directories we want to load from.

Definition at line 229 of file WindowsPlatformProcess.h.

◆ DllDirectoryStack

TArray<FString> FWindowsPlatformProcess::DllDirectoryStack
staticprivate

Since Windows can only have one directory at a time, this stack is used to reset the previous DllDirectory.

Definition at line 224 of file WindowsPlatformProcess.h.

◆ SearchPathDllCache

TMap<FName, TArray<FString> > FWindowsPlatformProcess::SearchPathDllCache
staticprivate

A cache of the dlls found in each directory in DllDirectories.

Definition at line 234 of file WindowsPlatformProcess.h.


The documentation for this struct was generated from the following file: