Commit 1db600d4 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

include: Add interface INetCfgLock.

parent 99c151a1
......@@ -26,6 +26,9 @@ import "wtypes.idl";
#define vi_progid(str)
#endif
cpp_quote("#define NETCFG_E_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA020)")
cpp_quote("#define NETCFG_E_NO_WRITE_LOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA024)")
[
local,
object,
......@@ -91,6 +94,20 @@ interface IEnumNetCfgComponent : IUnknown
[
local,
object,
uuid(c0e8ae9f-306e-11d1-aacf-00805fc1270e),
pointer_default(unique)
]
interface INetCfgLock : IUnknown
{
HRESULT AcquireWriteLock ([in] DWORD cmsTimeout, [in] LPCWSTR pszwClientDescription,
[out] LPWSTR* ppszwClientDescription);
HRESULT ReleaseWriteLock ();
HRESULT IsWriteLocked ([out] LPWSTR* ppszwClientDescription);
};
[
local,
object,
uuid(c0e8ae93-306e-11d1-aacf-00805fc1270e),
pointer_default(unique)
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment