Xeno-rat
Loading...
Searching...
No Matches
NAudio.Utils.HResult Class Reference

HResult. More...

Collaboration diagram for NAudio.Utils.HResult:

Static Public Member Functions

static int MAKE_HRESULT (int sev, int fac, int code)
 Combines the specified severity, facility, and error code into an HRESULT value.
 
static int GetHResult (this COMException exception)
 Gets the HResult error code from the COMException.
 

Static Public Attributes

const int S_OK = 0
 S_OK.
 
const int S_FALSE = 1
 S_FALSE.
 
const int E_INVALIDARG = unchecked((int)0x80000003)
 E_INVALIDARG (from winerror.h)
 

Static Private Attributes

const int FACILITY_AAF = 18
 
const int FACILITY_ACS = 20
 
const int FACILITY_BACKGROUNDCOPY = 32
 
const int FACILITY_CERT = 11
 
const int FACILITY_COMPLUS = 17
 
const int FACILITY_CONFIGURATION = 33
 
const int FACILITY_CONTROL = 10
 
const int FACILITY_DISPATCH = 2
 
const int FACILITY_DPLAY = 21
 
const int FACILITY_HTTP = 25
 
const int FACILITY_INTERNET = 12
 
const int FACILITY_ITF = 4
 
const int FACILITY_MEDIASERVER = 13
 
const int FACILITY_MSMQ = 14
 
const int FACILITY_NULL = 0
 
const int FACILITY_RPC = 1
 
const int FACILITY_SCARD = 16
 
const int FACILITY_SECURITY = 9
 
const int FACILITY_SETUPAPI = 15
 
const int FACILITY_SSPI = 9
 
const int FACILITY_STORAGE = 3
 
const int FACILITY_SXS = 23
 
const int FACILITY_UMI = 22
 
const int FACILITY_URT = 19
 
const int FACILITY_WIN32 = 7
 
const int FACILITY_WINDOWS = 8
 
const int FACILITY_WINDOWS_CE = 24
 

Detailed Description

HResult.

Member Function Documentation

◆ GetHResult()

static int NAudio.Utils.HResult.GetHResult ( this COMException exception)
inlinestatic

Gets the HResult error code from the COMException.

Parameters
exceptionThe COMException from which to retrieve the HResult error code.
Returns
The HResult error code of the exception .

◆ MAKE_HRESULT()

static int NAudio.Utils.HResult.MAKE_HRESULT ( int sev,
int fac,
int code )
inlinestatic

Combines the specified severity, facility, and error code into an HRESULT value.

Parameters
sevThe severity value.
facThe facility value.
codeThe error code value.
Returns
The HRESULT value formed by combining the specified sev , fac , and code .

Member Data Documentation

◆ E_INVALIDARG

const int NAudio.Utils.HResult.E_INVALIDARG = unchecked((int)0x80000003)
static

E_INVALIDARG (from winerror.h)

◆ FACILITY_AAF

const int NAudio.Utils.HResult.FACILITY_AAF = 18
staticprivate

◆ FACILITY_ACS

const int NAudio.Utils.HResult.FACILITY_ACS = 20
staticprivate

◆ FACILITY_BACKGROUNDCOPY

const int NAudio.Utils.HResult.FACILITY_BACKGROUNDCOPY = 32
staticprivate

◆ FACILITY_CERT

const int NAudio.Utils.HResult.FACILITY_CERT = 11
staticprivate

◆ FACILITY_COMPLUS

const int NAudio.Utils.HResult.FACILITY_COMPLUS = 17
staticprivate

◆ FACILITY_CONFIGURATION

const int NAudio.Utils.HResult.FACILITY_CONFIGURATION = 33
staticprivate

◆ FACILITY_CONTROL

const int NAudio.Utils.HResult.FACILITY_CONTROL = 10
staticprivate

◆ FACILITY_DISPATCH

const int NAudio.Utils.HResult.FACILITY_DISPATCH = 2
staticprivate

◆ FACILITY_DPLAY

const int NAudio.Utils.HResult.FACILITY_DPLAY = 21
staticprivate

◆ FACILITY_HTTP

const int NAudio.Utils.HResult.FACILITY_HTTP = 25
staticprivate

◆ FACILITY_INTERNET

const int NAudio.Utils.HResult.FACILITY_INTERNET = 12
staticprivate

◆ FACILITY_ITF

const int NAudio.Utils.HResult.FACILITY_ITF = 4
staticprivate

◆ FACILITY_MEDIASERVER

const int NAudio.Utils.HResult.FACILITY_MEDIASERVER = 13
staticprivate

◆ FACILITY_MSMQ

const int NAudio.Utils.HResult.FACILITY_MSMQ = 14
staticprivate

◆ FACILITY_NULL

const int NAudio.Utils.HResult.FACILITY_NULL = 0
staticprivate

◆ FACILITY_RPC

const int NAudio.Utils.HResult.FACILITY_RPC = 1
staticprivate

◆ FACILITY_SCARD

const int NAudio.Utils.HResult.FACILITY_SCARD = 16
staticprivate

◆ FACILITY_SECURITY

const int NAudio.Utils.HResult.FACILITY_SECURITY = 9
staticprivate

◆ FACILITY_SETUPAPI

const int NAudio.Utils.HResult.FACILITY_SETUPAPI = 15
staticprivate

◆ FACILITY_SSPI

const int NAudio.Utils.HResult.FACILITY_SSPI = 9
staticprivate

◆ FACILITY_STORAGE

const int NAudio.Utils.HResult.FACILITY_STORAGE = 3
staticprivate

◆ FACILITY_SXS

const int NAudio.Utils.HResult.FACILITY_SXS = 23
staticprivate

◆ FACILITY_UMI

const int NAudio.Utils.HResult.FACILITY_UMI = 22
staticprivate

◆ FACILITY_URT

const int NAudio.Utils.HResult.FACILITY_URT = 19
staticprivate

◆ FACILITY_WIN32

const int NAudio.Utils.HResult.FACILITY_WIN32 = 7
staticprivate

◆ FACILITY_WINDOWS

const int NAudio.Utils.HResult.FACILITY_WINDOWS = 8
staticprivate

◆ FACILITY_WINDOWS_CE

const int NAudio.Utils.HResult.FACILITY_WINDOWS_CE = 24
staticprivate

◆ S_FALSE

const int NAudio.Utils.HResult.S_FALSE = 1
static

S_FALSE.

◆ S_OK

const int NAudio.Utils.HResult.S_OK = 0
static

S_OK.


The documentation for this class was generated from the following file: