23#define KEY_MAX_LEN 1024
27#define KEY_VALUE_ALREADY_SET 2
49#define get_file_name get_file_nameW
51#define get_file_name get_file_nameA
86#define _tfopen _wfopen
GLenum GLuint GLenum GLsizei const GLchar * buf
LPTSTR getRegKeyName(LPTSTR lpLine)
void processQueryValue(LPTSTR cmdline)
void doDeleteKey(LPTSTR lpsLine)
void(* CommandAPI)(LPTSTR lpsLine)
LPVOID RegHeapReAlloc(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem, SIZE_T dwBytes)
LPTSTR convertHexToHexCSV(BYTE *buf, ULONG len)
void doSetValue(LPTSTR lpsLine)
void get_file_nameA(CHAR **command_line, CHAR *filename, int max_filename)
HRESULT openKey(LPTSTR stdInput)
void processSetValue(LPTSTR cmdline)
void doRegisterDLL(LPTSTR lpsLine)
HRESULT setValue(LPTSTR val_name, LPTSTR val_data)
DWORD getDataType(LPTSTR *lpValue, DWORD *parse_type)
void doUnregisterDLL(LPTSTR lpsLine)
LPTSTR convertHexToDWORDStr(BYTE *buf, ULONG len)
void doQueryValue(LPTSTR lpsLine)
void delete_registry_key(TCHAR *reg_key_name)
BOOL import_registry_file(LPTSTR filename)
DWORD convertHexToDWord(TCHAR *str, BYTE *buf)
LPVOID RegHeapAlloc(HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes)
DWORD convertHexCSVToHex(TCHAR *str, BYTE *buf, ULONG bufLen)
void doDeleteValue(LPTSTR lpsLine)
void doCreateKey(LPTSTR lpsLine)
LPTSTR getArg(LPTSTR arg)
char * getToken(char **str, const char *delims)
void processRegLines(FILE *in, CommandAPI command)
HKEY getRegClass(LPTSTR lpLine)
BOOL export_registry_key(TCHAR *file_name, TCHAR *reg_key_name)
BOOL RegHeapFree(HANDLE hHeap, DWORD dwFlags, LPVOID lpMem)
void get_file_nameW(CHAR **command_line, WCHAR *filename, int max_filename)
int parse_type(Type t, const vector< string > &tokens, int off, vector< string > &names, vector< string > &dependencies)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags