Microsoft KB Archive/296916

= RasGetEntryProperties Always Returns Data in the lpb Parameter Buffer =

Article ID: 296916

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Encarta Reference Suite 2001

-



This article was previously published under Q296916



SYMPTOMS
The RasGetEntryProperties function may return data in the buffer that is pointed to by the lpb parameter, even if the lpb parameter was set to null in a previous call to RasSetEntryProperties.



CAUSE
If a Remote Access Service (RAS) entry has no DEVCONFIG structure associated with it, RAS uses the the TAPI service provider, which returns the default DEVCONFIG structure.



RESOLUTION
To work around this problem, associate a DEVCONFIG structure with every RAS entry when you create the RAS entry.



STATUS
This behavior is by design.

Keywords: kbprb KB296916

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.