returnsOnSuccess

P171795 predicate

Indicates that an operation or function completes successfully and yields a return value or proceeds to a specified outcome only when no errors occur.

Observed surface forms (2)

Sample triples (10)

Subject Object
CreateSemaphore handle to semaphore object via predicate surface "returnValueOnSuccess"
CreateThread handle to the new thread
HeapFree nonzero value
LineTo nonzero
PrintDlg nonzero
WSAAsyncSelect 0 via predicate surface "returnValueOnSuccess"
WSAEnumProtocols number of protocols
WSARecvFrom 0
WSAWaitForMultipleEvents index of the signaled event offset by WSA_WAIT_EVENT_0 via predicate surface "successReturn"
WaitForMultipleObjects WAIT_OBJECT_0 plus index of signaled object