Global32CodeAliasFree

3.0

  #include <winmem32.h>    

  WORD Global32CodeAliasFree(wSelector, wAlias, wFlags)    
  WORD wSelector; /* selector of object, */  
  WORD wAlias; /* code-segment alias selector to free */
  WORD wFlags; /* reserved, must be zero */

The Global32CodeAliasFree function frees the 16:32 (USE32) code-segment alias selector previously created by a call to the Global32CodeAlias function.

Parameters

wSelector

Specifies the selector of the object for which the alias is to be freed. This must be the selector returned by a previous call to the Global32Alloc function.

wAlias

Specifies the USE32 code-segment alias selector to be freed. This must be the alias returned by a previous call to the Global32CodeAlias function.

wFlags

Reserved; must be zero.

Return Value

The return value is zero if the function is successful. Otherwise, it is an error value, which can be one of the following:

WM32_Insufficient_Mem
WM32_Insufficient_Sels
WM32_Invalid_Arg
WM32_Invalid_Flags
WM32_Invalid_Func

See Also

Global32CodeAlias