Commit 14428cf2 authored by Alexandre Julliard's avatar Alexandre Julliard

pstorec: Add a typelib resource.

parent 5b0fcb06
...@@ -102,6 +102,7 @@ dlls/oledb32/convert.h ...@@ -102,6 +102,7 @@ dlls/oledb32/convert.h
dlls/oledb32/convert_i.c dlls/oledb32/convert_i.c
dlls/oledb32/tests/convert.h dlls/oledb32/tests/convert.h
dlls/oledb32/tests/convert_i.c dlls/oledb32/tests/convert_i.c
dlls/pstorec/pstorec_tlb.tlb
dlls/qmgr/qmgr_local.h dlls/qmgr/qmgr_local.h
dlls/qmgr/qmgr_local_i.c dlls/qmgr/qmgr_local_i.c
dlls/qmgrprxy/qmgrprxy.h dlls/qmgrprxy/qmgrprxy.h
......
...@@ -8,6 +8,10 @@ IMPORTS = uuid kernel32 ...@@ -8,6 +8,10 @@ IMPORTS = uuid kernel32
C_SRCS = \ C_SRCS = \
pstorec.c pstorec.c
RC_SRCS = rsrc.rc
IDL_TLB_SRCS = pstorec_tlb.idl
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend @DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Typelib for pstorec
*
* Copyright 2009 Alexandre Julliard
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "pstore.idl"
/*
* Resource file for pstorec
*
* Copyright 2009 Alexandre Julliard
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winnls.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: pstorec_tlb.tlb */
1 TYPELIB LOADONCALL DISCARDABLE pstorec_tlb.tlb
...@@ -34,6 +34,18 @@ typedef DWORD PST_KEY; ...@@ -34,6 +34,18 @@ typedef DWORD PST_KEY;
typedef DWORD PST_PROVIDERCAPABILITIES; typedef DWORD PST_PROVIDERCAPABILITIES;
typedef GUID PST_PROVIDERID, *PPST_PROVIDERID; typedef GUID PST_PROVIDERID, *PPST_PROVIDERID;
/*****************************************************************************
* PSTOREC library
*/
[
uuid(5a6f1ebd-2db1-11d0-8c39-00c04fd9126b),
version(1.0),
helpstring("PStore 1.0 Type Library")
]
library PSTORECLib
{
importlib("stdole2.tlb");
typedef struct _PST_PROVIDERINFO typedef struct _PST_PROVIDERINFO
{ {
DWORD cbSize; DWORD cbSize;
...@@ -50,27 +62,27 @@ typedef struct _PST_PROMPTINFO ...@@ -50,27 +62,27 @@ typedef struct _PST_PROMPTINFO
LPCWSTR szPrompt; LPCWSTR szPrompt;
} PST_PROMPTINFO, *PPST_PROMPTINFO; } PST_PROMPTINFO, *PPST_PROMPTINFO;
typedef struct { typedef struct _PST_ACCESSCLAUSE {
DWORD cbSize; DWORD cbSize;
PST_ACCESSCLAUSETYPE ClauseType; PST_ACCESSCLAUSETYPE ClauseType;
DWORD cbClauseData; DWORD cbClauseData;
BYTE* pbClauseData; BYTE* pbClauseData;
} PST_ACCESSCLAUSE, *PPST_ACCESSCLAUSE; } PST_ACCESSCLAUSE, *PPST_ACCESSCLAUSE;
typedef struct { typedef struct _PST_ACCESSRULE {
DWORD cbSize; DWORD cbSize;
PST_ACCESSMODE AccessModeFlags; PST_ACCESSMODE AccessModeFlags;
DWORD cClauses; DWORD cClauses;
PST_ACCESSCLAUSE* rgClauses; PST_ACCESSCLAUSE* rgClauses;
} PST_ACCESSRULE, *PPST_ACCESSRULE; } PST_ACCESSRULE, *PPST_ACCESSRULE;
typedef struct { typedef struct _PST_ACCESSRULESET {
DWORD cbSize; DWORD cbSize;
DWORD cClause; DWORD cClause;
PST_ACCESSRULE* rgRules; PST_ACCESSRULE* rgRules;
} PST_ACCESSRULESET, *PPST_ACCESSRULESET; } PST_ACCESSRULESET, *PPST_ACCESSRULESET;
typedef struct { typedef struct _PST_TYPEINFO {
DWORD cbSize; DWORD cbSize;
LPWSTR szDisplayName; LPWSTR szDisplayName;
} PST_TYPEINFO, *PPST_TYPEINFO; } PST_TYPEINFO, *PPST_TYPEINFO;
...@@ -259,3 +271,5 @@ interface IPStore : IUnknown ...@@ -259,3 +271,5 @@ interface IPStore : IUnknown
[in] DWORD dwFlags, [in] DWORD dwFlags,
[in] IEnumPStoreItems** ppenum ); [in] IEnumPStoreItems** ppenum );
} }
};
...@@ -2497,6 +2497,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" ...@@ -2497,6 +2497,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,opengl32.dll 11,,opengl32.dll
11,,progman.exe 11,,progman.exe
11,,psapi.dll 11,,psapi.dll
11,,pstorec.dll
11,,quartz.dll 11,,quartz.dll
11,,regsvr32.exe 11,,regsvr32.exe
11,,reg.exe 11,,reg.exe
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment