FreeSelector

Version 3.0

Syntax

WORD FreeSelector(wSelector)

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

Parameter Type/Description  

wSelector WORD Specifies the selector to be freed.  

Return Value

The return value is NULL if the function was successful. Otherwise, it is the selector specified by the wSelector parameter.

Comments

An application should not use this function unless it is absolutely necessary. Use of this function violates preferred Windows programming practices.