|
This section contains a list of supported Win32 API functions.
NOTE: RTX only supports absolute pathnames.
Win32 Function Name |
Description |
Indicates whether the try block of a try-finally statement terminated normally. The function can be called only from within the finally block of a try-finally statement. |
|
Closes an open object handle. |
|
Creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory. |
|
Creates or opens a file. It then returns a handle that can be used to access the object. |
|
Creates a thread to execute within the address space of the calling process. |
|
Releases all resources used by an unowned critical-section object. |
|
Deletes an existing file. |
|
Sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation. |
|
An optional method of entry into a dynamic-link library (DLL). |
|
Waits for ownership of the specified critical-section object. The function returns when the calling thread is granted ownership. |
|
Ends a process and all its threads. |
|
Ends a thread. |
|
Converts a file time to a local file time. |
|
Converts a 64-bit file time to system time format. |
|
Decrements the reference count of the loaded dynamic-link library (DLL) module. |
|
Returns a pseudo handle for the current process. |
|
Returns the process identifier of the calling process. |
|
Returns the system-assigned number of the current processor on which the caller is running. |
|
Returns a pseudohandle for the current thread. |
|
Returns the thread identifier of the calling thread. |
|
Retrieves a code that identifies the type of exception that occurred. |
|
Retrieves a machine-independent description of an exception, and information about the machine state that existed for the thread when the exception occurred. |
|
Retrieves the termination status of the specified thread. |
|
Returns the calling thread's last-error code value. |
|
GetLocalTime |
Retrieves the current local date and time. |
Returns the address of the specified exported dynamic-link library (DLL) function. |
|
Retrieves the process affinity mask for the specified process and the system affinity mask for Real-Time Subsystem (RTSS). |
|
Obtains a handle to the heap of the calling process. This handle can then be used in calls to HeapAlloc, HeapReAlloc, HeapFree, and HeapSize. |
|
GetSystemTime |
Retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC). |
Returns the priority value for the specified thread. This value, together with the priority class of the thread's process, determines the thread's base-priority level. |
|
GetTimeZoneInformation |
Retrieves the current time-zone parameters. These parameters control the translations between UTC and local time. |
Allocates a block of memory from a heap. The allocated memory is not movable. |
|
Creates a heap object that can be used by the calling process. |
|
Destroys the specified heap object. |
|
Frees a memory block allocated from a heap by HeapAlloc or HeapReAlloc. |
|
Reallocates a block of memory from a heap. This function enables you to resize a memory block and change other memory block properties. |
|
Returns the size, in bytes, of a memory block allocated from a heap by HeapAlloc or HeapReAlloc. |
|
Tests the specified bit of the specified LONG value and sets it to 0. The operation is atomic. |
|
Tests the specified bit of the specified LONG value and sets it to 0. The operation is atomic. |
|
Tests the specified bit of the specified LONG value and sets it to 1. The operation is atomic. |
|
Performs an atomic compare-and-exchange operation on the specified values. |
|
Decrements (decreases by one) the value of the specified 32-bit variable as an atomic operation. |
|
Sets a 32-bit variable to the specified value as an atomic operation. |
|
Performs an atomic addition of two 32-bit values. |
|
Increments (increases by one) the value of the specified 32-bit variable as an atomic operation. |
|
Releases ownership of the specified critical-section object. |
|
Maps the specified executable module into the address space of the calling process. |
|
Converts a local file time to a file time based on the UTC. |
|
Sends a string to the debugger for display. |
|
Retrieves the current value of the high-resolution performance counter. |
|
Retrieves the frequency of the high-resolution performance counter, if one exists. The frequency cannot change while the system is running. |
|
Raises an exception in the calling thread. |
|
Reads data from a file, starting at the position indicated by the file pointer. |
|
A handle to the specified registry key. |
|
Creates the specified registry key. |
|
Creates the specified registry key. |
|
Deletes a subkey and its values. See the RegDeleteKeyEx function for more expanded options. |
|
Deletes a subkey and its values from the registry. See RegDeleteKey for a basic version of this function. |
|
Removes the specified value from the specified registry key. |
|
Enumerates the subkeys of the specified open registry key. |
|
The subkeys of the specified open registry key. |
|
Enumerates the values for the specified open registry key. |
|
Opens the specified registry key. |
|
Opens the specified registry key. |
|
Retrieves the type and data associated with the value of a specified registry key. |
|
Sets the data for the specified value in the specified registry key. |
|
RemoveDirectory |
Deletes an existing empty directory. |
ResumeThread |
Subtracts one from a thread's suspend count. |
Function moves the end-of-file (EOF) position for the specified file to the current position of the file pointer. |
|
Moves the file pointer of an open file. |
|
Sets the last-error code for the calling thread. |
|
Sets a processor affinity mask for the threads of the specified process. |
|
Sets a processor affinity mask for the specified thread. |
|
Sets a preferred processor for a thread. |
|
Sets the priority value for the specified thread. |
|
Lets an application supersede the top-level exception handler that RTSS places at the top of each thread and process. |
|
Suspends the current process for the specified time. |
|
Suspends the specified thread. |
|
Converts a system time to a file time. |
|
Terminates a thread. |
|
Allocates a thread local storage (TLS) index. |
|
Releases a thread local storage (TLS) index, making it available for reuse. |
|
Retrieves the value in the calling thread's thread local storage (TLS) slot for a specified TLS index. |
|
Stores a value in the calling thread's thread local storage (TLS) slot for a specified TLS index. |
|
Displays an Application Error message box and causes the exception handler to be executed. |
|
Writes data to a file (synchronous operations only). |