FreeSelector

3.0

  UINT FreeSelector(uSelector)    
  UINT uSelector; /* selector to be freed */

The FreeSelector function frees a selector originally allocated by the AllocSelector or AllocDStoCSAlias function. After the application calls this function, the selector is invalid and must not be used.

An application should not use this function unless it is absolutely necessary, since its use violates preferred Windows programming practices.

Parameters

uSelector

Specifies the selector to be freed.

Return Value

The return value is zero if the function is successful. Otherwise, it is the selector specified by the uSelector parameter.

See Also

AllocDStoCSAlias, AllocSelector