Sample Code

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

   porientschema.h

Abstract:

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

--*/

#pragma once

#include "schema.h"

namespace XDPrintSchema
{
    //
    // PageOrientation elements described as Printschema keywords
    //
    namespace PageOrientation
    {
        //
        // The feature name
        //
        extern LPCWSTR ORIENTATION_FEATURE;

        //
        // Paper orientation options
        //
        enum EOrientationOption
        {
            Landscape = 0, EOrientationOptionMin = 0,
            Portrait,
            ReverseLandscape,
            ReversePortrait,
            EOrientationOptionMax
        };

        extern LPCWSTR ORIENTATION_OPTIONS[EOrientationOptionMax];
    }
}

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