Browse CVS Repository
Contents of /enbanfukusyaya/EnbanFukusyaYa/Win32/osdepend.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( show annotations)
( download)
( as text)
Fri Nov 5 17:24:03 2010 UTC
(13 years, 5 months ago)
by bananajinn
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-chdr
*** empty log message ***
| 1 |
/** |
| 2 |
* @file osdepend.h |
| 3 |
* @brief OSËś |
| 4 |
* @author BananaJinn |
| 5 |
* @version $Id: osdepend.h,v 1.2 2010/11/02 15:23:51 bananajinn Exp $ |
| 6 |
* ~ŐĄĘŽ |
| 7 |
* Copyright (C) 2004-2010 BananaJinn<banana@mxh.mesh.ne.jp> |
| 8 |
*/ |
| 9 |
#ifndef __OSDEPEND_H__ |
| 10 |
#define __OSDEPEND_H__ |
| 11 |
|
| 12 |
#include <windows.h> |
| 13 |
|
| 14 |
#define OSD_FD HANDLE |
| 15 |
#define OSD_PID HANDLE |
| 16 |
|
| 17 |
extern BOOL OSDCreateProcess(const char *cmdline, OSD_PID *pid_ret, |
| 18 |
OSD_FD *stdin_ret, OSD_FD *stdout_ret, |
| 19 |
OSD_FD *stderr_ret); |
| 20 |
extern BOOL OSDTerminateProcess(OSD_PID pid); |
| 21 |
extern BOOL OSDWaitProcess(OSD_PID pid, int *exitcode_ret); |
| 22 |
extern int OSDRead(OSD_FD fd_stdout, OSD_FD fd_stderr, |
| 23 |
unsigned char *buff_stdout, int size_stdout, |
| 24 |
char **stderr_ret); |
| 25 |
extern void OSDFDClose(OSD_FD fd); |
| 26 |
|
| 27 |
#endif /** !__OSDEPEND_H__ */ |
|