|
static void * | GetDllHandle (const TCHAR *Filename) |
|
static void | FreeDllHandle (void *DllHandle) |
|
static void * | GetDllExport (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 FEvent * | CreateSynchEvent (bool bIsManualReset=false) |
|
static class FRunnableThread * | CreateRunnableThread () |
|
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 FSemaphore * | NewInterprocessSynchObject (const FString &Name, bool bCreate, uint32 MaxLocks=1) |
|
static FSemaphore * | NewInterprocessSynchObject (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 void * | GetDllHandle (const TCHAR *Filename) |
|
static void | FreeDllHandle (void *DllHandle) |
|
static void * | GetDllExport (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 FEvent * | CreateSynchEvent (bool bIsManualReset=false) |
|
static class FEvent * | GetSynchEventFromPool (bool bIsManualReset=false) |
|
static void | FlushPoolSyncEvents () |
|
static void | ReturnSynchEventToPool (FEvent *Event) |
|
static class FRunnableThread * | CreateRunnableThread () |
|
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 FSemaphore * | NewInterprocessSynchObject (const FString &Name, bool bCreate, uint32 MaxLocks=1) |
|
static FSemaphore * | NewInterprocessSynchObject (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) |
|
Windows implementation of the Process OS functions.
Definition at line 31 of file WindowsPlatformProcess.h.