{"action":"opened","issue":{"url":"https://api.github.com/repos/jrsoftware/issrc/issues/155","labels_url":"https://api.github.com/repos/jrsoftware/issrc/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/jrsoftware/issrc/issues/155/comments","events_url":"https://api.github.com/repos/jrsoftware/issrc/issues/155/events","html_url":"https://github.com/jrsoftware/issrc/issues/155","id":64753148,"number":155,"title":"Allow to read REG_RESOURCE_LIST and other from Registry","user":{"login":"SergejKern","id":8479232,"avatar_url":"https://avatars.githubusercontent.com/u/8479232?v=3","gravatar_id":"","url":"https://api.github.com/users/SergejKern","html_url":"https://github.com/SergejKern","followers_url":"https://api.github.com/users/SergejKern/followers","following_url":"https://api.github.com/users/SergejKern/following{/other_user}","gists_url":"https://api.github.com/users/SergejKern/gists{/gist_id}","starred_url":"https://api.github.com/users/SergejKern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergejKern/subscriptions","organizations_url":"https://api.github.com/users/SergejKern/orgs","repos_url":"https://api.github.com/users/SergejKern/repos","events_url":"https://api.github.com/users/SergejKern/events{/privacy}","received_events_url":"https://api.github.com/users/SergejKern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T12:24:55Z","updated_at":"2015-03-27T12:24:55Z","closed_at":null,"body":"Hello there,\r\n\r\nplease allow to read ```REG_RESOURCE_LIST``` type from Registry. If I understand correctly, in function 'REGQUERYBINARYVALUE' you check explicitly fro type REG_BINARY. As far as I know the type REG_RESOURCE_LIST has the same format as REG_BINARY.\r\n\r\nIf it is sufficient just to accept REG_RESOURCE_LIST in addition to REG_BINARY in function 'REGQUERYBINARYVALUE', I could push this change to repo. \r\n\r\nlike \r\n\r\n```if (RegQueryValueEx(K, PChar(N), nil, @Typ, nil, @Size) = ERROR_SUCCESS) and ((Typ = REG_BINARY)``` **or (Typ = REG_RESOURCE_LIST)** ```) then begin```\r\n\r\ninstead of\r\n\r\n```if (RegQueryValueEx(K, PChar(N), nil, @Typ, nil, @Size) = ERROR_SUCCESS) and (Typ = REG_BINARY) then begin```\r\n\r\n\r\n\r\nBesides you do something strange with REG_BINARY in function IncrementSharedCount (like NewType := REG_BINARY) - so I do net understand if it is necessary to do the same for REG_RESOURCE_LIST.\r\n\r\nPlease do the same for type REG_NONE, REG_RESOURCE_REQUIREMENTS, REG_RESOURCE_REQUIREMENTS_LIST, REG_FULL_RESOURCE_DESCRIPTOR, which have the same format as REG_BINARY."}}