Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0130a184
Commit
0130a184
authored
Jun 14, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Make some functions static.
parent
97f95d4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
localmon.c
dlls/localspl/localmon.c
+7
-7
No files found.
dlls/localspl/localmon.c
View file @
0130a184
...
...
@@ -318,7 +318,7 @@ static DWORD get_type_from_name(LPCWSTR name)
* Level 2 is documented on MSDN for Portmonitors, but not supported by the
* "Local Port" Portmonitor (localspl.dll / localmon.dll)
*/
BOOL
WINAPI
localmon_AddPortExW
(
LPWSTR
pName
,
DWORD
level
,
LPBYTE
pBuffer
,
LPWSTR
pMonitorName
)
static
BOOL
WINAPI
localmon_AddPortExW
(
LPWSTR
pName
,
DWORD
level
,
LPBYTE
pBuffer
,
LPWSTR
pMonitorName
)
{
PORT_INFO_1W
*
pi
;
HKEY
hroot
;
...
...
@@ -382,8 +382,8 @@ BOOL WINAPI localmon_AddPortExW(LPWSTR pName, DWORD level, LPBYTE pBuffer, LPWST
* "HCU\Software\Wine\Spooler\<portname>" - redirection
*
*/
BOOL
WINAPI
localmon_EnumPortsW
(
LPWSTR
pName
,
DWORD
level
,
LPBYTE
pPorts
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
,
LPDWORD
pcReturned
)
static
BOOL
WINAPI
localmon_EnumPortsW
(
LPWSTR
pName
,
DWORD
level
,
LPBYTE
pPorts
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
,
LPDWORD
pcReturned
)
{
BOOL
res
=
FALSE
;
DWORD
needed
;
...
...
@@ -428,7 +428,7 @@ cleanup:
* Failure: FALSE
*
*/
BOOL
WINAPI
localmon_XcvClosePort
(
HANDLE
hXcv
)
static
BOOL
WINAPI
localmon_XcvClosePort
(
HANDLE
hXcv
)
{
xcv_t
*
xcv
=
(
xcv_t
*
)
hXcv
;
...
...
@@ -469,8 +469,8 @@ BOOL WINAPI localmon_XcvClosePort(HANDLE hXcv)
*
*
*/
DWORD
WINAPI
localmon_XcvDataPort
(
HANDLE
hXcv
,
LPCWSTR
pszDataName
,
PBYTE
pInputData
,
DWORD
cbInputData
,
PBYTE
pOutputData
,
DWORD
cbOutputData
,
PDWORD
pcbOutputNeeded
)
static
DWORD
WINAPI
localmon_XcvDataPort
(
HANDLE
hXcv
,
LPCWSTR
pszDataName
,
PBYTE
pInputData
,
DWORD
cbInputData
,
PBYTE
pOutputData
,
DWORD
cbOutputData
,
PDWORD
pcbOutputNeeded
)
{
WCHAR
buffer
[
16
];
/* buffer for a decimal number */
LPWSTR
ptr
;
...
...
@@ -606,7 +606,7 @@ DWORD WINAPI localmon_XcvDataPort(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInput
* Failure: FALSE
*
*/
BOOL
WINAPI
localmon_XcvOpenPort
(
LPCWSTR
pName
,
ACCESS_MASK
GrantedAccess
,
PHANDLE
phXcv
)
static
BOOL
WINAPI
localmon_XcvOpenPort
(
LPCWSTR
pName
,
ACCESS_MASK
GrantedAccess
,
PHANDLE
phXcv
)
{
DWORD
len
;
xcv_t
*
xcv
;
...
...
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