Next Topic

Previous Topic

Book Contents

CreateDirectory

int CreateDirectory(string sDir)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • sDir - Path of directory to create.

Remarks

The directory which the new directory is to be created in must exist or this function will fail.