Debian Codegraph @

third_party/rust/winapi/src/um/sporder.rs

raw
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
6 //! Service Provider Order
7 use ctypes::c_int;
8 use shared::guiddef::LPGUID;
9 use shared::minwindef::{DWORD, LPDWORD};
10 extern "system" {
11 pub fn WSCWriteProviderOrder(
12 lpwdCatalogEntryId: LPDWORD,
13 dwNumberOfEntries: DWORD,
14 ) -> c_int;
15 }
16 FN!{stdcall LPWSCWRITEPROVIDERORDER(
17 lpwdCatalogEntryId: LPDWORD,
18 dwNumberOfEntries: DWORD,
19 ) -> c_int}
20 #[cfg(target_pointer_width = "64")]
21 extern "system" {
22 pub fn WSCWriteProviderOrder32(
23 lpwdCatalogEntryId: LPDWORD,
24 dwNumberOfEntries: DWORD,
25 ) -> c_int;
26 pub fn WSCWriteNameSpaceOrder(
27 lpProviderId: LPGUID,
28 dwNumberOfEntries: DWORD,
29 ) -> c_int;
30 }
31 FN!{stdcall LPWSCWRITENAMESPACEORDER(
32 lpProviderId: LPGUID,
33 dwNumberOfEntries: DWORD,
34 ) -> c_int}
35 #[cfg(target_pointer_width = "64")]
36 extern "system" {
37 pub fn WSCWriteNameSpaceOrder32(
38 lpProviderId: LPGUID,
39 dwNumberOfEntries: DWORD,
40 ) -> c_int;
41 }