SDC C-Project CF Review 프로그램
LAPTOP-N7PT1MHU\dit-709
2021-05-10 a94966aed7229fbacf418acf73dfb0885050f47d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/***************************************************************************
  Title:    pmacutil.h
 
  Version:  1.00
 
  Date:   8/29/1995
 
  Author(s):  Harry Rivera
 
  Misc. Routines for PMAC-II Setup Program
 
  Note(s):
 
----------------------------------------------------------------------------
 
  Change log:
 
    Date       Rev   Who      Description
  --------- ----- ----- --------------------------------------------
 
***************************************************************************/
 
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
#include <math.h>
#include <windows.h>
#include <time.h>
 
#define _FUNC FAR PASCAL _export
 
//#define _LOAD_DLL
 
// Global variables...
extern HINSTANCE hPmacLib;
 
#define CLEAR_MEM '\x12345'
#define BELL '\x7'
#define ACK  '\x6'
#define CR   '\x13'
 
// Function prototypes
#ifdef __cplusplus
extern "C" {
#endif
 
  void msg( const char *fmt, ... );
  long myGetIVariableLong( DWORD pmac, UINT num );
  void myGetResponse( DWORD pmac, char *response, int max_char, const char *fmt, ... );
  void mySendLine( DWORD pmac, const char *fmt, ... );
  void strip_off_extra( char *vbuf );
 
  void delete_file( char *filename );
  //void copy_file (char *dest,char *source);
 
  void DownloadPosLimitPLC( DWORD pmac, short motor );
 
#ifdef __cplusplus
}
#endif