INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |
-- The `CreateProcess' function creates a new process and its
-- primary thread. The new process executes the specified
-- executable file
-- HANDLE
-- The OpenProcess function returns a handle of an existing process
-- object.
-- The `GetCurrentProcess' function returns a pseudohandle for the
-- current process
-- The `GetCurrentProcessId' function returns the process identifier
-- of the calling process
-- The `GetExitCodeProcess' function retrieves the termination status
-- of the specified process
-- The `GetPriorityClass' function returns the priority class for
-- the specified process.
-- This value, together with the priority value of each thread of
-- the process, determines each thread's base priority level.
-- The `SetPriorityClass' function sets the priority class for
-- the specified process.
-- This value together with the priority value of each thread of
-- the process determines each thread's base priority level.
-- DWORD
-- The `GetEnvironmentVariable' function retrieves the value
-- of the specified variable from the environment block
-- of the calling process. The value is in the form
-- of a null-terminated string of characters.
-- Parameters
-- lpName - Points to a null-terminated string that specifies
-- the environment variable.
-- lpBuffer - Points to a buffer to receive the value of the
-- specified environment variable.
-- nSize - Specifies the size, in characters, of the buffer
-- pointed to by the `lpBuffer' parameter.
-- Return Value
-- If the function succeeds, the return value is the number
-- of characters stored into the buffer pointed to by lpBuffer,
-- not including the terminating null character.
-- If the specified environment variable name was not found
-- in the environment block for the current process, the return
-- value is zero.
-- If the buffer pointed to by lpBuffer is not large enough,
-- the return value is the buffer size, in characters, required
-- to hold the value string and its terminating null character.
-- BOOL
-- The `SetEnvironmentVariable' function sets the value
-- of an environment variable for the current process.
-- Parameters
-- lpName - Points to a null-terminated string that specifies
-- the environment variable whose value is being set.
-- The operating system creates the environment variable
-- if it does not exist and lpValue is not NULL.
-- lpValue - Points to a null-terminated string containing
-- the new value of the specified environment variable.
-- If this parameter is NULL, the variable is deleted
-- from the current process's environment.
-- Return Values
-- If the function succeeds, the return value is TRUE.
-- If the function fails, the return value is FALSE.
-- To get extended error information, call `GetLastError'.
-- The `GetCurrentThread' function returns a pseudohandle
-- for the current thread
-- The `GetCurrentThreadId' function returns the thread identifier
-- of the calling thread
-- The `GetExitCodeThread' function retrieves the termination status
-- of the specified thread
-- The `Sleep' function suspends the execution of the current thread
-- for a specified interval
INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |