44
DGetSisterDisplayNumberMM
(Windows 2000, multi-monitor mode only)
Purpose Use
Windows 2000 display number of the sister display.
Syntax
DWORD FAR PASCAL DGetSisterDisplayNumberMM
(hdc, nDisplay, lpDisplayNum)
Parameter
Type
HDC
UWORD
UWORD FAR
Return value Zero (0) if successful; otherwise, an error message.
Example This example returns the Windows 2000 display number
of the sister display.
#include <mdpcint.h>
{
HDC
UWORD
DWORD
UWORD
dwRetCode = DGetSisterDisplayNumberMM
return dwRetCode;
}
See also
DGetSisterDisplayRegPathMM
DGetSisterDisplayNumberMM
DGetSisterDisplayNumberMM Parameters
Name
hdc
nDisplay
*DisplayNum
hdc;
nDisplay = (UWORD) Win2000DisplayNum |
WIN2K_DISPLAY_NUMBER;
dwRetCode;
nSisterDisplay;
(NULL, nDisplay, &nSisterDisplay);
DGetSisterDisplayNumberMM
to return the
Description
Handle to the display-device
context
Target display
On successful return,
contains the Windows 2000
display number of the sister
display