Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
.gif)
10/16/2008
This method computes the CRC-32 checksum for the specified input buffer.
Syntax
EXTERN_C unsigned int GetCRC32(
unsigned char buf[],
int length
);
Parameters
- buf
[in] Provides a string buffer that this class uses to generate a CRC value that holds the results of the CRC-32 computation.
- length
[in] Specifies the number of bytes in the buffer.
Return Value
Returns the new CRC value.
Remarks
The GetCRC32 method can be used to compute the CRC checksum for a buffer of some specified length. You can use this function to check the CRC received in protocol messages that are implemented in the MSN Direct library. This also must be used to calculate the checksum before sending an outgoing message.
Requirements
| Header | DBRLib.h |
| Library | DBRLib.lib |
| Windows Embedded CE | Windows CE 5.0, Windows Embedded NavReady 2009 |