Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
The CMDSemRequest function requests a RAM semaphore.
Syntax
USHORT FAR CMDSemRequest(
ULONG FAR
*ramSem,
ULONG timeOut
);
Parameters
ramSem
Address of the semaphore.
timeOut
Length of time in milliseconds to wait before returning.
Return Value
0
OK.
ERROR_SEM_TIMEOUT
Time-out expired before semaphore operation completed.
ERROR_SEM_OWNED
This thread or another thread owns the semaphore, and the calling thread specified zero time-out.