20 lines
445 B
C++
20 lines
445 B
C++
#include <hookproc/enumstation.hpp>
|
|
#include <common/string.hpp>
|
|
|
|
EnumWindowStationHook::~EnumWindowStationHook()
|
|
{
|
|
}
|
|
|
|
bool EnumWindowStationHook::entryProc(LPSTR lpszWindowStation,LPARAM lParam)
|
|
{
|
|
return enumWindowStationProc(String(lpszWindowStation));
|
|
}
|
|
|
|
// *** virtuals
|
|
|
|
bool EnumWindowStationHook::enumWindowStationProc(const String &strWindowStation)
|
|
{
|
|
::OutputDebugString(String("'")+strWindowStation+String("'\n"));
|
|
return true;
|
|
}
|