This function loads a package from an archive file.
Parameter | Description |
---|---|
path | file path to load |
flags | optional load flags |
Returns a new package if it was successfully loaded, otherwise NULL is returned.
When a package is loaded it will automatically be used when ReadFile is called. When this function is called, a file on the user's hard drive will first be loaded and returned if it exists. Otherwise, each loaded package will be checked for the file, in the order the packages were loaded.