-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdaruma_functions.c
29 lines (22 loc) · 1.22 KB
/
daruma_functions.c
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
#include "daruma_functions.h"
int eBuscarPortaVelocidade_DUAL_DarumaFramework(){
return ((int (*) (void)) loadFunctionDarumaFramework("eBuscarPortaVelocidade_DUAL_DarumaFramework")) ();
}
int iCFImprimir_NFCe_Daruma(char* pszPathXMLVenda, char* pszPathRetornoWS, char* pszLinkQrCode, int iNumColunas, int iTipoNF){
return ((int (*) (char*, char*, char*, int, int)) loadFunctionDarumaFramework("iCFImprimir_NFCe_Daruma"))(pszPathXMLVenda, pszPathRetornoWS, pszLinkQrCode, iNumColunas, iTipoNF);
}
int regAlterarValor_Daruma(char* pszPathChave, char* pszValor){
return ((int (*) (char*, char*)) loadFunctionDarumaFramework("regAlterarValor_Daruma")) (pszPathChave, pszValor);
}
int eDefinirProduto_Daruma(char* pszProduto) {
return ((int (*) (char*)) loadFunctionDarumaFramework("eDefinirProduto_Daruma")) (pszProduto);
}
int iImprimirTexto_DUAL_DarumaFramework(char* pszString, int iTam) {
return ((int (*) (char*, int)) loadFunctionDarumaFramework("iImprimirTexto_DUAL_DarumaFramework")) (pszString, iTam);
}
int eVerificarVersaoDLL_Daruma(char* pszRetr) {
return ((int (*) (char*)) loadFunctionDarumaFramework("eVerificarVersaoDLL_Daruma")) (pszRetr);
}
int isDarumaFrameworkCarregada() {
return isLoaded();
}