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 to load document data from a stream.
virtual HRESULT LoadDocumentFromStream(
IStream* pStream,
DWORD dwGrfMode
);
Parameters
pStream
A pointer to a stream. This stream is supplied by the Shell.dwGrfMode
Access mode to the stream.
Return Value
S_OK if the load operation succeeds, otherwise HRESULT with an error code.
Remarks
You can override this method in a derived class to customize how to load data from the stream.
Requirements
Header: afxwin.h