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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -