
Files library
UM0516
3.3
3.3.1
APIs
FILES_CreateImage
FILES_CreateImage(PHANDLE pHandle, BYTE nAlternate)
Creates an empty Image for a given index number to a given handle pointer.
Table 33. FILES_CreateImage description
Field
Type
Description
pHandle PHANDLE Pointer to a handle.
Input
nAlternate BYTE
Alternate number.
Output
DWORD SUCCESS, Error otherwise (see Error codes).
3.3.2
FILES_CreateImageFromMapping
FILES_CreateImageFromMapping (PHANDLE pHandle, PMAPPING pMapping)
Creates an empty image according to the given mapping.
Table 34. FILES_CreateImageFromMapping description
Field
Type
Description
pHandle PHANDLE Pointer to a handle
Input
pMapping PMAPPING Pointer to a mapping
Output
DWORD SUCCESS, Error otherwise (see Error codes).
3.3.3
FILES_DestroyImage
FILES_DestroyImage (PHANDLE pHandle)
Destroys the given image and frees the allocated memory.
Table 35. FILES_DestroyImage description
Field
Type
Description
Input pHandle PHANDLE Pointer to the Image handle
Output
DWORD SUCCESS, Error otherwise (see Error codes).
20/26
Doc ID 14490 Rev 2

























