static FILE *PP_OpenInclude( const char *filename, size_t len, int incl_type ) { char fullfilename[_MAX_PATH]; int rc; rc = PP_FindInclude( filename, len, fullfilename, incl_type ); if( PPFlags & PPFLAG_DEPENDENCIES ) { (*PP_CallBack)( filename, len, fullfilename, incl_type ); } else if( rc == 0 ) { return( PP_Open( fullfilename ) ); } return( NULL ); }
int RcFindResource( const char *name, char *fullpath ) { return( PP_FindInclude( name, fullpath, PPINCLUDE_SRC ) ); }