Pager_GetDropTarget macro

Retrieves a pager control's IDropTarget interface pointer. You can use this macro or send the PGM_GETDROPTARGET message explicitly.

Syntax


void Pager_GetDropTarget(
   HWND        hwndPager,
   IDropTarget **ppDropTarget
);

Parameters

hwndPager

Type: HWND

Handle to the pager control.

ppDropTarget

Type: IDropTarget**

Pointer to an IDropTarget pointer that receives the interface pointer. It is the caller's responsibility to call Release on this pointer when it is no longer needed.

Return value

This macro does not return a value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: