Crypt32#CryptProtectData and
Crypt32#CryptUnprotectData functions.
struct CRYPTPROTECT_PROMPTSTRUCT {
DWORD cbSize;
DWORD dwPromptFlags;
HWND hwndApp;
LPCWSTR szPrompt;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CBSIZE
The struct member offsets. |
| public static final int | DWPROMPTFLAGS
The struct member offsets. |
| public static final int | HWNDAPP
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SZPROMPT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CRYPTPROTECT_PROMPTSTRUCT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT | |
| public static CRYPTPROTECT_PROMPTSTRUCT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public int | |
| public CRYPTPROTECT_PROMPTSTRUCT | |
| public CRYPTPROTECT_PROMPTSTRUCT | |
| protected CRYPTPROTECT_PROMPTSTRUCT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CRYPTPROTECT_PROMPTSTRUCT | |
| public static CRYPTPROTECT_PROMPTSTRUCT | create(long address)
Returns a new |
| public static CRYPTPROTECT_PROMPTSTRUCT | |
| public int | |
| public CRYPTPROTECT_PROMPTSTRUCT | |
| public long | |
| public CRYPTPROTECT_PROMPTSTRUCT | |
| public static CRYPTPROTECT_PROMPTSTRUCT | |
| public static CRYPTPROTECT_PROMPTSTRUCT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public CRYPTPROTECT_PROMPTSTRUCT | set(int cbSize, int dwPromptFlags, long hwndApp, ByteBuffer szPrompt)
Initializes this struct with the specified values. |
| public CRYPTPROTECT_PROMPTSTRUCT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public ByteBuffer | |
| public CRYPTPROTECT_PROMPTSTRUCT | |
| public String | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CBSIZE | back to summary |
|---|---|
| public static final int CBSIZE The struct member offsets. | |
| DWPROMPTFLAGS | back to summary |
|---|---|
| public static final int DWPROMPTFLAGS The struct member offsets. | |
| HWNDAPP | back to summary |
|---|---|
| public static final int HWNDAPP The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SZPROMPT | back to summary |
|---|---|
| public static final int SZPROMPT The struct member offsets. | |
| CRYPTPROTECT_PROMPTSTRUCT | back to summary |
|---|---|
| protected CRYPTPROTECT_PROMPTSTRUCT(long address, ByteBuffer container) | |
| CRYPTPROTECT_PROMPTSTRUCT | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT calloc(MemoryStack stack) Returns a new
| |
| cbSize | back to summary |
|---|---|
| public int cbSize() the size, in bytes, of this structure
| |
| cbSize | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT cbSize(int value) Sets the specified value to the | |
| cbSize$Default | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT cbSize$Default() Sets the default value to the | |
| create | back to summary |
|---|---|
| protected CRYPTPROTECT_PROMPTSTRUCT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT create() Returns a new | |
| create | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT createSafe(long address) Like
| |
| dwPromptFlags | back to summary | ||
|---|---|---|---|
| public int dwPromptFlags() flags that indicate when prompts to the user are to be displayed. One or more of:
| |||
| dwPromptFlags | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT dwPromptFlags(int value) Sets the specified value to the | |
| hwndApp | back to summary |
|---|---|
| public long hwndApp() window handle to the parent window
| |
| hwndApp | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT hwndApp(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CRYPTPROTECT_PROMPTSTRUCT malloc(MemoryStack stack) Returns a new
| |
| ncbSize | back to summary |
|---|---|
| public static int ncbSize(long struct) Unsafe version of | |
| ncbSize | back to summary |
|---|---|
| public static void ncbSize(long struct, int value) Unsafe version of | |
| ndwPromptFlags | back to summary |
|---|---|
| public static int ndwPromptFlags(long struct) Unsafe version of | |
| ndwPromptFlags | back to summary |
|---|---|
| public static void ndwPromptFlags(long struct, int value) Unsafe version of | |
| nhwndApp | back to summary |
|---|---|
| public static long nhwndApp(long struct) Unsafe version of | |
| nhwndApp | back to summary |
|---|---|
| public static void nhwndApp(long struct, long value) Unsafe version of | |
| nszPrompt | back to summary |
|---|---|
| public static ByteBuffer nszPrompt(long struct) Unsafe version of | |
| nszPrompt | back to summary |
|---|---|
| public static void nszPrompt(long struct, ByteBuffer value) Unsafe version of | |
| nszPromptString | back to summary |
|---|---|
| public static String nszPromptString(long struct) Unsafe version of | |
| set | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT set(int cbSize, int dwPromptFlags, long hwndApp, ByteBuffer szPrompt) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT set(CRYPTPROTECT_PROMPTSTRUCT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| szPrompt | back to summary |
|---|---|
| public ByteBuffer szPrompt() a string containing the text of a prompt to be displayed
| |
| szPrompt | back to summary |
|---|---|
| public CRYPTPROTECT_PROMPTSTRUCT szPrompt(ByteBuffer value) Sets the address of the specified encoded string to the | |
| szPromptString | back to summary |
|---|---|
| public String szPromptString() a string containing the text of a prompt to be displayed
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |