[D3DCOMPILER_43] Sync with Wine Staging 3.17. CORE-15127
[reactos.git] / media / doc / DdDeleteDirectDrawObject.txt
1 DdDeleteDirectDrawObject
2
3 we need release directdraw handler the cache or not cache handler
4 1. check see if DirectDrawGlobal->hDD is NULL or not
5
6 2. if both cache directdraw handler and public handler is NULL
7 then we need return false, fail to release it or it was already release
8
9 3. if public directdraw handler is not null we need release it
10 and return if we susses or not.
11
12 4. we need check if we need rest the internal cache if public being release
13
14
15 use NtGdiDdDeleteDirectDrawObject((HANDLE)DirectDrawGlobal->hDD);
16 to release a directdraw handler.