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
5fa94d18
Commit
5fa94d18
authored
Dec 08, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Remove a useless string.
parent
ba5142f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
progman_dde.c
dlls/shell32/tests/progman_dde.c
+2
-4
No files found.
dlls/shell32/tests/progman_dde.c
View file @
5fa94d18
...
@@ -107,7 +107,6 @@ static char ProgramsDir[MAX_PATH];
...
@@ -107,7 +107,6 @@ static char ProgramsDir[MAX_PATH];
static
char
Group1Title
[
MAX_PATH
]
=
"Group1"
;
static
char
Group1Title
[
MAX_PATH
]
=
"Group1"
;
static
char
Group2Title
[
MAX_PATH
]
=
"Group2"
;
static
char
Group2Title
[
MAX_PATH
]
=
"Group2"
;
static
char
Group3Title
[
MAX_PATH
]
=
"Group3"
;
static
char
Group3Title
[
MAX_PATH
]
=
"Group3"
;
static
char
Startup
[
MAX_PATH
]
=
"Startup"
;
static
char
StartupTitle
[
MAX_PATH
]
=
"Startup"
;
static
char
StartupTitle
[
MAX_PATH
]
=
"Startup"
;
static
void
init_strings
(
void
)
static
void
init_strings
(
void
)
...
@@ -137,7 +136,6 @@ static void init_strings(void)
...
@@ -137,7 +136,6 @@ static void init_strings(void)
RegQueryValueExA
(
key
,
"Programs"
,
NULL
,
NULL
,
(
LPBYTE
)
&
programs
,
&
size
);
RegQueryValueExA
(
key
,
"Programs"
,
NULL
,
NULL
,
(
LPBYTE
)
&
programs
,
&
size
);
size
=
sizeof
(
startup
);
size
=
sizeof
(
startup
);
RegQueryValueExA
(
key
,
"Startup"
,
NULL
,
NULL
,
(
LPBYTE
)
&
startup
,
&
size
);
RegQueryValueExA
(
key
,
"Startup"
,
NULL
,
NULL
,
(
LPBYTE
)
&
startup
,
&
size
);
lstrcpyA
(
Startup
,
(
strrchr
(
startup
,
'\\'
)
+
1
));
RegCloseKey
(
key
);
RegCloseKey
(
key
);
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer
\\
Shell Folders"
,
&
key
);
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer
\\
Shell Folders"
,
&
key
);
...
@@ -630,9 +628,9 @@ static int DdeTestProgman(DWORD instance, HCONV hConv)
...
@@ -630,9 +628,9 @@ static int DdeTestProgman(DWORD instance, HCONV hConv)
CreateGroupTest
(
instance
,
hConv
,
"[CreateGroup(Group1)]"
,
DMLERR_NO_ERROR
,
"Group1"
,
Group1Title
,
DDE_TEST_CREATEGROUP
|
testnum
++
);
CreateGroupTest
(
instance
,
hConv
,
"[CreateGroup(Group1)]"
,
DMLERR_NO_ERROR
,
"Group1"
,
Group1Title
,
DDE_TEST_CREATEGROUP
|
testnum
++
);
/* ShowGroup Tests */
/* ShowGroup Tests */
ShowGroupTest
(
instance
,
hConv
,
"[ShowGroup(Group1)]"
,
DMLERR_NOTPROCESSED
,
Startup
,
Startup
Title
,
TRUE
,
DDE_TEST_SHOWGROUP
|
testnum
++
);
ShowGroupTest
(
instance
,
hConv
,
"[ShowGroup(Group1)]"
,
DMLERR_NOTPROCESSED
,
"Group1"
,
Group1
Title
,
TRUE
,
DDE_TEST_SHOWGROUP
|
testnum
++
);
DeleteItemTest
(
instance
,
hConv
,
"[DeleteItem(f3g1Name)]"
,
DMLERR_NO_ERROR
,
"f3g1Name.lnk"
,
"Group1"
,
DDE_TEST_DELETEITEM
|
testnum
++
);
DeleteItemTest
(
instance
,
hConv
,
"[DeleteItem(f3g1Name)]"
,
DMLERR_NO_ERROR
,
"f3g1Name.lnk"
,
"Group1"
,
DDE_TEST_DELETEITEM
|
testnum
++
);
ShowGroupTest
(
instance
,
hConv
,
"[ShowGroup(Startup,0)]"
,
DMLERR_NO_ERROR
,
Startup
,
StartupTitle
,
TRUE
,
DDE_TEST_SHOWGROUP
|
testnum
++
);
ShowGroupTest
(
instance
,
hConv
,
"[ShowGroup(Startup,0)]"
,
DMLERR_NO_ERROR
,
"Startup"
,
StartupTitle
,
TRUE
,
DDE_TEST_SHOWGROUP
|
testnum
++
);
ShowGroupTest
(
instance
,
hConv
,
"[ShowGroup(Group1,0)]"
,
DMLERR_NO_ERROR
,
"Group1"
,
Group1Title
,
FALSE
,
DDE_TEST_SHOWGROUP
|
testnum
++
);
ShowGroupTest
(
instance
,
hConv
,
"[ShowGroup(Group1,0)]"
,
DMLERR_NO_ERROR
,
"Group1"
,
Group1Title
,
FALSE
,
DDE_TEST_SHOWGROUP
|
testnum
++
);
/* DeleteGroup Test - Note that Window is Open for this test */
/* DeleteGroup Test - Note that Window is Open for this test */
...
...
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