summaryrefslogtreecommitdiff
path: root/include/m_protoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r--include/m_protoint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index 5a7df174cf..53a87d8f2b 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -67,7 +67,7 @@ struct MIR_APP_EXPORT PROTO_INTERFACE : public MZeroedObject
{
protected:
- MWindowList m_hWindowList; // list of all windows which belong to this protocol's instance
+ MWindowList m_hWindowList = 0; // list of all windows which belong to this protocol's instance
public:
int m_iStatus; // current protocol status
@@ -76,9 +76,9 @@ public:
int m_iVersion; // version 2 or higher designate support of Unicode services
wchar_t* m_tszUserName; // human readable protocol's name
char* m_szModuleName; // internal protocol name, also its database module name
- HANDLE m_hProtoIcon; // icon to be displayed in the account manager
- HNETLIBUSER m_hNetlibUser; // network agent
- HGENMENU m_hmiMainMenu; // if protocol menus are displayed in the main menu, this is the root
+ HANDLE m_hProtoIcon = 0; // icon to be displayed in the account manager
+ HNETLIBUSER m_hNetlibUser = 0; // network agent
+ HGENMENU m_hmiMainMenu = 0; // if protocol menus are displayed in the main menu, this is the root
HGENMENU m_hmiReqAuth; // a menu item for /RequestAuth service
HGENMENU m_hmiGrantAuth; // a menu item for /GrantAuth service
HGENMENU m_hmiRevokeAuth; // a menu item for /RevokeAuth service