Sample Code
Windows Driver Samples/ XPSDrv Driver and Filter Sample/ C++/ src/ filters/ xdcont/ xpsfd.h/
/*++ Copyright (c) 2005 Microsoft Corporation All rights reserved. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. File Name: xpsfd.h Abstract: Definition of the XPS Fixed Document (FD) SAX handler. This class is responsible for retrieving and storing in the correct order the Fixed Pages that comprise the Fixed Document. --*/ #pragma once #include "saxhndlr.h" #include "xps.h" class CFixedDocument : public CSaxHandler { public: CFixedDocument(); virtual ~CFixedDocument(); virtual HRESULT STDMETHODCALLTYPE startElement( CONST wchar_t*, INT, CONST wchar_t*, INT, _In_reads_(cchQName) CONST wchar_t* pwchQName, _In_ INT cchQName, _In_ ISAXAttributes* pAttributes ); HRESULT GetFixedPageList( _Out_ FileList* pFixedPageList ); HRESULT Clear( VOID ); private: FileList m_FixedPageList; };
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials