upatick
12-02-2002, 02:20 PM
I have a simple question that I can't find an answer to. How do you specify a negative DWORD entry in the registry? I've searched everywhere I can think of and can't find the answer. Regedit doesn't accept a negative sign as shown in Microsoft's knowledge base solution shown below. If you know how to modify a registry DWORD value to a negative 1 I'd really appreciate a response. This article was previously published under Q103411
Add or change the following value:
Key: PortThreadPriority
Type: REG_DWORD
Value: -1
Quit Registry Editor.
The default value in Windows NT 4.0 for PortThreadPriority is 0, which equals THREAD_PRIORITY_ NORMAL. The value for THREAD_PRIORITY_ABOVE_NORMAL is 1 and THREAD_PRIORITY_BELOW_NORMAL is -1.
Thank you for your assistance.
Chuck Milich
email: upatick@attbi.com
Add or change the following value:
Key: PortThreadPriority
Type: REG_DWORD
Value: -1
Quit Registry Editor.
The default value in Windows NT 4.0 for PortThreadPriority is 0, which equals THREAD_PRIORITY_ NORMAL. The value for THREAD_PRIORITY_ABOVE_NORMAL is 1 and THREAD_PRIORITY_BELOW_NORMAL is -1.
Thank you for your assistance.
Chuck Milich
email: upatick@attbi.com