RASCUSTOMSCRIPTEXTENSIONS structure

The RASCUSTOMSCRIPTEXTENSIONS structure specifies pointers to additional functions for use by the custom-scripting DLL.

Syntax

typedef struct RASCUSTOMSCRIPTEXTENSIONS {
  DWORD                 dwSize;
  PFNRASSETCOMMSETTINGS pfnRasSetCommSettings ;
} RASCUSTOMSCRIPTEXTENSIONS;

Members

  • dwSize
    Specifies the size of the structure. Set this member sizeof(RASCUSTOMSCRIPTEXTENSIONS).

  • pfnRasSetCommSettings
    Pointer to a function of type PFNRASSETCOMMSETTINGS. The custom-scripting DLL uses this function to set communication parameters for the specified port.

Remarks

RAS passes the custom-scripting DLL a pointer to the RASCUSTOMSCRIPTEXTENSIONS structure when it calls the RasCustomScriptExecute function.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP2 [desktop apps only]

Header

Ras.h

See also

RAS Custom-Scripting

RasCustomScriptExecute

RasSetCommSettings