Module: wine Branch: master Commit: 1db600d44badeccc8e16ba8cfbd7bc1e96d267d6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1db600d44badeccc8e16ba8cfb...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Wed Mar 26 11:54:32 2014 +1100
include: Add interface INetCfgLock.
---
include/netcfgx.idl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
diff --git a/include/netcfgx.idl b/include/netcfgx.idl index 75c0a94..d51407f 100644 --- a/include/netcfgx.idl +++ b/include/netcfgx.idl @@ -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) ]