/[winpt]/trunk/Src/wptRegistry.cpp
ViewVC logotype

Diff of /trunk/Src/wptRegistry.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 12 by twoaday, Mon Apr 4 06:59:24 2005 UTC revision 13 by twoaday, Mon Apr 25 07:15:30 2005 UTC
# Line 265  expand_path( const char *path ) Line 265  expand_path( const char *path )
265    
266    
267  char *  char *
268  get_reg_entry( HKEY root_key, const char * dir, const char * key )  get_reg_entry (HKEY root_key, const char * dir, const char * key)
269  {  {
270      int rc;      int rc;
271      char text[384] = {0};      char text[384] = {0};
# Line 273  get_reg_entry( HKEY root_key, const char Line 273  get_reg_entry( HKEY root_key, const char
273      HKEY reg_key = NULL;      HKEY reg_key = NULL;
274      char * p = NULL, * tmp = NULL;      char * p = NULL, * tmp = NULL;
275            
276      rc = RegOpenKeyEx( root_key, dir, 0, KEY_QUERY_VALUE, &reg_key );      rc = RegOpenKeyEx (root_key, dir, 0, KEY_QUERY_VALUE, &reg_key);
277      if( !rc_ok( rc ) )      if( !rc_ok( rc ) )
278          goto leave;          goto leave;
279      nbytes = sizeof text - 1;      nbytes = sizeof text - 1;

Legend:
Removed from v.12  
changed lines
  Added in v.13

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26