Hi bl007,
感谢在MSDN论坛发帖。
>>你好,我在使用D3D11进行硬解码时,使用D3D11CreateDevice时发现会使用少数Handle,但是在Release时并没有经行Handle的释放,请问该如何释放Handle
请问你说的是HMODULE参数吗?
这是一个实现software rasterizer的DLL的句柄。可以通过调用LoadLibrary,LoadLibraryEx或GetModuleHandle获取句柄。如果是LoadLibrary,LoadLibraryEx两种方式,可以通过FreeLibrary 函数释放。如果是GetModuleHandle方式,是不增加其引用计数的。不需要通过FreeLibrary来释放。
希望对你有所帮助。
Best Regards,
Sera Yu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.