What's the opposite of CreateDesktop()
? CloseDesktop()
seems t开发者_运维百科o only close the handle to the new desktop, but not to delete it.
IIRC, desktops are reference counted, so they're destroyed when nothing is using them anymore (and having an un-closed handle to one is included as "using").
精彩评论