Легенда:
новое сообщение
закрытая нитка
новое сообщение
в закрытой нитке
старое сообщение
|
- Напоминаю, что масса вопросов по функционированию форума снимается после прочтения его описания.
- Новичкам также крайне полезно ознакомиться с данным документом.
[c++] rtfm, msdn. memset(&ras,0,sizeof(rasentry)) вызывает ошибку в параметре lprasentry. перед вызовом функции требуется заполнить некоторые поля структуры. читай отрывок в теле поста. 31.01.06 13:31 Число просмотров: 7054
Автор: kstati <Евгений Борисов> Статус: Elderman
|
DWORD RasSetEntryProperties(
LPCTSTR lpszPhonebook,
LPCTSTR lpszEntry,
LPRASENTRY lpRasEntry,
DWORD dwEntryInfoSize,
LPBYTE lpbDeviceInfo,
DWORD dwDeviceInfoSize);
---
lpRasEntry
[in] Pointer to the RASENTRY structure that specifies the new connection data to be associated with the phone-book entry indicated by the lpszEntry parameter.
The caller must provide values for the following members in the RASENTRY structure.
szPLocalPhoneNumber
szDeviceName
szDeviceType
dwFramingProtocol
dwfOptions
dwType
Important: dwType is only valid if WINVER >= 0x500.
If values are not provided for these members, RasSetEntryProperties fails with ERROR_INVALID_PARAMETER.
The structure might be followed by an array of null-terminated alternate phone number strings. The last string is terminated by two consecutive null characters. The dwAlternateOffset member of the RASENTRY structure contains the offset to the first string.
Windows Me/98/95 OSR2: The Microsoft Layer for Unicode does not support dwAlternateOffset in RASENTRY.
|
- [C++] Помогите с RAS... - alex_b 31.01.06 12:18 [1989]
- [c++] rtfm, msdn. memset(&ras,0,sizeof(rasentry))... - kstati 31.01.06 13:31 [7054]
|
|
|