API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IHTMLVIEWMODEL_SAVESTATE()

Brew Release
Brew MP 1.0.2
See Also
Description
This function returns a string that represents the current viewer state. This string may be passed to IHTMLViewModel_RestoreState() to restore the viewer state.
Params
pif
[]:
Pointer to the IHTMLViewModel interface object. pszBuffer Pointer to start of a buffer to hold the result (which will be a zero-terminated string). cbBuffer size of the buffer, in bytes
Interface
Prototype
  •    int IHTMLViewModel_SaveState(IHTMLViewModel *pif, char *pszBuffer, int cbBuffer);
    
Return
  •    The length of the result string including zero terminator.
       
       NOTE: if either pszBuffer==NULL or cbBuffer==0, the result string will not 
       be written but the required buffer size will be returned.  
    
Side Effect
  • None
Comments
None