reactos/rostests/apitests/gdi32api/tests/EngCreateSemaphore.c

16 lines
269 B
C
Raw Normal View History

/* Simple test of EngAcquireSemaphore only check if we got a lock or not */
INT
Test_EngCreateSemaphore(PTESTINFO pti)
{
HSEMAPHORE hsem;
hsem = EngCreateSemaphore();
RTEST ( hsem != NULL );
EngDeleteSemaphore(hsem);
return APISTATUS_NORMAL;
}