Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

RasCredentialsMask (Enums)
 
.
Summary
These flags indicate the members of the RasCredentials structure that are valid. On input, set the flags to indicate the members of interest. On output, the function sets the flags to indicate the members that contain valid data.

C# Definition:

[Flags]
public enum RasCredentialsMask
{
     /// <summary>The szUserName member is valid.</summary>
     RASCM_UserName = 0x00000001,

     /// <summary>The szPassword member is valid.</summary>
     RASCM_Password = 0x00000002,

     /// <summary>The szDomain member is valid.</summary>
     RASCM_Domain = 0x00000004,

     /// <summary>Indicates that the credentials are default credentials for an all-user connection.</summary>
     RASCM_DefaultCreds = 0x00000008,

     /// <summary>Specify this flag to either set or retrieve a pre-shared key.
     /// This flag cannot be used in combination with any other flag.</summary>
     RASCM_PreSharedKey = 0x00000010,

     /// <summary>Used to set the pre-shared key for the RAS server.</summary>
     RASCM_ServerPreSharedKey = 0x00000020,

     /// <summary>Used to set the pre-shared key for a demand-dial interface.</summary>
     RASCM_DDMPreSharedKey = 0x00000040
}

VB Definition:

Enum RasCredentialsMask
   TODO
End Enum

Notes:

None.

Documentation
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions