본문 바로가기

My Study/Function

GetWindowsDirectory

UINT WINAPI GetWindowsDirectory(
  __out  LPTSTR lpBuffer,
  __in   UINT uSize
);
c:\WINDOWS 경로 가져옴

lpBuffer : Windows 디렉터리 정보를 저장할 버퍼의 주소값을 지정
uSize : 첫 번째 인자로 전달된 버퍼의 길이를 지정


 

'My Study > Function' 카테고리의 다른 글

GetProcAddress  (0) 2010.02.24
SetCurrentDirectory  (0) 2010.02.24
GetSystemDirectory  (0) 2010.02.24
WriteFile  (0) 2010.02.24
ReadFile  (0) 2010.02.24