Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-06-07 06:34:11
Size: 935
Editor: SheenaSmith
Comment: update content (from Sam)
Revision 4 as of 2010-06-17 04:43:31
Size: 1046
Editor: SheenaSmith
Comment: add content from old wiki (incomplete)
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
A pointer to the [[SDL_RWops]] structure that is created. *Returns a pointer to a new RWops structure, or NULL if it fails. *
Line 29: Line 29:
''You can add useful comments here'' This is not available under Win32, since files opened in an application on that platform cannot be used by a dynamically linked library.

DRAFT

SDL_RWFromFP

Use this function to create SDL_RWops structures from a standard I/O file pointer.

Syntax

SDL_RWops* SDL_RWFromFP(FILE*    fp,
                        SDL_bool autoclose)

Function Parameters

fp

a file pointer used to fill an [[SDL_RWops]] structure ???

autoclose

SDL_TRUE to autoclose or SDL_FALSE to leave the structure open ???

Return Value

*Returns a pointer to a new RWops structure, or NULL if it fails. *

Code Examples

You can add your code example here

Remarks

This is not available under Win32, since files opened in an application on that platform cannot be used by a dynamically linked library.


CategoryAPI, CategoryIO

None: SDL_RWFromFP (last edited 2015-06-20 19:58:46 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit