816=RasSetEntryProperties() on Vista
I've got code which supports a NULL modem SLIP connection to a device
and one of my users is encountering the subject rc when running this
code on Vista.
I successfully get the proper buffer size via:
DWORD rasEntrySize = 0 ;
rc = RasGetEntryProperties( NULL , NULL , NULL , &rasEntrySize , NULL
, NULL ) ;
pInfo = (LPRASENTRY) malloc( rasEntrySize ) ;
memset( pInfo , 0 , rasEntrySize ) ;
pInfo->dwSize = rasEntrySize ;
(error checking elided for conciseness)
I fill in the relevant parms (also elided), and eventually issue:
rc = RasSetEntryProperties( NULL , m_connectProfile , pInfo ,
pInfo->dwSize , NULL , 0 ) ;
That's where I see the 816:
#define ERROR_FEATURE_DEPRECATED (RASBASE+216)
/* * A feature or setting you have tried to enable is no longer
supported by the remote access service.%0 */
Any guesses out there what feature has been deprecated ?
Jon
|