Share via


EngIsSemaphoreOwned 함수(winddi.h)

EngIsSemaphoreOwned 함수는 스레드가 지정된 세마포를 보유하는지 여부를 결정합니다.

구문

ENGAPI BOOL EngIsSemaphoreOwned(
  [in] HSEMAPHORE hsem
);

매개 변수

[in] hsem

세마포에 대한 핸들입니다.

반환 값

EngIsSemaphoreOwned는 스레드가 지정된 세마포를 보유하는 경우 TRUE 를 반환하고 스레드가 없는 경우 FALSE 를 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 2000 이상 버전의 Windows 운영 체제에서 사용할 수 있습니다.
대상 플랫폼 유니버설
헤더 winddi.h(Winddi.h 포함)
라이브러리 Win32k.lib
DLL Win32k.sys

추가 정보

EngAcquireSemaphore

EngCreateSemaphore

EngIsSemaphoreOwnedByCurrentThread

EngReleaseSemaphore