blob: ac49010bccb2c39f166d1f43c892783fe2145b98 [file] [log] [blame] [edit]
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
//! this ALWAYS GENERATED file contains the definitions for the interfaces
//8402
STRUCT!{struct BIND_OPTS {
cbStruct: ::DWORD,
grfFlags: ::DWORD,
grfMode: ::DWORD,
dwTickCountDeadline: ::DWORD,
}}
pub type LPBIND_OPTS = *mut BIND_OPTS;
//8479
RIDL!(
interface IBindCtx(IBindCtxVtbl): IUnknown(IUnknownVtbl) {
fn RegisterObjectBound(&mut self, punk: *mut ::IUnknown) -> ::HRESULT,
fn RevokeObjectBound(&mut self, punk: *mut ::IUnknown) -> ::HRESULT,
fn ReleaseBoundObjects(&mut self) -> ::HRESULT,
fn SetBindOptions(&mut self, pbindopts: *mut BIND_OPTS) -> ::HRESULT,
fn GetBindOptions(&mut self, pbindopts: *mut BIND_OPTS) -> ::HRESULT,
fn GetRunningObjectTable(&mut self, pprot: *mut *mut IRunningObjectTable) -> ::HRESULT,
fn RegisterObjectParam(&mut self, pszKey: ::LPOLESTR, punk: *mut ::IUnknown) -> ::HRESULT,
fn GetObjectParam(&mut self, pszKey: ::LPOLESTR, ppunk: *mut *mut ::IUnknown) -> ::HRESULT,
fn EnumObjectParam(&mut self, ppenum: *mut *mut ::IEnumString) -> ::HRESULT,
fn RevokeObjectParam(&mut self, pszKey: ::LPOLESTR) -> ::HRESULT
}
);
//8681
pub type IEnumMoniker = ::IUnknown; // TODO
//8958
RIDL!(
interface IRunningObjectTable(IRunningObjectTableVtbl): IUnknown(IUnknownVtbl) {
fn Register(
&mut self, grfFlags: ::DWORD, punkObject: *mut ::IUnknown, pmkObjectName: *mut IMoniker,
pdwRegister: *mut ::DWORD
) -> ::HRESULT,
fn Revoke(&mut self, dwRegister: ::DWORD) -> ::HRESULT,
fn IsRunning(&mut self, pmkObjectName: *mut IMoniker) -> ::HRESULT,
fn GetObject(
&mut self, pmkObjectName: *mut IMoniker, ppunkObject: *mut *mut ::IUnknown
) -> ::HRESULT,
fn NoteChangeTime(&mut self, dwRegister: ::DWORD, pfiletime: *mut ::FILETIME) -> ::HRESULT,
fn GetTimeOfLastChange(
&mut self, pmkObjectName: *mut IMoniker, pfiletime: *mut ::FILETIME
) -> ::HRESULT,
fn EnumRunning(&mut self, ppenumMoniker: *mut *mut IEnumMoniker) -> ::HRESULT
}
);
//9350
pub type IMoniker = ::IUnknown; // TODO
pub type EOLE_AUTHENTICATION_CAPABILITIES = ::DWORD;
pub const EOAC_NONE: ::DWORD = 0;
pub const EOAC_MUTUAL_AUTH: ::DWORD = 0x1;
pub const EOAC_STATIC_CLOAKING: ::DWORD = 0x20;
pub const EOAC_DYNAMIC_CLOAKING: ::DWORD = 0x40;
pub const EOAC_ANY_AUTHORITY: ::DWORD = 0x80;
pub const EOAC_MAKE_FULLSIC: ::DWORD = 0x100;
pub const EOAC_DEFAULT: ::DWORD = 0x800;
pub const EOAC_SECURE_REFS: ::DWORD = 0x2;
pub const EOAC_ACCESS_CONTROL: ::DWORD = 0x4;
pub const EOAC_APPID: ::DWORD = 0x8;
pub const EOAC_DYNAMIC: ::DWORD = 0x10;
pub const EOAC_REQUIRE_FULLSIC: ::DWORD = 0x200;
pub const EOAC_AUTO_IMPERSONATE: ::DWORD = 0x400;
pub const EOAC_NO_CUSTOM_MARSHAL: ::DWORD = 0x2000;
pub const EOAC_DISABLE_AAA: ::DWORD = 0x1000;
STRUCT!{struct SOLE_AUTHENTICATION_SERVICE {
dwAuthnSvc: ::DWORD,
dwAuthzSvc: ::DWORD,
pPrincipalName: *mut ::OLECHAR,
hr: ::HRESULT,
}}
RIDL!(
interface IApartmentShutdown(IApartmentShutdownVtbl): IUnknown(IUnknownVtbl) {
fn OnUninitialize(&mut self, ui64ApartmentIdentifier: ::UINT64) -> ::VOID
}
);
RIDL!(
interface IMarshal(IMarshalVtbl): IUnknown(IUnknownVtbl) {
fn GetUnmarshalClass(
&mut self, riid: ::REFIID, pv: *const ::VOID, dwDestContext: ::DWORD,
pvDestContext: *const ::VOID, mshlflags: ::DWORD, pCid: *mut ::CLSID
) -> ::HRESULT,
fn GetMarshalSizeMax(
&mut self, riid: ::REFIID, pv: *const ::VOID, dwDestContext: ::DWORD,
pvDestContext: *const ::VOID, mshlflags: ::DWORD, pSize: *mut ::DWORD
) -> ::HRESULT,
fn MarshalInterface(
&mut self, pStm: *const ::IStream, riid: ::REFIID, pv: *const ::VOID,
dwDestContext: ::DWORD, pvDestContext: *const ::VOID,
mshlflags: ::DWORD
) -> ::HRESULT,
fn UnmarshalInterface(
&mut self, pStm: *const ::IStream, riid: ::REFIID, ppv: *mut *mut ::VOID
) -> ::HRESULT,
fn ReleaseMarshalData(&mut self, pStm: *const ::IStream) -> ::HRESULT,
fn DisconnectObject(&mut self, dwReserved: ::DWORD) -> ::HRESULT
}
);