Article ID: 149419
Article Last Modified on 10/15/2003
USER_INFO_1 * pUserInfo; NetUserGetInfo (NULL, pszUserName, 1, (LPBYTE *)&puserinfo); The information will be returned in USER_INFO_1.usri1_home_dir.OLE will also set the current working directory of the server to the SYSTEM32 directory when it launches it. The location of the server's .exe file can be found by using GetModuleFileName() in the server.
Keywords: kbserver KB149419