i dont work Api / C a long time, can you just write those lines for me please?

ai tred add_buffer but it did not worked as i excepted...
you mean return the filename, like
BMAP* x= bmap_create("string");
where i get that string value?