def createFile(
        self,
        fileName,
        desiredAccess,
        shareMode,
        creationDisposition,
        flagsAndAttributes,
        dokanFileInfo,
    ):
        """Creates a file.

        :param fileName: name of file to create
        :type fileName: ctypes.c_wchar_p
        :param desiredAccess: desired access flags
        :type desiredAccess: ctypes.c_ulong
        :param shareMode: share mode flags
        :type shareMode: ctypes.c_ulong
        :param creationDisposition: creation disposition flags
        :type creationDisposition: ctypes.c_ulong
        :param flagsAndAttributes: creation flags and attributes
        :type flagsAndAttributes: ctypes.c_ulong
        :param dokanFileInfo: used by Dokan
        :type dokanFileInfo: PDOKAN_FILE_INFO
        :return: error code
        :rtype: ctypes.c_int

        """
        return self.operations('createFile', fileName)
Creates a file.

        :param fileName: name of file to create
        :type fileName: ctypes.c_wchar_p
        :param desiredAccess: desired access flags
        :type desiredAccess: ctypes.c_ulong
        :param shareMode: share mode flags
        :type shareMode: ctypes.c_ulong
        :param creationDisposition: creation disposition flags
        :type creationDisposition: ctypes.c_ulong
        :param flagsAndAttributes: creation flags and attributes
        :type flagsAndAttributes: ctypes.c_ulong
        :param dokanFileInfo: used by Dokan
        :type dokanFileInfo: PDOKAN_FILE_INFO
        :return: error code
        :rtype: ctypes.c_int