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
b8b55de6
Commit
b8b55de6
authored
Dec 04, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Annotate allocation functions with __WINE_(DEALLOC|MALLOC).
parent
1f4532d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
winecfg.h
programs/winecfg/winecfg.h
+4
-3
No files found.
programs/winecfg/winecfg.h
View file @
b8b55de6
...
@@ -54,14 +54,15 @@ extern WCHAR* current_app; /* NULL means editing global settings */
...
@@ -54,14 +54,15 @@ extern WCHAR* current_app; /* NULL means editing global settings */
void
set_reg_key
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
,
const
WCHAR
*
value
);
void
set_reg_key
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
,
const
WCHAR
*
value
);
void
set_reg_key_dword
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
,
DWORD
value
);
void
set_reg_key_dword
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
,
DWORD
value
);
WCHAR
*
get_reg_key
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
,
const
WCHAR
*
def
);
WCHAR
*
get_reg_key
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
,
const
WCHAR
*
def
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
BOOL
reg_key_exists
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
);
BOOL
reg_key_exists
(
HKEY
root
,
const
WCHAR
*
path
,
const
WCHAR
*
name
);
void
apply
(
void
);
void
apply
(
void
);
WCHAR
**
enumerate_values
(
HKEY
root
,
const
WCHAR
*
path
);
WCHAR
**
enumerate_values
(
HKEY
root
,
const
WCHAR
*
path
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
/* Load a string from the resources. Allocated with malloc */
/* Load a string from the resources. Allocated with malloc */
WCHAR
*
load_string
(
UINT
id
)
;
WCHAR
*
load_string
(
UINT
id
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
/* returns a string of the form "AppDefaults\\appname.exe\\section", or just "section" if
/* returns a string of the form "AppDefaults\\appname.exe\\section", or just "section" if
the user is editing the global settings.
the user is editing the global settings.
...
...
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