#include <windows.h>
#include <commctrl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ut_types.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_string.h"
#include "ut_go_file.h"
#include "ut_Win32LocaleString.h"
#include "xap_Frame.h"
#include "xap_Win32App.h"
#include "xap_Win32Slurp.h"
#include "xap_Prefs.h"
Defines | |
#define | MY_DDE_TOPICNAME L"System" |
#define | VALUE_DDEEXEC_OPEN "[Open(\"%1\")]" |
#define | FORMAT_OUR_INDIRECTION "AbiSuite.%s" |
#define | CONTENT_TYPE_KEY "Content Type" |
#define | DOCUMENT_ICON_POSITION 2 |
#define | xx(s) ((LPBYTE)(s)),(strlen(s)+1) |
#define | xxw(s) ((LPBYTE)(s)),((lstrlenW(s)+1)<<1) |
#define | KILLKEY(k) do { if (k) RegCloseKey(k); (k) = 0; } while (0) |
Enumerations | |
enum | XX_Status { X_Error, X_CreatedKey, X_ExistingKey } |
Functions | |
static HDDEDATA CALLBACK | s_DdeServerCallback (UINT uType, UINT uFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2) |
static XX_Status | _fetchKey (HKEY k1, const char *szSubKey, HKEY *pkNew) |
Variables | |
static XAP_Win32Slurp * | s_Slurp = NULL |
#define CONTENT_TYPE_KEY "Content Type" |
Referenced by XAP_Win32Slurp::stuffRegistry().
#define DOCUMENT_ICON_POSITION 2 |
Referenced by XAP_Win32Slurp::stuffRegistry().
#define FORMAT_OUR_INDIRECTION "AbiSuite.%s" |
#define KILLKEY | ( | k | ) | do { if (k) RegCloseKey(k); (k) = 0; } while (0) |
Referenced by XAP_Win32Slurp::stuffRegistry().
#define MY_DDE_TOPICNAME L"System" |
Referenced by XAP_Win32Slurp::connectSlurper(), and XAP_Win32Slurp::stuffRegistry().
#define VALUE_DDEEXEC_OPEN "[Open(\"%1\")]" |
Referenced by XAP_Win32Slurp::stuffRegistry().
Referenced by GR_Font::s_getGenericFontProperties(), and XAP_Win32Slurp::stuffRegistry().
Referenced by XAP_Win32Slurp::stuffRegistry().
enum XX_Status |
static XX_Status _fetchKey | ( | HKEY | k1, | |
const char * | szSubKey, | |||
HKEY * | pkNew | |||
) | [static] |
References UT_ASSERT, UT_DEBUGMSG, and UT_SHOULD_NOT_HAPPEN.
Referenced by XAP_Win32Slurp::stuffRegistry().
static HDDEDATA CALLBACK s_DdeServerCallback | ( | UINT | uType, | |
UINT | uFmt, | |||
HCONV | hConv, | |||
HSZ | hsz1, | |||
HSZ | hsz2, | |||
HDDEDATA | hData, | |||
DWORD | dwData1, | |||
DWORD | dwData2 | |||
) | [static] |
References XAP_Win32Slurp::doCallback().
Referenced by XAP_Win32Slurp::connectSlurper().
XAP_Win32Slurp* s_Slurp = NULL [static] |