#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wine/debug.h"
#include "msi.h"
#include "msiquery.h"
#include "objbase.h"
#include "objidl.h"
#include "msipriv.h"
#include "winnls.h"
#include "query.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (msidb) |
|
static UINT | CREATE_fetch_int (struct tagMSIVIEW *view, UINT row, UINT col, UINT *val) |
|
static UINT | CREATE_execute (struct tagMSIVIEW *view, MSIRECORD *record) |
|
static UINT | CREATE_close (struct tagMSIVIEW *view) |
|
static UINT | CREATE_get_dimensions (struct tagMSIVIEW *view, UINT *rows, UINT *cols) |
|
static UINT | CREATE_get_column_info (struct tagMSIVIEW *view, UINT n, LPCWSTR *name, UINT *type, BOOL *temporary, LPCWSTR *table_name) |
|
static UINT | CREATE_modify (struct tagMSIVIEW *view, MSIMODIFY eModifyMode, MSIRECORD *rec, UINT row) |
|
static UINT | CREATE_delete (struct tagMSIVIEW *view) |
|
static UINT | check_columns (const column_info *col_info) |
|
UINT | CREATE_CreateView (MSIDATABASE *db, MSIVIEW **view, LPCWSTR table, column_info *col_info, BOOL hold) |
|
◆ check_columns()
Definition at line 147 of file create.c.
148{
150
151
152 for( c1 = col_info; c1; c1 = c1->next )
153 for( c2 = c1->next; c2; c2 = c2->next )
154 if (!
wcscmp( c1->column, c2->column ))
156
158}
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define ERROR_BAD_QUERY_SYNTAX
Referenced by CREATE_CreateView().
◆ CREATE_close()
◆ CREATE_CreateView()
Definition at line 160 of file create.c.
162{
168
170
174
175 cv =
calloc( 1,
sizeof *cv );
176 if( !cv )
178
179 for( col =
col_info; col; col = col->next )
180 {
181 if (!col->table)
183
188 }
189
190 if ( !
temp && tempprim )
191 {
194 }
195
196
205
207}
static UINT check_columns(const column_info *col_info)
static const MSIVIEWOPS create_ops
void msiobj_addref(MSIOBJECTHDR *info)
GLdouble GLdouble GLdouble r
#define MSITYPE_TEMPORARY
#define ERROR_FUNCTION_FAILED
◆ CREATE_delete()
Definition at line 112 of file create.c.
113{
115
117
120
122}
int msiobj_release(MSIOBJECTHDR *info)
◆ CREATE_execute()
Definition at line 60 of file create.c.
61{
64
66 cv->
bIsTemp?
"temporary":
"permanent");
67
70
72}
UINT msi_create_table(MSIDATABASE *db, LPCWSTR name, column_info *col_info, MSICONDITION persistent, BOOL hold)
◆ CREATE_fetch_int()
Definition at line 51 of file create.c.
52{
54
56
58}
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
◆ CREATE_get_column_info()
Definition at line 92 of file create.c.
94{
96
97 TRACE(
"%p %d %p %p %p %p\n", cv,
n,
name,
type, temporary, table_name );
98
100}
GLuint GLuint GLsizei GLenum type
◆ CREATE_get_dimensions()
Definition at line 83 of file create.c.
84{
86
87 TRACE(
"%p %p %p\n", cv, rows, cols );
88
90}
◆ CREATE_modify()
Definition at line 102 of file create.c.
104{
106
107 TRACE(
"%p %d %p\n", cv, eModifyMode, rec );
108
110}
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
msidb |
| ) |
|
◆ create_ops
Initial value:=
{
}
static UINT CREATE_delete(struct tagMSIVIEW *view)
static UINT CREATE_get_dimensions(struct tagMSIVIEW *view, UINT *rows, UINT *cols)
static UINT CREATE_execute(struct tagMSIVIEW *view, MSIRECORD *record)
static UINT CREATE_fetch_int(struct tagMSIVIEW *view, UINT row, UINT col, UINT *val)
static UINT CREATE_close(struct tagMSIVIEW *view)
static UINT CREATE_get_column_info(struct tagMSIVIEW *view, UINT n, LPCWSTR *name, UINT *type, BOOL *temporary, LPCWSTR *table_name)
static UINT CREATE_modify(struct tagMSIVIEW *view, MSIMODIFY eModifyMode, MSIRECORD *rec, UINT row)
Definition at line 124 of file create.c.
Referenced by CREATE_CreateView().