{"action":"opened","issue":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2042","repository_url":"https://api.github.com/repos/JetBrains/kotlin-native","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2042/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2042/comments","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/2042/events","html_url":"https://github.com/JetBrains/kotlin-native/issues/2042","id":359155835,"node_id":"MDU6SXNzdWUzNTkxNTU4MzU=","number":2042,"title":"How to initialize LPBOOL? Win32 Api in Kotlin Native","user":{"login":"PramUkesh","id":26147066,"node_id":"MDQ6VXNlcjI2MTQ3MDY2","avatar_url":"https://avatars2.githubusercontent.com/u/26147066?v=4","gravatar_id":"","url":"https://api.github.com/users/PramUkesh","html_url":"https://github.com/PramUkesh","followers_url":"https://api.github.com/users/PramUkesh/followers","following_url":"https://api.github.com/users/PramUkesh/following{/other_user}","gists_url":"https://api.github.com/users/PramUkesh/gists{/gist_id}","starred_url":"https://api.github.com/users/PramUkesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PramUkesh/subscriptions","organizations_url":"https://api.github.com/users/PramUkesh/orgs","repos_url":"https://api.github.com/users/PramUkesh/repos","events_url":"https://api.github.com/users/PramUkesh/events{/privacy}","received_events_url":"https://api.github.com/users/PramUkesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T17:57:23Z","updated_at":"2018-09-11T17:57:23Z","closed_at":null,"author_association":"NONE","body":"How to Initialise this in Kotlin Native\r\n\r\n```\r\n    val result = CopyFileExA(\r\n                          oldFile,\r\n                          newFile,\r\n                          null,\r\n                          null,\r\n                          false,\r\n                          COPY_FILE_FAIL_IF_EXISTS\r\n                         )\r\n```\r\n\r\nwhile false is not accepted as LPBOOL? How to initialize LPBOOL? in kotlin Native\r\n\r\ni was getting following error :\r\n\r\nthe boolean literal does not conform to the expected type\r\n\r\nLPBOOL? /* = CPointer */>? */ false,"}}
{"actor":{"display_login":"PramUkesh"}}