summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/qtestlib/wince/remotelib/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qtestlib/wince/remotelib/commands.cpp b/tools/qtestlib/wince/remotelib/commands.cpp
index 38bfade..d80aa05 100644
--- a/tools/qtestlib/wince/remotelib/commands.cpp
+++ b/tools/qtestlib/wince/remotelib/commands.cpp
@@ -202,7 +202,7 @@ int qRemotePowerButton(DWORD, BYTE*, DWORD*, BYTE**, IRAPIStream* stream)
//PPN_OEMBASE Greater than or equal to 0x10000
//You can define higher values, such as 0x10001, 0x10002, and so on.
// Reserved. Set dwData to zero (0).
- returnValue = PowerPolicyNotify(PPN_POWERBUTTONPRESSED, 0);
+ returnValue = PowerPolicyNotify(PPN_SUSPENDKEYPRESSED, 0);
if (S_OK != stream->Write(&returnValue, sizeof(returnValue), &bytesRead))
return -3;