Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
TRY
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

AfxGetAmbientActCtx

Use this function to get the current state of the per-module state flag, which affects the WinSxS behavior of MFC.

BOOL AFXAPI AfxGetAmbientActCtx(); 

Module state flag current value.

When the flag is set (which is the default) and a thread enters an MFC module (see AFX_MANAGE_STATE), the context of the module is activated.

If the flag is not set, the context of the module is not activated on entry.

The context of a module is determined from its manifest, usually embedded in module resources.

Header: afxcomctl32.h

Community Additions

ADD
Show:
© 2015 Microsoft