RasGetEntryProperties() Always Returns Data in the lpb Parameter Buffer (296916)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 3.0

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.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbprb KB296916