RasSetCommSettings

RasSetCommSettings callback function

Call RasSetCommSettings from a custom-scripting DLL to change the settings on the port for the connection.

Syntax


void APIENTRY RasSetCommSettings(
  _In_ HANDLE          hPort,
  _In_ RASCOMMSETTINGS *pRasCommSettings,
  _In_ PVOID           pvReserved
);

Parameters

hPort [in]

Handle to the port on which to apply the settings. This handle is passed to the custom-scripting DLL in the RasCustomScriptExecute function.

pRasCommSettings [in]

Pointer to a RASCOMMSETTINGS structure that specifies the settings to be applied to the port.

pvReserved [in]

Reserved for future use. This parameter must be NULL.

Return value

This callback function does not return a value.

Remarks

RAS passes the custom-scripting DLL a pointer to the RasSetCommSettings function when RAS calls RasCustomScriptExecute. The pointer is stored in the RASCUSTOMSCRIPTEXTENSIONS structure that is passed as the last parameter of RasCustomScriptExecute.

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
RASCOMMSETTINGS

 

 

Community Additions

ADD
Show:
© 2016 Microsoft