[Toc][Index]

MFSH_SEGFREE - Free a segment

  
Purpose   
Free a memory segment. 
Calling Sequence   

int far pascal MFSH_SEGFREE(usSel)

unsigned short usSel;


Where   
usSel contains the selector of the segment to be freed. 
  
Returns   
If no error is detected, a zero error error code is returned. If an error 
is detected, the following error code is returned: 
oERROR_PROTECTION_VIOLATION 
the selector is invalid. 
  
Remarks   
This function releases a segment previously allocated with MFSH_SEGALLOC, 
or loaded as part of the mini-FSD image. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs