You cannot write a node using a single drupal_write_record()drupal_write_record(). Depending on how your content type is defined you will need to write to several tables. But you don't need to know the precise details because hethe right way to create a node is to use node_save()node_save() as Ahmed mentioned in his comment.