Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-05-25 19:08:03 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-05-25 19:08:03 +0400
commited345b932c858e5f94ec285c6319e1932d337146 (patch)
treecc2a1d07dd2f078c5a5860e8ff197ec5d2ab19e6 /src/DSUtil/DSUtil.cpp
parent9a63891cea4101e3326e3d23948a59de8fcb2cbf (diff)
build.bat: remove the /package switch
DSUtil.cpp: indentation cosmetics MainFrm.cpp: remove unused variable PngImage.cpp: remove the #pragma warning(disable:4611) git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4882 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/DSUtil.cpp')
-rw-r--r--src/DSUtil/DSUtil.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/DSUtil/DSUtil.cpp b/src/DSUtil/DSUtil.cpp
index d5d3c2173..a065ed83f 100644
--- a/src/DSUtil/DSUtil.cpp
+++ b/src/DSUtil/DSUtil.cpp
@@ -2762,22 +2762,22 @@ const wchar_t *StreamTypeToName(PES_STREAM_TYPE _Type)
// Usage: SetThreadName (-1, "MainThread");
//
typedef struct tagTHREADNAME_INFO {
- DWORD dwType; // must be 0x1000
+ DWORD dwType; // must be 0x1000
LPCSTR szName; // pointer to name (in user addr space)
- DWORD dwThreadID; // thread ID (-1=caller thread)
- DWORD dwFlags; // reserved for future use, must be zero
+ DWORD dwThreadID; // thread ID (-1 caller thread)
+ DWORD dwFlags; // reserved for future use, must be zero
} THREADNAME_INFO;
void SetThreadName(DWORD dwThreadID, LPCSTR szThreadName)
{
THREADNAME_INFO info;
- info.dwType = 0x1000;
- info.szName = szThreadName;
+ info.dwType = 0x1000;
+ info.szName = szThreadName;
info.dwThreadID = dwThreadID;
- info.dwFlags = 0;
+ info.dwFlags = 0;
__try {
- RaiseException( 0x406D1388, 0, sizeof(info)/sizeof(DWORD), (ULONG_PTR*)&info );
+ RaiseException(0x406D1388, 0, sizeof(info)/sizeof(DWORD), (ULONG_PTR*)&info);
}
__except(EXCEPTION_CONTINUE_EXECUTION) {
}