Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
- index 401931b..3712869 100644
- --- a/app/mainwindow.cpp
- +++ b/app/mainwindow.cpp
- @@ -709,25 +709,6 @@ void Foo::MainWindow::on_actionWidget_triggered()
- qDebug() << qo;
- }
- -
- -
- -// WinPropProc is an application-defined callback function
- -// that lists a window property.
- -#define BUFFER 2000
- -extern "C" BOOL CALLBACK WinPropProc(
- - HWND hwndSubclass, // handle of window with property
- - LPCSTR lpszString, // property string or atom
- - HANDLE hData) // data handle
- -{
- - static int nProp = 1; // property counter
- - TCHAR tchBuffer[BUFFER]; // expanded-string buffer
- - size_t * nSize; // size of string in buffer
- - if (!IsBadReadPtr(lpszString,1))
- - qDebug() <<lpszString;
- -
- - return TRUE;
- -}
- -
- void Foo::MainWindow::on_actionPtrs_triggered()
- {
- QByteArray a("\t\007ab\372");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement