Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it called correctly?
Message
 
 
À
04/03/2003 02:06:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00760763
Message ID:
00760824
Vues:
14
John,

The second parameter specifies number of bytes to move the file pointer. The fourth parameter specifies starting point for the file pointer move.
#define FILE_BEGIN           0
#define FILE_CURRENT         1
#define FILE_END             2
...
lnResult = InternetSetFilePointer(hFile, nmyLastReceivedByte, 0, FILE_BEGIN, 0)
IF lnResult <0   && Error
...
>Hi,
>Does my parameters passed correctly?
>
>DECLARE INTEGER InternetSetFilePointer IN wininet;
> INTEGER hFile,;
> INTEGER lDistanceToMove,;
> INTEGER pReserved,;
> INTEGER dwMoveMethod,;
> INTEGER dwContext
>
>
>**-Open Internet File
>
>InternetSetFilePointer(hFile, 0, .NULL., nmyLastReceivedByte, 0)
>
>Thank you
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform