Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents the host's implementation of a semaphore for threading.
interface IHostSemaphore : IUnknown {
    HRESULT ReleaseSemaphore (
        [in]  LONG  lReleaseCount,
        [out] LONG  *lpPreviousCount
    );
    HRESULT Wait (
        [in]  DWORD dwMilliseconds,
        [in]  DWORD option
    );
};
Methods
Method  | 
Description  | 
|---|---|
Increases the count of the current IHostSemaphore instance by the specified amount.  | 
|
Causes the current IHostSemaphore instance to wait until it is owned or the specified amount of time elapses.  | 
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: MSCorEE.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Version: 2.0