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 use shared::minwindef::LPVOID;
7 use shared::windef::HWND;
8 use um::oleidl::LPDROPTARGET;
9 use um::winnt::HRESULT;
10 extern "system" {
OleInitialize( pvReserved: LPVOID, ) -> HRESULT11     pub fn OleInitialize(
12         pvReserved: LPVOID,
13     ) -> HRESULT;
RegisterDragDrop( hwnd: HWND, pDropTarget: LPDROPTARGET, ) -> HRESULT14     pub fn RegisterDragDrop(
15         hwnd: HWND,
16         pDropTarget: LPDROPTARGET,
17     ) -> HRESULT;
RevokeDragDrop( hwnd: HWND, ) -> HRESULT18     pub fn RevokeDragDrop(
19         hwnd: HWND,
20     ) -> HRESULT;
21 }
22