This topic has not yet been rated - Rate this topic

CredMarshalTargetInfo function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2008

Header

NTSecPkg.h

Library

Advapi32.lib

DLL

Advapi32.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/13/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ