{"id":443,"date":"2012-10-15T17:36:00","date_gmt":"2012-10-15T15:36:00","guid":{"rendered":"http:\/\/blog.rewolf.pl\/blog\/?p=443"},"modified":"2013-06-28T16:55:29","modified_gmt":"2013-06-28T14:55:29","slug":"wow64ext-library-update-2","status":"publish","type":"post","link":"http:\/\/blog.rewolf.pl\/blog\/?p=443","title":{"rendered":"wow64ext library update 2"},"content":{"rendered":"<p style=\"text-align: justify;\">There is available new update for <strong>wow64ext<\/strong> library, I&#8217;ve added two new functions:<\/p>\n<ul>\n<li><strong>SetThreadContext64()<\/strong><\/li>\n<li><strong>GetThreadContext64()<\/strong><\/li>\n<\/ul>\n<p>There is also definition of <strong>_CONTEXT64<\/strong> structure that is used by those functions. Sample usage:<\/p>\n<pre lang=\"cpp\" line=\"1\">\r\n        _CONTEXT64 ctx = { 0 };\r\n        ctx.ContextFlags = CONTEXT64_ALL;\r\n        GetThreadContext64(GetCurrentThread(), &ctx);\r\n\r\n        printf(\"rsp: %016I64X\\n\", ctx.Rsp);\r\n        printf(\"rip: %016I64X\\n\", ctx.Rip);\r\n        printf(\"r8 : %016I64X\\n\", ctx.R8);\r\n        printf(\"r9 : %016I64X\\n\", ctx.R9);\r\n        printf(\"r12: %016I64X\\n\", ctx.R12);\r\n<\/pre>\n<p>Link to library hosted on google code: <a href=\"http:\/\/code.google.com\/p\/rewolf-wow64ext\/\">http:\/\/code.google.com\/p\/rewolf-wow64ext\/<\/a><br \/>\nDirect link to zip package: <a href=\"https:\/\/rewolf-wow64ext.googlecode.com\/files\/rewolf.wow64ext.v1.0.2.zip\" target=\"_blank\">https:\/\/rewolf-wow64ext.googlecode.com\/files\/rewolf.wow64ext.v1.0.2.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is available new update for wow64ext library, I&#8217;ve added two new functions: SetThreadContext64() GetThreadContext64() There is also definition of _CONTEXT64 structure that is used by those functions. Sample usage: _CONTEXT64 ctx = { 0 }; ctx.ContextFlags = CONTEXT64_ALL; GetThreadContext64(GetCurrentThread(), &#038;ctx); printf(&#8220;rsp: %016I64X\\n&#8221;, ctx.Rsp); printf(&#8220;rip: %016I64X\\n&#8221;, ctx.Rip); printf(&#8220;r8 : %016I64X\\n&#8221;, ctx.R8); printf(&#8220;r9 : %016I64X\\n&#8221;, ctx.R9); [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,5,16],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=\/wp\/v2\/posts\/443"}],"collection":[{"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=443"}],"version-history":[{"count":6,"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":668,"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions\/668"}],"wp:attachment":[{"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.rewolf.pl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}