rc = DosSetNPipeSem(hpipeHandle, hsemSemHandle, ulKeyHandle);