Sample Code

Windows Driver Samples/ XPSDrv Driver and Filter Sample/ C++/ src/ common/ pimageschema.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:

   pimageschema.h

Abstract:

   PageImageableSize PrintSchema definition. This defines the features, options
   and enumerations that describe the PrintSchema PageImageableSize feature within
   a XDPrintSchema::PageImageableSize namespace.

--*/

#pragma once

#include "schema.h"

namespace XDPrintSchema
{
    //
    // PageImageSize elements described as Printschema keywords
    //
    namespace PageImageableSize
    {
        //
        // The property name
        //
        extern LPCWSTR PAGE_IMAGEABLE_PROPERTY;

        enum EPageImageableProps
        {
            ImageableSizeWidth = 0, EPageImageablePropsMin = 0,
            ImageableSizeHeight,
            ImageableArea,
            EPageImageablePropsMax
        };

        extern LPCWSTR PAGE_IMAGEABLE_PROPS[EPageImageablePropsMax];

        enum EPageImageablePropsArea
        {
            OriginWidth = 0, EPageImageablePropsAreaMin = 0,
            OriginHeight,
            ExtentWidth,
            ExtentHeight,
            EPageImageablePropsAreaMax
        };

        extern LPCWSTR PAGE_IMAGEABLE_PROPS_AREA[EPageImageablePropsAreaMax];
    }
}

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS