... REGCLOSEKEY( hKey ) cData = LEFT( cData, AT( CHR( 0 ), cData ) - 1 ) RETURN cData DLL32 FUNCTION REGOPENKEY( hKey AS LONG, cSubKey AS LPSTR, nOptions AS DWORD, nSamDesired AS DWORD, @nHandle AS PTR ) AS LONG; PASCAL FROM "RegOpenKeyExA" LIB "advapi32.dll" DLL32 FUNCTION REGQUERYVALUE( hKey ...