SpoolerCopyFileEvent.
- Call DisableThreadLibraryCalls on process attach.
- Document more functions.
@ stdcall DisassociateColorProfileFromDeviceW(ptr ptr ptr)
@ stdcall EnumColorProfilesA(ptr ptr ptr ptr ptr)
@ stdcall EnumColorProfilesW(ptr ptr ptr ptr ptr)
-@ stub GenerateCopyFilePaths
+@ stdcall GenerateCopyFilePaths(wstr wstr ptr long ptr ptr ptr ptr long)
@ stdcall GetCMMInfo(ptr long)
@ stdcall GetColorDirectoryA(ptr ptr long)
@ stdcall GetColorDirectoryW(ptr ptr long)
@ stdcall SetColorProfileHeader(ptr ptr)
@ stdcall SetStandardColorSpaceProfileA(ptr long ptr)
@ stdcall SetStandardColorSpaceProfileW(ptr long ptr)
-@ stub SpoolerCopyFileEvent
+@ stdcall SpoolerCopyFileEvent(wstr wstr long)
@ stdcall TranslateBitmapBits(ptr ptr long long long long ptr long long ptr long)
@ stdcall TranslateColors(ptr ptr long long ptr long)
@ stdcall UninstallColorProfileA(ptr ptr long)
switch (reason)
{
case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( hinst );
return MSCMS_init_lcms();
case DLL_PROCESS_DETACH:
MSCMS_deinit_lcms();
break;
}
-
return TRUE;
}
return ret;
}
+/******************************************************************************
+ * GetStandardColorSpaceProfileA [MSCMS.@]
+ *
+ * See GetStandardColorSpaceProfileW.
+ */
BOOL WINAPI GetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile, PDWORD size )
{
INT len;
return ret;
}
+/******************************************************************************
+ * GetStandardColorSpaceProfileW [MSCMS.@]
+ *
+ * Retrieve the profile filename for a given standard color space id.
+ *
+ * PARAMS
+ * machine [I] Name of the machine for which to get the standard color space.
+ * Must be NULL, which indicates the local machine.
+ * id [I] Id of a standard color space.
+ * profile [O] Buffer to recieve the profile filename.
+ * size [I/O] Size of the filename buffer in bytes.
+ *
+ * RETURNS
+ * Success: TRUE
+ * Failure: FALSE
+ */
BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profile, PDWORD size )
{
DWORD len;
return ret;
}
+/******************************************************************************
+ * SetColorProfileHeader [MSCMS.@]
+ *
+ * Set header data for a given profile.
+ *
+ * PARAMS
+ * profile [I] Handle to a color profile.
+ * header [I] Buffer holding the header data.
+ *
+ * RETURNS
+ * Success: TRUE
+ * Failure: FALSE
+ */
BOOL WINAPI SetColorProfileHeader( HPROFILE profile, PPROFILEHEADER header )
{
BOOL ret = FALSE;
return ret;
}
-BOOL WINAPI SetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile )
-{
- FIXME( "( 0x%08lx, %p ) stub\n", id, profile );
-
- return TRUE;
-}
-
-BOOL WINAPI SetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profile )
-{
- FIXME( "( 0x%08lx, %p ) stub\n", id, profile );
-
- return TRUE;
-}
-
/******************************************************************************
* UninstallColorProfileA [MSCMS.@]
*
return FALSE;
}
+DWORD WINAPI GenerateCopyFilePaths( LPCWSTR printer, LPCWSTR directory, LPBYTE clientinfo,
+ DWORD level, LPWSTR sourcedir, LPDWORD sourcedirsize,
+ LPWSTR targetdir, LPDWORD targetdirsize, DWORD flags )
+{
+ FIXME( "( %s, %s, %p, 0x%08lx, %p, %p, %p, %p, 0x%08lx ) stub\n",
+ debugstr_w(printer), debugstr_w(directory), clientinfo, level, sourcedir,
+ sourcedirsize, targetdir, targetdirsize, flags );
+ return ERROR_SUCCESS;
+}
+
DWORD WINAPI GetCMMInfo( HTRANSFORM transform, DWORD info )
{
FIXME( "( %p, 0x%08lx ) stub\n", transform, info );
return FALSE;
}
+BOOL WINAPI SetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile )
+{
+ FIXME( "( 0x%08lx, %p ) stub\n", id, profile );
+ return TRUE;
+}
+
+BOOL WINAPI SetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profile )
+{
+ FIXME( "( 0x%08lx, %p ) stub\n", id, profile );
+ return TRUE;
+}
+
+BOOL WINAPI SpoolerCopyFileEvent( LPWSTR printer, LPWSTR key, DWORD event )
+{
+ FIXME( "( %s, %s, 0x%08lx ) stub\n", debugstr_w(printer), debugstr_w(key), event );
+ return TRUE;
+}
+
BOOL WINAPI TranslateColors( HTRANSFORM transform, PCOLOR inputcolors, DWORD number,
COLORTYPE input, PCOLOR outputcolors, COLORTYPE output )
{