다음을 통해 공유


NdisInitAnsiString (Windows CE 5.0)

Send Feedback

This function initializes a counted ASCII string.

VOIDNdisInitAnsiString(PNDIS_ANSI_STRINGDestinationString,PCSTRSourceString);

Parameters

  • DestinationString
    [in, out] Pointer to a caller-allocated buffer in which this function should store the counted ASCII string.
  • SourceString
    [in] Pointer to a 0-terminated string with which to initialize the counted string.

Return Values

None.

Remarks

The DestinationString parameter is initialized to point to the SourceString parameter. The length and maximum length for the DestinationString are initialized to the length of the string at SourceString. If SourceString is NULL, the length is 0.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

NdisAnsiStringToUnicodeString | NdisFreeString | NdisInitializeString | NdisInitUnicodeString | NdisUnicodeStringToAnsiString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.