精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● Delphi>>Windows API函数>>How to get the system dir ?

主题:How to get the system dir ?
发信人: fangwd()
整理人: teleme(2000-12-06 19:08:43), 站内信件
【 在 songmk (Jack) 的大作中提到: 】
: for example : c:\winnt\system32

1、UINT GetWindowsDirectory(
    LPTSTR lpBuffer, // address of buffer for Windows directory 
    UINT uSize  // size of directory buffer 
   );

2、 GetSystemDirectory(
    LPTSTR lpBuffer, // address of buffer for system directory 
    UINT uSize  // size of directory buffer 
   );

--
※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.104.48.74]

[关闭][返回]