winapi_ui_automation/um/
objbase.rs

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//! Component object model defintions
7use shared::minwindef::LPVOID;
8use um::combaseapi::COINITBASE_MULTITHREADED;
9use um::winnt::HRESULT;
10ENUM!{enum COINIT {
11    COINIT_APARTMENTTHREADED = 0x2,
12    COINIT_MULTITHREADED = COINITBASE_MULTITHREADED,
13    COINIT_DISABLE_OLE1DDE = 0x4,
14    COINIT_SPEED_OVER_MEMORY = 0x8,
15}}
16    // pub fn CoBuildVersion();
17extern "system" {
18    pub fn CoInitialize(
19        pvReserved: LPVOID,
20    ) -> HRESULT;
21}
22    // pub fn CoRegisterMallocSpy();
23    // pub fn CoRevokeMallocSpy();
24    // pub fn CoRegisterInitializeSpy();
25    // pub fn CoRevokeInitializeSpy();
26    // pub fn CoGetSystemSecurityPermissions();
27    // pub fn CoLoadLibrary();
28    // pub fn CoFreeLibrary();
29    // pub fn CoFreeAllLibraries();
30    // pub fn CoGetInstanceFromFile();
31    // pub fn CoGetInstanceFromIStorage();
32    // pub fn CoAllowSetForegroundWindow();
33    // pub fn DcomChannelSetHResult();
34    // pub fn CoIsOle1Class();
35    // pub fn CLSIDFromProgIDEx();
36    // pub fn CoFileTimeToDosDateTime();
37    // pub fn CoDosDateTimeToFileTime();
38    // pub fn CoFileTimeNow();
39    // pub fn CoRegisterMessageFilter();
40    // pub fn CoRegisterChannelHook();
41    // pub fn CoTreatAsClass();
42    // pub fn CreateDataAdviseHolder();
43    // pub fn CreateDataCache();
44    // pub fn StgOpenAsyncDocfileOnIFillLockBytes();
45    // pub fn StgGetIFillLockBytesOnILockBytes();
46    // pub fn StgGetIFillLockBytesOnFile();
47    // pub fn StgOpenLayoutDocfile();
48    // pub fn CoInstall();
49    // pub fn BindMoniker();
50    // pub fn CoGetObject();
51    // pub fn MkParseDisplayName();
52    // pub fn MonikerRelativePathTo();
53    // pub fn MonikerCommonPrefixWith();
54    // pub fn CreateBindCtx();
55    // pub fn CreateGenericComposite();
56    // pub fn GetClassFile();
57    // pub fn CreateClassMoniker();
58    // pub fn CreateFileMoniker();
59    // pub fn CreateItemMoniker();
60    // pub fn CreateAntiMoniker();
61    // pub fn CreatePointerMoniker();
62    // pub fn CreateObjrefMoniker();
63    // pub fn GetRunningObjectTable();
64    // pub fn CreateStdProgressIndicator();