Export (0) Print
Expand All
Expand Minimize

CredMarshalTargetInfo function

Serializes the specified target into an array of byte values.

Syntax


NTSTATUS WINAPI CredMarshalTargetInfo(
  _In_   PCREDENTIAL_TARGET_INFORMATIONW InTargetInfo,
  _Out_  PUSHORT *Buffer,
  PULONG BufferSize
);

Parameters

InTargetInfo [in]

A pointer to a Unicode version of the CREDENTIAL_TARGET_INFORMATION structure that specifies the target to serialize.

Buffer [out]

The serialized array of byte values that represents the target specified by the InTargetInfo parameter.

BufferSize

The size, in bytes, of the Buffer array.

Return value

If the function succeeds, it returns STATUS_SUCCESS.

If the function fails, it returns an error code that indicates the reason it failed.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

NTSecPkg.h

Library

Advapi32.lib

DLL

Advapi32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft