Something went wrong. Try again.
Reactos
Something went wrong. Try again.
1234567891011121314151617DdDeleteDirectDrawObjectwe need release directdraw handler the cache or not cache handler1. check see if DirectDrawGlobal->hDD is NULL or not2. if both cache directdraw handler and public handler is NULL then we need return false, fail to release it or it was already release3. if public directdraw handler is not null we need release it and return if we susses or not.4. we need check if we need rest the internal cache if public being releaseuse NtGdiDdDeleteDirectDrawObject((HANDLE)DirectDrawGlobal->hDD);to release a directdraw handler.