ITcModuleInstance::SetModuleParaDWORD
Writes interface pointer object IDs or module parameters up to sizeof(ULONG) from the passed value. For process images and fieldbus boxes, this write path is not implemented or returns E_INVALIDARG.
Signature
HRESULT SetModuleParaDWORD(ULONG pid, ULONG data);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
pid |
ULONG |
[in] Parameter ID. |
|
data |
ULONG |
[in] New parameter value. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
TSM_E_ITEMDELETED: The referenced Tree Item is no longer valid. -
E_INVALIDARG: The parameter ID is unknown or cannot be written asULONG. -
E_NOTIMPL: The specific object does not support access.