commonlib.h

#ifndef _COMMONLIB_H_
#define _COMMONLIB_H_


#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <windows.h>
#include <fstream.h>
#include <iostream.h>




void createDir(char * dir);
void getMatchValue(char *strret,char * str,char * match);
int killProcess(ULONG nProcessID);
int getprocessid(char *pname);
char * getAppPath(char * appPath);
void rebootWithoutMsg();
void getFileValue(char * filename,char *sector,char *match,char value[]);
int getListint(char *str,char *match,int * port);
void Alltolower(char *lowerstring,char *origstring);
BOOL   DeleteDir(char   *   path);
void writeinfo(char *filepath,char *messageStr);
void writeinfo_cover(char *filepath,char *messageStr);
void lockFlagWrite(char *nameStr,char *flagStr);


#endif 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章