int GetWindowsDirs (char windowsDirectory[], char systemDirectory[]);
This function returns the Windows installation and System directories.
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. |
Name | Type | Description |
status | integer | 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. |