Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
This method initializes a thread and optionally retrieves a window handle.
Syntax
HRESULT StartThread(
DWORD dwFlags,
HWND* phwnd
);
Parameters
- dwFlags
[in] Reserved. Must be 0.
- phwnd
[out] Optional pointer to a window handle. If this parameter is NULL, no window is created. If it is non-null, the handle of a new window is retrieved.
Return Value
The following table shows the possible return values.
| Value | Description |
|---|---|
S_OK |
Function completed successfully. |
E_INVALIDARG |
One or more arguments are invalid. |
E_POINTER |
Invalid pointer. |
E_OUTOFMEMORY |
Exceeded available memory. |
Requirements
| Header | sapiddk.h, sapiddk.idl |
| Library | sapilib.lib |
| Windows Embedded CE | Windows CE .NET 4.1 and later |