I am trying to use a function WSCInstallProviderAndChainswith the following parameters:
First I load ws2_32.dll using Loadlibrary, then I call the function:
rc = lpInstallProviderAndChains(
providerGuid,
lpszLspPathAndFile,
lpszLspName,
( IfsProvider ? XP1_IFS_HANDLES : 0 ),
NULL,
NULL,
NULL,
&error
);
It always fails with an error WSAEINVALIDPROCTABLE. I really don't know what to do with this. I run the console as an administrator and use Windows 7.
source
share