dwfOptions
A set of bit flags that specify connection options. Set one or more of the following flags.
dwfOptions的RASEO_RequireEncryptedPw位不要设置就行了。详见msdn
RASEO_RequireEncryptedPw :If this flag is set, only secure password schemes can be used to authenticate the client with the server. This prevents the PPP driver from using the PAP plain-text authentication protocol to authenticate the client. The CHAP and SPAP authentication protocols are also supported. Clear this flag for increased interoperability, and set it for increased security.
Windows NT/2000/XP: This flag corresponds to the Require Encrypted Password check box in the Security dialog box. See also RASEO_RequireMsEncryptedPw.
Windows 95/98/ME: This flag corresponds to the Require Encrypted Password check box in the Server Type dialog box.