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

Search Results for "RASENTRY" in [All]

rasapi32

.

    [In,Out] RASENTRYNAME[] lprasentryname,

.

     ByVal lpRasEntryName As IntPtr, _

.

    struct RASENTRYNAME {

.

    struct RASENTRYNAME

.

        [In, Out] RASENTRYNAME[] lprasentryname, ref int lpcb, ref int lpcEntries);

.

        int cb = Marshal.SizeOf(typeof(RASENTRYNAME)), entries = 0;

.

        RASENTRYNAME[] entryNames = new RASENTRYNAME[1];

.

        entryNames[0].dwSize = Marshal.SizeOf(typeof(RASENTRYNAME));

.

        entryNames = new RASENTRYNAME[entries];

.

        entryNames[i].dwSize = Marshal.SizeOf(typeof(RASENTRYNAME));

.

/// <param name="lpRasEntry">Pointer to the RASENTRY structure that specifies the connection data to associate with the phone-book entry.</param>

.

/// <param name="dwEntryInfoSize">Specifies the size, in bytes, of the buffer identified by the lpRasEntry parameter.</param>

.

   ref RASENTRY lpRasEntry,

.

    public struct RASENTRY

.

    public enum RasEntryOptions

.

    public enum RasEntryOptions2

.

    public enum RasEntryTypes

.

    public enum RasEntryEncryption

.

Call RasGetEntryProperties beforehand, passing to it a null RASENTRY to get the correct buffer size (dwEntryInfoSize below).

.

/// <param name="rasEntryStructure">RASENTRY structure containing connection settings.</param>

.

public static RasError SetEntryProperties(string connectionName, RASENTRY rasEntryStructure)

.

     return (RasError)RasSetEntryProperties(null, connectionName, ref rasEntryStructure, Marshal.SizeOf(rasEntryStructure), IntPtr.Zero, 0);

Structures

.

struct RASENTRYNAME

.

Structure RASENTRYNAME

.
Documentation
.

struct RASENTRYNAME

.

Structure RASENTRYNAME

.
Documentation

 
Access PInvoke.net directly from VS: