Platform SDK: RAS/Routing and RAS

RASADPARAMS

The RASADPARAMS structure describes the parameters that AutoDial passes to a RASADFunc AutoDial handler.

typedef struct tagRASADPARAMS {
  DWORD       dwSize;
  HWND        hwndOwner;
  DWORD       dwFlags;
  LONG        xDlg;
  LONG        yDlg;
} RASADPARAMS;

Members

dwSize
Specifies the size, in bytes, of the RASADPARAMS structure. The system sets dwSize to sizeof(RASADPARAMS) to identify the version of the structure.
hwndOwner
Specifies the parent window for the AutoDial user interface. This member can be NULL.
dwFlags
Specifies a flag that indicates how to position the window of your AutoDial user interface. The following flag is defined.
Flag Description
RASADFLG_PositionDlg If this flag is set, position your window according to the coordinates specified by the xDlg and yDlg members.

If this flag is not set, center your window on the window specified by the hwndOwner member. If hwndOwner is NULL, center your window on the screen.


xDlg
Specifies the horizontal screen coordinate of your window's upper-left corner. Ignore this member if the RASADFLG_PositionDlg bit is not set in the dwFlags member.
yDlg
Specifies the vertical screen coordinate of your window's upper-left corner. Ignore this member if the RASADFLG_PositionDlg bit is not set in the dwFlags member.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Ras.h.

See Also

Remote Access Service (RAS) Overview, Remote Access Service Structures, RASADFunc