switch (msg)
{
case WM_INITDIALOG:
- SetWindowLong (hDlg, DWL_USER, lp);
+ SetWindowLongPtr (hDlg, DWLP_USER, lp);
Group_Rename_OnInitDialog (hDlg);
break;
void Group_Rename_OnInitDialog (HWND hDlg)
{
- ASID idGroup = (ASID)GetWindowLong (hDlg, DWL_USER);
+ ASID idGroup = (ASID)GetWindowLongPtr (hDlg, DWLP_USER);
// Indicate we want to know if anything changes with this group
//
void Group_Rename_OnChangeOwner (HWND hDlg)
{
- ASID idGroup = (ASID)GetWindowLong (hDlg, DWL_USER);
+ ASID idGroup = (ASID)GetWindowLongPtr (hDlg, DWLP_USER);
BROWSE_PARAMS pp;
memset (&pp, 0x00, sizeof(pp));
void Group_Rename_OnOK (HWND hDlg)
{
- ASID idGroup = (ASID)GetWindowLong (hDlg, DWL_USER);
+ ASID idGroup = (ASID)GetWindowLongPtr (hDlg, DWLP_USER);
LPGROUP_RENAME_PARAMS lpp = New (GROUP_RENAME_PARAMS);
memset (lpp, 0x00, sizeof(GROUP_RENAME_PARAMS));
void Group_Rename_UpdateDialog (HWND hDlg)
{
- ASID idGroup = (ASID)GetWindowLong (hDlg, DWL_USER);
+ ASID idGroup = (ASID)GetWindowLongPtr (hDlg, DWLP_USER);
// Get the current properties for this group
//