dictionary.h
来自「WDK 自带的xpsdrv filter之 color」· C头文件 代码 · 共 67 行
H
67 行
/*++
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:
dict.h
Abstract:
Dictionary class definition. The CRemoteDictionary class is responsible
for representing a single dictionay including managing any color
transforms in that dictionary and writing the dictionary out.
--*/
#pragma once
#include "colconv.h"
class CRemoteDictionary : public IResWriter
{
public:
CRemoteDictionary(
__in IFixedPage* pFixedPage,
__in CBitmapColorConverter* pBmpConverter,
__in CColorRefConverter* pRefConverter,
__in BSTR bstrResURI
);
~CRemoteDictionary();
HRESULT
WriteData(
__in IPartBase* pResource,
__in IPrintWriteStream* pStream
);
HRESULT
GetKeyName(
__deref_out BSTR* pbstrKeyName
);
HRESULT
GetResURI(
__deref_out BSTR* pbstrResURI
);
private:
CComBSTR m_bstrDictionaryURI;
CBitmapColorConverter* m_pBmpConverter;
CColorRefConverter* m_pRefConverter;
CComPtr<IFixedPage> m_pFixedPage;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?