VC acquisition environment variable

xiaoxiao2021-03-06  41

LPTSTR lpszSystemInfo; // pointer to system information string TCHAR tchUserHome [BUFFER]; lpszSystemInfo = tchBuffer2; DWORD dwResult = ExpandEnvironmentStrings ( "% OS%", lpszSystemInfo, BUFFER); TRACE (lpszSystemInfo);

转载请注明原文地址:https://www.9cbs.com/read-50956.html

New Post(0)