c - Converting Functions Windows API -


just need help, wondering how convert following

heapalloc rtlcreateheap. code is

   #define thing2 1048    byte *firstheap;    firstheap= heapalloc(getprocessheap(), 0, sizeof(thing2));    //do stuff firstheap    heapfree(getprocessheap(), 0, firstheap); 

writefile ntwritefile

  handle handletofile = null;   dword      oflen;   dword zeroed = 0;   writefile(handletofile, firstheap, oflen, &zeroed, null);   //do other stuff   closehandle(handletofile); 

i doing own personal education. appreciated. thanks!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -