i have stream
created hglobal
in winapi (in plain c, created createstreamonhglobal()
). use save gpimage
s jpeg in memory.
i want re-use same memory stream save multiple gpimage
s. so, need reset stream between each call gdipsaveimagetostream()
.
the documentation of istream shows method ::setsize()
, i'm in plain c.
i know solution winapi function dispcallfunc
don't know how use , can't find documentation it.
any help? :)
you can use istream_reset example, on plain c can easy direct call interfaces methods, istream_seek macro. dispcallfunc here absolute unrelated
Comments
Post a Comment