include: Add interface INetCfgLock.

This commit is contained in:
Alistair Leslie-Hughes 2014-03-26 11:54:32 +11:00 committed by Alexandre Julliard
parent 99c151a146
commit 1db600d44b
1 changed files with 17 additions and 0 deletions

View File

@ -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,
@ -88,6 +91,20 @@ interface IEnumNetCfgComponent : IUnknown
HRESULT Clone ([out] IEnumNetCfgComponent** ppenum);
};
[
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,