ExpandEnvironmentStrings returns the number of TCHARs, not bytes
[reactos.git] / reactos / lib / wintrust / wintrust.c
1 /*
2 * PROJECT : ReactOS
3 * FILE : wintrust.c
4 * DESCRIPTION: ReactOS wintrust lib
5 * DATE : 25.08.2004 (My birthday!)
6 * AUTHOR : Semyon Novikov <tappak@freemail.ru>
7 *
8 * --------------------------------------------------------------------
9 * Copyright (c) 1998, 2004
10 * ReactOS developers team. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
20 * 3. All advertising materials mentioning features or use of this software
21 * must display the following acknowledgement:
22 * This product includes software developed by the ReactOS developers team
23 * 4. Neither the name of project nor the names of its developers
24 * may be used to endorse or promote products derived from this software
25 * without specific prior written permission.
26 *
27 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
28 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
29 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
31 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
32 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
36 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 */
38
39 #include <windows.h>
40 #include <wintrust.h>
41
42
43 LONG WINAPI WinVerifyTrust (HWND hwnd, GUID *pActionID, LPVOID pActionData)
44 {
45 /*
46 * @unimplemented
47 */
48 return TRUE;
49 }
50
51
52 BOOL WintrustAddActionID(GUID* pgActionID,DWORD fdwFlags,
53 CRYPT_REGISTER_ACTIONID* psProvInfo)
54 {
55 /*
56 * @unimplemented
57 */
58 return TRUE;
59 }
60