RasSetEntryProperties函数返回632是什么地方有问题
是RASENTRY结构变量中那个字段填充的有问题

解决方案 »

  1.   

    这是在MSDN上的说明,你去查一下到底是那条ERROR_BUFFER_INVALID The address or buffer specified by lpRasEntry is invalid. 
    ERROR_CANNOT_OPEN_PHONEBOOK The phone book is corrupted or missing components. 
    ERROR_INVALID_PARAMETER The RASENTRY structure pointed to by the lpRasEntry parameter does not contain adequate information. See the description for lpRasEntry to see what information is required.