{"action":"created","comment":{"url":"https://api.github.com/repos/java-native-access/jna/pulls/comments/104291313","pull_request_review_id":25126633,"id":104291313,"diff_hunk":"@@ -492,6 +518,27 @@ public SIZE(int w, int h) {\n     public interface HOOKPROC extends StdCallCallback { }\n \n     /**\n+     * Defines the message parameters passed to a WH_CALLWNDPROC hook procedure, CallWndProc.\n+     */\n+    public class CWPSTRUCT extends Structure {\n+\n+\t\tpublic CWPSTRUCT(Pointer p) {\n+\t\t\tsuper(p);\n+\t\t\t//Receiving data and read it from native memory to fill the structure.\n+\t\t\tread();\n+\t\t}\n+\n+\t\tpublic LPARAM lParam;\n+\t\tpublic WPARAM wParam;\n+\t\tpublic UINT message;","path":"contrib/platform/src/com/sun/jna/platform/win32/WinUser.java","position":56,"original_position":56,"commit_id":"825f9be1bd7d3520be9db9990d22bdbf57c4d172","original_commit_id":"825f9be1bd7d3520be9db9990d22bdbf57c4d172","user":{"login":"matthiasblaesing","id":2179736,"avatar_url":"https://avatars1.githubusercontent.com/u/2179736?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiasblaesing","html_url":"https://github.com/matthiasblaesing","followers_url":"https://api.github.com/users/matthiasblaesing/followers","following_url":"https://api.github.com/users/matthiasblaesing/following{/other_user}","gists_url":"https://api.github.com/users/matthiasblaesing/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasblaesing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasblaesing/subscriptions","organizations_url":"https://api.github.com/users/matthiasblaesing/orgs","repos_url":"https://api.github.com/users/matthiasblaesing/repos","events_url":"https://api.github.com/users/matthiasblaesing/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasblaesing/received_events","type":"User","site_admin":false},"body":"This should be `public int message`, which would bring the signature in line with the SendMessage and SendMessageTimeout methods.","created_at":"2017-03-04T16:25:06Z","updated_at":"2017-03-04T17:01:18Z","html_url":"https://github.com/java-native-access/jna/pull/774#discussion_r104291313","pull_request_url":"https://api.github.com/repos/java-native-access/jna/pulls/774","_links":{"self":{"href":"https://api.github.com/repos/java-native-access/jna/pulls/comments/104291313"},"html":{"href":"https://github.com/java-native-access/jna/pull/774#discussion_r104291313"},"pull_request":{"href":"https://api.github.com/repos/java-native-access/jna/pulls/774"}}},"pull_request":{"url":"https://api.github.com/repos/java-native-access/jna/pulls/774","id":108644338,"html_url":"https://github.com/java-native-access/jna/pull/774","diff_url":"https://github.com/java-native-access/jna/pull/774.diff","patch_url":"https://github.com/java-native-access/jna/pull/774.patch","issue_url":"https://api.github.com/repos/java-native-access/jna/issues/774","number":774,"state":"open","locked":false,"title":"Addition win32 api : SendMessage, GetActiveWindow, COPYDATASTRUCT and a few constants + a demo application","user":{"login":"cnico","id":6953620,"avatar_url":"https://avatars0.githubusercontent.com/u/6953620?v=3","gravatar_id":"","url":"https://api.github.com/users/cnico","html_url":"https://github.com/cnico","followers_url":"https://api.github.com/users/cnico/followers","following_url":"https://api.github.com/users/cnico/following{/other_user}","gists_url":"https://api.github.com/users/cnico/gists{/gist_id}","starred_url":"https://api.github.com/users/cnico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnico/subscriptions","organizations_url":"https://api.github.com/users/cnico/orgs","repos_url":"https://api.github.com/users/cnico/repos","events_url":"https://api.github.com/users/cnico/events{/privacy}","received_events_url":"https://api.github.com/users/cnico/received_events","type":"User","site_admin":false},"body":"This pull request contains the following code modification to jna-contrib : \r\n * Added mapping of win32 api : SendMessage and GetActiveWindow.\r\n * Added some constants and structures (COPYDATASTRUCT and CWPSTRUCT) from the win 32 api.\r\n * Added a Win32WindowMessagesDemo to demonstrate complex messages exchange through WM_COPYDATA and with a hooked winproc.\r\n\r\nPlease add it to the main jna contrib distribution as it may be useful for others.\r\n","created_at":"2017-03-01T22:32:54Z","updated_at":"2017-03-04T17:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"754f8e75692482c7d870e6a1867660492e1e3919","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/java-native-access/jna/pulls/774/commits","review_comments_url":"https://api.github.com/repos/java-native-access/jna/pulls/774/comments","review_comment_url":"https://api.github.com/repos/java-native-access/jna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java-native-access/jna/issues/774/comments","statuses_url":"https://api.github.com/repos/java-native-access/jna/statuses/825f9be1bd7d3520be9db9990d22bdbf57c4d172","head":{"label":"cnico:master","ref":"master","sha":"825f9be1bd7d3520be9db9990d22bdbf57c4d172","user":{"login":"cnico","id":6953620,"avatar_url":"https://avatars0.githubusercontent.com/u/6953620?v=3","gravatar_id":"","url":"https://api.github.com/users/cnico","html_url":"https://github.com/cnico","followers_url":"https://api.github.com/users/cnico/followers","following_url":"https://api.github.com/users/cnico/following{/other_user}","gists_url":"https://api.github.com/users/cnico/gists{/gist_id}","starred_url":"https://api.github.com/users/cnico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnico/subscriptions","organizations_url":"https://api.github.com/users/cnico/orgs","repos_url":"https://api.github.com/users/cnico/repos","events_url":"https://api.github.com/users/cnico/events{/privacy}","received_events_url":"https://api.github.com/users/cnico/received_events","type":"User","site_admin":false},"repo":{"id":81874640,"name":"jna","full_name":"cnico/jna","owner":{"login":"cnico","id":6953620,"avatar_url":"https://avatars0.githubusercontent.com/u/6953620?v=3","gravatar_id":"","url":"https://api.github.com/users/cnico","html_url":"https://github.com/cnico","followers_url":"https://api.github.com/users/cnico/followers","following_url":"https://api.github.com/users/cnico/following{/other_user}","gists_url":"https://api.github.com/users/cnico/gists{/gist_id}","starred_url":"https://api.github.com/users/cnico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnico/subscriptions","organizations_url":"https://api.github.com/users/cnico/orgs","repos_url":"https://api.github.com/users/cnico/repos","events_url":"https://api.github.com/users/cnico/events{/privacy}","received_events_url":"https://api.github.com/users/cnico/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cnico/jna","description":"Java Native Access","fork":true,"url":"https://api.github.com/repos/cnico/jna","forks_url":"https://api.github.com/repos/cnico/jna/forks","keys_url":"https://api.github.com/repos/cnico/jna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnico/jna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnico/jna/teams","hooks_url":"https://api.github.com/repos/cnico/jna/hooks","issue_events_url":"https://api.github.com/repos/cnico/jna/issues/events{/number}","events_url":"https://api.github.com/repos/cnico/jna/events","assignees_url":"https://api.github.com/repos/cnico/jna/assignees{/user}","branches_url":"https://api.github.com/repos/cnico/jna/branches{/branch}","tags_url":"https://api.github.com/repos/cnico/jna/tags","blobs_url":"https://api.github.com/repos/cnico/jna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnico/jna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnico/jna/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnico/jna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnico/jna/statuses/{sha}","languages_url":"https://api.github.com/repos/cnico/jna/languages","stargazers_url":"https://api.github.com/repos/cnico/jna/stargazers","contributors_url":"https://api.github.com/repos/cnico/jna/contributors","subscribers_url":"https://api.github.com/repos/cnico/jna/subscribers","subscription_url":"https://api.github.com/repos/cnico/jna/subscription","commits_url":"https://api.github.com/repos/cnico/jna/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnico/jna/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnico/jna/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnico/jna/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnico/jna/contents/{+path}","compare_url":"https://api.github.com/repos/cnico/jna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnico/jna/merges","archive_url":"https://api.github.com/repos/cnico/jna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnico/jna/downloads","issues_url":"https://api.github.com/repos/cnico/jna/issues{/number}","pulls_url":"https://api.github.com/repos/cnico/jna/pulls{/number}","milestones_url":"https://api.github.com/repos/cnico/jna/milestones{/number}","notifications_url":"https://api.github.com/repos/cnico/jna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnico/jna/labels{/name}","releases_url":"https://api.github.com/repos/cnico/jna/releases{/id}","deployments_url":"https://api.github.com/repos/cnico/jna/deployments","created_at":"2017-02-13T21:38:29Z","updated_at":"2017-02-13T21:38:34Z","pushed_at":"2017-03-01T22:27:41Z","git_url":"git://github.com/cnico/jna.git","ssh_url":"git@github.com:cnico/jna.git","clone_url":"https://github.com/cnico/jna.git","svn_url":"https://github.com/cnico/jna","homepage":"","size":280692,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"java-native-access:master","ref":"master","sha":"0e5423db2c58ce069150bca3f4024b35ecc074bb","user":{"login":"java-native-access","id":13812895,"avatar_url":"https://avatars0.githubusercontent.com/u/13812895?v=3","gravatar_id":"","url":"https://api.github.com/users/java-native-access","html_url":"https://github.com/java-native-access","followers_url":"https://api.github.com/users/java-native-access/followers","following_url":"https://api.github.com/users/java-native-access/following{/other_user}","gists_url":"https://api.github.com/users/java-native-access/gists{/gist_id}","starred_url":"https://api.github.com/users/java-native-access/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-native-access/subscriptions","organizations_url":"https://api.github.com/users/java-native-access/orgs","repos_url":"https://api.github.com/users/java-native-access/repos","events_url":"https://api.github.com/users/java-native-access/events{/privacy}","received_events_url":"https://api.github.com/users/java-native-access/received_events","type":"Organization","site_admin":false},"repo":{"id":1680733,"name":"jna","full_name":"java-native-access/jna","owner":{"login":"java-native-access","id":13812895,"avatar_url":"https://avatars0.githubusercontent.com/u/13812895?v=3","gravatar_id":"","url":"https://api.github.com/users/java-native-access","html_url":"https://github.com/java-native-access","followers_url":"https://api.github.com/users/java-native-access/followers","following_url":"https://api.github.com/users/java-native-access/following{/other_user}","gists_url":"https://api.github.com/users/java-native-access/gists{/gist_id}","starred_url":"https://api.github.com/users/java-native-access/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-native-access/subscriptions","organizations_url":"https://api.github.com/users/java-native-access/orgs","repos_url":"https://api.github.com/users/java-native-access/repos","events_url":"https://api.github.com/users/java-native-access/events{/privacy}","received_events_url":"https://api.github.com/users/java-native-access/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java-native-access/jna","description":"Java Native Access","fork":false,"url":"https://api.github.com/repos/java-native-access/jna","forks_url":"https://api.github.com/repos/java-native-access/jna/forks","keys_url":"https://api.github.com/repos/java-native-access/jna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java-native-access/jna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java-native-access/jna/teams","hooks_url":"https://api.github.com/repos/java-native-access/jna/hooks","issue_events_url":"https://api.github.com/repos/java-native-access/jna/issues/events{/number}","events_url":"https://api.github.com/repos/java-native-access/jna/events","assignees_url":"https://api.github.com/repos/java-native-access/jna/assignees{/user}","branches_url":"https://api.github.com/repos/java-native-access/jna/branches{/branch}","tags_url":"https://api.github.com/repos/java-native-access/jna/tags","blobs_url":"https://api.github.com/repos/java-native-access/jna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java-native-access/jna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java-native-access/jna/git/refs{/sha}","trees_url":"https://api.github.com/repos/java-native-access/jna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java-native-access/jna/statuses/{sha}","languages_url":"https://api.github.com/repos/java-native-access/jna/languages","stargazers_url":"https://api.github.com/repos/java-native-access/jna/stargazers","contributors_url":"https://api.github.com/repos/java-native-access/jna/contributors","subscribers_url":"https://api.github.com/repos/java-native-access/jna/subscribers","subscription_url":"https://api.github.com/repos/java-native-access/jna/subscription","commits_url":"https://api.github.com/repos/java-native-access/jna/commits{/sha}","git_commits_url":"https://api.github.com/repos/java-native-access/jna/git/commits{/sha}","comments_url":"https://api.github.com/repos/java-native-access/jna/comments{/number}","issue_comment_url":"https://api.github.com/repos/java-native-access/jna/issues/comments{/number}","contents_url":"https://api.github.com/repos/java-native-access/jna/contents/{+path}","compare_url":"https://api.github.com/repos/java-native-access/jna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java-native-access/jna/merges","archive_url":"https://api.github.com/repos/java-native-access/jna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java-native-access/jna/downloads","issues_url":"https://api.github.com/repos/java-native-access/jna/issues{/number}","pulls_url":"https://api.github.com/repos/java-native-access/jna/pulls{/number}","milestones_url":"https://api.github.com/repos/java-native-access/jna/milestones{/number}","notifications_url":"https://api.github.com/repos/java-native-access/jna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java-native-access/jna/labels{/name}","releases_url":"https://api.github.com/repos/java-native-access/jna/releases{/id}","deployments_url":"https://api.github.com/repos/java-native-access/jna/deployments","created_at":"2011-04-29T13:30:29Z","updated_at":"2017-03-03T21:40:31Z","pushed_at":"2017-03-01T22:32:54Z","git_url":"git://github.com/java-native-access/jna.git","ssh_url":"git@github.com:java-native-access/jna.git","clone_url":"https://github.com/java-native-access/jna.git","svn_url":"https://github.com/java-native-access/jna","homepage":"","size":282646,"stargazers_count":2850,"watchers_count":2850,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":803,"mirror_url":null,"open_issues_count":65,"forks":803,"open_issues":65,"watchers":2850,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java-native-access/jna/pulls/774"},"html":{"href":"https://github.com/java-native-access/jna/pull/774"},"issue":{"href":"https://api.github.com/repos/java-native-access/jna/issues/774"},"comments":{"href":"https://api.github.com/repos/java-native-access/jna/issues/774/comments"},"review_comments":{"href":"https://api.github.com/repos/java-native-access/jna/pulls/774/comments"},"review_comment":{"href":"https://api.github.com/repos/java-native-access/jna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java-native-access/jna/pulls/774/commits"},"statuses":{"href":"https://api.github.com/repos/java-native-access/jna/statuses/825f9be1bd7d3520be9db9990d22bdbf57c4d172"}}}}
{"actor":{"display_login":"matthiasblaesing"}}