Sunshine latest
Self-hosted game stream host for Moonlight.
nvapi_opensource_wrapper.cpp File Reference

Definitions for the NVAPI wrapper. More...

#include <map>
#include "driver_settings.h"
#include "nvprefs_common.h"
#include <nvapi_interface.h>
Include dependency graph for nvapi_opensource_wrapper.cpp:

Macros

#define NVAPI_INTERFACE   NvAPI_Status __cdecl
 

Functions

NvAPI_Status __cdecl NvAPI_DRS_CreateApplication (NvDRSSessionHandle hSession, NvDRSProfileHandle hProfile, NVDRS_APPLICATION *pApplication)
 
NvAPI_Status __cdecl NvAPI_DRS_CreateProfile (NvDRSSessionHandle hSession, NVDRS_PROFILE *pProfileInfo, NvDRSProfileHandle *phProfile)
 
NvAPI_Status __cdecl NvAPI_DRS_CreateSession (NvDRSSessionHandle *phSession)
 
NvAPI_Status __cdecl NvAPI_DRS_DeleteProfileSetting (NvDRSSessionHandle hSession, NvDRSProfileHandle hProfile, NvU32 settingId)
 
NvAPI_Status __cdecl NvAPI_DRS_DestroySession (NvDRSSessionHandle hSession)
 
NvAPI_Status __cdecl NvAPI_DRS_FindProfileByName (NvDRSSessionHandle hSession, NvAPI_UnicodeString profileName, NvDRSProfileHandle *phProfile)
 
NvAPI_Status __cdecl NvAPI_DRS_GetApplicationInfo (NvDRSSessionHandle hSession, NvDRSProfileHandle hProfile, NvAPI_UnicodeString appName, NVDRS_APPLICATION *pApplication)
 
NvAPI_Status __cdecl NvAPI_DRS_GetBaseProfile (NvDRSSessionHandle hSession, NvDRSProfileHandle *phProfile)
 
NvAPI_Status __cdecl NvAPI_DRS_GetSetting (NvDRSSessionHandle hSession, NvDRSProfileHandle hProfile, NvU32 settingId, NVDRS_SETTING *pSetting)
 
NvAPI_Status __cdecl NvAPI_DRS_LoadSettings (NvDRSSessionHandle hSession)
 
NvAPI_Status __cdecl NvAPI_DRS_SaveSettings (NvDRSSessionHandle hSession)
 
NvAPI_Status __cdecl NvAPI_DRS_SetSetting (NvDRSSessionHandle hSession, NvDRSProfileHandle hProfile, NVDRS_SETTING *pSetting)
 
NvAPI_Status __cdecl NvAPI_GetErrorMessage (NvAPI_Status nr, NvAPI_ShortString szDesc)
 
NvAPI_Status __cdecl NvAPI_Initialize ()
 
void *__cdecl nvapi_QueryInterface (NvU32 id)
 
NvAPI_Status __cdecl NvAPI_Unload ()
 

Detailed Description

Definitions for the NVAPI wrapper.