ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

format.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wine/debug.h"
#include "msi.h"
#include "winnls.h"
#include "objbase.h"
#include "oleauto.h"
#include "msipriv.h"
#include "msiserver.h"
#include "wine/unicode.h"

Go to the source code of this file.

Data Structures

struct  FORMAT
struct  FORMSTR
struct  STACK

Defines

#define COBJMACROS
#define FORMAT_NULL   0x0001
#define FORMAT_LITERAL   0x0002
#define FORMAT_NUMBER   0x0004
#define FORMAT_LBRACK   0x0010
#define FORMAT_LBRACE   0x0020
#define FORMAT_RBRACK   0x0011
#define FORMAT_RBRACE   0x0021
#define FORMAT_ESCAPE   0x0040
#define FORMAT_PROPNULL   0x0080
#define FORMAT_ERROR   0x1000
#define FORMAT_FAIL   0x2000
#define left_type(x)   (x & 0xF0)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msi)
static STACKcreate_stack (void)
static void free_stack (STACK *stack)
static void stack_push (STACK *stack, FORMSTR *str)
static FORMSTRstack_pop (STACK *stack)
static FORMSTRstack_find (STACK *stack, int type)
static FORMSTRstack_peek (STACK *stack)
static LPCWSTR get_formstr_data (FORMAT *format, FORMSTR *str)
static LPWSTR dup_formstr (FORMAT *format, FORMSTR *str)
static LPWSTR deformat_index (FORMAT *format, FORMSTR *str)
static LPWSTR deformat_property (FORMAT *format, FORMSTR *str)
static LPWSTR deformat_component (FORMAT *format, FORMSTR *str)
static LPWSTR deformat_file (FORMAT *format, FORMSTR *str, BOOL shortname)
static LPWSTR deformat_environment (FORMAT *format, FORMSTR *str)
static LPWSTR deformat_literal (FORMAT *format, FORMSTR *str, BOOL *propfound, BOOL *nonprop, int *type)
static LPWSTR build_default_format (const MSIRECORD *record)
static BOOL format_is_number (WCHAR x)
static BOOL format_str_is_number (LPWSTR str)
static BOOL format_is_alpha (WCHAR x)
static BOOL format_is_literal (WCHAR x)
static int format_lex (FORMAT *format, FORMSTR **out)
static FORMSTRformat_replace (FORMAT *format, BOOL propfound, BOOL nonprop, int oldsize, int type, LPWSTR replace)
static LPWSTR replace_stack_group (FORMAT *format, STACK *values, BOOL *propfound, BOOL *nonprop, int *oldsize, int *type)
static LPWSTR replace_stack_prop (FORMAT *format, STACK *values, BOOL *propfound, BOOL *nonprop, int *oldsize, int *type)
static UINT replace_stack (FORMAT *format, STACK *stack, STACK *values)
static BOOL verify_format (LPWSTR data)
static DWORD deformat_string_internal (MSIPACKAGE *package, LPCWSTR ptr, WCHAR **data, DWORD *len, MSIRECORD *record, INT *failcount)
UINT MSI_FormatRecordW (MSIPACKAGE *package, MSIRECORD *record, LPWSTR buffer, LPDWORD size)
UINT WINAPI MsiFormatRecordW (MSIHANDLE hInstall, MSIHANDLE hRecord, LPWSTR szResult, LPDWORD sz)
UINT WINAPI MsiFormatRecordA (MSIHANDLE hInstall, MSIHANDLE hRecord, LPSTR szResult, LPDWORD sz)
DWORD deformat_string (MSIPACKAGE *package, const WCHAR *ptr, WCHAR **data)

Generated on Sat May 26 2012 04:43:40 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.