Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Specifies different types of apartments.
Syntax
typedef enum _APTTYPE {
APTTYPE_CURRENT = -1,
APTTYPE_STA = 0,
APTTYPE_MTA = 1,
APTTYPE_NA = 2,
APTTYPE_MAINSTA = 3
} APTTYPE;
Constants
APTTYPE_CURRENTValue: -1 The current thread. |
APTTYPE_STAValue: 0 A single-threaded apartment. |
APTTYPE_MTAValue: 1 A multithreaded apartment. |
APTTYPE_NAValue: 2 A neutral apartment. |
APTTYPE_MAINSTAValue: 3 The main single-threaded apartment. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
| Header | objidl.h (include Objidl.h) |