]> git.proxmox.com Git - rustc.git/blame - vendor/winapi/src/shared/rpcndr.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / winapi / src / shared / rpcndr.rs
CommitLineData
ff7c6d11
XL
1// Licensed under the Apache License, Version 2.0
2// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4// All files in the project carrying such notice may not be copied, modified, or distributed
5// except according to those terms.
6use ctypes::{__int64, __uint64, c_char, c_uchar, c_ulong};
7pub const NDR_CHAR_REP_MASK: c_ulong = 0x0000000F;
8pub const NDR_INT_REP_MASK: c_ulong = 0x000000F0;
9pub const NDR_FLOAT_REP_MASK: c_ulong = 0x0000FF00;
10pub const NDR_LITTLE_ENDIAN: c_ulong = 0x00000010;
11pub const NDR_BIG_ENDIAN: c_ulong = 0x00000000;
12pub const NDR_IEEE_FLOAT: c_ulong = 0x00000000;
13pub const NDR_VAX_FLOAT: c_ulong = 0x00000100;
14pub const NDR_IBM_FLOAT: c_ulong = 0x00000300;
15pub const NDR_ASCII_CHAR: c_ulong = 0x00000000;
16pub const NDR_EBCDIC_CHAR: c_ulong = 0x00000001;
17pub const NDR_LOCAL_DATA_REPRESENTATION: c_ulong = 0x00000010;
18pub const NDR_LOCAL_ENDIAN: c_ulong = NDR_LITTLE_ENDIAN;
19pub type small = c_char;
20pub type byte = c_uchar;
21pub type cs_byte = byte;
22pub type boolean = c_uchar;
23pub type hyper = __int64;
24pub type MIDL_uhyper = __uint64;
25// TODO Finish the rest