`REFERENCE GUIDE
`
`BORLAND
`
`Legend3D, Inc. Ex. 2011-0001
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`Windows API Guide
`
`Reference
`
`Volume 3
`
`Version 3.1
`for the MS-DOS and PC-DOS
`Operating Systems
`
`BORLAND INTERNATIONAL INC, 1800 GREEN HILLS ROAD
`P,O, BOX 660001, SCOTTS VALLEY, CA 95067-0001
`
`Legend3D, Inc. Ex. 2011-0002
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`Copyright © 1992 by Borland International. All rights reserved.
`All Borland products are trademarks or registered trademarks of
`Borland International, Inc. Other brand and product names are
`trademarks or registered trademarks of their respective holders.
`
`PRINTED IN THE USA.
`109876543
`
`Legend3D, Inc. Ex. 2011-0003
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`c
`
`o
`
`n
`
`t
`
`e
`
`n
`
`t
`
`s
`
`Chapter 1 Common dialog
`box library
`1
`Using Color dialog boxes ............... 3
`Color models used by the Color
`dialog box .......................... 4
`RGB color model ................. 4
`HSL color model ................. 6
`Converting HSL values to RGB
`values ...................... , ... 6
`Using the Color dialog box to display
`basic colors ......................... 7
`Initializing the CHOOSE COLOR
`structure ........................ 7
`Calling the ChooseColor function .. 8
`Using the Color dialog box to
`display custom colors ................ 8
`Initializing the CHOOSECOLOR
`structure . . . . . . . . . . . . . . . . . . . . . . . . 8
`Calling the ChooseColor function .. 9
`Using Font dialog boxes ............... 11
`Displaying the Font dialog box in
`your application .................... 11
`Using Open and Save As dialog boxes ... 13
`Displaying the Open dialog
`box in your application .............. 13
`Displaying the Save As dialog box in
`your application .................... 16
`Monitoring list box controls in an
`Open or Save As dialog box .......... 18
`Monitoring filenames in an Open or
`Save As dialog box ................. 19
`Using Print and Print Setup dialog
`boxes ................................ 20
`
`Device drivers and the Print
`dialog box ......................... 21
`Displaying a Print dialog box for
`the default printer .................. 21
`Using Find and Replace dialog boxes .... 23
`Displaying the Find dialog box ....... 23
`Displaying
`the Replace dialog box .............. 25
`Processing dialog box messages for a
`Find or Replace dialog box .......... 26
`Customizing common dialog boxes ..... 27
`Appropriate and inappropriate
`customizations ..................... 27
`Hook functions and custom dialog
`box templates ...................... 28
`Hook function . . . . . . . . . . . . . . . . . . 28
`Customizing a dialog box
`.
`template ....................... 31
`Displaying
`the custom dialog box ............... 32
`Supporting help for the common
`dialog boxes . . . . . . . . . . . . . . . . . . . . . . . . . . 34
`Error detection ....................... 35
`
`Chapter 2 Dynamic Data Exchange
`37
`Management Library
`Basic concepts ..... . . . . . . . . . . . . . . . . . . . 38
`Client and server interaction ......... 39
`Transactions and the DDE callback
`function . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
`Service names, topic names, and
`item names ........................ 40
`System topic ....................... 40
`Initialization ......................... 42
`
`Legend3D, Inc. Ex. 2011-0004
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`Callback function ..................... 43
`String management ................... 45
`Name service ......................... 47
`Service-name registration ............ 47
`Service-name filter .................. 48
`Conversation management ............. 48
`Single conversations ................ 48
`Multiple conversations .............. 52
`Data management ..................... 54
`Transaction management .............. 57
`Request transaction ................. 57
`Poke transaction .................... 58
`Advise transaction .................. 59
`Execute transaction ................. 60
`Synchronous and asynchronous
`transactions ........................ 61
`Transaction control ................. 62
`Transaction classes ................. 63
`Transaction summary ............... 64
`Error detection ....................... 66
`Monitoring applications ............... 66
`
`Chapter 3 Object linking and embedding
`libraries
`71
`Basics of object linking and embedding .. 71
`Compound documents .............. 72
`Linked and embedded objects ........ 73
`Packages ....................... 74
`Verbs .......................... 74
`Benefits of object linking and
`embedding ........................ 75
`Choosing between OLE and the
`DDEML ........................... 76
`Using OLE for standard
`DOE operations ................ 77
`Using both OLE
`and the DDEML ................ 79
`Data transfer in object linking and
`embedding ........................... 79
`Client applications .................. 80
`
`Server applications ................. 80
`Object handlers .................... 80
`Communication between OLE
`libraries ........................... 81
`Clipboard conventions .............. 81
`Registration ........................ 85
`Registration database ........... 85
`Version control
`for servers ..................... 87
`Client user interface ................ 88
`New and changed commands .... 88
`Using packages ................. 91
`Server user interface ................ 92
`Updating objects from
`multiple-instance servers ........ 92
`Updating objects from
`single-instance servers .......... 93
`Object storage formats .............. 93
`Client applications .................... 95
`Starting a client application .......... 96
`Opening a compound document ..... 97
`Document management ............. 98
`Saving a document ................. 99
`Closing a document ................ 99
`Asynchronous operations ........... 99
`Displaying and printing objects ..... 102
`Opening and closing objects ......... 102
`Deleting objects ................... 103
`Client Cut and Copy commands .... 103
`Creating objects ................... 105
`Object-creation functions ....... 105
`Paste and Paste Link commands. 107
`Undo command ................... 108
`Class Name Object command ....... 109
`Links command . . . . . . . . . . . . . . . . . . . 109
`Closing a client application ......... 110
`Server applications ................... 111
`Starting a server application ........ 112
`Opening a document or object ...... 114
`
`Windows API Guide
`
`Legend3D, Inc. Ex. 2011-0005
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`Server Cut and Copy commands .... 115
`Update, Save As, and New
`commands ........................ 116
`Closing a server application ......... 117
`Object handlers .... . . . . . . . . . . . . . . . . . . 119
`Implementing object handlers ....... 119
`Creating objects in an object handler . 122
`DefCreateFromClip and
`DllCreateFromClip ............. 122
`DefLoadFromStream and
`DllLoadFromStream ........... 123
`Direct use of Dynamic Data Exchange .. 124
`Client applications and direct use
`of Dynamic Data Exchange ......... 124
`Server applications and direct use of
`Dynamic Data Exchange ........... 127
`Conversations ..................... 128
`Items for the system topic .......... 128
`Standard item names and notification
`control ........................... 129
`Standard commands in DOE
`execute strings .................... 131
`International execute
`commands .................... 131
`Required commands ........... 132
`Variants on required
`commands .................... 134
`
`135
`Chapter 4 Functions
`AbortDoc ......................... 135
`AbortProc ........................ 136
`AllocDiskSpace ................... 136
`AllocFileHandles .................. 137
`AllocGDIMem .................... 138
`AllocMem ........................ 139
`AllocUserMem .................... 139
`CallN extHookEx .................. 140
`CallWndProc ..................... 140
`CBTProc .......................... 141
`ChooseColor . . . . . . . . . . . . . . . . . . . . . . 145
`
`ChooseFont . . . . . . . . . . . . . . . . . . . . . . . 147
`ClassFirst . . . . . . . . . . . . . . . . . . . . . . . . . 148
`ClassNext ........................ 149
`CloseDriver ....................... 150
`CommDlgExtendedError '" .. '" ... 151
`CopyCursor ...................... 154
`Copylcon ., '" .................... 155
`CopyLZFile .................. '" .. 155
`CPIAppiet ........................ 157
`CreateScalableFontResource ........ 157
`DdeAbandonTransaction ........... 160
`DdeAccessData ................... 162
`DdeAddData ..................... 163
`DdeCallback . . . . . . . . . . . . . . . . . . . . .. 165
`DdeClientTransaction . . . . . . . . . . . . . . 167
`DdeCmpStringHandles ............ 170
`DdeConnect ...................... 172
`DdeConnectList ................... 174
`DdeCreateDataHandle ............. 176
`DdeCreateStringHandle . . . . . . . . . . . . 179
`DdeDisconnect .................... 181
`DdeDisconnectList ................ 181
`DdeEnableCallback ................ 182
`DdeFreeDataHandle ............... 183
`DdeFreeStringHandle .............. 185
`DdeGetData ...................... 186
`DdeGetLastError .................. 187
`DdeInitialize . . . . . . . . . . . . . . . . . . . . . . 190
`DdeKeepStringHandle . . . . . . . . . . . . . 194
`DdeNameService .................. 195
`DdePostAdvise ................... 197
`DdeQueryConvInfo ............... 199
`DdeQueryNextServer .............. 200
`DdeQueryString .................. 202
`DdeReconnect .................... 203
`DdeSetUserHandle ................ 204
`DdeUnaccessData ................. 205
`DdeUninitialize ................... 206
`
`Table of Contents
`
`iii
`
`Legend3D, Inc. Ex. 2011-0006
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`DebugOutput ..................... 207
`DebugProc ....................... 208
`DeillriverProc .................... 209
`DirectedYield ..................... 210
`DIgDirSelectComboBoxEx .......... 211
`DIgDirSelectEx .................... 212
`DragAcceptFiles ................... 213
`DragFinish ........................ 213
`DragQueryFile .................... 214
`DragQueryPoint ................... 214
`DriverProc ........................ 215
`EnableCommNotification ........... 217
`EnableScrollBar ................... 218
`EndDoc .......................... 220
`EndPage .......................... 220
`EnumFontFamilies ................. 221
`EnumFontFamProc ................ 222
`EnumFontsProc ................... 225
`EnumMetaFileProc ................ 227
`EnumObjectsProc ................. 228
`EnumPropFixedProc ., ............. 230
`EnumPropMovableProc ............ 231
`EnumTaskVVndProc ............... 232
`Enum VVindowsProc ............... 232
`ExitVVindowsExec ................. 233
`Extractlcon ....................... 234
`FindExecutable .................... 234
`FindText ......................... 236
`FMExtensionProc .................. 238
`FreeAllGDIMem .................. 239
`FreeAllMem ...................... 240
`FreeAllUserMem .................. 240
`GetAspectRatioFilterEx ............ 240
`GetBitmapDimensionEx ............ 241
`GetBoundsRect .................... 241
`GetBrushOrgEx ................... 243
`GetCharABCVVidths ............... 243
`GetClipCursor .................... 244
`
`GetCurrentPositionEx .............. 245
`GetCursor ........................ 245
`GetDCEx ......................... 246
`GetDriverInfo ..................... 247
`GetDriverModuleHandle ........... 248
`GetExpandedName ................ 249
`GetFileResource . . . . . . . . . . . . . . . . . . . 250
`GetFileResourceSize ............... 251
`GetFileTitle ....................... 252
`GetFile Versionlnfo ................ 253
`GetFile VersionlnfoSize . . . . . . . . . . . . . 254
`GetFontData ., .................... 254
`GetFreeFileHandles . . . . . . . . . . . . . . . . 257
`GetFreeSystemResources ........... 257
`GetGlyphOutline .................. 258
`GetKerningPairs .................. 260
`GetMessageExtralnfo .............. 261
`GetMsgProc ...................... 261
`GetNextDriver .................... 262
`GetOpenClipboardVVindow ........ 263
`GetOpenFileName .. , .............. 264
`GetOutlineTextMetrics ............. 266
`GetQueueStatus ................... 268
`GetRasterizerCa ps . . . . . . . . . . . . . . . . . 269
`GetSaveFileN ame ................. 270
`GetSelectorBase ................... 272
`GetSelectorLimit .................. 273
`GetSystemDebugState ............. 273
`GetSystemDir . . . . . . . . . . . . . . . . . . . . . 274
`GetTextExtentPoint ................ 275
`GetTimerResolution ............... 276
`GetViewportExtEx ................ 276
`GetViewportOrgEx ................ 276
`GetVVinDebuglnfo ................. 277
`GetVVindowExtEx ................. 278
`GetVVindowOrgEx ................. 278
`GetVVindowPlacement ............. 278
`GetVVindowsDir ................... 279
`
`iv
`
`Windows API Guide
`
`Legend3D, Inc. Ex. 2011-0007
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`GetWinMem32Version ............. 280
`Globa116PointerAlloc .............. 281
`Globa116PointerFree ............... 282
`Globa132Alloc ..................... 283
`Globa132CodeAlias ................ 285
`Globa132CodeAliasFree ............ 286
`Globa132Free ...................... 287
`Globa132Realloc ................... 287
`GlobalEntryHandle ................ 289
`GlobalEntryModule ................ 290
`GlobalFirst. ....................... 291
`GlobalHandleToSel ................ 292
`GlobalInfo ........................ 293
`GlobalN ext ....................... 293
`GrayStringProc .................... 295
`HardvvareProc .................... 295
`hardvvare_event ................... 296
`hmemcpy ......................... 297
`hread ........................... 298
`_hvvrite ........................... 298
`InterruptRegister .................. 299
`Lovv-stack Faults ............... 301
`InterruptUnRegister ............... 302
`IsBadCodePtr ..................... 303
`IsBadHugeReadPtr ................ 304
`IsBadHugeWritePtr ................ 304
`IsBadReadPtr ..................... 305
`IsBadStringPtr .................... 305
`IsBadWritePtr ..................... 306
`IsGDIObject ...................... 306
`IsMenu ........................... 307
`IsTask ............................ 307
`J ournalPlaybackProc ............... 307
`J ournalRecordProc ................. 309
`KeyboardProc ..................... 310
`LibMain .......................... 311
`LineDDAProc ..................... 312
`LoadProc ......................... 313
`
`LocalFirst ......................... 314
`LocalInfo . . . . . . . . . . . . . . . . . . . . . . . . . 315
`LocalN ext ........................ 315
`LockInput ........................ 316
`LockWindovvVpdate ............... 317
`LogError ......................... 318
`LogParamError ................... 319
`LZClose . . . . . . . . . . . . . . . . . . . . . . . . . . 322
`LZCopy .......................... 323
`LZDone .......................... 324
`LZInit ................. , .......... 325
`LZOpenFile ....................... 327
`LZRead .......................... 329
`LZSeek ........................... 331
`LZStart . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
`MapWindovvPoints ................ 333
`MemManInfo ..................... 334
`MemoryRead ..................... 335
`MemoryWrite ..................... 336
`MessageProc ...................... 337
`ModuleFindHandle . . . . . . . . . . . . . . . . 338
`ModuleFindName ................. 339
`ModuleFirst ...................... 340
`ModuleNext ...................... 341
`MouseProc ....................... 342
`MoveToEx ........................ 343
`NotifyProc ........................ 343
`NotifyRegister .................... 344
`NotifyUnRegister ................. 347
`OffsetVievvportOrgEx .............. 347
`OffsetWindovvOrgEx .............. 348
`OleActivate ....................... 349
`OleBlockServer ......... , .......... 350
`OleClone ......................... 351
`OleClose ......................... 352
`OleCopyFromLink ................ 352
`OleCopyToClipboard .............. 353
`OleCreate ........................ 354
`
`Table of Contents
`
`v
`
`Legend3D, Inc. Ex. 2011-0008
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`OleCreateFromClip ................ 355
`OleCreateFromFile ................ 357
`OleCreateFromTemplate ........... 360
`OleCreateInvisible ................. 362
`OleCreateLinkFromClip ............ 364
`OleCreateLinkFromFile ............ 366
`Ole Delete ......................... 368
`OleDraw ......................... 369
`OleEnumFormats .................. 370
`OleEnumObjects .................. 371
`OleEqual ......................... 372
`OleExecute ....................... 372
`OleGetData ....................... 373
`OleGetLinkUpdateOptions ......... 374
`OleIsDcMeta ...................... 375
`OleLoadFromStream ............... 376
`OleLockServer .................... 377
`OleObjectConvert ................. 378
`OleQueryBounds .................. 379
`OleQueryClientVersion ............ 380
`OleQueryCreateFromClip .......... 380
`OleQueryLinkFromClip ............ 382
`OleQuery~ame ................... 383
`OleQueryOpen .................... 384
`OleQueryOutOfDate ............... 384
`OleQueryProtocol ................. 385
`OleQueryReleaseError ............. 386
`OleQueryReleaseMethod ........... 386
`OleQueryReleaseStatus ............ 388
`OleQueryServerVersion ............ 388
`OleQuerySize ..................... 389
`OleQueryType .................... 389
`OleReconnect ..................... 390
`OleRegisterClientDoc .............. 390
`OleRegisterServer ................. 391
`OleRegisterServerDoc .............. 393
`OleRelease ........................ 394
`OleRename ....................... 394
`
`OleRenameClientDoc .............. 395
`OleRenameServerDoc .............. 396
`OleRequestData ................... 396
`OleRevertClientDoc ............... 397
`OleRevertServerDoc ............... 398
`OleRevokeClientDoc ............... 399
`OleRevokeObject .................. 399
`OleRevokeServer .................. 400
`OleRevokeServerDoc .............. 400
`OleSavedClientDoc ................ 401
`OleSavedServerDoc ............... 402
`OleSaveToStream ................. 402
`OleSetBounds ..................... 403
`OleSetColorScheme ................ 404
`OleSetData ....................... 405
`OleSetHost~ames ................. 406
`OleSetLinkUpdateOptions .......... 407
`OleSetTargetDevice ................ 408
`OleUnblockServer ................. 409
`OleUnlockServer .................. 410
`OleUpdate ........................ 411
`OpenDriver ....................... 411
`PrintDlg .......................... 412
`QueryAbort ...................... 415
`QuerySendMessage ............... 415
`RedrawWindow .................. 416
`RegCloseKey ..................... 419
`RegCreateKey ..................... 420
`RegDeleteKey ..................... 422
`RegEnumKey ..................... 423
`RegOpenKey ..................... 424
`RegQueryValue ................... 425
`RegSetValue ...................... 426
`ReplaceText ...................... 427
`ResetDC .......................... 430
`ScaleViewportExtEx ............... 431
`ScaleWindowExtEx ................ 432
`ScrollWindowEx .................. 432
`
`vi
`
`Windows API Guide
`
`Legend3D, Inc. Ex. 2011-0009
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`SendDriverMessage ............... 435
`SetAbortProc ...................... 435
`SetBitmapDimensionEx ............ 436
`SetBoundsRect .................... 437
`SetMetaFileBitsBetter .............. 438
`SetSelectorBase .................... 439
`SetSelectorLimit ................... 439
`SetViewportExtEx ................. 439
`SetViewportOrgEx ................. 440
`SetWinDebuglnfo ................. 442
`SetWindowExtEx .......... '" ..... 443
`SetWindowOrgEx ................. 444
`SetWindowPlacement .............. 444
`SetWindowsHookEx ............... 445
`ShellExecute ...................... 448
`ShellProc ......................... 451
`SpoolFile ......................... 452
`StackTraceCSIPFirst ............... 453
`StackTraceFirst .................... 454
`StackTrace~ext ................... 455
`Start Doc .......................... 456
`StartPage ......................... 457
`SubtractRect ...................... 457
`SysMsgProc ......... , ............. 458
`SystemHeaplnfo .......... , ........ 459
`SystemParameterslnfo ............. 460
`TaskFindHandle .................. 466
`TaskFirst ......................... 467
`TaskGetCSIP .............. , " ..... 468
`Tas~ ext ......................... 468
`TaskSetCSIP ...................... 469
`TaskSwitch ....................... 470
`TerminateApp .................... 470
`TimerCount ....................... 471
`TimerProc ........................ 472
`UnAllocDiskSpace ... , ............. 473
`UnAllocFileHandles ............... 473
`UndeleteFile ...................... 474
`
`UnhookWindowsHookEx .......... 474
`V er FindFile . . . . . . . . . . . . . . . . . . . . . . . 475
`VerlnstallFile ..................... 478
`VerLanguage~ame ................ 482
`VerQueryValue ................... 484
`WindowProc ...................... 487
`W~etAddConnection .............. 488
`W~etCancelConnection .. " ........ 489
`W~ etGetConnection ............... 489
`WordBreakProc '" ................ 490
`
`Chapter 5 Data types
`
`493
`
`503
`Chapter 6 Messages
`CB_ADDSTRI~G ................. 503
`CB_DELETESTRI~G .............. 504
`CB_FI~DSTRI~GEXACT .......... 505
`CB _ GETDROPPEDCO~TROLRECT 505
`CB _ GETDROPPEDST ATE .......... 506
`CB _ GETEXTE~DEDUI ............ 507
`CB_GETITEMHEIGHT ............. 507
`CB_SETEXTE~DEDUI ............. 508
`CB_SETITEMHEIGHT ............. 509
`EM_ GETFIRSTVISIBLELI~E ....... 510
`EM_GETPASSWORDCHAR ........ 510
`EM_GETWORDBREAKPROC ...... 511
`EM_SETREADO~LY .............. 511
`EM_SETWORDBREAKPROC ....... 512
`LB_FI~DSTRI~GEXACT .......... 513
`LB_GETCARETI~DEX ............ 514
`LB_SETCARETI~DEX ............. 514
`STM_ GETICO~ ................... 515
`STM_SETICO~ ................... 515
`WM_ CHOOSEFO~T _ GETLOG-
`FO~T ............................ 516
`WM_COMM~OTIFY .............. 516
`WM_DDE_ACK ................... 517
`Posting ....................... 519
`Receiving . .................... 519
`
`Table of Contents
`
`vii
`
`Legend3D, Inc. Ex. 2011-0010
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`WM_DDE_ADVISE ................ 520
`Posting ....................... 520
`Receiving . .................... 521
`WM_DDE_DATA ................. 521
`Posting ....................... 522
`Receiving ..................... 522
`WM_DDE_EXECUTE .............. 523
`Posting ....................... 524
`Receiving ..................... 524
`WM_DDE_INITIATE .............. 524
`Sending ...................... 525
`Receiving ..................... 526
`WM_DDE_POKE .................. 526
`Posting ....................... 527
`Receiving . .................... 527
`WM_DDE_REQUEST .............. 527
`Posting ....................... 528
`Receiving ..................... 528
`WM_DDE_TERMINATE ........... 528
`Posting ....................... 528
`Receiving ..................... 529
`WM_DDE_UNADVISE ............ 529
`Posting ....................... 529
`Receiving . .................... 530
`WM_DROPFILES ................. 530
`WM_PALETTEISCHANGING ...... 530
`WM_POWER ..................... 531
`WM_QUEUESYNC ................ 532
`WM_SYSTEMERROR .............. 532
`WM_USER ....................... 533
`WM_ WINDOWPOSCHANGED .... 534
`WM_WINDOWPOSCHANGING ... 534
`Notification messages ................ 536
`BN_HILITE ....................... 536
`BN_PAINT ....................... 536
`BN_ UNHILITE .................... 536
`CBN_CLOSEUP ................... 537
`CBN_SELENDCANCEL ........... 537
`
`CBN_SELENDOK ................. 538
`LBN_SELCANCEL ................ 538
`
`539
`Chapter 7 Structures
`ABC ............................. 539
`CBT _ CREATEWND ............... 540
`CBTACTIVATESTRUCT ........... 540
`CHOOSECOLOR .................. 541
`CHOOSEFONT ................... 544
`CLASSENTRY .................... 551
`COMSTAT ....................... 552
`CONVCONTEXT ................. 553
`CONVINFO ...................... 554
`CPLINFO ........................ 557
`CTLINFO ........................ 558
`CTLSTYLE ....................... 559
`CTL TYPE ........................ 561
`DDEACK ......................... 562
`DDEADVISE ..................... 563
`DDEDATA ....................... 564
`DDEPOKE ....................... 565
`DEBUGHOOKINFO ............... 566
`DEVNAMES ...................... 567
`DOCINFO ........................ 568
`DRIVERINFOSTRUCT ............. 569
`DRVCONFIGINFO ................ 569
`EVENTMSG ...................... 570
`FINDREPLACE ................... 571
`FIXED ........................... 575
`FMS_GETDRIVEINFO ............. 576
`FMS_GETFILESEL ................ 577
`FMS_LOAD ...................... 578
`GLOBALENTRY .................. 579
`GLOBALINFO .................... 582
`GLYPHMETRICS ................. 583
`HARDWAREHOOKSTRUCT ....... 584
`HELPWININFO ................... 584
`HSZP AIR ........................ 585
`
`viii
`
`Windows API Guide
`
`Legend3D, Inc. Ex. 2011-0011
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`KERNING PAIR ................... 586
`LOCALENTRY .................... 587
`LOCALINFO ..................... 590
`MAT2 ............................ 591
`MEMMANINFO .................. 592
`METAHEADER ................... 593
`METARECORD ................... 594
`MINMAXINFO ................... 595
`MODULEENTRY .................. 596
`MONCBSTRUCT .................. 597
`MONCONVSTRUCT .............. 598
`MONERRSTRUCT ................ 599
`MONHSZSTRUCT ................ 600
`MONLINKSTRUCT ............... 602
`MONMSGSTRUCT ................ 603
`MOUSEHOOKSTRUCT ............ 604
`NCCALCSIZE_P ARAMS ........... 605
`NEWCPLINFO .................... 606
`NEWTEXTMETRIC ................ 607
`NFYLOADSEG .................... 612
`NFYLOGERROR .................. 613
`NFYLOGPARAMERROR .......... 614
`NFYRIP .......................... 615
`NFYSTARTDLL ................... 616
`OLECLIENT ...................... 617
`OLECLIENTVTBL ................. 617
`Parameters .................... 618
`Return Value .................. 619
`Comments .................... 620
`OLEOBJECT ...................... 620
`OLEOBJECTVTBL ................. 621
`Parameters .................... 624
`Return Value .................. 624
`Comments .................... 624
`Parameters .................... 624
`Return Value .................. 625
`Comments .................... 625
`Parameters .................... 625
`
`Return Value .................. 625
`Comments .................... 625
`Parameters . . . . . . . . . . . . . . . . . . .. 626
`Return Value .................. 626
`Parameters . . . . . . . . . . . . . . . . . . . . 626
`Return Value .................. 626
`Comments .................... 627
`Parameters . . . . . . . . . . . . . . . . . . . . 627
`Return Value . . . . . . . . . . . . . . . . . . 627
`Comments .................... 627
`See Also ...................... 627
`Parameters . . . . . . . . . . . . . . . . . . . . 627
`Return Value .................. 628
`Parameters . . . . . . . . . . . . . . . . . . . . 628
`Return Value .................. 628
`Comments .................... 629
`OLESERVER ...................... 629
`OLESERVERDOC ................. 630
`OLESERVERDOCVTBL ............ 630
`Parameters .................... 631
`Return Value .................. 631
`Parameters .................... 631
`Return Value .................. 632
`Comments .................... 632
`Parameters . . . . . . . . . . . . . . . . . . . . 632
`Return Value .................. 633
`Parameters . . . . . . . . . . . . . . . . . . . . 633
`Return Value . . . . . . . . . . . . . . . . . . 633
`Parameters . . . . . . . . . . . . . . . . . . . . 633
`Return Value .................. 634
`Comments .................... 634
`Parameters . . . . . . . . . . . . . . . . . . . . 634
`Return Value .................. 634
`Parameters . . . . . . . . . . . . . . . . . . . . 635
`Return Value .................. 635
`Comments .................... 635
`Parameters . . . . . . . . . . . . . . . . . . . . 636
`Return Value .................. 636
`
`Table of Contents
`
`ix
`
`Legend3D, Inc. Ex. 2011-0012
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`Comments .................... 636
`OLESERVERVTBL ................. 636
`Parameters .................... 637
`Return Value .................. 637
`Comments .................... 637
`Parameters . . . . . . . . . . . . . . . . . . . . 638
`Return Value .................. 638
`Comments .................... 638
`Parameters .................... 639
`Return Value .................. 639
`Comments .................... 639
`Parameters . . . . . . . . . . . . . . . . . . . . 640
`Return Value .................. 640
`Comments .................... 640
`Parameters . . . . . . . . . . . . . . . . . . . . 641
`Return Value .................. 641
`Comments .................... 641
`Parameters . . . . . . . . . . . . . . . . . . . . 641
`Return Value .................. 641
`Comments .................... 641
`Parameters .................... 642
`Return Value .................. 642
`Comments .................... 642
`OLESTREAM ..................... 643
`OLESTREAMVTBL ................ 643
`Parameters . . . . . . . . . . . . . . . . . . . . 644
`Return Value .................. 644
`Comments .................... 644
`Parameters . . . . . . . . . . . . . . . . . . . . 644
`Return Value .................. 645
`Comments .................... 645
`OLETARGETDEVICE .............. 645
`OPENFILENAME ................. 646
`OUTLINETEXTMETRIC ........... 655
`PANOSE ......................... 659
`POINTFX ......................... 664
`PRINTDLG ....................... 664
`RASTERIZER_STATUS ............ 673
`
`SEGINFO ........................ 673
`SIZE ............................. 675
`STACKTRACEENTRY ............. 676
`SYSHEAPINFO ................... 677
`TASKENTRY ..................... 678
`TIMERINFO ...................... 679
`TTPOL YCURVE .................. 680
`TTPOL YGONHEADER ............ 681
`VS_FIXEDFILEINFO ............... 682
`WINDEBUGINFO ................. 686
`WINDOWPLACEMENT ........... 690
`WINDOWPOS .................... 692
`
`695
`Chapter 8 Macros
`DECLARE_HANDLE .............. 695
`DECLARE_HANDLE32 ............ 695
`FIELDOFFSET .................... 696
`GetBValue ........................ 696
`GetGValue ....................... 697
`GetRValue ........................ 697
`MAKELP ......................... 697
`MAKELP ARAM .................. 698
`MAKELRESUL T .................. 698
`OFFSETOF ....................... 699
`SELECTOROF .................... 699
`
`701
`Chapter 9 Printer escapes
`MOUSETRAILS ................... 701
`POSTSCRIPT_OAT A .............. 702
`POSTSCRIPT _IGNORE ............ 702
`SETALLJUSTVALUES ............. 703
`
`Chapter 10 Dynamic Data
`705
`Exchange transactions
`XTYP_ADVDATA ................. 705
`XTYP _ADVREQ .................. 706
`XTYP _ADVSTART ................ 707
`XTYP_ADVSTOP ................. 708
`XTYP_CONNECT ................. 708
`
`x
`
`Windows API Guide
`
`Legend3D, Inc. Ex. 2011-0013
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`XTYP_CONNECT_CONFIRM ...... 709
`XTYP _DISCONNECT .............. 710
`XTYP _ERROR .................... 711
`XTYP _EXECUTE .................. 711
`XTYP _MONITOR ................. 712
`XTYP _POKE ...................... 713
`XTYP _REGISTER .................. 714
`XTYP _REQUEST .................. 715
`XTYP _UNREGISTER .............. 715
`XTYP_WILDCONNECT ........... 716
`XTYP_XACT_COMPLETE .......... 717
`
`Chapter 11 Common dialog
`719
`box messages
`COLOROKSTRING ................ 719
`FILEOKSTRING ................... 720
`FINDMSGSTRING ................ 721
`HELPMSGSTRING ................ 721
`LBSELCHSTRING ................. 722
`SETRGBSTRING .................. 723
`SHAREVISTRING ................. 723
`
`Index
`
`725
`
`Table of Contents
`
`xi
`
`Legend3D, Inc. Ex. 2011-0014
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`Legend3D, Inc. Ex. 2011-0015
`PRIME FOCUS V. LEGEND3D
`|PR2016-01243
`
`Legend3D, Inc. Ex. 2011-0015
`PRIME FOCUS V. LEGEND3D
`IPR2016-01243
`
`
`
`c
`
`H
`
`A
`
`p
`
`T
`
`E
`
`R
`1
`
`Common dialog box library
`
`Common dialog boxes make it easier for you to develop
`applications for the Microsoft Windows operating system. A
`common dialog box is a dialog box that an application displays
`by calling a single function rather than by creating a dialog box
`procedure and a resource file containing a dialog box template.
`The dynamic-link library COMMDLG.DLL provides a default
`procedure and template for each type of common dialog box.
`Each default dialog box procedure processes messages and
`notifications for a common dialog box and its controls. A default
`dialog box template defines the appearance of a com