mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
include: Add interface INetCfgLock.
This commit is contained in:
parent
99c151a146
commit
1db600d44b
@ -26,6 +26,9 @@ import "wtypes.idl";
|
|||||||
#define vi_progid(str)
|
#define vi_progid(str)
|
||||||
#endif
|
#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,
|
local,
|
||||||
object,
|
object,
|
||||||
@ -88,6 +91,20 @@ interface IEnumNetCfgComponent : IUnknown
|
|||||||
HRESULT Clone ([out] IEnumNetCfgComponent** ppenum);
|
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,
|
local,
|
||||||
object,
|
object,
|
||||||
|
Loading…
Reference in New Issue
Block a user