This section describes error values returned by the functions that applications can use for 32-bit memory management. Most of these functions return zero to indicate success. The following table describes each error value:
WM32_Insufficient_Mem |
Insufficient memory. There is not enough memory to satisfy the requested allocation or reallocation. |
WM32_Insufficient_Sels |
Selector not available. There is not enough room in the descriptor table(s) to allocate the required selector(s). It may be necessary to advise the user to close other Windows applications. |
WM32_Invalid_Arg |
Invalid parameter. One of the parameters was invalid. For example, a size parameter might be out of range. |
WM32_Invalid_Flags |
Invalid flag. The wFlags parameter contained at least one invalid bit setting. The wFlags parameter currently is not used and must be set to zero. |
WM32_Invalid_Func |
Invalid function. The current Windows mode does not support this function. Windows supports the 32-bit memory functions only in 386 enhanced mode. |