Microsoft KB Archive/192276

{|
 * width="100%"|

GetMailSlotInfo Returns Incorrect lpNextSize Parameter

 * }

Q192276

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * Microsoft Windows 95
 * Microsoft Windows 98
 * Microsoft Windows 98 Second Edition

-

SYMPTOMS
If you call the GetMailSlotInfo function in Microsoft Windows 95 OEM Service Release 2 (OSR2) or Windows 98 without a network client installed, you may receive an incorrect value (a large positive or a negative number) for the lpNextSize parameter. If you repeatedly call the function, it usually returns the correct value.

CAUSE
This problem occurs only when you do not have a network client installed. If any network client is installed, the function works correctly.

RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article and should be applied only to systems experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/directory/overview.asp

NOTE: In special cases, charges that are normally incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. Normal support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

Date    Time    Version      Size    File name  Platform -- 08-04-00 05:02am 4.00.00.1117 185,922 Ifsmgr.vxd Windows 95 OSR2 08-04-00 04:54am 4.00.00.2002 186,438 Ifsmgr.vxd Windows 98 08-09-00 01:26pm 4.00.00.2224 186,438 Ifsmgr.vxd Windows 98 Second Edition

WORKAROUND
You can also use any of the following methods to work around the problem:

Install the Dial-Up Networking adapter on any computers that are experiencing the problem. You do not need to configure the adapter; simply installing it corrects the problem. To install the Dial-Up Networking adapter, use the following steps:


 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) Double-click Add/Remove Programs.
 * 3) Click the Windows Setup tab.
 * 4) In the Components box, double-click Communications.
 * 5) Click to select the Dial-Up Networking check box.
 * 6) Click OK, and then click OK. Note that you may be prompted to insert your Windows installation disks or CD-ROM. Follow the instructions on the screen. After the installation is finished, you are prompted to restart the computer. After you restart your computer, the GetMailSlotInfo call should work correctly.

Put a loop around the GetMailSlotInfo call that continues to call it until the lpNextSize parameter returns a positive value that is within the expected limits of the mailslot information, or zero. However, this workaround causes unnecessary processing and might affect the performance of other programs.

Install the Client for Microsoft Networks service by using the Network tool in Control Panel.

STATUS
Microsoft has confirmed this to be a problem in Windows 95 OSR2, Windows 98, and Windows 98 Second Edition.

MORE INFORMATION
This problem only occurs with Windows 95 OEM Service Release 2 and later. The GetMailSlotInfo function works correctly on the original version of Windows 95 and Windows 95 with Service Pack 1 installed.

Additional query words:

Keywords : kbnetwork kbIPC kbSDKPlatform kbMailslot kbGrpDSNet

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch