blob: 047baa44768ea774d0a6f8e726f743f988e99f39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef __PIPEEXEC_H__
#define __PIPEEXEC_H__
#include <windows.h>
// typen
typedef enum
{
pxSuccess,
pxSuccessExitCodeInvalid,
pxCreatePipeFailed,
pxDuplicateHandleFailed,
pxCloseHandleFailed,
pxCreateProcessFailed,
pxThreadWaitFailed,
pxReadFileFailed,
pxBufferOverflow
}
pxResult;
pxResult pxExecute(char *acommandline, char *ainput, char **aoutput, LPDWORD aexitcode);
#endif // __PIPEEXEC_H__
|