- 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
int IHTMLViewModel_SaveState(IHTMLViewModel *pif, char *pszBuffer, int cbBuffer);
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.