Lines Matching defs:ph
51 static int gstcntlProcessSetupPipe(const char *pszHowTo, int fd, PRTHANDLE ph, PRTHANDLE *pph, PRTPIPE phPipe);
895 * @param ph The pipe's handle to initialize.
898 static int gstcntlProcessInitPipe(PRTHANDLE ph, PRTPIPE phPipe)
900 AssertPtrReturn(ph, VERR_INVALID_PARAMETER);
903 ph->enmType = RTHANDLETYPE_PIPE;
904 ph->u.hPipe = NIL_RTPIPE;
918 * @param ph The generic handle that @a pph may be set
926 PRTHANDLE ph, PRTHANDLE *pph, PRTPIPE phPipe)
928 AssertPtrReturn(ph, VERR_INVALID_POINTER);
934 ph->enmType = RTHANDLETYPE_PIPE;
935 ph->u.hPipe = NIL_RTPIPE;
943 * The ph union struct will be filled with a pipe read/write handle
949 rc = RTPipeCreate(&ph->u.hPipe, phPipe, RTPIPE_C_INHERIT_READ);
954 rc = RTPipeCreate(phPipe, &ph->u.hPipe, RTPIPE_C_INHERIT_WRITE);
960 ph->enmType = RTHANDLETYPE_PIPE;
961 *pph = ph;
973 ph->enmType = RTHANDLETYPE_FILE;
974 ph->u.hFile = hFile;
975 *pph = ph;