clipbrd.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include <Mstn\MstnTypes.h>
11 
12 /*----------------------------------------------------------------------+
13 | |
14 | Dialog Message Types |
15 | |
16 +----------------------------------------------------------------------*/
17 #define CLIPBRDMSG_DisplayContents 1
18 #define CLIPBRDMSG_HideClipboard 2
19 
20 /*----------------------------------------------------------------------+
21 | |
22 | Clipboard structures and definitions for Windows NT |
23 | |
24 +----------------------------------------------------------------------*/
25 #define CLIPBOARD_FORMAT_CANTHANDLE 0
26 #define CLIPBOARD_FORMAT_CANHANDLE 1
27 #define CLIPBOARD_FORMAT_IDEALHANDLER 2
28 
29 #define CLIPBOARD_FORMAT_NAMELEN 80
30 #define CLIPBOARD_MENU_NAMELEN 80
31 #define CLIPBOARD_MAXFORMATS 64
32 
33 #define CLIPBOARD_MENU_VISIBILITY_NORMAL 0
34 #define CLIPBOARD_MENU_VISIBILITY_GRAY 1
35 #define CLIPBOARD_MENU_VISIBILITY_HIDDEN 2
36 
37 /* information the MDL application returns to us */
38 typedef struct
39  {
43 
44 typedef struct
45  {
50  void (*handlerFunction)(void*);
51  UInt32 visibility; /* CLIPBOARD_MENU_VISIBILITY_XXX */
53 
wchar_t WChar
Definition: Bentley.h:223
UInt32 formatNum
Definition: clipbrd.h:46
Definition: clipbrd.h:38
int handlerQuality
Definition: clipbrd.h:47
wchar_t const * WCharCP
Definition: Bentley.h:224
uint32_t UInt32
Definition: Bentley.r.h:128
UInt32 visibility
Definition: clipbrd.h:51
WCharCP formatNameP
Definition: clipbrd.h:41
#define CLIPBOARD_MENU_NAMELEN
Definition: clipbrd.h:30
Definition: clipbrd.h:44
UInt32 formatNum
Definition: clipbrd.h:40
void * CallbackArgP
Definition: Bentley.h:235
CallbackArgP userDataP
Definition: clipbrd.h:48

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.