OSDN Git Service

(none)
[hos/hos-v4a.git] / aplfw / system / file / volume_openfile.c
1
2 #include <stdio.h>
3 #include "volume.h"
4 #include "volumeobj.h"
5
6
7 HANDLE Volume_OpenFile(HANDLE hVolume, const char *pszPath, int iMode)
8 {
9         C_VOLUMEOBJ *self;
10         
11         self = (C_VOLUMEOBJ *)hVolume;
12         
13         if ( self->pMethods->pfncOpenFile == NULL )
14         {
15                 return HANDLE_NULL;
16         }
17
18         return self->pMethods->pfncOpenFile(hVolume, pszPath, iMode);
19 }
20