📄 enrollinterface.h
字号:
/*==========================================================/
/ Enroll (Database Library) /
/===========================================================/
/ this library implement all database functions,call /
/ENAddPatient() to add an new patient information, and then /
/use can use ENAddImage() to insert images for this patient./
/the last, call ENBrowse() to browse all patients and there /
/images in the database. /
/===========================================================/
/ this library still have problems for DEBUG mode, so i /
/disabled all functions in the DEBUG mode. /
/ when save images in to the database, i must allocate a /
/new memory for the image, and copy the image buffer to it. /
/it works, but not safe and clean!! /
/===========================================================/
/ tony /
/ 2002.05.27 /
/==========================================================*/
//this operation will open an dialog, and let user input the information.
//then save these infomations into database, then return the ID of this
//new record, if it failed then return -1.
//2002.05.26
int ENAddPatient();
//this function will insert the image you give into the database, and return
//the index of this image for a special patient, if this function failed,
//the return code will be -1.
//ID - the Patient's ID who hole this image.
//ImgBuffer - an allocated memory of the image data.
//ImgSize - the actual size of the ImgBuffer.
//2002.05.26
int ENAddImage(const int ID,BYTE* ImgBuffer,const DWORD ImgSize);
//this function open an Browse dialog, user can browse all patients and there
//images in the database.
//2002.05.26
void ENBrowse();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -