PutCustomStruct method
- Last UpdatedJul 23, 2024
- 1 minute read
Stores a struct in the MxValue. The MxValue's data type will be MxCustomStruct.
Class
IMxValue
Syntax
[C#]
void PutCustomStruct(
int guid,
int structSize,
ref byte pStruct
);
[Visual C++]
HRESULT PutCustomStruct(
[in] long guid,
[in] long structSize,
[in, size_is(structSize)] const unsigned char *pStruct
);
Parameters
guid
A quasi-GUID that uniquely identifies this struct. The BRO does not validate the GUID.
structSize
Size of the struct.
pStruct
Pointer to the struct. MxValue will create its own copy of the struct.
Returns
S_OK - Success