{"action":"created","comment":{"url":"https://api.github.com/repos/AArnott/pinvoke/pulls/comments/80639871","pull_request_review_id":1682764,"id":80639871,"diff_hunk":"@@ -1534,7 +1554,7 @@ public static partial class User32\n         ///         <see cref=\"Win32ErrorCode.ERROR_NOT_ENOUGH_QUOTA\" /> when the message limit is hit.\n         ///     </para>\n         /// </returns>\n-        [DllImport(nameof(User32), SetLastError = true)]\n+        [DllImport(nameof(User32), SetLastError = true, CharSet = CharSet.Unicode)]","path":"src/User32.Desktop/User32.cs","position":88,"original_position":88,"commit_id":"35f93d9d11fd6815d52b695936ee94bc65d1eaaf","original_commit_id":"35f93d9d11fd6815d52b695936ee94bc65d1eaaf","user":{"login":"arlm","id":326831,"avatar_url":"https://avatars.githubusercontent.com/u/326831?v=3","gravatar_id":"","url":"https://api.github.com/users/arlm","html_url":"https://github.com/arlm","followers_url":"https://api.github.com/users/arlm/followers","following_url":"https://api.github.com/users/arlm/following{/other_user}","gists_url":"https://api.github.com/users/arlm/gists{/gist_id}","starred_url":"https://api.github.com/users/arlm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlm/subscriptions","organizations_url":"https://api.github.com/users/arlm/orgs","repos_url":"https://api.github.com/users/arlm/repos","events_url":"https://api.github.com/users/arlm/events{/privacy}","received_events_url":"https://api.github.com/users/arlm/received_events","type":"User","site_admin":false},"body":"Probably it would make sense to also change from `IntPtr` to `void*` and have the code generation offer the `IntPtr` version here.","created_at":"2016-09-27T08:10:14Z","updated_at":"2016-09-27T08:11:04Z","html_url":"https://github.com/AArnott/pinvoke/pull/293#discussion_r80639871","pull_request_url":"https://api.github.com/repos/AArnott/pinvoke/pulls/293","_links":{"self":{"href":"https://api.github.com/repos/AArnott/pinvoke/pulls/comments/80639871"},"html":{"href":"https://github.com/AArnott/pinvoke/pull/293#discussion_r80639871"},"pull_request":{"href":"https://api.github.com/repos/AArnott/pinvoke/pulls/293"}}},"pull_request":{"url":"https://api.github.com/repos/AArnott/pinvoke/pulls/293","id":86866099,"html_url":"https://github.com/AArnott/pinvoke/pull/293","diff_url":"https://github.com/AArnott/pinvoke/pull/293.diff","patch_url":"https://github.com/AArnott/pinvoke/pull/293.patch","issue_url":"https://api.github.com/repos/AArnott/pinvoke/issues/293","number":293,"state":"open","locked":false,"title":"add GetClientRect and GetShellWindow, mark functions as CharSet.Unicode","user":{"login":"dbremner","id":101516,"avatar_url":"https://avatars.githubusercontent.com/u/101516?v=3","gravatar_id":"","url":"https://api.github.com/users/dbremner","html_url":"https://github.com/dbremner","followers_url":"https://api.github.com/users/dbremner/followers","following_url":"https://api.github.com/users/dbremner/following{/other_user}","gists_url":"https://api.github.com/users/dbremner/gists{/gist_id}","starred_url":"https://api.github.com/users/dbremner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbremner/subscriptions","organizations_url":"https://api.github.com/users/dbremner/orgs","repos_url":"https://api.github.com/users/dbremner/repos","events_url":"https://api.github.com/users/dbremner/events{/privacy}","received_events_url":"https://api.github.com/users/dbremner/received_events","type":"User","site_admin":false},"body":"This patch adds GetClientRect and GetShellWindow. It also adds the CharSet.Unicode attribute to 7 other functions in User32 and changes two functions in Kernel32 from CharSet.Auto to CharSet.Unicode.","created_at":"2016-09-27T05:54:29Z","updated_at":"2016-09-27T08:11:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d80fe78f0c1bd6d8db6db203abc1842a8a5cf240","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AArnott/pinvoke/pulls/293/commits","review_comments_url":"https://api.github.com/repos/AArnott/pinvoke/pulls/293/comments","review_comment_url":"https://api.github.com/repos/AArnott/pinvoke/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AArnott/pinvoke/issues/293/comments","statuses_url":"https://api.github.com/repos/AArnott/pinvoke/statuses/35f93d9d11fd6815d52b695936ee94bc65d1eaaf","head":{"label":"dbremner:master","ref":"master","sha":"35f93d9d11fd6815d52b695936ee94bc65d1eaaf","user":{"login":"dbremner","id":101516,"avatar_url":"https://avatars.githubusercontent.com/u/101516?v=3","gravatar_id":"","url":"https://api.github.com/users/dbremner","html_url":"https://github.com/dbremner","followers_url":"https://api.github.com/users/dbremner/followers","following_url":"https://api.github.com/users/dbremner/following{/other_user}","gists_url":"https://api.github.com/users/dbremner/gists{/gist_id}","starred_url":"https://api.github.com/users/dbremner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbremner/subscriptions","organizations_url":"https://api.github.com/users/dbremner/orgs","repos_url":"https://api.github.com/users/dbremner/repos","events_url":"https://api.github.com/users/dbremner/events{/privacy}","received_events_url":"https://api.github.com/users/dbremner/received_events","type":"User","site_admin":false},"repo":{"id":56195211,"name":"pinvoke","full_name":"dbremner/pinvoke","owner":{"login":"dbremner","id":101516,"avatar_url":"https://avatars.githubusercontent.com/u/101516?v=3","gravatar_id":"","url":"https://api.github.com/users/dbremner","html_url":"https://github.com/dbremner","followers_url":"https://api.github.com/users/dbremner/followers","following_url":"https://api.github.com/users/dbremner/following{/other_user}","gists_url":"https://api.github.com/users/dbremner/gists{/gist_id}","starred_url":"https://api.github.com/users/dbremner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbremner/subscriptions","organizations_url":"https://api.github.com/users/dbremner/orgs","repos_url":"https://api.github.com/users/dbremner/repos","events_url":"https://api.github.com/users/dbremner/events{/privacy}","received_events_url":"https://api.github.com/users/dbremner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dbremner/pinvoke","description":"A library containing all PInvoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.","fork":true,"url":"https://api.github.com/repos/dbremner/pinvoke","forks_url":"https://api.github.com/repos/dbremner/pinvoke/forks","keys_url":"https://api.github.com/repos/dbremner/pinvoke/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbremner/pinvoke/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbremner/pinvoke/teams","hooks_url":"https://api.github.com/repos/dbremner/pinvoke/hooks","issue_events_url":"https://api.github.com/repos/dbremner/pinvoke/issues/events{/number}","events_url":"https://api.github.com/repos/dbremner/pinvoke/events","assignees_url":"https://api.github.com/repos/dbremner/pinvoke/assignees{/user}","branches_url":"https://api.github.com/repos/dbremner/pinvoke/branches{/branch}","tags_url":"https://api.github.com/repos/dbremner/pinvoke/tags","blobs_url":"https://api.github.com/repos/dbremner/pinvoke/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbremner/pinvoke/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbremner/pinvoke/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbremner/pinvoke/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbremner/pinvoke/statuses/{sha}","languages_url":"https://api.github.com/repos/dbremner/pinvoke/languages","stargazers_url":"https://api.github.com/repos/dbremner/pinvoke/stargazers","contributors_url":"https://api.github.com/repos/dbremner/pinvoke/contributors","subscribers_url":"https://api.github.com/repos/dbremner/pinvoke/subscribers","subscription_url":"https://api.github.com/repos/dbremner/pinvoke/subscription","commits_url":"https://api.github.com/repos/dbremner/pinvoke/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbremner/pinvoke/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbremner/pinvoke/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbremner/pinvoke/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbremner/pinvoke/contents/{+path}","compare_url":"https://api.github.com/repos/dbremner/pinvoke/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbremner/pinvoke/merges","archive_url":"https://api.github.com/repos/dbremner/pinvoke/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbremner/pinvoke/downloads","issues_url":"https://api.github.com/repos/dbremner/pinvoke/issues{/number}","pulls_url":"https://api.github.com/repos/dbremner/pinvoke/pulls{/number}","milestones_url":"https://api.github.com/repos/dbremner/pinvoke/milestones{/number}","notifications_url":"https://api.github.com/repos/dbremner/pinvoke/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbremner/pinvoke/labels{/name}","releases_url":"https://api.github.com/repos/dbremner/pinvoke/releases{/id}","deployments_url":"https://api.github.com/repos/dbremner/pinvoke/deployments","created_at":"2016-04-14T00:31:40Z","updated_at":"2016-04-14T00:31:42Z","pushed_at":"2016-09-27T05:49:55Z","git_url":"git://github.com/dbremner/pinvoke.git","ssh_url":"git@github.com:dbremner/pinvoke.git","clone_url":"https://github.com/dbremner/pinvoke.git","svn_url":"https://github.com/dbremner/pinvoke","homepage":null,"size":2243,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AArnott:master","ref":"master","sha":"3ed1db34699c1d836f4db735f13c7dfe4617c900","user":{"login":"AArnott","id":3548,"avatar_url":"https://avatars.githubusercontent.com/u/3548?v=3","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"repo":{"id":44758360,"name":"pinvoke","full_name":"AArnott/pinvoke","owner":{"login":"AArnott","id":3548,"avatar_url":"https://avatars.githubusercontent.com/u/3548?v=3","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AArnott/pinvoke","description":"A library containing all PInvoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.","fork":false,"url":"https://api.github.com/repos/AArnott/pinvoke","forks_url":"https://api.github.com/repos/AArnott/pinvoke/forks","keys_url":"https://api.github.com/repos/AArnott/pinvoke/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AArnott/pinvoke/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AArnott/pinvoke/teams","hooks_url":"https://api.github.com/repos/AArnott/pinvoke/hooks","issue_events_url":"https://api.github.com/repos/AArnott/pinvoke/issues/events{/number}","events_url":"https://api.github.com/repos/AArnott/pinvoke/events","assignees_url":"https://api.github.com/repos/AArnott/pinvoke/assignees{/user}","branches_url":"https://api.github.com/repos/AArnott/pinvoke/branches{/branch}","tags_url":"https://api.github.com/repos/AArnott/pinvoke/tags","blobs_url":"https://api.github.com/repos/AArnott/pinvoke/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AArnott/pinvoke/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AArnott/pinvoke/git/refs{/sha}","trees_url":"https://api.github.com/repos/AArnott/pinvoke/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AArnott/pinvoke/statuses/{sha}","languages_url":"https://api.github.com/repos/AArnott/pinvoke/languages","stargazers_url":"https://api.github.com/repos/AArnott/pinvoke/stargazers","contributors_url":"https://api.github.com/repos/AArnott/pinvoke/contributors","subscribers_url":"https://api.github.com/repos/AArnott/pinvoke/subscribers","subscription_url":"https://api.github.com/repos/AArnott/pinvoke/subscription","commits_url":"https://api.github.com/repos/AArnott/pinvoke/commits{/sha}","git_commits_url":"https://api.github.com/repos/AArnott/pinvoke/git/commits{/sha}","comments_url":"https://api.github.com/repos/AArnott/pinvoke/comments{/number}","issue_comment_url":"https://api.github.com/repos/AArnott/pinvoke/issues/comments{/number}","contents_url":"https://api.github.com/repos/AArnott/pinvoke/contents/{+path}","compare_url":"https://api.github.com/repos/AArnott/pinvoke/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AArnott/pinvoke/merges","archive_url":"https://api.github.com/repos/AArnott/pinvoke/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AArnott/pinvoke/downloads","issues_url":"https://api.github.com/repos/AArnott/pinvoke/issues{/number}","pulls_url":"https://api.github.com/repos/AArnott/pinvoke/pulls{/number}","milestones_url":"https://api.github.com/repos/AArnott/pinvoke/milestones{/number}","notifications_url":"https://api.github.com/repos/AArnott/pinvoke/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AArnott/pinvoke/labels{/name}","releases_url":"https://api.github.com/repos/AArnott/pinvoke/releases{/id}","deployments_url":"https://api.github.com/repos/AArnott/pinvoke/deployments","created_at":"2015-10-22T16:28:01Z","updated_at":"2016-09-26T20:06:30Z","pushed_at":"2016-09-27T05:54:29Z","git_url":"git://github.com/AArnott/pinvoke.git","ssh_url":"git@github.com:AArnott/pinvoke.git","clone_url":"https://github.com/AArnott/pinvoke.git","svn_url":"https://github.com/AArnott/pinvoke","homepage":null,"size":2632,"stargazers_count":175,"watchers_count":175,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":24,"forks":25,"open_issues":24,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AArnott/pinvoke/pulls/293"},"html":{"href":"https://github.com/AArnott/pinvoke/pull/293"},"issue":{"href":"https://api.github.com/repos/AArnott/pinvoke/issues/293"},"comments":{"href":"https://api.github.com/repos/AArnott/pinvoke/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/AArnott/pinvoke/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/AArnott/pinvoke/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AArnott/pinvoke/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/AArnott/pinvoke/statuses/35f93d9d11fd6815d52b695936ee94bc65d1eaaf"}}}}
{"actor":{"display_login":"arlm"}}