150 if (answer[0] == Ybuffer[0])
152 if (answer[0] == Nbuffer[0])
162 (input_path[
length] == 0 || input_path[
length] ==
'\\'));
183 if (
i < 3 || (
key[
i - 1] ==
'\\' &&
key[
i - 2] ==
'\\'))
189 if (
key[0] ==
'\\' &&
key[1] ==
'\\' &&
key[2] !=
'\\')
262 if (*
p ==
'\\') *
p = 0;
277 return ((
s[0] ==
'/' ||
s[0] ==
'-') &&
is_char(
s[1],
c));
299 static const struct op_info op_array[] =
316 *op_help =
ptr->help_id;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
int reg_add(int argc, WCHAR *argvW[])
int reg_copy(int argc, WCHAR *argvW[])
int reg_delete(int argc, WCHAR *argvW[])
int reg_export(int argc, WCHAR *argvW[])
int reg_import(int argc, WCHAR *argvW[])
int reg_query(int argc, WCHAR *argvW[])
void output_writeconsole(const WCHAR *str, DWORD wlen)
static enum operations get_operation(const WCHAR *str, int *op_help)
static BOOL is_help_switch(const WCHAR *s)
static const struct @2 root_rels[]
WCHAR * get_long_key(HKEY root, WCHAR *path)
static void output_formatstring(const WCHAR *fmt, va_list va_args)
BOOL is_char(const WCHAR s, const WCHAR c)
BOOL is_switch(const WCHAR *s, const WCHAR c)
HKEY path_get_rootkey(const WCHAR *path)
static BOOL sane_path(const WCHAR *key)
WCHAR * build_subkey_path(WCHAR *path, DWORD path_len, WCHAR *subkey_name, DWORD subkey_len)
void WINAPIV output_string(const WCHAR *fmt,...)
static BOOL path_rootname_cmp(const WCHAR *input_path, const WCHAR *rootkey_name)
BOOL ask_confirm(unsigned int msgid, WCHAR *reg_info)
void WINAPIV output_message(unsigned int id,...)
const struct reg_type_rels type_rels[]
BOOL parse_registry_key(const WCHAR *key, HKEY *root, WCHAR **path)
#define STRING_IMPORT_USAGE
#define STRING_INVALID_KEY
#define STRING_INVALID_SYNTAX
#define STRING_DEFAULT_VALUE
#define STRING_DELETE_USAGE
#define STRING_INVALID_OPTION
#define STRING_INVALID_SYSTEM_KEY
#define STRING_QUERY_USAGE
#define STRING_COPY_USAGE
#define STRING_REG_VIEW_USAGE
#define STRING_EXPORT_USAGE
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
#define WideCharToMultiByte
UINT WINAPI DECLSPEC_HOTPATCH GetConsoleOutputCP(VOID)
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleW(IN HANDLE hConsoleOutput, IN CONST VOID *lpBuffer, IN DWORD nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved)
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleW(IN HANDLE hConsoleInput, OUT LPVOID lpBuffer, IN DWORD nNumberOfCharsToRead, OUT LPDWORD lpNumberOfCharsRead, IN PCONSOLE_READCONSOLE_CONTROL pInputControl OPTIONAL)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
GLuint GLuint GLsizei count
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HLOCAL NTAPI LocalFree(HLOCAL hMem)
static PEXPLICIT_ACCESSW *static HMODULE hmod
static const WCHAR invalid[]
#define REG_DWORD_LITTLE_ENDIAN
#define REG_DWORD_BIG_ENDIAN
_CRTIMP wchar_t *__cdecl _wcsupr(_Inout_z_ wchar_t *_String)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
#define STD_OUTPUT_HANDLE
DWORD WINAPI GetLastError(void)
#define FORMAT_MESSAGE_FROM_STRING
#define FORMAT_MESSAGE_ALLOCATE_BUFFER
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_CONFIG
#define HKEY_CURRENT_USER
#define HKEY_CLASSES_ROOT
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)