diff options
Diffstat (limited to 'printing/backend/win_helper.cc')
-rw-r--r-- | printing/backend/win_helper.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/printing/backend/win_helper.cc b/printing/backend/win_helper.cc new file mode 100644 index 0000000..a5f515f --- /dev/null +++ b/printing/backend/win_helper.cc @@ -0,0 +1,17 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "printing/backend/win_helper.h" + + +#include <windows.h> + +namespace printing { + +bool InitXPSModule() { + HMODULE prntvpt_module = LoadLibrary(L"prntvpt.dll"); + return (NULL != prntvpt_module); +} + +} // namespace printing |