vscphlp_writeGuidToStringEx

int vscphlp_writeGuidToStringEc( const vscpEventEx *pEvent, 
                                    char *pStr, 
                                    size_t len )

Parameters

pEvent

VSCP event.

pStr

Pointer to GUID in string form.

len

Size of string buffer.

Return Value

VSCP_ERROR_SUCCESS on success

Description

Write GUID from VSCP event to string.

Example

mmmm

if ( VSCP_ERROR_SUCCESS == vscphlp_getGuidFromStringEx( &ex3, strguid ) ) {
    vscphlp_writeGuidToStringEx( &ex3, strguid2, sizeof( strguid2 )-1 );
    printf( "GUID=%s\n", strguid2 );
}
else {
    printf( "\aError: vscphlp_writeGuidArrayToString\n");
}

See Also

vscphlp_writeGuidToString


Very Simple Control Protocol
Wed Jul 04 2018 19:49:59 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""