win32API question - getting system directory?

notfred

Lifer
Feb 12, 2001
38,241
4
0
IS there a win32API function to retrieve the system directory? (i.e. C:\Windows or C:\WINNT)

Any way to get that information from the win32API would be nice.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
I have no idea, I've never used the win32API before but I need this one function for a python program.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
There are facets of the win32 that follow lucid naming conventions, and this is one of them. The function you are looking for is GetSystemDirectory() :)