Share via


NetApiBufferFree (Compact 2013)

3/26/2014

This function frees the buffers that were allocated with the DsGetDcName function.

Syntax

NET_API_STATUS NetApiBufferFree(
  LPVOID Buffer
);

Parameters

  • Buffer
    [in] Pointer to a buffer returned previously by another network management function.

Return Value

If the function succeeds, the return value is ERROR_SUCCESS. If the function fails, the return value is a system error code.

Requirements

Header

dsgetdc.h

Library

netapi32.lib

See Also

Reference

Domain Discovery Functions
DsGetDcName