Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/5/2010
This method notifies clients when a thread is created or destroyed
Syntax
HRESULT NotifyThreadOle(
VARIANT vtThrdId,
VARIANT vtCreated
);
Parameters
- vtThrdId
[in] Identifier for the specified thread.
vtCreated
[in] Flag that indicates whether the thread is created or destroyed.If VARIANT_TRUE, the thread is created.
Return Value
The following table shows the return values for this method.
| Value | Description |
|---|---|
S_OK |
Indicates the function was successful. |
E_INVALIDARG |
Indicates one or more arguments were invalid. |
E_POINTER |
Indicates one or more invalid pointer values. |
E_OUTOFMEMORY |
Indicates an out of memory error. |
E_FAIL |
Indicates an unspecified failure. |
Requirements
| Header | OsAccess.h |
| Library | OSAXSC.lib |
| Windows Embedded CE | Windows CE 5.0 and later |