summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/GPGw/pipeexec.h
blob: 241e071a53b7592dcdf6bcb5abda6ec8b6751014 (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__