GetWindowsDirs
int GetWindowsDirs (char windowsDirectory[], char systemDirectory[]);
Purpose
This function returns the Windows installation and system directories.
(Linux) This function is not supported.
Parameters
Output | ||||
Name | Type | Description | ||
windowsDirectory | char [] | Returns the Windows installation directory. If non–NULL, this buffer must be at least MAX_PATHNAME_LEN bytes. | ||
systemDirectory | char [] | Returns the Windows system directory. If non–NULL, this buffer must be at least MAX_PATHNAME_LEN bytes.
|
Return Value
Name | Type | Description |
status | int | The status code that the function returns. 0 indicates success. A negative value indicates an error. This function may return a Programmer's Toolbox or UI Library error code. Call GetGeneralErrorString to obtain a text description of the error. |
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later