SetSelectorBase

3.1

  UINT SetSelectorBase(selector, dwBase)    
  UINT selector; /* new selector, */  
  DWORD dwBase; /* new base */

The SetSelectorBase function sets the base and limit of a selector.

Parameters

selector

Specifies the selector value to modify.

dwBase

Specifies the new base value. This value is the starting linear address that selector will reference.

Return Value

The return value is the selector value, or zero if an error occurs.

See Also

GetSelectorBase, GetSelectorLimit, SetSelectorLimit