WFWG Err Msg: The API Return Buffer Is Too Small

Last reviewed: May 8, 1995
Article ID: Q124350
The information in this article applies to:
  • Microsoft Windows for Workgroups version 3.11

SYMPTOMS

When you try to create a password list for the first time, or try to create a password list for a new user, the following error message may be displayed:

   The API return buffer is too small

CAUSE

This error message is displayed when a forward slash is included in the Windows portion of the path statement (that is, the path reads C:/<WINDOWS DIRECTORY> instead of C:\<WINDOWS DIRECTORY>). This error message may also occur if there is a missing slash in the windows path.

RESOLUTION

To prevent this error message, change the forward slash in the path entry to a backslash. To do this, type the following at the MS-DOS command prompt:

   edit autoexec.bat

After you make the change save and close the file.

MORE INFORMATION

Windows starts correctly in this situation because MS-DOS can use either slash mark; however, you cannot set up applications, and applications that rely on the Windows entry in the path statement do not function correctly. For example, if you try to run Windows Setup or Network Setup, you receive the error message "You are attempting to set up Windows from within Windows. Quit Windows and type 'setup' at the MS-DOS command prompt."


KBCategory: kberrmsg kbnetwork kbenv
KBSubcategory: wfw wfwg
Additional reference words: 3.11 pwl err msg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 8, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.