MakeDirectory
The MakeDirectory function is called to create a new directory
in the file system emulated by the plugin.
int WINAPI MakeDirectory ( HANDLE hPlugin, char *Name, int OpMode );
Parameters
hPlugin
Plugin handle returned by OpenPlugin
or OpenFilePlugin.
Name
Name of the directory. If OpMode flag
OPM_SILENT
is not set, you can allow the user to change it, but in that case the new name
must be copied to Name (max. NM bytes).
OpMode
Combination of the operation mode
flags. This function should be ready to process OPM_SILENT flag.
Return value
If the function succeeds, the return value must be 1.
If the function fails, 0 should be returned.
If the function was interrupted by the user, it should return -1.
See also