pub fn guid_as_struct(
    g: &GUID
) -> String {

    format!( "{{0x{:08x},0x{:04x},0x{:04x},{{0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x}}}}}",
            g.data1, g.data2, g.data3,
            g.data4[0], g.data4[1], g.data4[2], g.data4[3],
            g.data4[4], g.data4[5], g.data4[6], g.data4[7] )
}
/// Converts a guid to binarys representation.
Converts a guid to binarys representation.
Converts a guid to binarys representation .
pub fn guid_as_struct(
    g: &GUID
) -> String {
    format!( "{{0x{:08x},0x{:04x},0x{:04x},{{0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x},0x{:02x}}}}}",
            g.data1, g.data2, g.data3,
            g.data4[0], g.data4[1], g.data4[2], g.data4[3],
            g.data4[4], g.data4[5], g.data4[6], g.data4[7] )
}
pub fn guid_as_struct ( g : & GUID ) -> String { format ! ( " " g data1 g data2 g data3 g data4 [ 0 ] g data4 [ 1 ] g data4 [ 2 ] g data4 [ 3 ] g data4 [ 4 ] g data4 [ 5 ] g data4 [ 6 ] g data4 [ 7 ] ) }
Converts a guid to binarys representation.
Converts a guid to binarys representation .
g
&GUID