winapi 0.1.7

Types and constants for WinAPI bindings. See README for list of crates providing function bindings.
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
//! error code definitions for the Win32 API functions
pub const FACILITY_XPS: ::HRESULT = 82;
pub const FACILITY_XAML: ::HRESULT = 43;
pub const FACILITY_USN: ::HRESULT = 129;
pub const FACILITY_BLBUI: ::HRESULT = 128;
pub const FACILITY_SPP: ::HRESULT = 256;
pub const FACILITY_WSB_ONLINE: ::HRESULT = 133;
pub const FACILITY_DLS: ::HRESULT = 153;
pub const FACILITY_BLB_CLI: ::HRESULT = 121;
pub const FACILITY_BLB: ::HRESULT = 120;
pub const FACILITY_WSBAPP: ::HRESULT = 122;
pub const FACILITY_WPN: ::HRESULT = 62;
pub const FACILITY_WMAAECMA: ::HRESULT = 1996;
pub const FACILITY_WINRM: ::HRESULT = 51;
pub const FACILITY_WINPE: ::HRESULT = 61;
pub const FACILITY_WINDOWSUPDATE: ::HRESULT = 36;
pub const FACILITY_WINDOWS_STORE: ::HRESULT = 63;
pub const FACILITY_WINDOWS_SETUP: ::HRESULT = 48;
pub const FACILITY_WINDOWS_DEFENDER: ::HRESULT = 80;
pub const FACILITY_WINDOWS_CE: ::HRESULT = 24;
pub const FACILITY_WINDOWS: ::HRESULT = 8;
pub const FACILITY_WINCODEC_DWRITE_DWM: ::HRESULT = 2200;
pub const FACILITY_WIA: ::HRESULT = 33;
pub const FACILITY_WER: ::HRESULT = 27;
pub const FACILITY_WEP: ::HRESULT = 2049;
pub const FACILITY_WEB_SOCKET: ::HRESULT = 886;
pub const FACILITY_WEB: ::HRESULT = 885;
pub const FACILITY_USERMODE_VOLSNAP: ::HRESULT = 130;
pub const FACILITY_USERMODE_VOLMGR: ::HRESULT = 56;
pub const FACILITY_VISUALCPP: ::HRESULT = 109;
pub const FACILITY_USERMODE_VIRTUALIZATION: ::HRESULT = 55;
pub const FACILITY_USERMODE_VHD: ::HRESULT = 58;
pub const FACILITY_URT: ::HRESULT = 19;
pub const FACILITY_UMI: ::HRESULT = 22;
pub const FACILITY_UI: ::HRESULT = 42;
pub const FACILITY_TPM_SOFTWARE: ::HRESULT = 41;
pub const FACILITY_TPM_SERVICES: ::HRESULT = 40;
pub const FACILITY_TIERING: ::HRESULT = 131;
pub const FACILITY_SYNCENGINE: ::HRESULT = 2050;
pub const FACILITY_SXS: ::HRESULT = 23;
pub const FACILITY_STORAGE: ::HRESULT = 3;
pub const FACILITY_STATE_MANAGEMENT: ::HRESULT = 34;
pub const FACILITY_SSPI: ::HRESULT = 9;
pub const FACILITY_USERMODE_SPACES: ::HRESULT = 231;
pub const FACILITY_SOS: ::HRESULT = 160;
pub const FACILITY_SCARD: ::HRESULT = 16;
pub const FACILITY_SHELL: ::HRESULT = 39;
pub const FACILITY_SETUPAPI: ::HRESULT = 15;
pub const FACILITY_SECURITY: ::HRESULT = 9;
pub const FACILITY_SDIAG: ::HRESULT = 60;
pub const FACILITY_USERMODE_SDBUS: ::HRESULT = 2305;
pub const FACILITY_RPC: ::HRESULT = 1;
pub const FACILITY_RESTORE: ::HRESULT = 256;
pub const FACILITY_SCRIPT: ::HRESULT = 112;
pub const FACILITY_PARSE: ::HRESULT = 113;
pub const FACILITY_RAS: ::HRESULT = 83;
pub const FACILITY_POWERSHELL: ::HRESULT = 84;
pub const FACILITY_PLA: ::HRESULT = 48;
pub const FACILITY_PIDGENX: ::HRESULT = 2561;
pub const FACILITY_P2P_INT: ::HRESULT = 98;
pub const FACILITY_P2P: ::HRESULT = 99;
pub const FACILITY_OPC: ::HRESULT = 81;
pub const FACILITY_ONLINE_ID: ::HRESULT = 134;
pub const FACILITY_WIN32: ::HRESULT = 7;
pub const FACILITY_CONTROL: ::HRESULT = 10;
pub const FACILITY_WEBSERVICES: ::HRESULT = 61;
pub const FACILITY_NULL: ::HRESULT = 0;
pub const FACILITY_NDIS: ::HRESULT = 52;
pub const FACILITY_NAP: ::HRESULT = 39;
pub const FACILITY_MOBILE: ::HRESULT = 1793;
pub const FACILITY_METADIRECTORY: ::HRESULT = 35;
pub const FACILITY_MSMQ: ::HRESULT = 14;
pub const FACILITY_MEDIASERVER: ::HRESULT = 13;
pub const FACILITY_MBN: ::HRESULT = 84;
pub const FACILITY_LINGUISTIC_SERVICES: ::HRESULT = 305;
pub const FACILITY_LEAP: ::HRESULT = 2184;
pub const FACILITY_JSCRIPT: ::HRESULT = 2306;
pub const FACILITY_INTERNET: ::HRESULT = 12;
pub const FACILITY_ITF: ::HRESULT = 4;
pub const FACILITY_INPUT: ::HRESULT = 64;
pub const FACILITY_USERMODE_HYPERVISOR: ::HRESULT = 53;
pub const FACILITY_ACCELERATOR: ::HRESULT = 1536;
pub const FACILITY_HTTP: ::HRESULT = 25;
pub const FACILITY_GRAPHICS: ::HRESULT = 38;
pub const FACILITY_FWP: ::HRESULT = 50;
pub const FACILITY_FVE: ::HRESULT = 49;
pub const FACILITY_USERMODE_FILTER_MANAGER: ::HRESULT = 31;
pub const FACILITY_EAS: ::HRESULT = 85;
pub const FACILITY_EAP: ::HRESULT = 66;
pub const FACILITY_DXGI_DDI: ::HRESULT = 2171;
pub const FACILITY_DXGI: ::HRESULT = 2170;
pub const FACILITY_DPLAY: ::HRESULT = 21;
pub const FACILITY_DMSERVER: ::HRESULT = 256;
pub const FACILITY_DISPATCH: ::HRESULT = 2;
pub const FACILITY_DIRECTORYSERVICE: ::HRESULT = 37;
pub const FACILITY_DIRECTMUSIC: ::HRESULT = 2168;
pub const FACILITY_DIRECT3D11: ::HRESULT = 2172;
pub const FACILITY_DIRECT3D10: ::HRESULT = 2169;
pub const FACILITY_DIRECT2D: ::HRESULT = 2201;
pub const FACILITY_DAF: ::HRESULT = 100;
pub const FACILITY_DEPLOYMENT_SERVICES_UTIL: ::HRESULT = 260;
pub const FACILITY_DEPLOYMENT_SERVICES_TRANSPORT_MANAGEMENT: ::HRESULT = 272;
pub const FACILITY_DEPLOYMENT_SERVICES_TFTP: ::HRESULT = 264;
pub const FACILITY_DEPLOYMENT_SERVICES_PXE: ::HRESULT = 263;
pub const FACILITY_DEPLOYMENT_SERVICES_MULTICAST_SERVER: ::HRESULT = 289;
pub const FACILITY_DEPLOYMENT_SERVICES_MULTICAST_CLIENT: ::HRESULT = 290;
pub const FACILITY_DEPLOYMENT_SERVICES_MANAGEMENT: ::HRESULT = 259;
pub const FACILITY_DEPLOYMENT_SERVICES_IMAGING: ::HRESULT = 258;
pub const FACILITY_DEPLOYMENT_SERVICES_DRIVER_PROVISIONING: ::HRESULT = 278;
pub const FACILITY_DEPLOYMENT_SERVICES_SERVER: ::HRESULT = 257;
pub const FACILITY_DEPLOYMENT_SERVICES_CONTENT_PROVIDER: ::HRESULT = 293;
pub const FACILITY_DEPLOYMENT_SERVICES_BINLSVC: ::HRESULT = 261;
pub const FACILITY_DEFRAG: ::HRESULT = 2304;
pub const FACILITY_DEBUGGERS: ::HRESULT = 176;
pub const FACILITY_CONFIGURATION: ::HRESULT = 33;
pub const FACILITY_COMPLUS: ::HRESULT = 17;
pub const FACILITY_USERMODE_COMMONLOG: ::HRESULT = 26;
pub const FACILITY_CMI: ::HRESULT = 54;
pub const FACILITY_CERT: ::HRESULT = 11;
pub const FACILITY_BLUETOOTH_ATT: ::HRESULT = 101;
pub const FACILITY_BCD: ::HRESULT = 57;
pub const FACILITY_BACKGROUNDCOPY: ::HRESULT = 32;
pub const FACILITY_AUDIOSTREAMING: ::HRESULT = 1094;
pub const FACILITY_AUDCLNT: ::HRESULT = 2185;
pub const FACILITY_AUDIO: ::HRESULT = 102;
pub const FACILITY_ACTION_QUEUE: ::HRESULT = 44;
pub const FACILITY_ACS: ::HRESULT = 20;
pub const FACILITY_AAF: ::HRESULT = 18;
//26222
pub const SEVERITY_SUCCESS: ::HRESULT = 0;
pub const SEVERITY_ERROR: ::HRESULT = 1;