The VisSamp samples in the SDK should have the answers on obtaining a gstate handle for use with META_EXPOSED. The samples use VIS_DRAW but that's essentially the same as META_EXPOSED in the non-Vis area.
Clemens