if (machine || !size) return FALSE;
- GetSystemDirectoryW( colordir, sizeof(colordir) / sizeof(WCHAR) );
+ GetSystemDirectoryW( colordir, ARRAY_SIZE( colordir ));
lstrcatW( colordir, colorsubdir );
len = lstrlenW( colordir ) * sizeof(WCHAR);
static BOOL header_from_file( LPCWSTR file, PPROFILEHEADER header )
{
+ static const WCHAR slash[] = {'\\',0};
BOOL ret;
PROFILE profile;
- WCHAR path[MAX_PATH], slash[] = {'\\',0};
+ WCHAR path[MAX_PATH];
DWORD size = sizeof(path);
HANDLE handle;
BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer,
PDWORD size, PDWORD number )
{
+ static const WCHAR spec[] = {'\\','*','i','c','m',0};
BOOL match, ret = FALSE;
- WCHAR spec[] = {'\\','*','i','c','m',0};
WCHAR colordir[MAX_PATH], glob[MAX_PATH], **profiles = NULL;
DWORD i, len = sizeof(colordir), count = 0, totalsize = 0;
PROFILEHEADER header;
#endif /* HAVE_LCMS2 */
return ret;
}
+
+/******************************************************************************
+ * WcsGetUsePerUserProfiles [MSCMS.@]
+ */
+BOOL WINAPI WcsGetUsePerUserProfiles( const WCHAR* name, DWORD class, BOOL* use_per_user_profile )
+{
+ FIXME( "%s %s %p\n", debugstr_w(name), dbgstr_tag(class), use_per_user_profile );
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+ return FALSE;
+}
+
+/******************************************************************************
+ * WcsEnumColorProfilesSize [MSCMS.@]
+ */
+BOOL WINAPI WcsEnumColorProfilesSize( WCS_PROFILE_MANAGEMENT_SCOPE scope, ENUMTYPEW *record, DWORD *size )
+{
+ FIXME( "%d %p %p\n", scope, record, size );
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
+ return FALSE;
+}