Jump to content

MFSH UNLOCK: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:MFSH_UNLOCK}} Unlock a segment which was previous locked by calling MFSH_LOCK. ==Syntax== int far pascal MFSH_SEGREALLOC(ulHandle) ==Parameters== ; ulHandle ..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:MFSH_UNLOCK}}
{{DISPLAYTITLE:MFSH_UNLOCK}}
Unlock a segment which was previous locked by calling MFSH_LOCK.  
Unlock a segment which was previous locked by calling [[MFSH_LOCK]].
 
==Syntax==
==Syntax==
  int far pascal MFSH_SEGREALLOC(ulHandle)
  int far pascal MFSH_SEGREALLOC(ulHandle)


==Parameters==
==Parameters==
; ulHandle : contains the handle returned from MFSH_LOCK of the segment to unlock  
;ulHandle : contains the handle returned from MFSH_LOCK of the segment to unlock


==Returns==
==Returns==
Line 17: Line 18:


==Remarks==
==Remarks==
This helper is for use by a mini-FSD with an imbedded device driver. It is the same as the standard device driver helper UNLOCK.  
This helper is for use by a mini-FSD with an imbedded device driver. It is the same as the standard device driver helper UNLOCK.
 
[[Category:IFS]]

Revision as of 17:12, 21 May 2019

Unlock a segment which was previous locked by calling MFSH_LOCK.

Syntax

int far pascal MFSH_SEGREALLOC(ulHandle)

Parameters

ulHandle
contains the handle returned from MFSH_LOCK of the segment to unlock

Returns

If no error is detected, a zero error code is returned. If an error is detected, the following error code is returned:

ERROR_PROTECTION_VIOLATION
the supplied address is invalid.

Sample

unsigned long ulHandle;

int far pascal MFSH_SEGREALLOC(ulHandle)

Remarks

This helper is for use by a mini-FSD with an imbedded device driver. It is the same as the standard device driver helper UNLOCK.