return CONTAINING_RECORD(iface, BitmapImpl, IMILUnknown1_iface);
}
+#ifndef __REACTOS__
+/* This is currently unused */
static inline BitmapImpl *impl_from_IMILUnknown2(IMILUnknown2 *iface)
{
return CONTAINING_RECORD(iface, BitmapImpl, IMILUnknown2_iface);
}
+#endif
static inline BitmapLockImpl *impl_from_IWICBitmapLock(IWICBitmapLock *iface)
{
} FormatConverter;
/* https://www.w3.org/Graphics/Color/srgb */
+#ifndef __REACTOS__
static inline float from_sRGB_component(float f)
{
if (f <= 0.04045f) return f / 12.92f;
return powf((f + 0.055f) / 1.055f, 2.4f);
}
+#endif
static inline float to_sRGB_component(float f)
{
WriteFile(pipe_handle, buf, strlen(buf)+1, &written, NULL);
}
+#if 0
static inline void service_trace(const char *msg, ...)
{
va_list valist;
send_msg("TRACE", buf);
}
+#endif
static void service_ok(int cnd, const char *msg, ...)
{
{
PCWSTR HiveName;
PCWSTR RegMountPoint;
- } HIVE_LIST_ENTRY, *PHIVE_LIST_ENTRY;
+ } HIVE_LIST_ENTRY;
static const HIVE_LIST_ENTRY RegistryHives[] =
{