please dont rip this site Prev Next

WinTrustProviderServerInitialize info

The WinTrustProviderServerInitialize function is an initialization function that WinTrust calls when it loads the server component of a trust provider DLL.

The current release of WinTrust does not include the WinTrust server component. Consequently, WinTrust does not call this function and trust provider DLLs do not need to export it.

BOOL WinTrustProviderServerInitialize(

    DWORD dwWinTrustRevision,

// WinTrust revision level

    LPWINTRUST_SERVER_TP_INFO lpWinTrustInfo,

// pointer to information about WinTrust

    LPWSTR lpProviderName,

// pointer to the name of the trust provider

    LPWINTRUST_PROVIDER_SERVER_INFO *lpTrustProviderInfo

// pointer to buffer that receives information about the trust provider

   );

Parameters

dwWinTrustRevision
Indicates the revision level of the WinTrust component that calls this function. WinTrust sets this value to WIN_TRUST_REVISION_1_0.
lpWinTrustInfo
Pointer to a WINTRUST_SERVER_TP_INFO structure that contains information that WinTrust passes to the trust provider. This structure includes a dispatch table of functions implemented by WinTrust for use by the server component of a trust provider.

The information in this buffer is read-only. It is valid until the trust provider DLL is unloaded. The trust provider can reference the information rather than copy it.

lpProviderName
Pointer to a null-terminated Unicode string that contains the name that the system administrator assigned to the registry key that stores configuration information for the trust provider. The pointer is read-only and valid until the trust provider DLL is unloaded. The trust provider can reference the information rather than copy it.
lpTrustProviderInfo
Pointer to a variable that receives a pointer to a buffer allocated by the trust provider. The buffer contains a WINTRUST_PROVIDER_SERVER_INFO structure with information about the trust provider. The information includes the revision level of the trust provider and a dispatch table. WinTrust treats the buffer as read-only, and continues to reference this buffer until it unloads the trust provider DLL. The trust provider must not change the information in the buffer, or deallocate the memory before it is unloaded; doing so could corrupt the system.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

The LPWINTRUST_PROVIDER_SERVER_INITIALIZE type is a pointer to a WinTrustProviderServerInitialize function.

See Also

WINTRUST_PROVIDER_SERVER_INFO, WINTRUST_SERVER_TP_INFO 

See also:


file: /Techref/os/win/api/win32/func/src/f91_22.htm, 4KB, , updated: 2000/4/7 12:13, local time: 2022/5/20 10:03,
TOP NEW HELP FIND: 
3.239.129.91:LOG IN

 ©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f91_22.htm"> WinTrustProviderServerInitialize</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220520
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .