|
|
static FORCEINLINE void | AddDllDirectory (const TCHAR *Directory) |
| | Adds a directory to search in when resolving implicitly loaded or filename-only DLLs.
|
| |
| static const TCHAR * | ApplicationSettingsDir () |
| | Get application settings directory. 更多...
|
| |
| static const TCHAR * | BaseDir () |
| | Get startup directory. 更多...
|
| |
| static bool | CanLaunchURL (const TCHAR *URL) |
| | Checks if the platform can launch a uniform resource locator (i.e. 更多...
|
| |
|
static void | CleanShaderWorkingDir () |
| | Clean the shader working directory.
|
| |
| static void | ClosePipe (void *ReadPipe, void *WritePipe) |
| | Closes an anonymous pipe. 更多...
|
| |
| static void | CloseProc (FProcHandle &ProcessHandle) |
| | Cleans up FProcHandle after we're done with it. 更多...
|
| |
| static const TCHAR * | ComputerName () |
| | Get computer name. 更多...
|
| |
| static void | ConditionalSleep (TFunctionRef< bool()> Condition, float SleepTime=0.0f) |
| | Sleep thread until condition is satisfied. 更多...
|
| |
| static bool | CreatePipe (void *&ReadPipe, void *&WritePipe) |
| | Creates a writable anonymous pipe. 更多...
|
| |
| 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) |
| | Creates a new process and its primary thread. 更多...
|
| |
| static class FRunnableThread * | CreateRunnableThread () |
| | Creates the platform-specific runnable thread. 更多...
|
| |
| static class FEvent * | CreateSynchEvent (bool bIsManualReset=false) |
| | Creates a new event. 更多...
|
| |
| static bool | Daemonize () |
| | Makes process run as a system service (daemon), i.e. 更多...
|
| |
| static bool | DeleteInterprocessSynchObject (FSemaphore *Object) |
| | Deletes an interprocess synchronization object. 更多...
|
| |
| static bool | ExecElevatedProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode) |
| | Executes a process as administrator, requesting elevation as necessary. 更多...
|
| |
| static bool | ExecProcess (const TCHAR *URL, const TCHAR *Params, int32 *OutReturnCode, FString *OutStdOut, FString *OutStdErr, const TCHAR *OptionalWorkingDirectory=NULL) |
| | Executes a process, returning the return code, stdout, and stderr. 更多...
|
| |
| static const TCHAR * | ExecutableName (bool bRemoveExtension=true) |
| | Return the name of the currently running executable 更多...
|
| |
| static const TCHAR * | ExecutablePath () |
| | Return the path to the currently running executable 更多...
|
| |
| static void | ExploreFolder (const TCHAR *FilePath) |
| | Attempt to "explore" the folder specified by the provided file path 更多...
|
| |
|
static void | FlushPoolSyncEvents () |
| | Deletes all the recycled sync events contained by the pools
|
| |
|
static void | FreeDllHandle (void *DllHandle) |
| | Free a DLL.
|
| |
| static FString | GenerateApplicationPath (const FString &AppName, EBuildConfiguration BuildConfiguration) |
| | Generates the path to the specified application or game. 更多...
|
| |
|
static bool | GetApplicationMemoryUsage (uint32 ProcessId, SIZE_T *OutMemoryUsage) |
| | Outputs the virtual memory usage, of the process with the specified PID
|
| |
| static FString | GetApplicationName (uint32 ProcessId) |
| | Returns the Name of process given by the PID. 更多...
|
| |
|
static const TCHAR * | GetBinariesSubdirectory () |
| | Used only by platforms with DLLs, this gives the subdirectory from binaries to find the executables
|
| |
| static uint32 | GetCurrentCoreNumber () |
| | Retrieves the current hardware CPU core 更多...
|
| |
| static uint32 | GetCurrentProcessId () |
| | Retrieves the ProcessId of this process. 更多...
|
| |
|
static FString | GetCurrentWorkingDirectory () |
| | Get the current working directory (only really makes sense on desktop platforms)
|
| |
|
static ENamedThreads::Type | GetDesiredThreadForUObjectReferenceCollector () |
| | specifies the thread to use for UObject reference collection
|
| |
|
static FORCEINLINE void | GetDllDirectories (TArray< FString > &OutDllDirectories) |
| | Get the list of registered directories to search in when resolving implicitly loaded or filename-only DLLs.
|
| |
|
static void * | GetDllExport (void *DllHandle, const TCHAR *ProcName) |
| | Lookup the address of a DLL function.
|
| |
|
static void * | GetDllHandle (const TCHAR *Filename) |
| | Load a DLL.
|
| |
| static FString | GetGameBundleId () |
| | Retrieves the platform-specific bundle identifier or package name of the game 更多...
|
| |
| static const TCHAR * | GetModuleExtension () |
| | Return the extension of dynamic library 更多...
|
| |
| static const TCHAR * | GetModulePrefix () |
| | Return the prefix of dynamic library (e.g. 更多...
|
| |
| static const FString | GetModulesDirectory () |
| | Used only by platforms with DLLs, this gives the full path to the main directory containing modules 更多...
|
| |
|
static bool | GetProcReturnCode (FProcHandle &ProcHandle, int32 *ReturnCode) |
| | Retrieves the termination status of the specified process.
|
| |
| static class FEvent * | GetSynchEventFromPool (bool bIsManualReset=false) |
| | Gets an event from the pool or creates a new one if necessary. 更多...
|
| |
|
static bool | IsApplicationRunning (const TCHAR *ProcName) |
| | Returns true if the specified application is running
|
| |
|
static bool | IsApplicationRunning (uint32 ProcessId) |
| | Returns true if the specified application is running
|
| |
| static bool | IsFirstInstance () |
| | Checks if we're the first instance. 更多...
|
| |
| static bool | IsProcRunning (FProcHandle &ProcessHandle) |
| | Returns true if the specified process is running 更多...
|
| |
| static void | LaunchFileInDefaultExternalApplication (const TCHAR *FileName, const TCHAR *Parms=NULL, ELaunchVerb::Type Verb=ELaunchVerb::Open) |
| | Attempt to launch the provided file name in its default external application. 更多...
|
| |
| static void | LaunchURL (const TCHAR *URL, const TCHAR *Parms, FString *Error) |
| | Launch a uniform resource locator (i.e. 更多...
|
| |
|
static void | ModifyThreadAssignmentForUObjectReferenceCollector (int32 &NumThreads, int32 &NumBackgroundThreads, ENamedThreads::Type &NormalThreadName, ENamedThreads::Type &BackgroundThreadName) |
| | allows a platform to override the threading configuration for reference collection
|
| |
| static FSemaphore * | NewInterprocessSynchObject (const FString &Name, bool bCreate, uint32 MaxLocks=1) |
| | Creates or opens an interprocess synchronization object. 更多...
|
| |
| static FSemaphore * | NewInterprocessSynchObject (const TCHAR *Name, bool bCreate, uint32 MaxLocks=1) |
| | Creates or opens an interprocess synchronization object. 更多...
|
| |
| static FProcHandle | OpenProcess (uint32 ProcessID) |
| | Opens an existing process. 更多...
|
| |
| static FORCEINLINE void | PopDllDirectory (const TCHAR *Directory) |
| | Unsets a directory to look for DLL files. 更多...
|
| |
| static FORCEINLINE void | PushDllDirectory (const TCHAR *Directory) |
| | Set a directory to look for DLL files. 更多...
|
| |
| static FString | ReadPipe (void *ReadPipe) |
| | Reads all pending data from an anonymous pipe, such as STDOUT or STDERROR of a process. 更多...
|
| |
| static bool | ReadPipeToArray (void *ReadPipe, TArray< uint8 > &Output) |
| | Reads all pending data from an anonymous pipe, such as STDOUT or STDERROR of a process. 更多...
|
| |
| static void | ReturnSynchEventToPool (FEvent *Event) |
| | Returns an event to the pool. 更多...
|
| |
| static bool | SetProcessLimits (EProcessResource::Type Resource, uint64 Limit) |
| | Sets the process limits. 更多...
|
| |
|
static void | SetRealTimeMode () |
| | Enables Real Time Mode on the current thread.
|
| |
| static void | SetThreadAffinityMask (uint64 AffinityMask) |
| | Change the thread processor affinity 更多...
|
| |
| static void | SetThreadName (const TCHAR *ThreadName) |
| | Helper function to set thread name of the current thread. 更多...
|
| |
|
static void | SetupAudioThread () |
| | Allow the platform to do anything it needs for audio thread
|
| |
|
static void | SetupGameThread () |
| | Allow the platform to do anything it needs for game thread
|
| |
|
static void | SetupRenderThread () |
| | Allow the platform to do anything it needs for render thread
|
| |
| static const FString | ShaderWorkingDir () |
| | Get the shader working directory. 更多...
|
| |
|
static bool | ShouldSaveToUserDir () |
| | Content saved to the game or engine directories should be rerouted to user directories instead
|
| |
|
static bool | SkipWaitForStats () |
| | force skip calling FThreadStats::WaitForStats()
|
| |
| static bool | SupportsMultithreading () |
| | Gets whether this platform can use multiple threads. 更多...
|
| |
|
static void | TearDown () |
| | Tears down allocated process resources.
|
| |
|
static void | TeardownAudioThread () |
| | Allow the platform to tear down the audio thread
|
| |
| static void | TerminateProc (FProcHandle &ProcessHandle, bool KillTree=false) |
| | Terminates a process 更多...
|
| |
| static const TCHAR * | UserDir () |
| | Get user directory. 更多...
|
| |
| static const TCHAR * | UserName (bool bOnlyAlphaNumeric=true) |
| | Get user name. 更多...
|
| |
| static const TCHAR * | UserSettingsDir () |
| | Get the user settings directory. 更多...
|
| |
| static const TCHAR * | UserTempDir () |
| | Get the user temporary directory. 更多...
|
| |
| static EWaitAndForkResult | WaitAndFork () |
| | Waits for process signals and forks child processes. 更多...
|
| |
| static void | WaitForProc (FProcHandle &ProcessHandle) |
| | Waits for a process to stop 更多...
|
| |
| static bool | WritePipe (void *WritePipe, const FString &Message, FString *OutWritten=nullptr) |
| | Sends the message to process through pipe 更多...
|
| |
| static bool | WritePipe (void *WritePipe, const uint8 *Data, const int32 DataLength, int32 *OutDataLength=nullptr) |
| | Sends data to process through pipe 更多...
|
| |
| static FORCEINLINE void | Yield () |
| | Tells the processor to pause for implementation-specific amount of time. 更多...
|
| |
Windows implementation of the Process OS functions.