File tree Expand file tree Collapse file tree
compiler/rc/doc/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55< style >
66</ style >
77</ head >
8- < frameset cols ="16 %,* ">
8+ < frameset cols ="20 %,* ">
99 < frame name ='nav ' src ='classes.html '/>
1010 < frame name ='main ' src ='bundles.html '/>
1111 </ frameset >
Original file line number Diff line number Diff line change @@ -376,19 +376,18 @@ class IPSecureSocket {
376376class System {
377377 public:
378378
379- static BOOL GetUserDirectory (char * buf, DWORD buflen) {
380- BOOL ret;
381- HANDLE hToken;
379+ static BOOL GetUserDirectory (char * buf, int len) {
380+ HANDLE handle;
382381
383- if (!OpenProcessToken (GetCurrentProcess (), TOKEN_READ , &hToken )) {
382+ if (!OpenProcessToken (GetCurrentProcess (), TOKEN_READ , &handle )) {
384383 return FALSE ;
385384 }
386385
387- if (!GetUserProfileDirectory (hToken , buf, &buflen )) {
386+ if (!GetUserProfileDirectory (handle , buf, &len )) {
388387 return FALSE ;
389388 }
390389
391- CloseHandle (hToken );
390+ CloseHandle (handle );
392391 return TRUE ;
393392 }
394393
You can’t perform that action at this time.
0 commit comments