please dont rip this site Prev Next

RASDIALEXTENSIONS info  Overview  Group

The RASDIALEXTENSIONS structure contains information about extended features of the RasDial function. You can enable one or more of these extensions by passing a pointer to a RASDIALEXTENSIONS structure when you call RasDial. If you do not pass a pointer to a RASDIALEXTENSIONS structure to RasDial, RasDial uses the default settings that are noted following.

typedef  struct  _RASDIALEXTENSIONS { 

    DWORD    dwSize; 

    DWORD    dwfOptions; 

    HWND    hwndParent; 

    DWORD    reserved; 

} RASDIALEXTENSIONS; 

 

Members

dwSize
Specifies the size of this structure, in bytes. Set this member to sizeof(RASDIALEXTENSIONS). This indicates the version of the structure.
dwfOptions
A set of bit flags that specify RasDial extensions. The following bit flags are defined; you must set all undefined bits to zero:

Value

Description

RDEOPT_UsePrefixSuffix

If this bit flag is one, RasDial uses the prefix and suffix that is in the RAS phone book.

If this bit flag is zero, RasDial ignores the prefix and suffix that is in the RAS phone book.

If no phone-book entry name is specified in the call to RasDial, the actual value of this bit flag is ignored, and it is assumed to be zero.

RDEOPT_PausedStates

If this bit flag is one, RasDial accepts paused states. Examples of paused states are terminal mode, retry logon, change password, and set callback number.

If this bit flag is zero, RasDial reports a fatal error if it enters a paused state.

RDEOPT_IgnoreModemSpeaker

If this bit flag is one, RasDial ignores the modem speaker setting that is in the RAS phone book, and uses the setting specified by the RDEOPT_SetModemSpeaker bit flag.

If this bit flag is zero, RasDial uses the modem speaker setting that is in the RAS phone book, and ignores the setting specified by the RDEOPT_SetModemSpeaker bit flag.

If no phone-book entry name is specified in the call to RasDial, the choice is between using a default setting or the setting specified by the RDEOPT_SetModemSpeaker bit flag. The default setting is used if RDEOPT_IgnoreModemSpeaker is zero. The setting specified by RDEOPT_SetModemSpeaker is used if RDEOPT_IgnoreModemSpeaker is one.

RDEOPT_SetModemSpeaker

If this bit flag is one, and RDEOPT_IgnoreModemSpeaker is one, RasDial sets the modem speaker on.

If this bit flag is zero, and RDEOPT_IgnoreModemSpeaker is one, RasDial sets the modem speaker off.

If RDEOPT_IgnoreModemSpeaker is zero, RasDial ignores the value of RDEOPT_SetModemSpeaker, and sets the modem speaker based on the RAS phone-book setting or the default setting.

RDEOPT_IgnoreSoftwareCompression

If this bit flag is one, RasDial ignores the software compression setting that is in the RAS phone book, and uses the setting specified by the RDEOPT_SetSoftwareCompression bit flag.

If this bit flag is zero, RasDial uses the software compression setting that is in the RAS phone book, and ignores the setting specified by the RDEOPT_SetSoftwareCompression bit flag.

If no phone-book entry name is specified in the call to RasDial, the choice is between using a default setting or the setting specified by the RDEOPT_SetSoftwareCompression bit flag. The default setting is used if RDEOPT_IgnoreSoftwareCompression is zero. The setting specified by RDEOPT_SetSoftwareCompression is used if RDEOPT_IgnoreSoftwareCompression is one.

RDEOPT_SetSoftwareCompression

If this bit flag is one, and RDEOPT_IgnoreSoftwareCompression is one, RasDial uses software compression.

If this bit flag is zero, and RDEOPT_IgnoreSoftwareCompression is one, RasDial does not use software compression.

If RDEOPT_IgnoreSoftwareCompression is zero, RasDial ignores the value of RDEOPT_SetSoftwareCompression, and sets the software compression state based on the RAS phone-book setting or the default setting.

RDEOPT_PauseOnScript

Used internally by the RasDialDlg function so that a Windows-95-style logon script is executed in a terminal window visible to the user. Applications should not set this flag.

The default value for each of these bit flags is zero.

hwndParent
Handle to a parent window that a security DLL can use for dialog box creation and centering.

Note that this is not the window that receives RasDial progress notifications.

This member is optional; it is not required when no security DLL is defined.

The default value for this member is NULL.

reserved
This member is reserved for future use. It must be set to zero.

See Also

RasDial 


file: /Techref/os/win/api/win32/struc/src/str15_4.htm, 7KB, , updated: 2000/4/7 11:20, local time: 2024/11/8 18:38,
TOP NEW HELP FIND: 
18.226.187.132:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/Techref/os/win/api/win32/struc/src/str15_4.htm"> RASDIALEXTENSIONS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?