Sunshine master
Self-hosted game stream host for Moonlight.
nvenc_shared_dll.h File Reference

Windows module lifetime helpers shared by NVENC factories and encoders. More...

#include <memory>
#include <type_traits>
#include <Windows.h>
Include dependency graph for nvenc_shared_dll.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nvenc::shared_dll_deleter
 Release a Windows module when its final shared owner is destroyed. More...
 

Namespaces

namespace  nvenc
 Standalone NVENC encoder.
 

Typedefs

using nvenc::shared_dll = std::shared_ptr<std::remove_pointer_t<HMODULE>>
 Shared ownership wrapper for a loaded Windows module.
 

Functions

shared_dll nvenc::make_shared_dll (HMODULE dll)
 Wrap a Windows module handle in shared ownership.
 

Detailed Description

Windows module lifetime helpers shared by NVENC factories and encoders.