Declaração em C# |
[DllImport("BemaFI32.dll")] public static extern int Bematech_FI_DadosSoftwareHouseSAT(string cnpj, string assinaturaAplicativoComercial); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_UltimasInformacoesSAT([MarshalAs(UnmanagedType.VBByRefStr)] ref string chaveAcesso, ref string numeroCupom, ref string NumeroSAT); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_RetornaMensagemSeFazSAT([MarshalAs(UnmanagedType.VBByRefStr)] ref string message, ref string code, ref string errorMessage, ref string errorCode); [DllImport("BemaFI32.dll")] public static int Bematech_FI_DadosEntregaSAT(string address, string number, string complement, string neighborhood, string city, string UF); [DllImport("BemaFI32.dll")] public static int Bematech_FI_HabilitaDesabilitaExtratoExtendidoSAT (string extendedOutput); |