##### Shinobi Library - File System Function

# gdFsCreateDirhn

Generates the directory handle

### FORMAT

`

  GDFS_DIRREC gdFsCreateDirhn( *dirbuf, max_dirent )
  void *dirbuf
  Sint32 max_dirent

`

### PARAMETER

  `dirbuf` | Directory buffer
  `max_dirent` | Number of directory entries

### RETURN

  Directory record handle

### DESCRIPTION

  Generates the directory handle.

### EXAMPLE

      Uint32 dirbuf[gdFsGetDirrecSize(64)];
      GDFS_DIRREC g_dir;
      g_dir = gdFsCreateDirhn(dirbuf, 64);

gdFsCreateDirhn

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999