Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
---
I have been unable to locate a program that requires these. (However, due to
ease of implementation, and the fact that the ntdll side of ProcessExecuteFlags
is already implemented, I am inclined to believe that they're worth implementing
anyway.)
programs/wineboot/wineboot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index 05a5ee6aa62..9427448b612 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -291,6 +291,7 @@ static void create_user_shared_data(void)
data->NtMinorVersion = version.dwMinorVersion;
data->SuiteMask = version.wSuiteMask;
data->NumberOfPhysicalPages = sbi.MmNumberOfPhysicalPages;
+ data->NXSupportPolicy = NX_SUPPORT_POLICY_OPTIN;
wcscpy( data->NtSystemRoot, L"C:\\windows" );
features = data->ProcessorFeatures;
--
2.30.0
dlls/include/mmsystem.h:#define MAXPNAMELEN 32 /* max product name
length (including NULL) */
I wanted to know what the reason was for bounding this string to only 32
bytes (actually 31 + null). We have a situation with identical devices and
need to add some differentiating text to that string when multiple
identical devices exist so that applications can choose the correct
device.
Our device product string is "USB PnP Sound Device" (20 chars).
mmdevdrv.c:static WCHAR *construct_device_id() then prefixs with either
"In: " (4 chars) or "Out: " (5 chars) and concatenates " - USB" (6 chars).
In: USB PnP Sound Device - USB
Out: USB PnP Sound Device - USB
Total string length is 30 or 31 characters. Any additional text added at
the end will get truncated and a prefix will cause the existing string to
be truncated.
-Doug-
We don't do this in pull mode (and in general never have; avidemux and wavparse
are two examples of GStreamer elements that don't flush the upstream pad when
deactivating).
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
---
dlls/winegstreamer/gstdemux.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index a4d49c75a1b..b2a20934837 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1424,12 +1424,10 @@ static gboolean activate_push(GstPad *pad, gboolean activate)
EnterCriticalSection(&This->filter.filter_cs);
if (!activate) {
TRACE("Deactivating\n");
- IAsyncReader_BeginFlush(This->reader);
if (This->push_thread) {
pthread_join(This->push_thread, NULL);
This->push_thread = 0;
}
- IAsyncReader_EndFlush(This->reader);
if (This->filter.state == State_Stopped)
This->nextofs = This->start;
} else if (!This->push_thread) {
--
2.30.0
Some programs parse this string to get the Windows version!
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
---
cmd seems to use the same string for "cmd /c ver" and the first line of
"cmd /?".
On Windows 10 neither string is translated in the locales I checked
(French, Japanese, Chinese, Hebrew). That does not prove it's never
translated but it does look like it isn't.
So maybe that justifies moving the string out of the resource file so it
does not appear in the PO files. If so I can resubmit a modified
version.
programs/cmd/cmd.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/cmd/cmd.rc b/programs/cmd/cmd.rc
index fa604a6db56..04401dc4886 100644
--- a/programs/cmd/cmd.rc
+++ b/programs/cmd/cmd.rc
@@ -393,7 +393,7 @@ Enter HELP <command> for further information on any of the above commands.\n"
WCMD_NOPATH, "PATH not found\n"
WCMD_ANYKEY,"Press any key to continue... "
WCMD_CONSTITLE,"Wine Command Prompt"
- WCMD_VERSION,"Microsoft Windows %1!S!\n"
+ WCMD_VERSION,"Microsoft Windows [Version %1!S!]\n"
WCMD_MOREPROMPT, "More? "
WCMD_LINETOOLONG, "The input line is too long.\n"
WCMD_VOLUMELABEL, "Volume in drive %1!c! is %2\n"
--
2.20.1