Function:
CreateDirectoryt(lpPathName, lpSecurityAttributes)

Description:
creates a new directory on a disk. It also allows you to specify the security attributes of the newly created directory, if the operating system supports it.

Parameters:
lpPathName: The name of the new directory to create.
lpSecurityAttributes : Pointer to a structure that determines whether the returned handle can be inherited by child processes.

Returns:
Returns 1 if successful, or 0 if an error occurred.

Example:
Click on the calc icon to view a sample of the CreateDirectory function.