Are u aware of this function...... LONG RegQueryInfoKey ( HKEY hKey, LPWSTR lpClass, LPDWORD lpcbClass, LPDWORD lpReserved, LPDWORDlpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime ); I want to know what is the use of the second parameter.... It says it returns the class name.... What is a class name...? As the function reads the registry...I must be able to see the value in the registry itself using regedit.... Please help I am trying hard to figure this out Thanx