| Line | |
|---|
| 1 | /* $Id: myExecPgm.h,v 1.1 2000-02-19 08:41:10 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * Desclarations for buffer.asm and mytkExecPgm.
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
|
|---|
| 6 | *
|
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef _myExecPgm_h_
|
|---|
| 12 | #define _myExecPgm_h_
|
|---|
| 13 |
|
|---|
| 14 | /*******************************************************************************
|
|---|
| 15 | * Defined Constants And Macros *
|
|---|
| 16 | *******************************************************************************/
|
|---|
| 17 | #define CB_BUFFER 1536 /* This is to be updated in the files buffer.asm and tkExecPgm too! */
|
|---|
| 18 | #define CCH_FILENAME 261 /* This is to be updated in the files buffer.asm and tkExecPgm too! */
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | /*******************************************************************************
|
|---|
| 22 | * Structures and Typedefs *
|
|---|
| 23 | *******************************************************************************/
|
|---|
| 24 | #pragma pack(1)
|
|---|
| 25 | typedef struct _EXECPGMBUFFER
|
|---|
| 26 | {
|
|---|
| 27 | char szFilename[CCH_FILENAME]; /* Executable filename. */
|
|---|
| 28 | char achArgs[CB_BUFFER - CCH_FILENAME]; /* collection of ASCIIZ which ends with an empty string */
|
|---|
| 29 | } EXECPGMBUFFER, *PEXECPGMBUFFER;
|
|---|
| 30 | #pragma pack()
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | /*******************************************************************************
|
|---|
| 34 | * Functions Prototypes *
|
|---|
| 35 | *******************************************************************************/
|
|---|
| 36 | PEXECPGMBUFFER _Optlink QueryBufferPointerFromFilename(const char *pszFilename);
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.