http://bugs.winehq.org/show_bug.cgi?id=9775
--- Comment #14 from Alexander Dorofeyev alexd4@inbox.lv 2008-06-13 10:06:45 --- (In reply to comment #13)
I was more thinking about using GetDesc on the surface and then checking the returned struct for the pool?! Any advice on this one?
I don't really know too much about d3d8 specifics, but GetDesc sounds like a good way.
About how to write - I guess you should find appropriate file in d3d8 tests (probably d3d8/tests/surface.c). Easiest is duplicate an existing test and modify it for your purposes.