Export (0) Print
Expand All

NCRYPT_PROTECT_STREAM_INFO structure

The NCRYPT_PROTECT_STREAM_INFO structure is used by the NCryptStreamOpenToProtect and NCryptStreamOpenToUnprotect functions to pass blocks of processed data to your application.

Syntax


typedef struct _NCRYPT_PROTECT_STREAM_INFO {
  PFNCryptStreamOutputCallback pfnStreamOutput;
  void                         *pvCallbackCtxt;
} NCRYPT_PROTECT_STREAM_INFO, *PNCRYPT_PROTECT_STREAM_INFO;

Members

pfnStreamOutput

Address of a callback function that accepts data from the stream encryption or decryption process. for more information, see PFNCryptStreamOutputCallback.

pvCallbackCtxt

Pointer to a buffer supplied the caller. The buffer is not modified by the data protection API. You can use the buffer to keep track of your application.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

NCryptprotect.h

See also

NCryptStreamOpenToProtect
NCryptStreamOpenToUnprotect
PFNCryptStreamOutputCallback

 

 

Community Additions

ADD
Show:
© 2014 Microsoft