SetPortVal This function writes a BYTE/WORD/DWORD value to an I/O port. bool _stdcall SetPortVal( WORD wPortAddr, DWORD dwPortVal, BYTE bSize ); Parameters wPortAddr [in] I/O port address dwPortVal [in] Value to be written to the port bSize [in] Number of bytes to write. Can be 1 (BYTE), 2 (WORD) or 4 (DWORD). Return Values If the function succeeds, the return value is true. Otherwise, the function returns false. Remarks The SetPortVal function writes a byte, a word or a double word to the specified I/O port. Note: Under Windows 98/ME, an application must use the SetPortVal function to write values to an I/O port. Under Windows NT/2000/XP, it is possible to>Oi Paulo;
>FUNCTION Envia >LPARAMETERS lcString > > lnEnd = Thisform.hex2dec( allt(Thisform.txtEnd.Value) ) >>