Information générale
Catégorie:
Fonctions Windows API
>>Win98
>>Which DLL has the definitions of WNet API functions. I've tried using NETAPI32.DLL and I get no entry point found in .dll. I've only tried it with WNetOpenEnum so far. Also, where is a 'complete' list of Windows System API calls and where they are located? The MSDN disks only say windows95 or above and list the .h and .lib filenames but not the .dll and I don't have a developers reference. Maybe I'm looking in the wrong place?
>
>Use the WIN32API catchall; I believe the .DLL for this call is SVRAPI.DLL under Win9x, but I'm not 100% certain. WIN32API works for the WNet family calls, which use different .DLLs under different operating system and operating system versions.
That works yup. Question about using clsheap. The parameter list for WNetOpenEnum calls for a pointer to a structure and another pointer to a handle. If I create a pointer to some block of memory thats fine. But the first structure is supposed to be a representation of a network container or null. If I pass .null. in the call I get a datatype mismatch. Anyway, if I pass it a pointer to some empty block of memory I get back an empty block of memory. Ever used that API call before?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement