HResult.
More...
|
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.
|
|
|
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)
|
|
◆ GetHResult()
static int NAudio.Utils.HResult.GetHResult |
( |
this COMException | exception | ) |
|
|
inlinestatic |
Gets the HResult error code from the COMException.
- Parameters
-
exception | The 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
-
sev | The severity value. |
fac | The facility value. |
code | The error code value. |
- Returns
- The HRESULT value formed by combining the specified sev , fac , and code .
◆ 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_OK
const int NAudio.Utils.HResult.S_OK = 0 |
|
static |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Core/Utils/HResult.cs