// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import "oaidl.idl";
import "ocidl.idl";
// Private interfaces for the Chromium Updater.
// For documentation, see the similar types defined in
// updater::UpdateServiceInternal.
BEGIN_INTERFACE(
{
"uuid": {
"user":"PLACEHOLDER-GUID-618D9B82-9F51-4490-AF24-BB80489E1537",
"system":"PLACEHOLDER-GUID-7E806C73-B2A4-4BC5-BDAD-2249D87F67FC"
},
"tokensToSuffix": ["IUpdaterInternalCallback"],
"addToLibrary": ["user", "system"]
}
)
[
object,
oleautomation,
uuid(PLACEHOLDER-GUID-D272C794-2ACE-4584-B993-3B90C622BE65),
helpstring("IUpdaterInternalCallback Interface"),
pointer_default(unique)
]
interface IUpdaterInternalCallback : IUnknown {
HRESULT Run([in] LONG result);
};
END_INTERFACE
BEGIN_INTERFACE(
{
"uuid": {
"user":"PLACEHOLDER-GUID-C82AFDA3-CA76-46EE-96E9-474717BFA7BA",
"system":"PLACEHOLDER-GUID-E690EB97-6E46-4361-AF8F-90A4F5496475"
},
"tokensToSuffix": ["IUpdaterInternal", "IUpdaterInternalCallback"],
"addToLibrary": ["user", "system"]
}
)
[
object,
oleautomation,
uuid(PLACEHOLDER-GUID-526DA036-9BD3-4697-865A-DA12D37DFFCA),
helpstring("IUpdaterInternal Interface"),
pointer_default(unique)
]
interface IUpdaterInternal : IUnknown {
HRESULT Run([in] IUpdaterInternalCallback* callback);
HRESULT Hello([in] IUpdaterInternalCallback* callback);
};
END_INTERFACE
[
uuid(PLACEHOLDER-GUID-C6CE92DB-72CA-42EF-8C98-6EE92481B3C9),
version(1.0),
helpstring("Chromium Updater internal type library.")
]
library UpdaterInternalLib {
importlib("stdole2.tlb");
[
uuid(PLACEHOLDER-GUID-1F87FE2F-D6A9-4711-9D11-8187705F8457),
helpstring("UpdaterInternal per-user Class")
]
coclass UpdaterInternalUserClass
{
[default] interface IUnknown;
}
[
uuid(PLACEHOLDER-GUID-4556BA55-517E-4F03-8016-331A43C269C9),
helpstring("UpdaterInternal per-system Class")
]
coclass UpdaterInternalSystemClass
{
[default] interface IUnknown;
}
INTERFACES_IN_LIBRARY;
};