advpack: Put function declarations in advpack_private.h.
This commit is contained in:
parent
a0f8623e2e
commit
b2a3ffd893
|
@ -32,6 +32,7 @@
|
|||
#include "advpub.h"
|
||||
#include "wine/unicode.h"
|
||||
#include "wine/debug.h"
|
||||
#include "advpack_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(advpack);
|
||||
|
||||
|
@ -40,8 +41,6 @@ typedef HRESULT (WINAPI *DLLREGISTER) (void);
|
|||
#define MAX_FIELD_LENGTH 512
|
||||
#define PREFIX_LEN 5
|
||||
|
||||
HRESULT launch_exe(LPCWSTR cmd, LPCWSTR dir, HANDLE *phEXE);
|
||||
|
||||
/* registry path of the Installed Components key for per-user stubs */
|
||||
static const WCHAR setup_key[] = {
|
||||
'S','O','F','T','W','A','R','E','\\',
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Advpack private header
|
||||
*
|
||||
* Copyright 2006 James Hawkins
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef __ADVPACK_PRIVATE_H
|
||||
#define __ADVPACK_PRIVATE_H
|
||||
|
||||
LPWSTR get_parameter(LPWSTR *params, WCHAR separator);
|
||||
|
||||
HRESULT launch_exe(LPCWSTR cmd, LPCWSTR dir, HANDLE *phEXE);
|
||||
HRESULT do_ocx_reg(HMODULE hocx, BOOL do_reg);
|
||||
|
||||
#endif /* __ADVPACK_PRIVATE_H */
|
|
@ -31,11 +31,10 @@
|
|||
#include "advpub.h"
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
#include "advpack_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(advpack);
|
||||
|
||||
LPWSTR get_parameter(LPWSTR *params, WCHAR separator);
|
||||
|
||||
/* converts an ansi double null-terminated list to a unicode list */
|
||||
static LPWSTR ansi_to_unicode_list(LPCSTR ansi_list)
|
||||
{
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "advpub.h"
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
#include "advpack_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(advpack);
|
||||
|
||||
|
|
Loading…
Reference in New Issue