@Structure.FieldOrder(value="sUserName") public static class Sspi.SecPkgCredentials_Names extends Structure
The
Secur32.QueryCredentialsAttributes(com.sun.jna.platform.win32.Sspi.CredHandle, int, com.sun.jna.Structure)
function uses this structure.
Modifier and Type | Class and Description |
---|---|
static class |
Sspi.SecPkgCredentials_Names.ByReference |
Structure.ByValue, Structure.FieldOrder, Structure.StructField
Modifier and Type | Field and Description |
---|---|
Pointer |
sUserName
Pointer to a null-terminated string containing the name of the user
represented by the credential.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
SecPkgCredentials_Names() |
Modifier and Type | Method and Description |
---|---|
int |
free()
Free native buffer
|
java.lang.String |
getUserName() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public Pointer sUserName
public java.lang.String getUserName()
public int free()
WinError.SEC_E_OK
if ok