Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.79 KB

nf-comsvcs-icomthreadevents-onthreadbindtoapartment.md

File metadata and controls

83 lines (64 loc) · 2.79 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:comsvcs.IComThreadEvents.OnThreadBindToApartment
IComThreadEvents::OnThreadBindToApartment (comsvcs.h)
Generated when an apartment thread is allocated for a single-thread apartment (STA) thread that does not have an apartment thread to run in.
IComThreadEvents interface [COM+]
OnThreadBindToApartment method
IComThreadEvents.OnThreadBindToApartment
IComThreadEvents::OnThreadBindToApartment
OnThreadBindToApartment
OnThreadBindToApartment method [COM+]
OnThreadBindToApartment method [COM+]
IComThreadEvents interface
_dtc_IComThreadEvents_OnThreadBindToApartment
comsvcs/IComThreadEvents::OnThreadBindToApartment
cos.icomthreadevents_onthreadbindtoapartment
cos\icomthreadevents_onthreadbindtoapartment.htm
cos
d05c784a-5dcd-4155-baa0-775c499bd936
12/05/2018
IComThreadEvents interface [COM+],OnThreadBindToApartment method, IComThreadEvents.OnThreadBindToApartment, IComThreadEvents::OnThreadBindToApartment, OnThreadBindToApartment, OnThreadBindToApartment method [COM+], OnThreadBindToApartment method [COM+],IComThreadEvents interface, _dtc_IComThreadEvents_OnThreadBindToApartment, comsvcs/IComThreadEvents::OnThreadBindToApartment, cos.icomthreadevents_onthreadbindtoapartment
comsvcs.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
IComThreadEvents::OnThreadBindToApartment
comsvcs/IComThreadEvents::OnThreadBindToApartment
c++
APIRef
kbSyntax
COM
ComSvcs.h
IComThreadEvents.OnThreadBindToApartment

IComThreadEvents::OnThreadBindToApartment

-description

Generated when an apartment thread is allocated for a single-thread apartment (STA) thread that does not have an apartment thread to run in. An apartment thread is created or allocated from the pool.

-parameters

-param pInfo [in]

A pointer to a COMSVCSEVENTINFO structure.

-param ThreadID [in]

The unique thread identifier.

-param AptID [in]

The apartment identifier.

-param dwActCnt [in]

The number of activities bound to this apartment.

-param dwLowCnt [in]

This parameter is reserved.

-returns

The user verifies the return values from this method.

-see-also

IComThreadEvents