Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
639a87cb
Commit
639a87cb
authored
Mar 09, 2005
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Implementation stubs for GenerateCopyFilePaths,
SpoolerCopyFileEvent. - Call DisableThreadLibraryCalls on process attach. - Document more functions.
parent
32704950
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
17 deletions
+65
-17
mscms.spec
dlls/mscms/mscms.spec
+2
-2
mscms_main.c
dlls/mscms/mscms_main.c
+1
-1
profile.c
dlls/mscms/profile.c
+34
-14
stub.c
dlls/mscms/stub.c
+28
-0
No files found.
dlls/mscms/mscms.spec
View file @
639a87cb
...
...
@@ -16,7 +16,7 @@
@ stdcall DisassociateColorProfileFromDeviceW(ptr ptr ptr)
@ stdcall EnumColorProfilesA(ptr ptr ptr ptr ptr)
@ stdcall EnumColorProfilesW(ptr ptr ptr ptr ptr)
@ st
ub GenerateCopyFilePaths
@ st
dcall GenerateCopyFilePaths(wstr wstr ptr long ptr ptr ptr ptr long)
@ stdcall GetCMMInfo(ptr long)
@ stdcall GetColorDirectoryA(ptr ptr long)
@ stdcall GetColorDirectoryW(ptr ptr long)
...
...
@@ -52,7 +52,7 @@
@ stdcall SetColorProfileHeader(ptr ptr)
@ stdcall SetStandardColorSpaceProfileA(ptr long ptr)
@ stdcall SetStandardColorSpaceProfileW(ptr long ptr)
@ st
ub SpoolerCopyFileEvent
@ st
dcall 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)
...
...
dlls/mscms/mscms_main.c
View file @
639a87cb
...
...
@@ -125,12 +125,12 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinst
);
return
MSCMS_init_lcms
();
case
DLL_PROCESS_DETACH
:
MSCMS_deinit_lcms
();
break
;
}
return
TRUE
;
}
dlls/mscms/profile.c
View file @
639a87cb
...
...
@@ -340,6 +340,11 @@ BOOL WINAPI GetCountColorProfileElements( HPROFILE profile, PDWORD count )
return
ret
;
}
/******************************************************************************
* GetStandardColorSpaceProfileA [MSCMS.@]
*
* See GetStandardColorSpaceProfileW.
*/
BOOL
WINAPI
GetStandardColorSpaceProfileA
(
PCSTR
machine
,
DWORD
id
,
PSTR
profile
,
PDWORD
size
)
{
INT
len
;
...
...
@@ -378,6 +383,22 @@ BOOL WINAPI GetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile
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
;
...
...
@@ -595,6 +616,19 @@ BOOL WINAPI SetColorProfileElement( HPROFILE profile, TAGTYPE type, DWORD offset
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
;
...
...
@@ -614,20 +648,6 @@ BOOL WINAPI SetColorProfileHeader( HPROFILE profile, PPROFILEHEADER header )
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.@]
*
...
...
dlls/mscms/stub.c
View file @
639a87cb
...
...
@@ -130,6 +130,16 @@ BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer,
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
);
...
...
@@ -202,6 +212,24 @@ BOOL WINAPI SetColorProfileElementSize( HPROFILE profile, TAGTYPE type, DWORD si
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment