views:

11

answers:

0

Hi i am trying to use this functions with parameters

at first i load the ws2_32.dll with Loadlibrary then i get the function

rc = lpInstallProviderAndChains(

            providerGuid,        //guid
            lpszLspPathAndFile,  //filename
            lpszLspName,         //name        
            ( IfsProvider ? XP1_IFS_HANDLES : 0 ),  //flags
            NULL,
            NULL,
            NULL,
           &error //error code
            );

but it allways fails with error WSAEINVALIDPROCTABLE, i really dont know what to do with this. I also run the console as administrator.

using win 7, thx for answer