13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MAKEINTRESOURCEMAKEINTRESOURCESyntaxLPSTR MAKEINTRESOURCE (nInteger)type MakeIntResource = Pstr;This macro converts an integer value into a long pointer to a string, withthe high-order word of the long pointer set to zero.Parameters nlnteger int Specifies the integer value to be c9nverted.Return valueThe return value points to a string.MAKELONGSyntaxParametersReturn valueDWORD MAKELONG(wLow, wHigh)function MakeLong(A, B: Word): Longint;This macro creates an unsigned long integer by concatenating two integervalues, specified by the wLow and wHigh parameters.wLowwHighWORD Specifies the low-order word of the new long value.WORD Specifies the high-order word of the new long value.The return value specifies an unsigned long-integer value.MAKEPOINTSyntaxPOINT MAKEPOINT(dwInteger)type MakePoint = TPoint;This macro converts a long value that contains the x- and y-coordinates ofa point into a POINT data structure.Parameters dwlnteger DWORD Specifies the x- and y-coordinates of a point.Return valueThe return value specifies the POINT data structure.MakeProclnstanceSyntaxFARPROC MakeProcInstance(lpProc, hInstance)function MakeProcInstance(Proc: TFarProc; Instance: THandle): TFarProc;Chapter 4, Functions directory 429

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!