Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework when it needs to load the document data from a stream.
virtual HRESULT OnLoadDocumentFromStream(
IStream* pStream,
DWORD grfMode
);
Parameters
pStream
A pointer to an incoming stream.grfMode
Access mode to the stream.
Return Value
S_OK if the load is successful; otherwise an error code.
Requirements
Header: afxwin.h